TimeSplitters 1 (2000) PS2 | BMSscript to extract SFX.PAK

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
JackKrowell
Posts: 45
Joined: Thu Sep 26, 2019 9:56 pm

TimeSplitters 1 (2000) PS2 | BMSscript to extract SFX.PAK

Post by JackKrowell »

Could anybody here provide me with a BMSscript to extract the SFX.PAK file of TimeSplitters 1 (2000, the first ever TimeSplitters released) of the PS2 console.

I'll be providing a download link for said .PAK file that I'm referring to:


https://drive.google.com/file/d/1xH35B6a1TX9AMPcp2YT4YBJ6SLc9kioF/view?usp=sharing
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: TimeSplitters 1 (2000) PS2 | BMSscript to extract SFX.PAK

Post by BloodRaynare »

Here's the BMS script for your sample:

Code: Select all

IDstring "P4CK"
get INFO_OFF long
get INFO_LEN long
xmath FILES "INFO_LEN / 0x3c"
goto INFO_OFF

for i = 0 < FILES
   getDstring NAME 0x30
   get OFFSET long
   get SIZE long
   get ZERO long
   log NAME OFFSET SIZE
next i


Note: There are some duplicate files inside there, just overwrite them if QuickBMS asks you to do so.

There are already too many tools/media players that supports Sony VAG format, just use whatever suits you.
JackKrowell
Posts: 45
Joined: Thu Sep 26, 2019 9:56 pm

Re: TimeSplitters 1 (2000) PS2 | BMSscript to extract SFX.PAK

Post by JackKrowell »

Thanks for the Script my friend, it extracted all the files with great success. And you were right about those duplicate files as well, I merely decided to overwrite them all.