
15-05-2018, 16:29
|
 |
Noob
|
|
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,210 Times in 2,309 Posts
|
|
Quote:
Originally Posted by Razor12911
Update available
Changes
- added dunia engine lz4hc stream precompression support (Far Cry 5)
- fixed unity engine support
Notes
In terms of the Dunia engine, I advise that you use the latest liblz4.dll to avoid some streams being skipped due to their major difference, this could be because even I myself am not sure if I used the correct parameters for recompression, if you have an idea of what is used, please comment. (I used lz4hc, level 9)
Only Far Cry 5 is what I think is supported currently, that's the only game I had installed so run tests to see if all is good, if so then I'll be moving on to Far Cry 3 and 4. Add the dat files in xtool.ini, make sure in that same location, the dat files are with the fat files else they'll be errors.
Parsing the fat file is a pain in the ass especially for the big files (farcry5.dat and installpkg.dat), so xtool might seem stuck when running those, at most it should take 5-10 minutes before it begins actual precompression.
|
Doesn't seem like I'll be adding FC3-4 support since I think lzopro is required for them just like Unreal Engine games.
As for current progress, I added support for FIFA 18.
The idea of binding codecs together came when I saw that this game is compressed with two different algorithms, oodle (kraken) and zstd
This is the result:
when using:
Quote:
|
oodle - - <stdin> <stdout>
|
Quote:
Compressed 1 file, 317,249,339 => 586,677,625 bytes. Ratio 184.93%
Compression time: cpu 0.59 sec/real 172.68 sec = 0%. Speed 1.84 mB/s
|
however when using:
Quote:
|
oodle,zstd - - <stdin> <stdout>
|
Quote:
Compressed 1 file, 317,249,339 => 592,734,832 bytes. Ratio 186.84%
Compression time: cpu 0.66 sec/real 185.29 sec = 0%. Speed 1.71 mB/s
|
Last edited by Razor12911; 15-05-2018 at 16:41.
|