FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Best Compression Methods for 'Specific' Games. Q&A (https://fileforums.com/showthread.php?t=99554)

Masquerade 27-10-2022 05:34

Quote:

Originally Posted by kuyhaa (Post 498880)
.pak gotham knights method please ? :)

I'm going to use cls-ue4d by Shegorat, but XTool unreal plugin should also do the decryption.

So, ue4 decrypt with key
Code:

0xE01312D26CAD1529142D3ACA6DB25D4091C1AAFE0C91E5DC104C36A768DB1E50
Then add zlib precompressor, srep and lolz.

Devs were nasty and put videos inside the pak with compression and encryption. Sounds are also encrypted but you should just be able to patch the encrypted data out using QuickBMS + Unreal script to print a filelist which will give you the locations of the different sound banks.

kuyhaa 27-10-2022 08:52

Quote:

Originally Posted by Masquerade (Post 498896)
I'm going to use cls-ue4d by Shegorat, but XTool unreal plugin should also do the decryption.

So, ue4 decrypt with key
Code:

0xE01312D26CAD1529142D3ACA6DB25D4091C1AAFE0C91E5DC104C36A768DB1E50
Then add zlib precompressor, srep and lolz.

Devs were nasty and put videos inside the pak with compression and encryption. Sounds are also encrypted but you should just be able to patch the encrypted data out using QuickBMS + Unreal script to print a filelist which will give you the locations of the different sound banks.

Gotham Knights

zlib+ue4

Quote:

Streams: 2370701/2371280364634
Time: 00:12:51 (01:52:39)
Memory: 0.99 GB (0.99 GB)

100.0%
Errorlevel=0

Compressed 1 file, 43,688,470,495 => 88,344,833,239 bytes. Ratio 202.22%
Compression time: cpu 642.13 sec/real 1488.20 sec = 43%. Speed 29.36 mB/s
All OK


but i don't know, if use Diskpan GUI @cesar

Code:

xtool:c32mb:mue4,k0xE01312D26CAD1529142D3ACA6DB25D4091C1AAFE0C91E5DC104C36A768DB1E50,zlib
Not Work, only got 100.3% ( CMIIW )

dixen 27-10-2022 10:19

Sackboy: A Big Adventure

AES Key

Quote:

0x27BCD9AE811EBB70D80F7B9098CCE4267CFFA18E14058BC2 E59E8898E0E9AA9C
I think all *.pak is encrypted but not compressed.

kj911 27-10-2022 11:46

Quote:

Originally Posted by Masquerade (Post 498870)
It doesn't matter ^^

CLS-SREP will decompress srep data no matter which version of srep you use for compression.

Make sure you use the latest version of CLS-SREP. I'm assuming you're using ProFrager's version and not Razor's version. The latest CRCs of those files are:

Code:

    File: CLS-SREP_X64.EXE
  CRC-32: ae1cd4f0

    File: CLS-SREP.DLL
  CRC-32: d30b67ba


Too many SREP versions. Any variants, not compatible from decompression, in vice-versa packed in SREP 3.2 or SREP 3.90/3.9x during in compression. Any case, not unpackaeble these data package via ProFrager's 0.33 version or any CLS-based copy's. Native bigger EXE's ~99.99% its works. (Official Bulat's release or "SR" iconized newest version EXE its solved in more problems.)

These X64.exe found from "cls_srep_v0.03b.rar" and "ISArcEx v0.4 + Test.rar" files. Two package contains X86 version EXE and not running from XP! Used bytepaching and its is OK! These DLL file, totally missing, some tools available various versions, (UltraArc, MC 20.xx, CIU3.0.x.x or more..) this different, not found the "d30b67ba" CRC-32 hashed copy.

UPD: These versions cls filter, not fully stable from cancelling installation process, these X64 (ae1cd4f0) or patched X86 EXE crashing now, from process terminating. Original full EXE or Profrager's DLL its betterly stable. (except not supported compression methods in get decompression error.) Its probably incorrect CLS-SREP.dll file attached in the "ae1cd4f0" hashed X64 EXE file in some repacking tools archives. Checked my DVD's from any archived repacking tools, not found! The DLL its available in many recompressor package tools sets?

