Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #3631  
Old 06-08-2023, 01:42
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,501
Thanks: 1,086
Thanked 7,124 Times in 2,707 Posts
KaktoR is on a distinguished road
Baldurs Gate 3

Bink2 videos just stored as plain text.


Unfortunatelly the XTool Bink video plugin will not work here for "GUS_CGI01_Part2.bk2". I tested both versions of the plugin and get extraction errors, not matter what settings I use (c/--diff).
Code:
  0000000000000028 513393104  Mods\Gustav\Localization\English\Video\GUS_CGI01_Part1.bk2
  000000001e99c228 1169576856 Mods\Gustav\Localization\English\Video\GUS_CGI01_Part2.bk2
  00000000645015e8 35526400   Video\Splash_Logo_Larian.bk2
For "GUS_CGI01_Part2.bk2" you can go the old way of manually patching. The diff file is 15.1mb.

You can unpack the file with the above modified bms script. Just make sure you null the entire stream in "Data\Gustav_Video.pak" before making the repack and don't forget to patch the file back after installing with either xtool or quickbms.

So basically extract "GUS_CGI01_Part2.bk2" out of the file and patch the entire stream out. Manually make a diff file for it and for the modified "Gustav_Video.pak" use XTool bink plugin.

As for the audio files, they contain wem's, but wemtool can't do anything here.

Edit:
bg3.xtl
Code:
Streams: 15486 / 15486
Time: 00:00:23 (CPU 00:00:30)

Size: 1.21 GB >> 1.86 GB

Done!!!
zlib
Code:
Streams: 189 / 314
Time: 00:00:10 (CPU 00:00:49)

Size: 1.86 GB >> 1.99 GB

Done!!!
__________________
Haters gonna hate

Last edited by KaktoR; 06-08-2023 at 02:04.
Reply With Quote
Sponsored Links
  #3632  
Old 06-08-2023, 05:38
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,180
Thanks: 285
Thanked 1,379 Times in 620 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
For "GUS_CGI01_Part2.bk2" you can go the old way of manually patching. The diff file is 15.1mb.
How big is the original video file?

Please may you set the --diff parameter to 100p to hypothetically see if the XTool plugin version will accept the stream at all? I'm thinking XTool may just be seeing how large the patch is and skipping - from your descriotion, bink pack seems to handle it alright.
Reply With Quote
  #3633  
Old 06-08-2023, 05:46
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,501
Thanks: 1,086
Thanked 7,124 Times in 2,707 Posts
KaktoR is on a distinguished road
The file is 1.08gb (1169576856 bytes).

BPK works but it will break the file on unpacking stage (crc error).

I already tried to set --diff=100p but to no avail, the ratio is just 100% for some reason (STDIO).
The old plugin works but it's the same as normal BPK, it will break the file on unpacking.

Tried different chunk sizes aswell, from c256mb up to c4gb.

Edit: I got some things mixed up, but nevertheless it doesn't work. Here is the full test.

STDIO plugin
Code:
GUS_CGI01_Part1.bk2
Compressed 1 file, 513,393,104 => 467,499,327 bytes. Ratio 91.06%
Compression time: cpu 0.20 sec/real 67.98 sec = 0%. Speed 7.55 mB/s
All OK

Extracted 1 file, 467,499,327 => 513,393,104 bytes. Ratio 91.06%
Extraction time: cpu 0.45 sec/real 32.36 sec = 1%. Speed 15.86 mB/s
All OK



GUS_CGI01_Part2.bk2
Compressed 1 file, 1,169,576,856 => 982,148,782 bytes. Ratio 83.97%
Compression time: cpu 0.69 sec/real 151.34 sec = 0%. Speed 7.73 mB/s
All OK

Extracting 1 file, 1,169,576,856 bytes. Processed   0.0%
ERROR: general (de)compression error in xtool:bk2


Splash_Logo_Larian.bk2
Compressed 1 file, 35,526,400 => 28,360,433 bytes. Ratio 79.83%
Compression time: cpu 0.05 sec/real 5.35 sec = 1%. Speed 6.64 mB/s
All OK

Extracted 1 file, 28,360,433 => 35,526,400 bytes. Ratio 79.83%
Extraction time: cpu 0.05 sec/real 3.01 sec = 2%. Speed 11.79 mB/s
All OK
Non-STDIO plugin
Code:
GUS_CGI01_Part2.bk2
Compressed 1 file, 1,169,576,856 => 1,169,577,126 bytes. Ratio 100.00%
Compression time: cpu 0.73 sec/real 2.50 sec = 29%. Speed 467.63 mB/s
All OK

