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

Reply
 
Thread Tools Display Modes
  #1  
Old 03-06-2021, 12:42
Prince4 Prince4 is offline
Registered User
 
Join Date: Mar 2015
Location: India->Delhi->Rohini
Posts: 121
Thanks: 109
Thanked 19 Times in 15 Posts
Prince4 is on a distinguished road
Exclamation Is SRep 3.93A Incompatible with pZLib v3?

I compressed all of my modded games (Work of Several Years ) in to archives because i needed to focus on work and Studies and also wanted some time off.


But the main problem is that now that i want to get back i need to decompress those archives but i'm encountering a Huge problem most of the pZLib+SRep'ed archives are failing at SRep decompression :





I'm sure it's not the data corruption, because i have other archives in size of 50 Gigs all just comped with SRep+LZMA and they extract just fine, but most of the pZLib'ed files fail at SRep decompression. By most i mean archives that are bigger than 3+ GB, because i only have a file that is 1.6 Gigs and it De-Comped just fine.


This is the command i used to Compress files with pZlib :


Code:
Arc_sep14.exe a -ep1 --dirs -r --archive-comment="%comment%" --workdir=..\_Out\$$work_dir$$\ -mpzlib+srep+lzma:a1:mfbt4:d256m:fb128:mc2000 "..\_Out\Setup-pZ+S+L%1.Rpk" "%dir%\*"
This is the Decompression Command :


Code:
Arc_sep14.exe x -ad "Dir\Setup-3-pZ+S+L.Rpk" -w..\_Out\$$_WorkDir_$$\  -cfg..\Compers\Arc.ini -mpzlib+srep+delta+lzma:a1:mfbt4:d256m:fb128:mc2000
Here's Arc.ini :


Code:
[External compressor:pzlib]
header    = 0
packcmd   = pZLib64 e -m2 -t4 -st4 -ct4 $$arcdatafile$$.tmp -o $$arcpackedfile$$.tmp
unpackcmd = pZLib64 d -t50p $$arcpackedfile$$.tmp -o $$arcdatafile$$.tmp

[External compressor:precomp]
header = 0 
packcmd   = precomp64 -brute -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp64 -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:srep]
header = 0
packcmd   = srep64 -m5f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
Please if there's anything more that i can put here for info then please let me know, this is years worth of modding data i'm talking about. I really can't afford to lose it.
__________________
Who's Got Time To Play Games? Huh??
Reply With Quote
Sponsored Links
  #2  
Old 03-06-2021, 12:54
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,161
Thanks: 284
Thanked 1,354 Times in 614 Posts
Masquerade is on a distinguished road
Try using cls-srep instead of srep.exe for decompressor.
Reply With Quote
  #3  
Old 03-06-2021, 23:07
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 272
Thanks: 501
Thanked 94 Times in 71 Posts
shazzla is on a distinguished road
Its compatible.
The author of SREP said in a post somewhere,its a bug.
The compressed data is good,but some additional parameter required to decompress in this case...
Sadly i cant say any other thing.

Maybe try add -a0 @ compression and do not touch the computer during SREP.
Its strange ,but for me helped many times.

Last edited by shazzla; 04-06-2021 at 00:22.
Reply With Quote
  #4  
Old 04-06-2021, 04:24
Prince4 Prince4 is offline
Registered User
 
Join Date: Mar 2015
Location: India->Delhi->Rohini
Posts: 121
Thanks: 109
Thanked 19 Times in 15 Posts
Prince4 is on a distinguished road
Exclamation

Quote:
Originally Posted by Masquerade View Post
Try using cls-srep instead of srep.exe for decompressor.

I tried one by ProFrager (0.3.3.3) and it also crashes.


Tried this https://www.fileforums.com/showthrea...light=cls-srep but it's giving me this error :


__________________
Who's Got Time To Play Games? Huh??
Reply With Quote
  #5  
Old 04-06-2021, 06:21
Prince4 Prince4 is offline
Registered User
 
Join Date: Mar 2015
Location: India->Delhi->Rohini
Posts: 121
Thanks: 109
Thanked 19 Times in 15 Posts
Prince4 is on a distinguished road
Exclamation

Quote:
Originally Posted by shazzla View Post
Its compatible.
Maybe try add -a0 @ compression and do not touch the computer during SREP.
Its strange ,but for me helped many times.

Tried Adding that, result is the same.
__________________
Who's Got Time To Play Games? Huh??
Reply With Quote
  #6  
Old 04-06-2021, 07:12
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 272
Thanks: 501
Thanked 94 Times in 71 Posts
shazzla is on a distinguished road
Another trick,but decreases final compression ratio:
In -m chain ,add (for example) rep:128m

-mrep:128m+srep:a8:m5f.....

Rep:128m or rep:128mb i dont remember...

Edit: AFAIR rep is internal,no arc.ini required. Its a defined range dedup algo or whatever

Last edited by shazzla; 04-06-2021 at 07:14.
Reply With Quote
  #7  
Old 04-06-2021, 11:59
Prince4 Prince4 is offline
Registered User
 
Join Date: Mar 2015
Location: India->Delhi->Rohini
Posts: 121
Thanks: 109
Thanked 19 Times in 15 Posts
Prince4 is on a distinguished road
Exclamation

Quote:
Originally Posted by shazzla View Post
Another trick,but decreases final compression ratio:
Wait, is this for Compressing Files? I need to Decompress the data dude.
__________________
Who's Got Time To Play Games? Huh??
Reply With Quote
  #8  
Old 04-06-2021, 12:12
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 272
Thanks: 501
Thanked 94 Times in 71 Posts
shazzla is on a distinguished road
Yes ,its for compression. Just to avoid future problems (maybe).