dixen 27-10-2022 22:49

Sackboy: A Big Adventure

*.pak - ue4d+xtool(zlib)+srep+lolz
53 > 54 gb > 41 gb > 22.6 gb

*.mp4, *.avi - srep+lzma2
860 mb - 697 mb

Rest files - srep+lolz

Repack size - 23.3 gb
Install time - ~10 min. (hdd>hdd)

KaktoR 28-10-2022 05:32

1 Attachment(s)
Quote:

Originally Posted by Masquerade (Post 498896)
I'm going to use cls-ue4d by Shegorat, but XTool unreal plugin should also do the decryption.

So, ue4 decrypt with key
Code:

0xE01312D26CAD1529142D3ACA6DB25D4091C1AAFE0C91E5DC104C36A768DB1E50
Then add zlib precompressor, srep and lolz.

Devs were nasty and put videos inside the pak with compression and encryption. Sounds are also encrypted but you should just be able to patch the encrypted data out using QuickBMS + Unreal script to print a filelist which will give you the locations of the different sound banks.

Here is the file list, so you don't have to create this :D

Beware, the file is 300mb in size, so open it could take a while

Masquerade 28-10-2022 09:17

^^

You can use -f filter in quickbms so it will only list files that you want.

e.g.
Code:

QuickBMS -l -f *.pck <bms> <pak> >> filelist.txt
P.S. don't rip voiceovers entirely because game will crash without them. Just patch them out to speed lolz up.

ScOOt3r 28-10-2022 14:01

Quote:

Originally Posted by Masquerade (Post 498896)
I'm going to use cls-ue4d by Shegorat, but XTool unreal plugin should also do the decryption.

So, ue4 decrypt with key
Code:

0xE01312D26CAD1529142D3ACA6DB25D4091C1AAFE0C91E5DC104C36A768DB1E50
Then add zlib precompressor, srep and lolz.

Devs were nasty and put videos inside the pak with compression and encryption. Sounds are also encrypted but you should just be able to patch the encrypted data out using QuickBMS + Unreal script to print a filelist which will give you the locations of the different sound banks.

_______________________
im not sure what or you did but i didnt get anywhere close to 30.8 GB my repack was 39.0 GB

i used this method:
ue4d:key=E01312D26CAD1529142D3ACA6DB25D4091C1AAFE0 C91E5DC104C36A768DB1E50+xtoolx+srep+lolz <- xtoolx in this cause was unreal.dll


thanks
ScOOt3r

FitGirl 28-10-2022 17:09

Quote:

Originally Posted by ScOOt3r (Post 498920)
_______________________
im not sure what or you did but i didnt get anywhere close to 30.8 GB my repack was 39.0 GB

i used this method:
ue4d:key=E01312D26CAD1529142D3ACA6DB25D4091C1AAFE0 C91E5DC104C36A768DB1E50+xtoolx+srep+lolz <- xtoolx in this cause was unreal.dll


thanks
ScOOt3r

Sigh. You have space symbol in AES key.

fabrieunko 28-10-2022 23:15

Quote:

Originally Posted by dixen (Post 498907)
Sackboy: A Big Adventure

*.pak - ue4d+xtool(zlib)+srep+lolz
53 > 54 gb > 41 gb > 22.6 gb

*.mp4, *.avi - srep+lzma2
860 mb - 697 mb

Rest files - srep+lolz

Repack size - 23.3 gb
Install time - ~10 min. (hdd>hdd)

Hello can you help me I can not find the same setting with DSG
*.pak - ue4d+xtool(zlib)+srep+lolz

KaktoR 29-10-2022 02:40

Quote:

Originally Posted by dixen (Post 498907)
Sackboy: A Big Adventure

*.pak - ue4d+xtool(zlib)+srep+lolz
53 > 54 gb > 41 gb > 22.6 gb

*.mp4, *.avi - srep+lzma2
860 mb - 697 mb

Rest files - srep+lolz