Extracted 1 file, 1,169,577,126 => 1,169,576,856 bytes. Ratio 100.00%
Extraction time: cpu 0.75 sec/real 2.08 sec = 36%. Speed 562.62 mB/s
All OK
And it does not matter if I use xtool stdio mode or not
Code:
Compressing 1 file, 1,169,576,856 bytes. Processed  83.1%
Compressing 1,169,576,856 bytes with xtool.exe precomp -c2048mb -mbk2 -t100p --diff=100p InFile OutFile
100.0%XTool is created by Razor12911

Streams: 0 / 1
Time: 00:03:19 (CPU 00:00:02)

Size: 1.09 GB >> 1.09 GB

100.0%
Errorlevel=0
Compressed 1 file, 1,169,576,856 => 1,169,577,126 bytes. Ratio 100.00%
Compression time: cpu 0.81 sec/real 226.68 sec = 0%. Speed 5.16 mB/s
All OK
XTool.ini
Code:
[bink]
Encode=bink.exe <filein> <fileout>
Decode=binku.exe <filein> <fileout>
bk2.ini, bink.exe, binku.exe, xdelta3_dll.dll are present

Btw, with -c2gb I get a access violation error in xtool.exe. I have to write -c2048mb to get the 2gb chunk size.

Edit 2: Sample https://pixeldrain.com/u/bnfw8nDp
__________________
Haters gonna hate

Last edited by KaktoR; 06-08-2023 at 07:47.
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
Masquerade (06-08-2023)
  #3634  
Old 06-08-2023, 19:44
Hexagon123 Hexagon123 is offline
Registered User
 
Join Date: Dec 2016
Location: IOWA
Posts: 77
Thanks: 4
Thanked 46 Times in 27 Posts
Hexagon123 is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
Not possible with XTool. You can have the game running with extracted disc file but needs EXE patching. Password to decrypt disc can be found here: https://github.com/Masquerade64/SoS-AWL-Password
Just normal ZipCrypto. Compressed data with lzs algo, very similar to early lz4.
The process is similar to Mega Man Legacy Collection 2 (2017)?

Last edited by Hexagon123; 06-08-2023 at 19:52.
Reply With Quote
  #3635  
Old 07-08-2023, 00:34
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,180
Thanks: 285
Thanked 1,379 Times in 620 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by Hexagon123 View Post
The process is similar to Mega Man Legacy Collection 2 (2017)?
Try this for MMLC2:

https://www.vg-resource.com/thread-41735.html
Reply With Quote
  #3636  
Old 07-08-2023, 10:00
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 147
Thanks: 97
Thanked 150 Times in 54 Posts
Fak Eid is on a distinguished road
Hey guys, I tried the methods mentioned in the forum to compress Scarlet Nexus, but didn't get the required(smaller) file size. Is there any method to compress?
Reply With Quote
  #3637  
Old 07-08-2023, 12:09
ScOOt3r ScOOt3r is offline
Registered User
 
Join Date: Jun 2019
Location: Canada
Posts: 76
Thanks: 649
Thanked 40 Times in 34 Posts
ScOOt3r is on a distinguished road
Did you use the Plugin for Scarlett Nexus.. that will help, it was posted by Masqerade i believe.

ScOOt3r
Reply With Quote
  #3638  
Old 07-08-2023, 14:12
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,180
Thanks: 285
Thanked 1,379 Times in 620 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by Fak Eid View Post
Hey guys, I tried the methods mentioned in the forum to compress Scarlet Nexus, but didn't get the required(smaller) file size. Is there any method to compress?
Use the XTool Unreal Engine 5 plugin by Razor12911, or the Unreal Engine UTOC/UCAS database maker.

I've posted a database in the past but it's probably outdated now.
Reply With Quote
  #3639  
Old 08-08-2023, 07:38
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,501
Thanks: 1,086
Thanked 7,124 Times in 2,707 Posts
KaktoR is on a distinguished road
Baldurs Gate 3

