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)

KaktoR 28-07-2023 12:09

As for "Forspoken" bink2 videos, you can use a chunk size as 981mb, as the biggest file is 981mb

Code:

c256mb
Compressed 331 files, 7,343,656,316 => 6,703,069,558 bytes. Ratio 91.28%
Compression time: cpu 3.03 sec/real 367.24 sec = 1%. Speed 20.00 mB/s
All OK

c512mb
Compressed 331 files, 7,343,656,316 => 6,605,046,614 bytes. Ratio 89.94%
Compression time: cpu 2.98 sec/real 348.98 sec = 1%. Speed 21.04 mB/s
All OK

c1gb
Compressed 331 files, 7,343,656,316 => 6,498,592,363 bytes. Ratio 88.49%
Compression time: cpu 3.36 sec/real 431.03 sec = 1%. Speed 17.04 mB/s
All OK

c981mb
Compressed 331 files, 7,343,656,316 => 6,498,592,343 bytes. Ratio 88.49%
Compression time: cpu 3.20 sec/real 448.67 sec = 1%. Speed 16.37 mB/s
All OK


KaktoR 29-07-2023 09:48

Ratchet & Clank Rift Apart

For the movie files you can use bink2 plugin with a chunk size like c1gb. The videos are just stored as plain text. You can see the bink2 file headers "KB2j" with HxD but I don't know how big the biggest file is actually. However I guess c1gb should be enough.

Code:

c256mb
Compressed 4 files, 4,269,568,000 => 3,891,106,223 bytes. Ratio 91.14%
Compression time: cpu 1.83 sec/real 144.25 sec = 1%. Speed 29.60 mB/s
All OK

c512mb
Compressed 4 files, 4,269,568,000 => 3,843,203,753 bytes. Ratio 90.01%
Compression time: cpu 1.69 sec/real 166.48 sec = 1%. Speed 25.65 mB/s
All OK

c1gb
Compressed 4 files, 4,269,568,000 => 3,708,218,303 bytes. Ratio 86.85%
Compression time: cpu 1.97 sec/real 249.45 sec = 1%. Speed 17.12 mB/s
All OK

c2gb
Compressed 4 files, 4,269,568,000 => 3,708,218,323 bytes. Ratio 86.85%
Compression time: cpu 1.91 sec/real 283.34 sec = 1%. Speed 15.07 mB/s
All OK

Extracted 4 files, 3,708,218,323 => 4,269,568,000 bytes. Ratio 86.85%
Extraction time: cpu 3.02 sec/real 167.80 sec = 2%. Speed 25.44 mB/s
All OK

I guess you can find out the biggest file chunk using xtool verbose mode with the bk2 plugin, but not sure.

Snake288 29-07-2023 11:35

Hello

Ratchet & Clank Rift Apart I want to compress game
DiskSpan_GUI help with files needed for the filesystem for compression

ravikant 29-07-2023 20:41

I want to reencode music and videos in some of my old games but all those files are encrypted and if i run ffmpeg on them it will not give me any good results as the enryption is stopping the files to be modified. Any tool to break this encryption in games

At present i am testing on thug 1,2 and THPS 4

ravikant 29-07-2023 20:44

Quote:

Originally Posted by Snake288 (Post 501780)
Hello

Ratchet & Clank Rift Apart I want to compress game
DiskSpan_GUI help with files needed for the filesystem for compression

All the compression tools are already present in diskspan gui you just need to select input and output folder and select one of the preset methods[make sure your system has good processing power when you select a high resource consuming method otherwise it may throw an error in between]

KaktoR 30-07-2023 01:47

1 Attachment(s)
Ratchet & Clank Rift Apart
v1.727

Code:

