View Single Post
  #4  
Old 03-08-2023, 05:43
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by L0v3craft View Post
Someone tried to precompress Baldur's Gate 3?

Sample (Textures_2.pak):

Code:
https://gofile.io/d/xXO3cs
Another sample:

Code:
https://gofile.io/d/0n69EX
I made a quick modification to the lspk script, I'm no expert when it comes to bms scripting but eh...

Shared.pak
Code:
Compressed 1 file, 78,790,712 => 278,618,150 bytes. Ratio 353.62%
Compression time: cpu 0.05 sec/real 2.87 sec = 2%. Speed 27.47 mB/s
via bg3.xtl (generated using bms2xtl)

bms2xtl.ini
Code:
[Config]
SafeMode=1
UserInput=
Exclude=copy
lz4=lz4hc:l9
use liblz4.dll that comes with xtool attachment

Note that on multi pak files, the script will fail that's why safemode is on, for the streams in multi pak files, you have to make sure that freearc captures these files in sequence else the streams will be left behind.

I don't have this game and I can't add support for multi pak files so hope that this approach works.
Attached Files
File Type: 7z lspk_mod_R2.7z (578 Bytes, 30 views)

Last edited by Razor12911; 03-08-2023 at 13:03. Reason: Added support for game release
Reply With Quote
The Following 6 Users Say Thank You to Razor12911 For This Useful Post:
dixen (03-08-2023), Gehrman (03-08-2023), Illume (05-08-2023), kuyhaa (03-08-2023), L0v3craft (03-08-2023), ScOOt3r (03-08-2023)