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 16-10-2021, 13:48
lomesmo lomesmo is offline
Registered User
 
Join Date: Aug 2019
Location: Venezuela
Posts: 16
Thanks: 1
Thanked 7 Times in 7 Posts
lomesmo is on a distinguished road
Bullet Witch

All DLC

Code:
Input size: 4.57 GB
Output size: 3.09 GB
Method: xZLib+srep+lzma2
Reply With Quote
The Following User Says Thank You to lomesmo For This Useful Post:
JustFun (20-12-2021)
Sponsored Links
  #2  
Old 16-10-2021, 18:28
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Hi all,

Has anyone given "Call of Duty: Black Ops III (3)" a shot? It piqued my interest when I saw the QuickBMS script for "xpack" archives[1] mentioned that the "LZO", "LZ4" & "Oodle" compression algorithms were used within these archives. I'm sure testing which libraries for "LZ4" give the best output won't be too tricky, but in regards to the "Oodle" codec(s) used, I'm a bit stumped. As far as I know a "oo2core_#_win64.dll" is required, with either "xtool" or "Oo2Rec#", to pre-compress a given file, however such a file isn't present within the root and sub-directories of the title in question. Does anyone have any idea how to go about pre-compressing the "Oodle" streams for this title? Apologies if I buggered the terminology.
Reply With Quote
  #3  
