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

Reply
 
Thread Tools Display Modes
  #3496  
Old 29-05-2023, 10:02
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 350
Thanks: 119
Thanked 57 Times in 37 Posts
L33THAK0R is on a distinguished road
State of Decay 2

Has anyone had any luck with any LZ4 library for "State of Decay 2"? Threads around the net indicate it uses some sort of "custom" LZ4 solution, however QuickBMS is able to parse it with it's built in LZ4 comtype. Currently exhausted a good collection of ~20 libraries through trials and I'm yet to pick up or detect a single stream.

Attached is a sample ".pak" archive should this compression quandary tickle anyone else's fancy.
Attached Files
File Type: rar sample.rar (6.12 MB, 3 views)
Reply With Quote
Sponsored Links
  #3497  
Old 31-05-2023, 09:58
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,155
Thanks: 284
Thanked 1,344 Times in 610 Posts
Masquerade is on a distinguished road
Shame Legacy

*.pak:
Code:
ue4d:key=07E35C91100A9B400B1A87B15337BEEAC3545EEE30786F21CB2EE7283AF51743+xtool_zlib_dd5+lolz
Everything else:
Code:
razor-stdio
9.9GB ---> 6.9GB

Used CLS-UE4D library by Shegorat.
Thanks to Razor12911 and ProFrager for XTool and Lolz.
Thanks to Bulat Ziganshin for FreeArc and srep.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
JustFun (10-06-2023)
  #3498  
Old 01-06-2023, 09:09
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,333
Thanks: 1,076
Thanked 6,912 Times in 2,612 Posts
KaktoR is on a distinguished road
Anyone can help me with srep options to use? I'm getting stuck here a bit.

Code:
ERROR! Can't allocate memory: 9705 mb required
Edit: -l# option seems to be the trick.
__________________
Haters gonna hate

Last edited by KaktoR; 01-06-2023 at 11:08.
Reply With Quote
  #3499  
Old 03-06-2023, 16:39
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,333
Thanks: 1,076
Thanked 6,912 Times in 2,612 Posts
KaktoR is on a distinguished road
Hitman 3 test using rpkg tool (because no plugin is available atm)

Code:
chunk0.rpkg (13.5GB)

 srep+lolz_fast
Overall input size: 14.03 GB
Overall output size: 12.10 GB (Ratio 86.29%)
Overall conversion time: 00:53:55
 
 
 srep+lolz_fast with rpkg tool
Overall input size: 15.50 GB
Overall output size: 11.41 GB (Ratio 73.61%)
Overall conversion time: 02:01:43
Input is bigger because chunk0.rpkg was extracted (lz4 variant is used). However output is smaller. But that time to process is insane and I recommend not to do this at all.

The time above was achived on a m2 ssd for a single test. Here again it is not recommended to do this kind of stuff on a ssd, even it is much faster.

Extracting all rpkg's on a HDD took barely 4 hours.
Next step is to make TAR files out of extracted files (this will take another bunch of hours), because somehow freearc seems to have problems with nearly 2 million extracted files.

Code:
*.WWEM
*.WWES

Rename them to *.WEM so you can use WemTool on them. After decoding rename them back to *.WWEM and *.WWES.
You can save approximately 10% of original size.


*.WWEV
They have "RIFF8-��WAVEfmt" but cannot do anything with them.
More info: https://fileforums.com/showpost.php?p=501212&postcount=3495
This is just a info test out of curiosity and I wanted to share some infos here.
__________________
Haters gonna hate

Last edited by KaktoR; 03-06-2023 at 16:42.
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
Masquerade (03-06-2023)
  #3500  
Old 05-06-2023, 00:12
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 384
Thanks: 444
Thanked 430 Times in 197 Posts
dixen is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Witcher 3 v4.0 Next Gen Update

Still the same algo from before
https://fileforums.com/showthread.ph...her#post498295

Code:
-mxtool:witcher3+xtool:zlib+xtool:lz4hc,l9

Compressed 1 file, 286,247,872 => 1,249,481,045 bytes. Ratio 436.50%
Compression time: cpu 0.41 sec/real 51.41 sec = 1%. Speed 5.57 mB/s
All OK

Extracted 1 file, 1,249,481,045 => 286,247,872 bytes. Ratio 436.50%
Extraction time: cpu 0.59 sec/real 37.01 sec = 2%. Speed 7.73 mB/s
All OK
Which version xtool and liblz4.dll needed?
With W3.xtl - decompression error for me
Reply With Quote
  #3501  
Old 05-06-2023, 00:20
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,333
Thanks: 1,076
Thanked 6,912 Times in 2,612 Posts
KaktoR is on a distinguished road
XTool 0.6.9 + xdelta3_dll.dll + lz4_193 + doboz.dll

bms2xtl config
Code:
lz4=lz4hc:l9
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
dixen (05-06-2023)
  #3502  
Old 05-06-2023, 09:29
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 384
Thanks: 444
Thanked 430 Times in 197 Posts
dixen is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
XTool 0.6.9 + xdelta3_dll.dll + lz4_193 + doboz.dll

bms2xtl config
Code:
lz4=lz4hc:l9
It works but..VERY slow on lz4hc streams.
Reply With Quote
  #3503  
