Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

[PS2] - Splatter Master *.PAC File

Featured Replies

  • Author
  • Localization

OAleex, posted Sun Jul 31, 2022 2:34 am (72819)


Image

Image

Somebody can help me to extract this compressed file format, please?
  • Author
  • Localization

BloodRaynare, posted Sun Jul 31, 2022 3:53 am (72820)


Here's the BMS script to decompress the PAC file:

pac_decompress.bms

Code:
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:
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
  • Author
  • Localization

OAleex, posted Sun Jul 31, 2022 2:18 pm (72825)


BloodRaynare wrote:
Here's the BMS script to decompress the PAC file:

pac_decompress.bms

Code:
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:
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!
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.