View Single Post
  #13  
Old 03-04-2024, 21:59
Redmist2013 Redmist2013 is offline
Registered User
 
Join Date: Jul 2017
Location: Australia
Posts: 9
Thanks: 8
Thanked 2 Times in 2 Posts
Redmist2013 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Tony Hawk's Pro Skater 1+2

This only removes the custom encryption used in the game (Not tested)

Drag and drop the game folder and xtool will remove the encryption and give you the decrypted pak files in output folder which will be your new game files, use -mzlib on them for precompression.

Base\Content\Paks\pakchunk1-WindowsNoEditor.pak
Code:
Compressed 1 file, 291,695,622 => 503,712,687 bytes. Ratio 172.68%
Compression time: cpu 0.05 sec/real 2.30 sec = 2%. Speed 126.91 mB/s
This is not tested and will all depend on your luck.
Interesting. It seems to decrypt okay but re-encryption only seems to partially work.

Code:
xtool decode pakchunk1-WindowsNoEditor.pak.xt pakchunk1-WindowsNoEditor.pak
...results in about 20% of the bytes in the file matching those in the original file using a binary file comparer.
Fitgirl seems to have made a custom THPS12 encryption tool which gets close and then uses hdiff to fix things up.
Reply With Quote