Old 05-06-2023, 09:39
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,155
Thanks: 284
Thanked 1,344 Times in 610 Posts
Masquerade is on a distinguished road
Repella Fella

You can use ffmpeg to extract the vorbis audio tracks from the webm videos then make hdiffz patches to convert the oggs back into videos (note that the hdiff patches will be huge since they make up the entire video track).

Only issue is that oggre is buggy af with these oggs, so it may just be easier to use:

srep+lzma2 on the webm

precomps+srep+lolz on everything else.

Precomps = precomp stdin/stdio fork by Nicolas Comerci.

8GB > 7.2GB

I spent all day trying to get oggre working, but it will crash without much of a pattern to go off.
Reply With Quote
The Following 2 Users Say Thank You to Masquerade For This Useful Post:
JustFun (10-06-2023), ScOOt3r (05-06-2023)
  #3504  
Old 05-06-2023, 09:53
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,333
Thanks: 1,076
Thanked 6,912 Times in 2,612 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by dixen View Post
It works but..VERY slow on lz4hc streams.
Hm, no, not for me.

Did it today with latest version.

Code:
 11:16:00 - Overall input size: 61.98 GB
 11:16:00 - Overall output size: 44.43 GB (Ratio 71.68%)
 11:16:00 - Overall conversion time: 01:58:29
__________________
Haters gonna hate
Reply With Quote
  #3505  
Old 05-06-2023, 13:00
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 384
Thanks: 444
Thanked 430 Times in 197 Posts
dixen is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Hm, no, not for me.

Did it today with latest version.

Code:
 11:16:00 - Overall input size: 61.98 GB
 11:16:00 - Overall output size: 44.43 GB (Ratio 71.68%)
 11:16:00 - Overall conversion time: 01:58:29
Can you share your witcher3.xtl?
Reply With Quote
  #3506  
Old 06-06-2023, 11:06
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,155
Thanks: 284
Thanked 1,344 Times in 610 Posts
Masquerade is on a distinguished road
Orcs Must Die! 3 [v1.2.1.0]

*.pak:
Code:
xtool_OMD3_dd5+lolz
Everything else:
Code:
xtool_zlib+razor-stdio
12.6GB ---> 6.8GB

Requires OMD3 database and lz4 library linked here.
Reply With Quote
The Following 3 Users Say Thank You to Masquerade For This Useful Post:
dixen (06-06-2023), JustFun (10-06-2023), ScOOt3r (06-06-2023)
  #3507  
Old 07-06-2023, 10:08
Dragonis40 Dragonis40 is offline
Registered User
 
Join Date: Mar 2021
Location: italy
Posts: 60
Thanks: 0
Thanked 2 Times in 2 Posts
Dragonis40 is on a distinguished road
Good evening, is there a way to create a .tmp file from a decompressed (or unpacked) file or batch of files in order to use hdiffz.exe and so to create a .diff file?
A lot of videogames have several files that can be unpacked using specific tools, but no way to repack them. Maybe hdiffz.exe is a solution, but it needs a .tmp file. How to create it? Thanks in advance for your help!
Reply With Quote
  #3508  
Old 07-06-2023, 13:57
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,155
Thanks: 284
Thanked 1,344 Times in 610 Posts
Masquerade is on a distinguished road
HDiffz does not need a .tmp file, read the usage instructions.

Old file and new file makes differential patch.
Reply With Quote
  #3509  
Old 09-06-2023, 14:42
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,155
Thanks: 284
Thanked 1,344 Times in 610 Posts
Masquerade is on a distinguished road
Hi,
Does anyone have any samples of LZMA compressed Unity Asset Bundles that they could share with me?
Thanks!
Reply With Quote
  #3510  
Old 10-06-2023, 00:27
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,333
Thanks: 1,076
Thanked 6,912 Times in 2,612 Posts
KaktoR is on a distinguished road
Diablo IV
v1.0.2, incl. HD files

Code:
 10:50:35 - Selected ARC/DS method for Data1a-01.bin was: xtool:dd3+lzma2:d96m:fb273:lc4:mc1000000
 10:50:35 - Selected ARC/DS method for Data1b-01.bin was: xtool:mzlib+xtool:mpreflate:dd3+lzma2:d96m:fb273:lc4:mc1000000
-----------------------------------------------------------------------------------------
 13:17:45 - Overall input size: 77.06 GB
 13:17:45 - Overall output size: 62.72 GB (Ratio 81.38%)
 13:17:45 - Overall conversion time: 02:27:08
__________________
Haters gonna hate
Reply With Quote
The Following 2 Users Say Thank You to KaktoR For This Useful Post:
Cesar82 (10-06-2023), JustFun (10-06-2023)
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
Games Are For Kids JoyBoy Chit Chat 83 16-11-2021 14:28
CorePack Compression methods ? Help ramazan19833 Conversion Tutorials 34 09-08-2018 06:51
i got the email in the mail about copying ps2 games EVOEvo PS2 Games 7 21-11-2003 07:56
Self-booting games on an older Japanese DC? Named DC Games 1 26-09-2003 17:48
Having Problems Burning Numerous *Recent* Games....Help is Appreciated Protosstic PSX Games 2 15-01-2002 21:27



All times are GMT -7. The time now is 11:29.


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