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)

Danziel123 19-04-2024 05:19

Quote:

Originally Posted by Masquerade (Post 504227)
You won't be able to scan for streams bevause this game's data is encrypted. KaktoR has told you everything you need to know.

Here is my method:
Quote:

xtool:c512mb:d1:mue4,k0xC26CC5659A24AE8635585C8687 DCE552A205DBD72DC4AA0CBE187C60D88921E2:mzlib+xtool :c512mb:xtool:mkraken:core_2.8.4:dd3+4x4:b64mb:lzm a:ultra:bt4:fb273:lc8:mc1000000:64mb
and get 21.33 gb:confused:,what's wrong with my compress method?

KaktoR 19-04-2024 05:53

Did a quick and dirty check.

23.2 GB -> 18.6 GB

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

Maybe there is more space for improvement using oo2reck after xtool with unreal plugin, but not sure since xtool has changed alot since last posted results here.

PS: Use core 2.8.14

ozerune 21-04-2024 13:40

I'm trying to repack 9-nine-:Episode 1 and am struggling with the encryption. I was able to use GARbro to extract the resources to be at least viewable, but I can not seem to rebuild the archives to be readable by the game. I have tried using KirikiriTools to make the game read unencrypted archives, but that doesn't seem to be working, at least with the files GARbro spits out, and I can't find another way to decrypt the files to test whether or not its GARbro causing the issues in the first place.

sirdystic 21-04-2024 14:03

Best method for Alone in the Dark 2024 please.

nm - this works xtool:mkraken,n256:core_2.9.9+srep_new:393b+LOLZ_N ORMAL

Masquerade 22-04-2024 12:34

Quote:

Originally Posted by ozerune (Post 504254)
I'm trying to repack 9-nine-:Episode 1 and am struggling with the encryption. I was able to use GARbro to extract the resources to be at least viewable, but I can not seem to rebuild the archives to be readable by the game. I have tried using KirikiriTools to make the game read unencrypted archives, but that doesn't seem to be working, at least with the files GARbro spits out, and I can't find another way to decrypt the files to test whether or not its GARbro causing the issues in the first place.

Unfortunately this Japanese game engine is a pain in the ass (same engine for Nekopara and a handful of other games). Maybe you could submit an issue on github that the version.dll doesn't work for the game.

Afair GARBRO should output normal png images / ogg audio which you should just be able to open normally. Getting the game to read them is a whole 'nother barrel of fish.

ozerune 22-04-2024 15:46

Unfortunately the GitHub for Kirikiri Tools is now read only. Should I just be satisfied with my 75-80% ratio I'm getting?

Masquerade 22-04-2024 23:31

Unfortunate, but yes.

KaktoR 30-04-2024 02:31

Everspace 2
With new UE5 engine, they switched to oodle compression. Use this library to get all streams.

Code:

Library loaded: oo2core_9_win64_2.dll

Streams: 1512 / 1512
Time: 00:00:12 (CPU 00:00:22)

Size: 81.1 MB >> 96.1 MB


Danziel123 01-05-2024 23:29

Maybe someone knows the best compression method for the MEGATON MUSASHI W game? I tried with the method: xtool:mzlib:dd3+4x4:b64mb:lzma:ultra:bt4:fb273:lc8 :mc1000000:64mb but didn't get a good ratio (39.55 of 44 gb) and sorry I couldn't upload the file for test because I confused about which file to upload. Thank You

Masquerade 02-05-2024 00:36

^^
Every file is XOR encrypted with a different key, there's almost 15 thousand keys. Each key is 4 bytes in length.

Danziel123 15-05-2024 23:34

Hello, maybe someone knows the right compression method for the back 4 blood game? I checked using oo2scan_7_win64.exe and the results were using kraken and checked again using xtool.exe to find out what library was used. I have set it to versions v2.9.x & v2.8.x and none of them match. This is the file for the test:
https://drive.google.com/file/d/1U_-...usp=drive_link
https://drive.google.com/file/d/1HXU...usp=drive_link
Thank you:)

KaktoR 15-05-2024 23:59

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

Maybe there is some zlib aswell. You should test a bit around.

Masquerade 16-05-2024 03:48

Quote:

Originally Posted by Danziel123 (Post 504489)
Hello, maybe someone knows the right compression method for the back 4 blood game? I checked using oo2scan_7_win64.exe and the results were using kraken and checked again using xtool.exe to find out what library was used. I have set it to versions v2.9.x & v2.8.x and none of them match. This is the file for the test:
https://drive.google.com/file/d/1U_-...usp=drive_link
https://drive.google.com/file/d/1HXU...usp=drive_link
Thank you:)

Uses custom encryption algortihm.

Wanterlude 16-05-2024 06:26

Euro Truck Simulator 2 [1.50 update]
26.5 gb > 101 gb > 13.9 gb

gdeflate+zlib+dd5+lzma2

Inst.time: 20 min [11400F]

prince55 16-05-2024 10:54

Ghost of Tsushima
Do anyone knows best method for this game ?
I tried xtool and oodle, but no precompress
what i miss here !

KaktoR 16-05-2024 10:58

Code:

[StreamList1]
Name=got
Codec=lz4hc:l9
BigEndian=0
Signature=0x1000352415344
Structure1=Signature(7),Unk1(1),Count(4),Unk2(4),Unk3(16)
StructureN=DPos(8),CPos(8),DSize(4),CSize(4),Unk4(1),Unk5(7)
StructureS=Stream
CounterStart1=1
CounterEnd1=Count
CounterStep1=1
StreamPosition=CPos
StreamOffset=0
CompressedSize=CSize
DecompressedSize=DSize
ConditionN_1=CSize < DSize
ConditionN_2=CSize > 32
ConditionN_3=Unk4 = 3

Credits to Razor12911

prince55 16-05-2024 11:03

I don't understand

prince55 16-05-2024 11:33

Quote:

Originally Posted by KaktoR (Post 504504)
Code:

[StreamList1]
Name=got
Codec=lz4hc:l9
BigEndian=0
Signature=0x1000352415344
Structure1=Signature(7),Unk1(1),Count(4),Unk2(4),Unk3(16)
StructureN=DPos(8),CPos(8),DSize(4),CSize(4),Unk4(1),Unk5(7)
StructureS=Stream
CounterStart1=1
CounterEnd1=Count
CounterStep1=1
StreamPosition=CPos
StreamOffset=0
CompressedSize=CSize
DecompressedSize=DSize
ConditionN_1=CSize < DSize
ConditionN_2=CSize > 32
ConditionN_3=Unk4 = 3

Credits to Razor12911

sorry
Got it now
thanks

KaktoR 17-05-2024 00:24

Just save as ini file and use -m<ini file name>. Use lz4 library v1.9.3+

Code:

Streams: 3414 / 3414
Time: 00:00:03 (CPU 00:00:18)

Size: 432 MB >> 744 MB


wareck 17-05-2024 01:50

Hello
i'm working on it
for beguin I've done this:
copy/paste the text given by krator (I called it got.ini)
put this got.ini file near xtool

then I used :
for *.psarc
xtool:mgot:dd3+4x4:b64mb:lzma:ultra:bt4:fb273:lc8: mc1000000:64mb
for all other files:
xtool:mzlib:dd3+razor_stdio

I've started a test waiting compress finish.

I also find there is a lot of .wem files in music.psarc files.
Maybe can gain some other MB

KaktoR 17-05-2024 02:17

^
This will not work because you have to use external configuration file for dsg.

wwise files processed: 2.86 GB -> 1.76 GB

Salamander2 17-05-2024 02:38

Hi guys, first time doing this.

so i made the .ini file as KaktoR said and named it got.ini where should i place it?

Quote:

Originally Posted by KaktoR (Post 504510)
Just save as ini file and use -m<ini file name>. Use lz4 library v1.9.3+

Code:

Streams: 3414 / 3414
Time: 00:00:03 (CPU 00:00:18)

Size: 432 MB >> 744 MB


and what to do about this?

If im not starting right, please let me know as well or any other advice is appreciated.

wareck 17-05-2024 03:17

yes I extracted wem and processed with wemtool.
Then make a batch file when uncompressing
More or less like for cyberpunk..

for salamander :
you have to put the ini file in the same folder as xtool

Masquerade 17-05-2024 03:31

Yep, wem processing is working well for this game.

KaktoR 17-05-2024 03:59

Ghost of Tsushima

Code:

11:22:01 - Selected ARC/DS method for Data1a-01.bin was: xtool:mgot:dd3+4x4:lzma
 11:22:01 - Selected ARC/DS method for Data1b-01.bin was: xtool:dd3+4x4:lzma