Old 17-10-2021, 03:27
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
Well you can check with hex edit if the game has oodle at all (I don't know), if yes then just try all different libraries.
__________________
Haters gonna hate
Reply With Quote
  #4  
Old 21-10-2021, 02:41
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
NieR Replicant ver 1 22474487139

Anyone knows what zstd lib to use? It's slow af
__________________
Haters gonna hate
Reply With Quote
  #5  
Old 21-10-2021, 06:26
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,404 Times in 637 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
NieR Replicant ver 1 22474487139

Anyone knows what zstd lib to use? It's slow af
Unsure, I have checked with latest ZSTD to see if it can list info about the archives, yet it can only seem to load info for few archives. Yet, all files are definitely compressed with zstd.

Code:
for %f in (*.arc) do zstd -l "%f"
Frames  Skips  Compressed  Uncompressed  Ratio  Check  Filename
     1      0     9.25 MB      30.19 MB  3.263   None  common.arc
Frames  Skips  Compressed  Uncompressed  Ratio  Check  Filename
     1      0   690.86 KB    1748.36 KB  2.531   None  info.arc
Frames  Skips  Compressed  Uncompressed  Ratio  Check  Filename
File "init.arc" not compressed by zstd
Frames  Skips  Compressed  Uncompressed  Ratio  Check  Filename
File "lang1.arc" not compressed by zstd
Frames  Skips  Compressed  Uncompressed  Ratio  Check  Filename
File "lang2.arc" not compressed by zstd
Frames  Skips  Compressed  Uncompressed  Ratio  Check  Filename
File "param.arc" not compressed by zstd
Frames  Skips  Compressed  Uncompressed  Ratio  Check  Filename
File "stream.arc" not compressed by zstd
I even tried compressing a demo file with zstd and testing the latest libzstd to see if the precompressor worked, neither zstdrec or xtool could precompress a random file compressed with latest zstd.
Reply With Quote
  #6  
Old 21-10-2021, 06:46
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
Yes, the first file contains just 1 block with zstd (28B52FFD).

However, ratio with lzma2 for init.arc is about 70%.

I will investigate it further
__________________
Haters gonna hate
Reply With Quote
  #7  
Old 23-10-2021, 02:53
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,404 Times in 637 Posts
Masquerade is on a distinguished road
KaktoR
You can use the following tools to extract all of the compressed ZSTD streams from NieR replicant. It will allow for decompression of 99% of streams.

1. VGM Toolbox and this script. Download latest zstd.exe.

2. Place the XML file in plugins\AdvancedCutter folder of VGMToolbox.

3. Open VGMToolbox, go to Misc. Tools > Extraction Tools > Generic > Advanced Cutter

4. From the drop down menu in the top right, select NieRReplicant and click LOAD.

5. Next, you can drop each of the arc files into the top left box and it will extract the streams. You only really need to do this for the large arc files. No need on the little ones.

6. After extracting the streams, run this python script for each of the files. This will remove the extra padding bytes (@) that the devs added so that each stream begins at an offset of divisible by 16. ZSTD will not decompress files that contain data after the end of the stream.

Code:
for %f in (*.MSQ) do trimmer.py "%f"
Ignore that it involves .MSQ extension. You can switch it to .TMP or whatever.

7.
Code:
for /r %f in (*.MSQ) do zstd -d "%f" -o "%~df%~pf%~nf.DEC"
This will use zstd to decompress the streams. Afair it fails on about 16 streams out of ~7800, but you can decompress most of the game this way.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
KaktoR (23-10-2021)
  #8  
Old 23-10-2021, 06:10
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
Question is if it's profitable because with plain srep+lzma i get 13.5GB
__________________
Haters gonna hate
Reply With Quote
  #9  
Old 23-10-2021, 11:25
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,404 Times in 637 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Question is if it's profitable because with plain srep+lzma i get 13.5GB
Oh, most certainly not profitable in the slightest. But still good fun!
Reply With Quote
  #10  
Old 26-10-2021, 01:30
hwang4 hwang4 is offline
Registered User
 
Join Date: Sep 2007
Location: Algeria
Posts: 96
Thanks: 51
Thanked 10 Times in 4 Posts
hwang4 is on a distinguished road
Hi!Need A valid unreal key for "Chinese Paladin - Sword & Fairy 7"!
Should i use "ue4dt" or xtool with unreal plugin?thanx!
Reply With Quote
  #11  
Old 26-10-2021, 01:47
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
Code:
0xE53BEBDBCEC82995F37033B62CFD8243E02C10C03AB12EA682F654DC805F4009
In my tests there were no difference in using ue4dt or xtool.
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
hwang4 (26-10-2021)
  #12  
Old 26-10-2021, 01:52
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 410
Thanks: 453
Thanked 444 Times in 204 Posts
dixen is on a distinguished road
Keys
Code:
Sword and Fairy 7 (cubejoy) 0xB37742E2DF203FAF02D00DD495D3297FAEB4B14D89FBD6C88D874884FAB8EAD5
Sword and Fairy 7 (steam)   0xE53BEBDBCEC82995F37033B62CFD8243E02C10C03AB12EA682F654DC805F4009
Reply With Quote
The Following User Says Thank You to dixen For This Useful Post:
hwang4 (26-10-2021)
  #13  
Old 26-10-2021, 07:17
hwang4 hwang4 is offline
Registered User
 
Join Date: Sep 2007
Location: Algeria
Posts: 96
Thanks: 51
Thanked 10 Times in 4 Posts
hwang4 is on a distinguished road
KaktoR , you are right!I tried with both ue4dt & xtool without success!
So ? What's should i use for better compression ?
Reply With Quote
  #14  
Old 26-10-2021, 07:21
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
I think the files are not compressed anyway, but I have not checked further.
__________________
Haters gonna hate
Reply With Quote
  #15  
Old 26-10-2021, 07:31
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
NASCAR 21 Ignition

Code:
 15:00:20 - Selected ARC/DS method for Data1a-01.bin was: xtool:mpreflate+srep_new+4x4:b64mb:lzma:ultra:64m:bt4:fb273:lc8:mc1000000
 15:00:20 - Selected ARC/DS method for Data1b-01.bin was: srep_new+4x4:b64mb:lzma:ultra:64m:bt4:fb273:lc8:mc1000000
----------------------------------------------------------------------------------------------------------------------------------------
 16:25:17 - Overall input size: 18.62 GB
 16:25:17 - Overall output size: 12.12 GB (Ratio 65.07%)
 16:25:17 - Overall conversion time: 01:24:52

Data1a *.pak
Data1b rest of the files
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
JustFun (20-12-2021)
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
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 00:30.


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