Zipping problems

Zipping problems

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Zipping problems

Post 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.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: Zipping problems

Post by Neddie »

Do not make it a solid archive. I've always worked with Ultra compression, this doesn't work for everybody.
User avatar
Red XIII
Posts: 9
Joined: 20 Sep 2009, 17:09

Re: Zipping problems

Post 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. ;)
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Re: Zipping problems

Post 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.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Zipping problems

Post by Auswaschbar »

Solid archives should not cause problems any more (incredible long loading times) with recent version of spring.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Zipping problems

Post 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.
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: Zipping problems

Post 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?
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: Zipping problems

Post by Neddie »

In my experience, almost twice as long.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Zipping problems

Post 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.
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: Zipping problems

Post 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?
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Re: Zipping problems

Post by 1v0ry_k1ng »

lol,

topic could reffer to a trouser zipper
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: Zipping problems

Post by Tribulex »

1v0ry_k1ng wrote:lol,

topic could reffer to a trouser zipper
Most helpful post yet. Thank you sir pie for you.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Zipping problems

Post by smoth »

shit, I WANT PIE! Is it too late to make jokes about your bits getting caught?!?
Post Reply

Return to “Game Development”