#1
|
|||
|
|||
General Compression Discussion Thread
I used the search function and I was unable to find a thread for the sole purpose of troubleshooting/discussing just compression issues, hence I decided to start this thread.
The purpose of this thread is simple, troubleshooting issues related to compression and each and everyone is more than welcome to post their issues here. I will go first. So I have Left 4 Dead 2, which takes up 12 GB of space when installed, so I decided to compress it to a more convenient size for backup purposes. I used the following method to compress the whole directory: Code:
msc+pzlib64+srep64+xz Code:
[External compressor:msc] header = 0 packcmd = MSC c -v -wav=1 -raw=1 -bmp=1 -ddsraw=1 -ddsdxt=1 -mp3=1 -bmf=9s -tak=9 -dxt=1 -lzma=hc4,lc8,lp2,pb2,fb273,mc1000 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp [External compressor:pzlib64] header = 0 packcmd = pzlib64 e -m2 -x -r9 -t100p $$arcdatafile$$.tmp -o $$arcpackedfile$$.tmp unpackcmd = pzlib64 d -t100p - -o - <stdin> <stdout> [External compressor:srep64] header = 0 packcmd = srep64 -m5f -d1g -a2 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp unpackcmd = srep64 -d -s -- <stdin> <stdout> [External compressor:xz] header = 0 packcmd = xz a -txz -an -mcrc=0 -m1=lzma2:d1280m:fb=273:mf=bt4:mc=1000000:lc=4:lp=0 -mmt=3 -mx9 -si -so <stdin> <stdout> unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout> ![]() When I compress the whole directory to a single archive, the output archive weighs 4.73 GB. 4.73 is just above the capacity of DVD5, a medium which I am planning to backup my game to. So if I move some files elsewhere and compress them separately using the exact same method, the total output becomes 5.27(!) GB. What am I doing wrong that's causing the increase in output size by 600 MB opposed to a single archive? Last edited by romulus_ut3; 24-05-2017 at 06:15. |
Sponsored Links |
#2
|
|||
|
|||
if i recall correctly, Left 4 dead 2 contains a lot of wav files so you can use oggenc2
this should get your Game into 3 Gbs frankly speaking loss in quality can't be sensed at all You can Find it here http://fileforums.com/showthread.php?t=98819 in lossy Section
__________________
XD Last edited by Gupta; 24-05-2017 at 06:00. |
The Following User Says Thank You to Gupta For This Useful Post: | ||
romulus_ut3 (24-05-2017) |
#3
|
|||
|
|||
As I will be using the backup to restore the game in the future to be used on Steam, lossy compression is not an option. The game compresses just fine if I compress the whole folder, but if I move a folder worth 2GB and compress it in two separate archives, I see a 600 MB increase in size. MSC does a wonderful job with *.wav files, but for some reason I am unable to maintain the ratio.
Added an image to the OP for a better description of the issue. Last edited by romulus_ut3; 24-05-2017 at 06:15. |
#4
|
|||
|
|||
srep finds repetitions across entire 12 gb (even more after pzlib preprocessing), so shortly speaking these 600 mb are the same in two parts you are try to compress independently
you can try to use refalte to improve compression ratio |
The Following 3 Users Say Thank You to Bulat For This Useful Post: | ||
#5
|
|||
|
|||
This actually makes sense, thank you.
|
#6
|
||||
|
||||
I don't think this game uses deflate anywhere, I actually have it. So I don't think pzlib will give any diff.
|
The Following User Says Thank You to Razor12911 For This Useful Post: | ||
romulus_ut3 (08-08-2017) |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Preprocessing / Optimization / Re compression For Better Compression of Games | Gupta | Software | 13 | 18-02-2022 03:12 |
Masked Compression (Ultimate compression in one go) | panker1992 | Conversion Tutorials | 658 | 01-02-2021 15:02 |
Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |
WH40K: Dawn of war (General Discussion) | Playbahnosh | General Gaming | 19 | 18-10-2004 05:12 |
Soldner nocd crack discussion: non-noob thread | mwitters | PC Games | 2 | 06-07-2004 18:01 |