---------------------------------------------------------------------------------------------------------------------------------------------------------
 12:54:28 - Overall input size: 53.76 GB
 12:54:28 - Overall output size: 36.30 GB (Ratio 67.53%)
 12:54:28 - Overall conversion time: 01:31:34

wwise extracted, processed and removed from psarc files.

IRAQIGHOST 17-05-2024 08:36

Quote:

Originally Posted by KaktoR (Post 504524)
Ghost of Tsushima

Code:

11:22:01 - Selected ARC/DS method for Data1a-01.bin was: xtool:mgot:dd3+4x4:lzma
 11:22:01 - Selected ARC/DS method for Data1b-01.bin was: xtool:dd3+4x4:lzma
---------------------------------------------------------------------------------------------------------------------------------------------------------
 12:54:28 - Overall input size: 53.76 GB
 12:54:28 - Overall output size: 36.30 GB (Ratio 67.53%)
 12:54:28 - Overall conversion time: 01:31:34

wwise extracted, processed and removed from psarc files.

I got error
I'm using DiskSpan 2.0.2.0
need to do something?

wareck 17-05-2024 11:49

The file got.ini need to be write in the same folder of xtool.
(win64/pre/xtool)

IRAQIGHOST 17-05-2024 12:41

Quote:

Originally Posted by wareck (Post 504531)
The file got.ini need to be write in the same folder of xtool.
(win64/pre/xtool)

where could I find got.ini file?

ScOOt3r 17-05-2024 13:45

@IraqiGhost

i just made a txt document and added this to it

---
[StreamList1]
Name=got
Codec=lz4hc:l9
BigEndian=0
Signature=0x1000352415344
Structure1=Signature(7),Unk1(1),Count(4),Unk2(4),U nk3(16)
StructureN=DPos(8),CPos(8),DSize(4),CSize(4),Unk4( 1),Unk5(7)
StructureS=Stream
CounterStart1=1
CounterEnd1=Count
CounterStep1=1
StreamPosition=CPos
StreamOffset=0
CompressedSize=CSize
DecompressedSize=DSize
ConditionN_1=CSize < DSize
ConditionN_2=CSize > 32
ConditionN_3=Unk4 = 3
---

then renamed it to got.ini (make sure to place it in the same folder as xtool.exe)

and it worked for me
then used "-mxtool:got+srep+lolz"

ScOOt3r

IRAQIGHOST 17-05-2024 15:04

Quote:

Originally Posted by ScOOt3r (Post 504533)
@IraqiGhost

i just made a txt document and added this to it

---
[StreamList1]
Name=got
Codec=lz4hc:l9
BigEndian=0
Signature=0x1000352415344
Structure1=Signature(7),Unk1(1),Count(4),Unk2(4),U nk3(16)
StructureN=DPos(8),CPos(8),DSize(4),CSize(4),Unk4( 1),Unk5(7)
StructureS=Stream
CounterStart1=1
CounterEnd1=Count
CounterStep1=1
StreamPosition=CPos
StreamOffset=0
CompressedSize=CSize
DecompressedSize=DSize
ConditionN_1=CSize < DSize
ConditionN_2=CSize > 32
ConditionN_3=Unk4 = 3
---

then renamed it to got.ini (make sure to place it in the same folder as xtool.exe)

and it worked for me
then used "-mxtool:got+srep+lolz"

ScOOt3r

not work for me I don't know why
rate 100% the same size

KaktoR 17-05-2024 23:42

1 Attachment(s)
If you're using dsg use this

IRAQIGHOST 18-05-2024 01:27

Quote:

Originally Posted by KaktoR (Post 504536)
If you're using dsg use this

Thanks a lot

IRAQIGHOST 21-05-2024 10:51

anything about Hellblade 2?
which method we will use?

Danziel123 21-05-2024 23:30

Quote:

Originally Posted by IRAQIGHOST (Post 504587)
anything about Hellblade 2?
which method we will use?

For .pak files, use Kraken but I don't know which library to use because none of them are compatible with v2.9. maybe someone can help? Thank You

Yourname 21-05-2024 23:31

Quote:

Originally Posted by IRAQIGHOST (Post 504587)
anything about Hellblade 2?
which method we will use?

Kraken/Hydra.

Danziel123 22-05-2024 03:12

