Page 1 of 1
Zipping problems
Posted: 26 Sep 2009, 21:46
by Tribulex
I was wondering what the right settings are for zipping a mod using 7z to make a sd7 that combines the ability to be recognized by the engine, fast load time, and small file size. I am having trouble achieving the first item on that list. Before you ask, yes I am zipping only the contents of the game dir, and not the containing dir as well.
Thank you.
Re: Zipping problems
Posted: 26 Sep 2009, 21:47
by Neddie
Do not make it a solid archive. I've always worked with Ultra compression, this doesn't work for everybody.
Re: Zipping problems
Posted: 28 Sep 2009, 03:27
by Red XIII
I used to have the same problem...
Try compressing your mod into a zip, but use the extension .sdz instead of .sd7 (I'm more of a WinRAR user, so please correct me if I'm wrong about that.) I haven't really noticed much of a difference between the performance of the two file types either, so... yeah.
and Ultra Compression is great. The smaller file size is good.

Re: Zipping problems
Posted: 28 Sep 2009, 16:26
by TheFatController
I use 7zip set to non-solid and "Fast" (or whatever is above normal but not the very fastest) and for BA, only about 1-2mb difference between "Fast" and "Ultra" but the time difference in compression/decompression is huge - not sure if that actually reflects in faster loadtimes but i'm sure it's worth it for the tiny size difference.
Re: Zipping problems
Posted: 28 Sep 2009, 19:22
by Auswaschbar
Solid archives should not cause problems any more (incredible long loading times) with recent version of spring.
Re: Zipping problems
Posted: 29 Sep 2009, 15:34
by Forboding Angel
Don't bother using 7z ultra compression, the difference is generally a meg at most, and ultra takes a good long while to compress.
Re: Zipping problems
Posted: 29 Sep 2009, 19:45
by Tribulex
Forboding Angel wrote:Don't bother using 7z ultra compression, the difference is generally a meg at most, and ultra takes a good long while to compress.
Not really we have a super computer doing the compression. Does it affect load time significantly?
Re: Zipping problems
Posted: 29 Sep 2009, 20:04
by Neddie
In my experience, almost twice as long.
Re: Zipping problems
Posted: 29 Sep 2009, 20:21
by lurker
Auswaschbar wrote:Solid archives should not cause problems any more (incredible long loading times) with recent version of spring.
It may not affect loading content ingame anymore, but won't it still make unitsync take much longer to scan? Though I suppose scanning mods isn't that much compared to the time spent on maps.
Re: Zipping problems
Posted: 29 Sep 2009, 22:07
by Tribulex
Usually as far as 7z goes, decompression is O(log n) vs. compression being something more like O(n^2 log n). Its just decompressing some of the files in the archive and reading them right?
Re: Zipping problems
Posted: 29 Sep 2009, 23:51
by 1v0ry_k1ng
lol,
topic could reffer to a trouser zipper
Re: Zipping problems
Posted: 29 Sep 2009, 23:58
by Tribulex
1v0ry_k1ng wrote:lol,
topic could reffer to a trouser zipper
Most helpful post yet. Thank you sir pie for you.
Re: Zipping problems
Posted: 29 Sep 2009, 23:59
by smoth
shit, I WANT PIE! Is it too late to make jokes about your bits getting caught?!?