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)

ScOOt3r 04-08-2022 06:44

Thanks @Masquerade for the info, i will give it a try

Cheers
ScOOt3r

KaktoR 09-08-2022 13:56

Starship Troopers - Terran Command

Code:

22:28:25 - Selected ARC/SPLIT method for Data1a-01.bin was:
srep_new:1+lzma2:d96m:fb273:lc4:mc1000000
/$mscpack=msc_tak
/$storepack=m1
/$textpack=dict+lzp+lzma
/$deflatepack=xtool:mpng:d1:mpreflate+srep_new:1+lzma2:d96m:fb273:lc4:mc1000000
-------------------------------------------------------------------------------------------------------------------------------------------
 22:46:07 - Overall input size: 8.71 GB
 22:46:07 - Overall output size: 5.07 GB (Ratio 58.25%)
 22:46:07 - Overall conversion time: 00:17:40

$storepack = *.mp4
$deflatepack = *.png


Hexagon123 09-08-2022 14:29

Quote:

Originally Posted by KaktoR (Post 497915)
Starship Troopers - Terran Command

Code:

22:28:25 - Selected ARC/SPLIT method for Data1a-01.bin was:
srep_new:1+lzma2:d96m:fb273:lc4:mc1000000
/$mscpack=msc_tak
/$storepack=m1
/$textpack=dict+lzp+lzma
/$deflatepack=xtool:mpng:d1:mpreflate+srep_new:1+lzma2:d96m:fb273:lc4:mc1000000
-------------------------------------------------------------------------------------------------------------------------------------------
 22:46:07 - Overall input size: 8.71 GB
 22:46:07 - Overall output size: 5.07 GB (Ratio 58.25%)
 22:46:07 - Overall conversion time: 00:17:40

$storepack = *.mp4
$deflatepack = *.png


It's a Unity engine based game, decompress bundle with UBT or XTool Unity?

KaktoR 09-08-2022 14:52

UBT did not work, it will not compress with lz4 (same size as decompressed file).

ScOOt3r 09-08-2022 16:27

I did Starship Troopers - Terran Command with srep+lolz only on data files and rzr on data2
Compressed size: 4.80
Original Size: 8.71

ScOOt3r

Dragonis40 09-08-2022 22:35

Good morning! I'm compressing "Alan Wake" and i'd like to know which is the best compression method for .avi and .wmv files. As far as I know, MSC doesn't compress too much. Thank you in advance!

L33THAK0R 10-08-2022 00:23

Quote:

Originally Posted by Dragonis40 (Post 497926)
Good morning! I'm compressing "Alan Wake" and i'd like to know which is the best compression method for .avi and .wmv files. As far as I know, MSC doesn't compress too much. Thank you in advance!

Best you can do is recode them at a slightly lower bit rate, I've only ever repacked the original two titles, which both used BInk1 videos, if the new ones are using H.265 for the ".avi" files you can probably get some pretty decent lossy gains, as for the WMV9s recoding them can be a bit hit or miss, you can usually get away with 5000kbps AVB, really depends on the source though, matter of fact is lossy is your only route for any significant gains.

Hexagon123 13-08-2022 01:24

Marvel's Spider-Man Remastered, info:

These files are packed inside the game file resources.

Structure is similar to Sunset Overdrive, another Insomniac game.

Tried edge_of_nowhere.bms, didn't work. In some files, BPK failed during compression.

Audio have .bnk [BKHD], .wem [RIFF]

Video have .bk2 with KB2j magic [4B 42 32 6A] size info at 0x4, data at 0x8, width at 0x14, heigh at 0x18. Plenty of resolutions like FHD, QHD, and 4K.

dag, and toc have some zlib

Most extensionless files have LZ4, use plugin.

0x0 first with KB2j magic, then 0x4 size in decimal, 0x8 rest of data.

dixen 13-08-2022 11:29

Which files contans 2k & 4k video?

Hexagon123 13-08-2022 11:32

Quote:

Originally Posted by dixen (Post 497956)
Which files contans 2k & 4k video?

g00s001 has the PlayStation Studios logo. Search KB2j in Hex Editor.

abidnnt 14-08-2022 06:30

Can anyone share the methods for repacking Spider-Man Remastered?

ScOOt3r 14-08-2022 06:42

abidnnt there is an xtool plugin that Razor12911 (thanks Razor) did for that, its located in the xtool plug in section, im not sure if i can link that section here.
but you will find it easily on the main page, and it works just fine

cheers
ScOOter

KaktoR 15-08-2022 08:38

Elden Ring
v1.06

Code:

12:25:36 - Selected ARC/DS method for Data1a-01.bin was: oo2reck:8+srep_new:1+lzma2:d96m:fb273:lc4:mc1000000
 12:25:36 - Selected ARC/DS method for Data1b-01.bin was: srep_new:1+lzma2:d96m:fb273:lc4:mc1000000
-------------------------------------------------------------------------------------------------------------------------------------------
 17:38:00 - Overall input size: 48.75 GB
 17:38:00 - Overall output size: 39.73 GB (Ratio 81.49%)
 17:38:00 - Overall conversion time: 05:12:22


HunterEmrah 18-08-2022 12:22

Spider-Man Remastered - decompression fails (archive data corrupted). Compression method:

Code:

xtool:spidey+srep+lolz

[External compressor:xtool]
header    = 0
packcmd  = xtool2020\xtool.exe precomp { -moption} -c32mb -t100p - - <stdin> <stdout>
unpackcmd = xtool2020\xtool.exe decode -t100p - - <stdin> <stdout>

[External compressor:srep]
header = 0
packcmd = srep -m3f -a16 {options} InFile OutFile
datafile = InFile
packedfile = OutFile
unpackcmd = srep -d -mem2048mb - - <stdin> <stdout>

[External compressor:lolz]
header = 0
packcmd = lolz_x64.exe -mtt1 -mt6 -ldmf0 -d128m {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = lolz_x64.exe $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

using latest xtool and spidey.dll+liblz4.dll that comes with plugin.

files while decompressing:

xtool.exe
spidey.dll
liblz4.dll
hif2raw_dll.dll
raw2hif_dll.dll

cls-lolz.dll
cls-lolz_x64.exe
cls-srep.dll
cls-srep_x64.exe

kj911 19-08-2022 05:24

HunterEmrah: Unpacking error message? Used SREP versions from decompress? Its probably SREP error. Trying test to replace use one srep.exe file to older v3.2/3.92 or use ProFrager's cls-srep v0.3.3 or try modify srep decompression rows:

Code:

"srep" -d -ia- <stdin> <stdout>
Use these files from old ProFrager's SREP decomp methods: cls-srep.dll only, remove cls-srep*.exe and srep.exe files.

Use native srep.exe file from during decompression: remove all cls-srep*.dll/exe files!

Testing try again.


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

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