Kouji_SanSr. Hινε UÏкεεÏεг - EUPT DeputyThe NetherlandsJoin Date: 2003-05-13Member: 16271Members, NS2 Playtester, Squad Five Blue
It does depend on what kind of files you compress though, files that are already compressed like images/videos and the likes will most likely not be able to compress much further down in file size. That is the gist I get from it
Exactly, for eg. textures will already be compressed, so Steam can't reduce the size of those files. On the other hand, LUA scripts will be compressed to like 1% of it's original size.
GhoulofGSG9Join Date: 2013-03-31Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts
edited June 2017
It just totally depends on your compression settings specially word and dictionary size. The default zip settings are often designed for smaller files. You can compress the art/sound assets easily by a factor of 50-60% as many of them share identical bit elements due to similar file headers etc. .
Exactly, for eg. textures will already be compressed, so Steam can't reduce the size of those files. On the other hand, LUA scripts will be compressed to like 1% of it's original size.
Exactly, for eg. textures will already be compressed, so Steam can't reduce the size of those files. On the other hand, LUA scripts will be compressed to like 1% of it's original size.
There aren't 6GB of lua scripts.
i know, i just wrote that in general
but im still curious how can steam shave off 6 gigs from the package... :]
Exactly, for eg. textures will already be compressed, so Steam can't reduce the size of those files. On the other hand, LUA scripts will be compressed to like 1% of it's original size.
There aren't 6GB of lua scripts.
i know, i just wrote that in general
but im still curious how can steam shave off 6 gigs from the package... :]
Well I know the UI files are uncompressed DDS files, so there's a lot of repeated data in there. Doesn't explain 6GB though. Probably mostly comes from textures.
Exactly, for eg. textures will already be compressed, so Steam can't reduce the size of those files. On the other hand, LUA scripts will be compressed to like 1% of it's original size.
There aren't 6GB of lua scripts.
i know, i just wrote that in general
but im still curious how can steam shave off 6 gigs from the package... :]
Well I know the UI files are uncompressed DDS files, so there's a lot of repeated data in there. Doesn't explain 6GB though. Probably mostly comes from textures.
Even compressed files can often be compressed even more Just google the terms zip bomb or 42.zip (Warning do not download any of the files you may find associated with given terms).
Just tested 7zip deflate64 with ulta settings and it got the ns2 install folder down to a 43% ratio (With LZMAv2 it even went down to further 37%). So everything is fine
Comments
Shame on you, UWE
I've always wondered how they compress things. When I zip a bunch of files, I don't save nearly as much space.
There aren't 6GB of lua scripts.
i know, i just wrote that in general
but im still curious how can steam shave off 6 gigs from the package... :]
Well I know the UI files are uncompressed DDS files, so there's a lot of repeated data in there. Doesn't explain 6GB though. Probably mostly comes from textures.
Even compressed files can often be compressed even more Just google the terms zip bomb or 42.zip (Warning do not download any of the files you may find associated with given terms).
Just tested 7zip deflate64 with ulta settings and it got the ns2 install folder down to a 43% ratio (With LZMAv2 it even went down to further 37%). So everything is fine