23:07:31 - Selected ARC/DS method for Data1a-01.bin was: xtool:minsomniac,rcrads+xtool:dd3+4x4:b64mb:lzma:ultra:64m:bt4:fb273:lc8:mc1000000
 23:07:31 - Selected ARC/DS method for Data1b-01.bin was: xtool:c1gb:mbk2:df20p
 23:07:31 - Selected ARC/DS method for Data1c-01.bin was: xtool:dd3+4x4:b64mb:lzma:ultra:64m:bt4:fb273:lc8:mc1000000
-------------------------------------------------------------------------------------------------------------------------------------------
 00:26:12 - Overall input size: 39.40 GB
 00:26:12 - Overall output size: 28.05 GB (Ratio 71.20%)
 00:26:12 - Overall conversion time: 01:18:39
-------------------------------------------------------------------------------------------------------------------------------------------
>> Unpacking finished successfully!

Bink2 video information

The soundbanks contain wem files. It is possible to use WemTool on extracted wem files. The same goes for the other wem archives. However some of them are truncated, whatever this means. I have attached the first file from wem00 file.

Dragonis40 30-07-2023 02:04

Good morning! I've tried to compress "Star Wars Jedi: Fallen Order". In installation process something got wrong: unarc error -12 during .bk2 files installation. Even bink_pack didn't recognize .bk2 file as standard file.
So I've tried to compress .bk2 files in another way, with no good results.
So, are these .bk2 files different? Do I need a specific tool for those? Which one?
Thanks in advance!

KaktoR 30-07-2023 02:05

Send sample

Edit: According to the file list, this game does not contain any bink2 files, just mp4.

Dragonis40 30-07-2023 02:27

I'll send a sample as soon as i come back home. Anyway, in the deluxe version there are four movies: DDV_1.bk2, DDV_2.bk2, DDV_3.bk2 and DDV_4.bk2.

KaktoR 30-07-2023 02:34

I see.

Edit: It is a legit KB2j file and should work. However the first part of the file does not belong to a standard bink2 file format. Maybe deleting this part and patching it back again after unpacking do the trick.

https://i.imgur.com/jE5nG3v.png

Bink2 header is "4B 42 32" and the next letter indicates the version and/or codec used. Starting with "n" or later letters are not compatible with binkpack. This way you can always see right off from the start if using binkpack is possible or not.

Edit 2: It works with XTool bink plugin. Normal BPK just failes on extracting.
Code:

Compressed 1 file, 327,833,352 => 283,487,172 bytes. Ratio 86.47%
Compression time: cpu 0.06 sec/real 45.62 sec = 0%. Speed 7.19 mB/s
All OK

Extracted 1 file, 283,487,172 => 327,833,352 bytes. Ratio 86.47%
Extraction time: cpu 0.23 sec/real 22.50 sec = 1%. Speed 14.57 mB/s
All OK

Steps:
  1. Open the bk2 files with HxD and search for the first bink2 header and delete the whole part starting from the beginning of the bink2 header "KB2j" to the start of the file and save the file so "KB2j" is on the very beginning of the file (HxD will make a BAK file as backup).
  2. Use XTool bink video plugin
  3. Make patches from Original and Cutted files
  4. After extracting, patch the files back to original with xdelta or hdiff (patch files should be very small)

Snake288 30-07-2023 02:41

Hello
DiskSpan_GUI I want to get help
I request your support about adding XTool 2020 Plugins DiskSpan_GUI about compressing games
Ratchet & Clank Rift Apart I want to compress

Dragonis40 30-07-2023 05:20

Quote:

Originally Posted by KaktoR (Post 501794)
I see.

Edit: It is a legit KB2j file and should work. However the first part of the file does not belong to a standard bink2 file format. Maybe deleting this part and patching it back again after unpacking do the trick.

https://i.imgur.com/jE5nG3v.png

Bink2 header is "4B 42 32" and the next letter indicates the version and/or codec used. Starting with "n" or later letters are not compatible with binkpack. This way you can always see right off from the start if using binkpack is possible or not.

Edit 2: It works with XTool bink plugin. Normal BPK just failes on extracting.
Code:

Compressed 1 file, 327,833,352 => 283,487,172 bytes. Ratio 86.47%
Compression time: cpu 0.06 sec/real 45.62 sec = 0%. Speed 7.19 mB/s
All OK

Extracted 1 file, 283,487,172 => 327,833,352 bytes. Ratio 86.47%
Extraction time: cpu 0.23 sec/real 22.50 sec = 1%. Speed 14.57 mB/s
All OK

Steps:
  1. Open the bk2 files with HxD and search for the first bink2 header and delete the whole part starting from the beginning of the bink2 header "KB2j" to the start of the file and save the file so "KB2j" is on the very beginning of the file (HxD will make a BAK file as backup).
  2. Use XTool bink video plugin
  3. Make patches from Original and Cutted files
  4. After extracting, patch the files back to original with xdelta or hdiff (patch files should be very small)

First of all, THANK YOU for your support.
The only issue I have is how to decompress .bin file using Xtool bink. I think I have to use files i can find in "COMPRESSOR\Resources\TOOLS\Bink" from DiskSpan, but how?

KaktoR 30-07-2023 05:51

https://i.imgur.com/mkrTTHV.png

Set XTool chunk size like c1gb, should be enough.

Snake288 30-07-2023 05:55

Quote:

Originally Posted by KaktoR (Post 501789)
Ratchet & Clank Rift Apart
v1.727

Code:

23:07:31 - Selected ARC/DS method for Data1a-01.bin was: xtool:minsomniac,rcrads+xtool:dd3+4x4:b64mb:lzma:ultra:64m:bt4:fb273:lc8:mc1000000
 23:07:31 - Selected ARC/DS method for Data1b-01.bin was: xtool:c1gb:mbk2:df20p
 23:07:31 - Selected ARC/DS method for Data1c-01.bin was: xtool:dd3+4x4:b64mb:lzma:ultra:64m:bt4:fb273:lc8:mc1000000
-------------------------------------------------------------------------------------------------------------------------------------------
 00:26:12 - Overall input size: 39.40 GB
 00:26:12 - Overall output size: 28.05 GB (Ratio 71.20%)
 00:26:12 - Overall conversion time: 01:18:39
-------------------------------------------------------------------------------------------------------------------------------------------
>> Unpacking finished successfully!

Bink2 video information

The soundbanks contain wem files. It is possible to use WemTool on extracted wem files. The same goes for the other wem archives. However some of them are truncated, whatever this means. I have attached the first file from wem00 file.



Hello

Ratchet & Clank Rift Apart I want to compress game
DiskSpan_GUI help with files needed for the filesystem for compression

dixen 31-07-2023 23:38

Quote:

Originally Posted by Wanterlude (Post 501395)
Hi all, can anyone look at the files of the game Bramble The Mountain King, there UE4 and encrypted files inside + kraken.
I tried the latest version of the unreal plugin, but it didn't work. (xtool last ver.). With ucas database the same thing.
Can someone please see if it's the plugin not working or am I crooked?
Key:
Code:

0x0D29D2B91A3564686C106FA7A96BE98D3AA13A55C80D4E3200EE608DA2C105E3

My test with xtool v 0.77 + oodle 2.9.5

Quote:

Compressing Bramble_TMK-WindowsNoEditor.ucas 99.2%
Compressing 7,111,026,672 bytes with xtool.exe precomp -mue5:k0x0D29D2B91A3564686C106FA7A96BE98D3AA13A55C8 0D4E3200EE608DA2C105E3:n128+kraken -d1 -c128mb -t100p $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
100.0%XTool is created by Razor12911

Streams: 221925 / 222121
Time: 00:06:00 (CPU 00:37:28)

Size: 6.62 GB >> 12.5 GB

100.0%
Errorlevel=0

Compressed 1 file, 7,111,026,672 => 13,462,584,251 bytes. Ratio 189.32%
Compression time: cpu 0.95 sec/real 592.84 sec = 0%. Speed 11.99 mB/s
All OK


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

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