View Single Post
  #1  
Old 08-03-2024, 06:13
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,337 Times in 2,839 Posts
KaktoR is on a distinguished road
You cannot use lz4 directly. Plugin is required always if you want to use lz4/lz4hc.

However your sample seems to be compressed with lz4hc, because recompressed stream is bigger then original stream.

Code:
xtool.exe precomp -mlz4:s64k -t100p -c16mb -v - - < %1 > %1.out

[0] Processing streams on block 0000000000000000 to 00000000008E555B (9327964)
[0] Processing lz4 stream at 000000000002C850 (58101 >> 65536 >> 61165) using a1:b0 has failed
[0] - Patching stream at 000000000002C850 (58101 >> 61165) [42205] has failed

Streams: 0 / 81
Time: 00:00:03 (CPU 00:00:03)

Size: 8.90 MB >> 8.90 MB
Code:
xtool.exe precomp -mlz4hc:s64k -t100p -c16mb -v - - < %1 > %1.out

[0] Processed lz4hc stream at 00000000008D8B64 (51701 >> 65536 >> 51701) using l9:b0 successfully

Streams: 46 / 81
Time: 00:00:04 (CPU 00:00:04)

Size: 8.90 MB >> 9.36 MB
I don't know from what game this sample is. Either make a plugin configuration (ini file) or search for bms script and use bms2xtl with correct settings.
__________________
Haters gonna hate

Last edited by KaktoR; 08-03-2024 at 06:18.
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
Redmist2013 (08-03-2024)
Sponsored Links