Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools 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
Registered User
 
Join Date: Aug 2016
Location: India
Posts: 397
Thanks: 139
Thanked 705 Times in 229 Posts
Gupta is on a distinguished road
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.
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 51 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
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,630
Thanks: 2,003
Thanked 10,318 Times in 2,198 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

Thread Tools
Display Modes

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
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



All times are GMT -7. The time now is 15:39.


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