At decompression : as i said ,some additional parameter required to bypass this checksum error.
As the author of SREP said somewhere in a post,the compressed data IS NOT CORRUPTED. Its a bug in SREP.
If i remember correctly,this parameter is some kind of 'ignore crc'...

Edit :

Maybe its :

-hash-

Just add it to your arc.ini/srep section...
Give it a shot or i dont know....

Last edited by shazzla; 04-06-2021 at 12:16.
Reply With Quote
The Following User Says Thank You to shazzla For This Useful Post:
Prince4 (05-06-2021)
  #9  
Old 05-06-2021, 03:30
Prince4 Prince4 is offline
Registered User
 
Join Date: Mar 2015
Location: India->Delhi->Rohini
Posts: 121
Thanks: 109
Thanked 19 Times in 15 Posts
Prince4 is on a distinguished road
Talking

Quote:
Originally Posted by shazzla View Post
Its : -hash-

Just add it to your arc.ini/srep section...

OMG, thank you so much Shazzla, it fookin worked.
__________________
Who's Got Time To Play Games? Huh??
Reply With Quote
The Following User Says Thank You to Prince4 For This Useful Post:
shazzla (05-06-2021)
  #10  
Old 05-06-2021, 06:12
Prince4 Prince4 is offline
Registered User
 
Join Date: Mar 2015
Location: India->Delhi->Rohini
Posts: 121
Thanks: 109
Thanked 19 Times in 15 Posts
Prince4 is on a distinguished road
Quote:
Originally Posted by shazzla View Post
....

Wait, Shazzla, now i'm getting another Error. This time by FreeArc it self :



It worked on files that are small in sizes (1-3) GBs but it's giving me this and this error :


https://imgur.com/g6hVhMT
Code:
ERROR: CRC failed in "Setup-2-pZ+S+L\Content\SeriousSam2017\_addons\_Weapons\the_ultimate_weapon_resource_pack_resource\zz1088316016.gro". File is broken.

On files that are bigger (5-15) GBs. Please don't tell me my data is corrupted
__________________
Who's Got Time To Play Games? Huh??
Reply With Quote
  #11  
Old 05-06-2021, 06:48
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 272
Thanks: 501
Thanked 94 Times in 71 Posts
shazzla is on a distinguished road
Sadly i have no idea....

Thats why i did unpack/install tests after a conversion...
Reply With Quote
  #12  
Old 05-06-2021, 13:30
:( Sad8669 :( Sad8669 is offline
Registered User
 
Join Date: Oct 2020
Location: -
Posts: 203
Thanks: 97
Thanked 187 Times in 101 Posts
:( Sad8669 is on a distinguished road
Try using an installer script or a different unarc.dll

In my case, it helped me overcome CRC error.
Reply With Quote
The Following User Says Thank You to :( Sad8669 For This Useful Post:
Prince4 (06-06-2021)
  #13  
Old 05-06-2021, 22:07
ffmla ffmla is offline
Registered User
 
Join Date: Nov 2014
Location: Digital world
Posts: 112
Thanks: 602
Thanked 65 Times in 41 Posts
ffmla is on a distinguished road
Cool

You may try @ :( Sad8669 advice.
As for freearc,it have some commands
try the following in your decompression chain.
Code:
-baMODE       --BrokenArchive=MODE        deal with badly broken archive using MODE

-kb           --keepbroken                keep broken extracted files
Reply With Quote
The Following User Says Thank You to ffmla For This Useful Post:
Prince4 (06-06-2021)
  #14  
Old 06-06-2021, 02:31
Prince4 Prince4 is offline
Registered User
 
Join Date: Mar 2015
Location: India->Delhi->Rohini
Posts: 121
Thanks: 109
Thanked 19 Times in 15 Posts
Prince4 is on a distinguished road
Quote:
Originally Posted by :( Sad8669 View Post
Try using an installer script or a different unarc.dll
In my case, it helped me overcome CRC error.

I did try but i don't know why, neither CLS-SRep nor the executable itself are working, the installer just get stuck at specific file size which i believe is that SRep error that i began with, even tho i have -hash-in the Arc.ini of the Installer. Also can you link me the Newest UnArc.dll? Can't seem to find it, all i have is the stuff from 2015 and so. Thanks tho.
__________________
Who's Got Time To Play Games? Huh??
Reply With Quote
  #15  
Old 06-06-2021, 03:54
Prince4 Prince4 is offline
Registered User
 
Join Date: Mar 2015
Location: India->Delhi->Rohini
Posts: 121
Thanks: 109
Thanked 19 Times in 15 Posts
Prince4 is on a distinguished road
Quote:
Originally Posted by ffmla View Post
...

Tried Both -kb and -baM didn't work, -kb still gives CRC Error after Srep->pZLib->Zip-Error


-baM Says the Archive isn't a FreeArc one.
__________________
Who's Got Time To Play Games? Huh??
Reply With Quote
Reply

Tags
corruption, decompression, fail, pzlib, srep

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
Best Compression Methods for 'Specific' Games. Q&A JustFun Conversion Tutorials 4207 Today 10:21
New Fox Kompressor 1.01c Ultimate felice2011 Conversion Tutorials 31 07-06-2023 15:58
Just Cause 3 GTX590 PC Games - CD/DVD Conversions 44 21-02-2021 21:10
pZLib v3 (Final release) Razor12911 Conversion Tutorials 346 24-12-2020 12:15
ARK: Survival Evolved - Valguero KaktoR PC Games - CD/DVD Conversions 26 07-09-2019 13:25



All times are GMT -7. The time now is 16:06.


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