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)

:( Sad8669 03-02-2022 21:08

Read this : https://fileforums.com/showthread.php?t=104859

:( Sad8669 04-02-2022 02:55

God of War BNK Sound Files- Update II
 
I have already posted about .sbp files of GOW and how to extract them, however i failed to provide a method to compress them while keeping CRC. Here it is,

What do you need?

- HxD Editor
- QuickBMS & armyoftwo.bms
- HDiffz or any delta patcher

Notes :
- This is not efficient at all.
- This method is based on theory (It should work though).
- Barely a 2~3 MB gain from 80 MB files (there are two of them).
- WemTool doesn't work on localized sound banks.
- Time Consuming
- While Nulling the files, make sure to use *.wav and *.dat

Method:

1. First you have to make the .sbp files compatible with QuickBMS. Follow the link.

2. After converting the .sbp to a compatible version, create diff patches between them, since you deleted a good amount of Hex code, although the patch should be smaller.

3. Extract the new compatible bank using QuickBMS, create a copy of the extracted folder, and null the inside files, follow this guide. Upon extraction, you will see alot of .wavs and .dats, meaning that you are in trouble and you will need to rename them to .wem to make it work with WemTool. (Use PowerRename or anything)

4. During installation, decode the the files using WemTool, then rename them back to their original names . Reimport them using QuickBMS and use the diff patches to patch the data you removed in step 1.

Quick Tip:

If you are willing the convert the .sbp to compatible version, open it with HxD, search for "BKHD", convert the code to dec, click on the "dot" before BKHD, note the offset, Use Ctrl+E then select from 0 to whatever offset you noted when you searched for BKHD.

For Example :
Code:

lvl_stn000.sbp  | 0 - 18527 |
lvl_helr000.sbp | 0 - 16735 |
lvl_peak000.sbp | 0 - 21599 |
lvl_hel000.sbp  | 0 - 14687 |
lvl_alf000.sbp  | 0 - 44127 |
lvl_foot000.sbp | 0 - 7007  |
lvl_riv000.sbp  | 0 - 22367 |
lvl_stn950.sbp  | 0 - 5471  |

Thanks to Masquerade, dixen and everyone.

KaktoR 05-02-2022 11:38

Dying Light 2
*.bik -> bpk works
*.rpack, navmesh -> just use srep+lolz/lzma/...
*.dat -> zlib
streams_<lang>.aesp -> some ogg files are inside (~97% ratio)

:( Sad8669 05-02-2022 21:17

Dying Light 2 - Movies

Uses Bink 1 format so bpk works for sure, also stated by KakTor.
This game comes with two versions of movies, FHD and 4K.

Movies Folder [1.51 GB] [FHD only]
Code:

Initial Size : 1.51 GB
Final Size : 1.13 GB
Method: BPK

Movies Folder [4.40 GB] [Both 4K + FHD]
Code:

Initial Size : 4.40 GB
Final Size : 3.21 GB
Method: BPK


fabrieunko 05-02-2022 23:06

Quote:

Originally Posted by KaktoR (Post 495685)
Dying Light 2
*.bik -> bpk works
*.rpack, navmesh -> just use srep+lolz/lzma/...
*.dat -> zlib
streams_<lang>.aesp -> some ogg files are inside (~97% ratio)



Hello, when there are several styles of files how to make a single BIN?

:( Sad8669 06-02-2022 00:13

Masked compression is your good friend.

Check this out : https://fileforums.com/showthread.php?t=97530

Don't read too much, just the bit where its about masked compression.

A game contains files of different formats, so as you said several styles of algorithms are used with desired formats.

Masquerade 06-02-2022 00:32

Quote:

Originally Posted by fabrieunko (Post 495693)
Hello, when there are several styles of files how to make a single BIN?

xtool+srep+lolz/$bink=bpk/$aesp=oggre

Make an arc.groups file in the same location as arc.exe and put this:

Code:

$Default

$bink
*.bik
*.bk2

$aesp
*.aesp


Masquerade 06-02-2022 01:40

The LEGO Movie 2 Videogame

Step 1: Unpack DAT archives using QuickBMS and this script.

Step 2: Apply TTMagic patch (Koalyptus Framework).

Step 3: Compress:

Code:

srep+lolz/$ogg=srep+LZMA2/$fmv=srep+LZMA2
  • You can rip the NXG folder inside the MOVIES folder because since only the DX11 game executable is patched by Koalyptus framework, the NXG videos will never be used.

14GB ===> 4GB

fabrieunko 06-02-2022 02:42

OUPSsss sorry

Masquerade 06-02-2022 04:21

Quote:

Originally Posted by fabrieunko (Post 495700)
Hello I would like to test to learn but where to find the game?

Forum Rule 1 :mad:
https://www.fileforums.com/showthread.php?t=54193

dixen 06-02-2022 10:14

SIFU

*.pak not used zlib or kraken but

Total encrypted UE records 35470/35497

AES key for ue4d
Code:

0x40A266F41FDBCE91312FBB86060D2E9425B7D922C0CF0031F634CAD9AECB49DA

Masquerade 06-02-2022 10:34

Steel Division 2 v67500 + All DLCs + Bonus Content

Code:

xtool:reflate+srep+lolz
66.2GB ===> 30.6GB

Notes:
  • DO NOT use ZLIB codec for XTool, crash on decompression.
  • Not much point in separating bonus content, just keep it in main archive.
  • 20 hours max needed for this one, especially if you lolz which needs about 17 hours on its own.

Masquerade 06-02-2022 10:48

There is some WWise Audio in SIFU (especially Chinese voiceovers) but the PAK is encrypted and this is not something I am 100% certain you can tamper with. I know QuickBMS reimporting does not work here.

fabrieunko 07-02-2022 02:33

hello, how did you get 9.8Gb?

dixen 07-02-2022 04:45

Quote:

Originally Posted by fabrieunko (Post 495732)
hello, how did you get 9.8Gb?

Who? SIFU?
ue4d+srep+lolz


All times are GMT -7. The time now is 08:01.

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