[PS2] - Splatter Master *.PAC File
-
- Posts: 52
- Joined: Mon Nov 04, 2019 3:18 am
[PS2] - Splatter Master *.PAC File
Somebody can help me to extract this compressed file format, please?
-
- Posts: 367
- Joined: Fri Mar 10, 2017 7:23 am
Re: [PS2] - Splatter Master *.PAC File
Here's the BMS script to decompress the PAC file:
pac_decompress.bms
And here's the script to extract the files from the resulting dec files
dec_extract.bms
pac_decompress.bms
Code: Select all
comtype lzss0
get UNK long # Always 0x01
get SIZE long
savepos CURRPOS
get ZSIZE asize
math ZSIZE - CURRPOS
get NAME basename
string NAME + .dec
clog NAME CURRPOS ZSIZE SIZE
And here's the script to extract the files from the resulting dec files
dec_extract.bms
Code: Select all
get FILES long
padding 16
xmath OFFSET "FILES * 0x20 + 0x10"
for i = 0 < FILES
getDstring NAME 16
get SIZE long
padding 16
log NAME OFFSET SIZE
math OFFSET + SIZE
next i
-
- Posts: 52
- Joined: Mon Nov 04, 2019 3:18 am
Re: [PS2] - Splatter Master *.PAC File
BloodRaynare wrote:Here's the BMS script to decompress the PAC file:
pac_decompress.bmsCode: Select all
comtype lzss0
get UNK long # Always 0x01
get SIZE long
savepos CURRPOS
get ZSIZE asize
math ZSIZE - CURRPOS
get NAME basename
string NAME + .dec
clog NAME CURRPOS ZSIZE SIZE
And here's the script to extract the files from the resulting dec files
dec_extract.bmsCode: Select all
get FILES long
padding 16
xmath OFFSET "FILES * 0x20 + 0x10"
for i = 0 < FILES
getDstring NAME 16
get SIZE long
padding 16
log NAME OFFSET SIZE
math OFFSET + SIZE
next i
Thanks, man!