Repack size - 23.3 gb
Install time - ~10 min. (hdd>hdd)

This game has very few streams. I guess only decrypt the files and use srep+lolz would have the same ratio.

Code:

Compressed 20 files, 56,772,706,885 => 57,575,115,762 bytes. Ratio 101.41%
Compression time: cpu 25.19 sec/real 1436.27 sec = 2%. Speed 39.53 mB/s
All OK

@fabrieunko
Code:

xtool:c32mb:mzlib:d1:mue4,k0x27BCD9AE811EBB70D80F7B9098CCE4267CFFA18E14058BC2E59E8898E0E9AA9C

KaktoR 29-10-2022 08:20

Call of Duty Modern Warfare 2 Remastered

*.ff, *.fp, *.xsub -> kraken (use oo2core_8)

Masquerade 01-11-2022 11:25

American Truck Simulator [v.1.45.3.26s + All DLCs]

Code:

xzlib+srep+lolz
Latest XTool used with -mzlib only (no reflate).
Use -lm due to incredibly huge streams being decompressed.
I have 64GB of memory so I used a 1024mb chunk size.

10.7GB ----> 6.1GB

KaktoR 02-11-2022 14:13

Divinity Original Sin 2 Definitive Edition
v27.09.2022, Nothing ripped, bonus contents are included (Artbook, Lorebook, Concept Art, Soundtrack)

Code:

18:42:24 - Selected ARC/DS method for Data1a-01.bin was: xtool:mdos2de:mpreflate+srep_new:3+lzma_sdk
 18:42:24 - Selected ARC/SPLIT method for Data1b-01.bin was: srep_new:3+lzma_sdk/$mp3pack=mpz_pmt/$jpgpack=xtool:mbrunsli/$deflatepack=xtool:mreflate+srep_new:3+lzma_sdk
 18:42:24 - Selected ARC/DS method for Data1c-01.bin was: bpk
 18:42:24 - Selected ARC/DS method for Data1d-01.bin was: 1
-------------------------------------------------------------------------------------------------------------------------------------------
 21:28:17 - Overall input size: 60.50 GB
 21:28:17 - Overall output size: 34.01 GB (Ratio 56.21%)
 21:28:17 - Overall conversion time: 02:45:51
-------------------------------------------------------------------------------------------------------------------------------------------
 22:03:03 - All files have been successfully extracted!

Paks are using lz4hc with level 9 and some reflate streams.
However not all lz4 streams can be processed.
To get a good amount of streams set --diff=20p in arc.ini (the sweatspot is somewhere between 15p and 20p, I used 20p. Above this you will get negative ratios on some files. The higher #p, the more negative ratio) and use xdelta3_dll.dll near xtool.exe

Due to false detection by xtool use preflate, not reflate. If you use reflate you will get crc errors on extraction.
For xtl creation use lspk.bms and in bms2xtl.ini set lz4=lz4hc:l9
Use liblz4 180

bpk information

Code:

Data1c
Data\Localization\Video.pak
Data\Localization\Video_1.pak
Data\Localization\Video_2.pak
Data\Localization\Video_3.pak
Data\Localization\Video_4.pak
DefEd\Data\Localization\Video.pak

Data1d (crc errors on extraction, don't use bpk on them, or extract the archives first and use binkpatch)
DefEd\Data\Localization\Video_1.pak
DefEd\Data\Localization\Video_2.pak
DefEd\Data\Localization\Video_3.pak
DefEd\Data\Localization\Video_4.pak

Thanks to Razor12911 and Masquerade for some informations :D

dixen 03-11-2022 01:53

Quote:

Originally Posted by KaktoR (Post 498981)
Divinity Original Sin 2 Definitive Edition
v27.09.2022, Nothing ripped, bonus contents are included (Artbook, Lorebook, Concept Art, Soundtrack)

*.pak (excluded video, voice and sound)

srep+lolz = 6.6 gb
Xtool(LZ4 + xtl db)+srep+lolz = 6.4 gb
:D


All times are GMT -7. The time now is 12:10.

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