I’d like to stress the fact that you may not use a lot of the ASCII characters in filenames of the .zip files you upload. I don’t have a complete list (for one I know that apostrophes will break the upload, but that’s about it), but it’s most safe that you resort to using only letters and numbers. Keeping the filename short is also recommended.
Examples:
BAD: Jim’s Battle Pack.zip
GOOD: jimbtlpack.zip
Broken uploads, shall they still be made, will get removed instantly and we’ll contact the author about that.
You need to log in to post comments on this newspost.
Jazz2Online © 1999-INFINITY (Site Credits). We have a Privacy Policy. Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats.
Eat your lima beans, Johnny.
So how about doing something productive like disallowing illegal characters?
That’s a pretty interesting idea. ;-)
What about files that are uploaded as .RAR or any other format? Is there any way to disallow these?
.rar files are already disallowed… but perhaps there is some way (but I’m not experienced with the libs we’re using) to automatically discover when uploads are non-extractable and reject them.
why force people to upload extractable archives? .j2l and .j2t are both highly compressed formats. Zipping them only results in a few % compression. It seems like if someone wanted to upload just 1 level or 1 tileset, it would be a lot easier to forget about the whole .zip thing.
I don’t know if it would be necessary to change it … has anyone actually ever had a problem zipping a file?
New people might, and there are definitely people that mess up on uploading to J2O by, say, renaming their .j2l extension to a .zip.
Basically it’s easy to make a zip file, but it’s even easier not to. I just find that zipping a single, already compressed file is redundant and shouldn’t be necessary even if it’s not a lot of work. Of course, it makes sense that you would want to include stuff like tilesets and readme files. But if someone wants to upload just 1 file, it’s a bit different.
Maybe a function for auto-zipping when uploading!