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

Reply
 
Thread Tools Display Modes
  #2596  
Old 21-10-2021, 03:41
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,413
Thanks: 1,078
Thanked 7,023 Times in 2,659 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
Sponsored Links
  #2597  
Old 21-10-2021, 07:26
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,168
Thanks: 284
Thanked 1,365 Times in 617 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
  #2598  
Old 21-10-2021, 07:46
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,413
Thanks: 1,078
Thanked 7,023 Times in 2,659 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
  #2599  
Old 23-10-2021, 03:53
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,168
Thanks: 284
Thanked 1,365 Times in 617 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)
  #2600  
Old 23-10-2021, 07:10
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,413
Thanks: 1,078
Thanked 7,023 Times in 2,659 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
  #2601  
Old 23-10-2021, 12:25
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,168
Thanks: 284
Thanked 1,365 Times in 617 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
  #2602  
Old 26-10-2021, 02:30
hwang4 hwang4 is offline
Registered User
 
Join Date: Sep 2007
Location: Algeria
Posts: 87
Thanks: 46
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
  #2603  
Old 26-10-2021, 02:47
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,413
Thanks: 1,078
Thanked 7,023 Times in 2,659 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)
  #2604  
Old 26-10-2021, 02:52
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 396
Thanks: 450
Thanked 437 Times in 200 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)
  #2605  
Old 26-10-2021, 08:17
hwang4 hwang4 is offline
Registered User
 
Join Date: Sep 2007
Location: Algeria
Posts: 87
Thanks: 46
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
  #2606  
Old 26-10-2021, 08:21
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,413
Thanks: 1,078
Thanked 7,023 Times in 2,659 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
  #2607  
Old 26-10-2021, 08:31
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,413
Thanks: 1,078
Thanked 7,023 Times in 2,659 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)
  #2608  
Old 26-10-2021, 11:02
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,168
Thanks: 284
Thanked 1,365 Times in 617 Posts
Masquerade is on a distinguished road
Decimal locations for unneeded voiceovers in The Dark Pictures Anthology: House of Ashes

Code:
pakchunk0-WindowsNoEditor.pak

DE - 7609391157 - 7855465402

ES - 7855466549 - 8101614621

FR - 8101615669 - 8350358791

IT - 8350359605 - 8589641034

RU - 8589641781 - 8828443389
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
KaktoR (26-10-2021)
  #2609  
Old 26-10-2021, 11:50
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,413
Thanks: 1,078
Thanked 7,023 Times in 2,659 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
Decimal locations for unneeded voiceovers in The Dark Pictures Anthology: House of Ashes

Code:
pakchunk0-WindowsNoEditor.pak

DE - 7609391157 - 7855465402

ES - 7855466549 - 8101614621

FR - 8101615669 - 8350358791

IT - 8350359605 - 8589641034

RU - 8589641781 - 8828443389
Thanks. Also do not use bpk on this. Will cause crc errors (again)
__________________
Haters gonna hate
Reply With Quote
  #2610  
Old 28-10-2021, 01:53
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,413
Thanks: 1,078
Thanked 7,023 Times in 2,659 Posts
KaktoR is on a distinguished road
Marvel's Guardians of the Galaxy

Code:
 23:55:06 - Selected ARC/DS method for Data1a-01.bin was: srep+LZMA-MT
----------------------------------------------------------------------------------------------------------------------------------------
 01:50:56 - Overall input size: 75.94 GB
 01:50:56 - Overall output size: 23.50 GB (Ratio 30.95%)
 01:50:56 - Overall conversion time: 01:53:38
__________________
Haters gonna hate
Reply With Quote
The Following 7 Users Say Thank You to KaktoR For This Useful Post:
Athii Gameplay (05-07-2022), Cesar82 (31-10-2021), Danziel123 (28-10-2021), JustFun (20-12-2021), macut18 (28-10-2021), Prettyboy099 (28-10-2021), ZAZA4EVER (01-11-2021)
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 15:28
CorePack Compression methods ? Help ramazan19833 Conversion Tutorials 34 09-08-2018 07:51
i got the email in the mail about copying ps2 games EVOEvo PS2 Games 7 21-11-2003 08:56
Self-booting games on an older Japanese DC? Named DC Games 1 26-09-2003 18:48
Having Problems Burning Numerous *Recent* Games....Help is Appreciated Protosstic PSX Games 2 15-01-2002 22:27



All times are GMT -7. The time now is 03:49.


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