View Single Post
  #14  
Old 21-01-2023, 09:52
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
Quote:
Originally Posted by deepshit View Post
Hey There
Can somebody help me with NFS Shift conversion?

Game uses xmemcompress. I used the bms script to generate xtl db but looks like xtool cant decompress the file.
I also put the required libraries beside xtool.( exe and dll)
sample and script and db are attached.
Refer to the Project Cars 1 configuration by Masquerade for this game, xmemcompress must have these parameters.

Code:
[xmemcompress]
Encode=xcompress.exe d -window=131072 -partition=524288 <library>
Decode=xcompress.exe e -window=131072 -partition=524288 <library>
Code:
Compressed 1 file, 25,522,432 => 84,558,796 bytes. Ratio 331.31%
Compression time: cpu 0.05 sec/real 4.22 sec = 1%. Speed 6.05 mB/s
Reply With Quote
The Following 5 Users Say Thank You to Razor12911 For This Useful Post:
BKR-TN (22-01-2023), Cesar82 (21-01-2023), deepshit (21-01-2023), Gehrman (28-02-2023), ScOOt3r (22-01-2023)