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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19-12-2022, 23:47
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Question regarding LZX/D recompression.

Hi all,

So I've been giving the "Dead Space" series a crack and it seems as though the majority of assets across the 3 main installments are stored within ".STR" archives, that seem to be compressed with LZX (with "Dead Space 3" using LZXD).

I've tried using the xmemcompress XTool plugin to inflate the compressed streams (as I was under the impression xmemcompress could be used for LZX re-compression), but alas no dice. The only streams I can pickup are a couple using the zlib/reflate codecs but these are only a few KB in size. The sample below, when decompressed is almost twice its size, coming at ~60mb, and compresses much better even when only srep & lolz are applied (18.1 MB (unpacked/decompressed assets) vs 24.8 MB (original compressed archive)).

If anyone who's had success with re-compressing LZX/D could offer any insight I'd greatly appreciate it.
Attached Files
File Type: rar dead_space_1_sample.rar (26.83 MB, 27 views)
Reply With Quote
Sponsored Links
  #2  
Old 20-12-2022, 00:54
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,405 Times in 637 Posts
Masquerade is on a distinguished road
You will need a database in order to use the xcompress XTool plugin.

Weird that BMS2XTL does not work for this file, although the BMS script extracts the archive just fine.

There's Razor's old LZXRec too however that does not work on this file.
Reply With Quote
  #3  
Old 20-12-2022, 02:30
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
You will need a database in order to use the xcompress XTool plugin.

Weird that BMS2XTL does not work for this file, although the BMS script extracts the archive just fine.

There's Razor's old LZXRec too however that does not work on this file.
My only guess is that maybe the sample is using the "dk2" comtype, which is the only other compression algorithm referenced in the BMS script (assuming you're talking about "dead_space_3.bms"), but what "dk2" refers to is anyones guess, a quick search online doesn't yield much information.

Tried making a database for every "*.STR" archive using the BMS script and it seems like bms2xtl is working as it can find functions in the console output, but no ".XTL" database is generated, not sure if this is the same issue you experienced but its a tad odd.

Last edited by L33THAK0R; 20-12-2022 at 02:34.
Reply With Quote
  #4  
Old 21-12-2022, 12:33
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,836
Thanks: 20
Thanked 342 Times in 224 Posts
Joe Forster/STA is on a distinguished road
"DK2" is probably Dungeon Keeper 2. (I googled for "dk2" "quickbms".)
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
  #5  
Old 20-12-2022, 15:33
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Bms2xtl will not generate database files for data sets stored with no compression.
I don't know what the script does but for the sample you provided because when you extract the streams using quickbms without bms2xtl, they produce the exact same size as if compression was set to none.
Attached Images
File Type: png deadspace.PNG (103.0 KB, 79 views)

Last edited by Razor12911; 20-12-2022 at 16:57.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Gehrman (20-12-2022)
  #6  
Old 20-12-2022, 18:16
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Bms2xtl will not generate database files for data sets stored with no compression.
I don't know what the script does but for the sample you provided because when you extract the streams using quickbms without bms2xtl, they produce the exact same size as if compression was set to none.
Interesting, so I'm guessing this means that xmemcompress isn't the algorithim being used on the sample (I'd also wager this could be extrapolated to apply to other "*.STR" archives, at least in the case of Dead Space 1, given that was one of the larger "STR" archives).

I'm starting to think whatever this "DK2" algorithm turns out to be is likely to be the key to recompressing these archives.
Reply With Quote
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
Just bought a Sony DRU 500ax, quick question dirtybird PS2 Games 2 05-04-2003 13:51
Question about XBOX BIOS QuickWhip XBox Games 2 11-12-2002 21:42
important question to you all. TEDDYRUKSPIN PS2 Games 11 09-04-2002 13:09
Question regarding Neo 2.5 Nincat PS2 Games 2 29-01-2002 18:26
Quick question on buring DA games - Xena ? themadsinger DC Games 1 25-05-2001 04:42



All times are GMT -7. The time now is 05:08.


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