Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24-05-2017, 05:49
romulus_ut3 romulus_ut3 is offline
Registered User
 
Join Date: Dec 2014
Location: Bangladesh
Posts: 71
Thanks: 169
Thanked 13 Times in 12 Posts
romulus_ut3 is on a distinguished road
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
My arc.ini is as follows:

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.
Reply With Quote
Sponsored Links
  #2  
Old 24-05-2017, 05:56
Gupta Gupta is offline
Banned
 
Join Date: Aug 2016
Location: https://t.me/pump_upp
Posts: 399
Thanks: 139
Thanked 715 Times in 231 Posts
Gupta is on a distinguished road
Send a message via ICQ to Gupta Send a message via AIM to Gupta Send a message via Yahoo to Gupta
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

Last edited by Gupta; 24-05-2017 at 06:00.
Reply With Quote
The Following User Says Thank You to Gupta For This Useful Post:
romulus_ut3 (24-05-2017)
  #3  
Old 24-05-2017, 06:04
romulus_ut3 romulus_ut3 is offline
Registered User
 
Join Date: Dec 2014
Location: Bangladesh
Posts: 71
Thanks: 169
Thanked 13 Times in 12 Posts
romulus_ut3 is on a distinguished road
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.
Reply With Quote
  #4  
Old 24-05-2017, 07:39
Bulat Bulat is offline
Registered User
 
Join Date: May 2016
Location: Moscow
Posts: 63
Thanks: 26
Thanked 50 Times in 27 Posts
Bulat is on a distinguished road
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
Reply With Quote
The Following 3 Users Say Thank You to Bulat For This Useful Post:
78372 (05-08-2017), COPyCAT (31-05-2017), romulus_ut3 (24-05-2017)
  #5  
Old 24-05-2017, 09:27
romulus_ut3 romulus_ut3 is offline
Registered User
 
Join Date: Dec 2014
Location: Bangladesh
Posts: 71
Thanks: 169
Thanked 13 Times in 12 Posts
romulus_ut3 is on a distinguished road
Quote:
Originally Posted by Bulat View Post
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
This actually makes sense, thank you.
Reply With Quote
  #6  
Old 30-05-2017, 23:29
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
I don't think this game uses deflate anywhere, I actually have it. So I don't think pzlib will give any diff.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
romulus_ut3 (08-08-2017)
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Masked Compression (Ultimate compression in one go) panker1992 Conversion Tutorials 661 13-05-2024 16:51
Preprocessing / Optimization / Re compression For Better Compression of Games Gupta Software 14 19-10-2022 03:25
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



All times are GMT -7. The time now is 21:10.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com