Code:
 11:48:57 - Selected ARC/SPLIT method for Data1a-01.bin was: xtool:dd3+4x4:b64mb:lzma:ultra:64m:bt4:fb273:lc8:mc1000000/$deflatepack=xtool:c128mb:mpreflate:mpng:d1+xtool:dd3+4x4:b64mb:lzma:ultra:64m:bt4:fb273:lc8:mc1000000/$mp3pack=7zdll-pm:m0=mp3det:m1=packmp3c
 11:48:57 - Selected ARC/DS method for Data1b-01.bin was: xtool:mbg3+xtool:mzlib+xtool:dd3+4x4:b64mb:lzma:ultra:64m:bt4:fb273:lc8:mc1000000
-------------------------------------------------------------------------------------------------------------------------------------------
 15:22:17 - Overall input size: 124.12 GB
 15:22:17 - Overall output size: 87.97 GB (Ratio 70.88%)
 15:22:17 - Overall conversion time: 03:33:18
-------------------------------------------------------------------------------------------------------------------------------------------
 15:22:27 - Starting Data1a-01.bin archive decompression.
 15:23:01 - Starting Data1b-01.bin archive decompression.
 15:56:45 - Overall decompression time: 00:34:17
 15:56:45 - All files have been successfully extracted!
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
JustFun (02-09-2023)
  #3640  
Old 08-08-2023, 08:26
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 398
Thanks: 451
Thanked 441 Times in 202 Posts
dixen is on a distinguished road
Does anyone know how to correctly uncompress the PAK files in the State of Decay2 game?
Quickbms + SOD2.bms =7.6 gb > ~11 gb
Xtool + lz4hc:l9 + sod2.xtl = 7.6 gb > 8.1 gb

Tested file pakchunk000004-WindowsNoEditor.pak

NOTE.
Applying Xdelta has no effect

Last edited by dixen; 08-08-2023 at 08:54.
Reply With Quote
  #3641  
Old 08-08-2023, 08:43
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,501
Thanks: 1,086
Thanked 7,124 Times in 2,707 Posts
KaktoR is on a distinguished road
Try with this custom sod2 scripts.

Credits to spiritovod
Attached Files
File Type: 7z sod2.7z (3.5 KB, 11 views)
__________________
Haters gonna hate
Reply With Quote
  #3642  
Old 08-08-2023, 08:53
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 398
Thanks: 451
Thanked 441 Times in 202 Posts
dixen is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Try with this custom sod2 scripts.

Credits to spiritovod
Unfortunately, none of the three worked.
Reply With Quote
  #3643  
Old 08-08-2023, 16:23
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,129 Times in 2,297 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by dixen View Post
Does anyone know how to correctly uncompress the PAK files in the State of Decay2 game?
Quickbms + SOD2.bms =7.6 gb > ~11 gb
Xtool + lz4hc:l9 + sod2.xtl = 7.6 gb > 8.1 gb

Tested file pakchunk000004-WindowsNoEditor.pak

NOTE.
Applying Xdelta has no effect
If I remember correctly this game uses standard lz4, not lz4hc but I could be mistaken. Also I think -mue4:lz4 (via unreal engine plugin) should work too in case you're having issues with database.
Reply With Quote
  #3644  
Old 08-08-2023, 22:52
ravikant's Avatar
ravikant ravikant is offline
Registered User
 
Join Date: Oct 2018
Location: Somewhere near you
Posts: 44
Thanks: 14
Thanked 10 Times in 7 Posts
ravikant is on a distinguished road
How to compress *.naz files in total overdose, i need to make a lossy repack
Reply With Quote
  #3645  
Old 09-08-2023, 00:21
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,180
Thanks: 285
Thanked 1,379 Times in 620 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by ravikant View Post
How to compress *.naz files in total overdose, i need to make a lossy repack
Use naztozip linked here to convert the archive:
https://github.com/Michael0ne/TOD_to...r/naztozip.exe

From there, you should be able to browse their contents and get a good look at what they contain.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
ScOOt3r (09-08-2023)
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Games Are For Kids JoyBoy Chit Chat 83 16-11-2021 14:28
CorePack Compression methods ? Help ramazan19833 Conversion Tutorials 34 09-08-2018 06:51
i got the email in the mail about copying ps2 games EVOEvo PS2 Games 7 21-11-2003 07:56
Self-booting games on an older Japanese DC? Named DC Games 1 26-09-2003 17:48
Having Problems Burning Numerous *Recent* Games....Help is Appreciated Protosstic PSX Games 2 15-01-2002 21:27



All times are GMT -7. The time now is 03:33.


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