Quote:

Originally Posted by Yourname (Post 504591)
Kraken/Hydra.

Which library to use?

Fak Eid 22-05-2024 06:27

Hellblade 2
 
Got this compression ratio for the .pak file on Hellblade 2: Senua's Saga
for .ucas file we need to apply UE5 compression, but require key for it.
@Kaktor, can you help in identifying the key for UE5 engine on Hellblade 2

Code:

18:24:33 - You have chosen the unlimited type for the output size.
 18:24:33 - ISO images will not be created when conversion is complete.
 18:24:33 - The computer will remain on when the conversion is complete.
 18:24:33 - Selected ARC/DS method for Data-01.RGT was: xtool:mzstd:dd3+lzma2:d256m:fb273:lc4:mc1000000
-----------------------------------------------------------------------------------------------------------------------------------------------
 18:24:33 - Compression initialized in 22-05-2024 at 18:24:33.
 18:24:34 - Starting Data-01.RGT archive creation.
 18:27:11 - Moving Data-01.RGT file to media folder.
 18:27:11 - Compression finished in 22-05-2024 at 18:27:11.
-----------------------------------------------------------------------------------------------------------------------------------------------
 18:27:11 - Getting size of the game: Unknown 1
 18:27:11 - » Installation folder size: 13.23 GB
 18:27:11 - » Compressed game size: 8.02 GB (Ratio 60.61%)
-----------------------------------------------------------------------------------------------------------------------------------------------
 18:27:11 - Overall input size: 13.23 GB
 18:27:11 - Overall output size: 8.02 GB (Ratio 60.61%)
 18:27:11 - Overall conversion time: 00:02:37
 18:27:11 - Overall conversion media: 1 custom media


KaktoR 22-05-2024 07:40

Code:

0x09000A000A000A000B000C000D000D000D000E000E000F001000120012001200
You can use aes_finder, which you can get from a shady russian steam underground forum.

And btw, you have to use library v2.9.10 (v2) for this game.

Edit: mermaid+kraken+zlib it is

Fak Eid 22-05-2024 12:14

Quote:

Originally Posted by KaktoR (Post 504596)
Code:

0x09000A000A000A000B000C000D000D000D000E000E000F001000120012001200
You can use aes_finder, which you can get from a shady russian steam underground forum.

And btw, you have to use library v2.9.10 (v2) for this game.

Edit: mermaid+kraken+zlib it is


Even with the key, the .ucas file seems to be crypted as I can't get better compression than this:

Code:

23:30:41 - You have chosen the unlimited type for the output size.
 23:30:41 - ISO images will not be created when conversion is complete.
 23:30:41 - The computer will remain on when the conversion is complete.
 23:30:41 - Selected ARC/DS method for Data-01.RGT was: xtool:c32mb:d1:mue5,k0x09000A000A000A000B000C000D000D000D000E000E000F001000120012001200:mmermaid,l7:mkraken,l7:9:mzlib+xtool:dd3:l6,d256mb
-----------------------------------------------------------------------------------------------------------------------------------------------
 23:30:42 - Compression initialized in 22-05-2024 at 23:30:42.
 23:30:42 - Starting Data-01.RGT archive creation.
 00:20:26 - Moving Data-01.RGT file to media folder.
 00:20:26 - Compression finished in 23-05-2024 at 00:20:26.
-----------------------------------------------------------------------------------------------------------------------------------------------
 00:20:26 - Getting size of the game: Unknown 1
 00:20:26 - » Installation folder size: 29.79 GB
 00:20:26 - » Compressed game size: 28.45 GB (Ratio 95.50%)
-----------------------------------------------------------------------------------------------------------------------------------------------
 00:20:26 - Overall input size: 29.79 GB
 00:20:26 - Overall output size: 28.45 GB (Ratio 95.50%)
 00:20:26 - Overall conversion time: 00:49:43
 00:20:26 - Overall conversion media: 1 custom media


Masquerade 23-05-2024 00:23

^^
With that amount of zeroes, that is almost certainly not the correct AES key for this game (or any game).

Run the oodle scanner over the pak or ucas file and you will see streams appear.

Code:

mmermaid,l7:mkraken,l7:9:mzlib
This is where things are going wrong. Just use kraken and mermaid and zlib algos without any extra arguments.


All times are GMT -7. The time now is 02:59.

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