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.

GIOGIO Japanese PS2 game PZZ, BIN and HIT files

Featured Replies

  • Author
  • Localization

penguino, posted Thu Oct 11, 2018 10:55 pm (39434)


I need help unpacking these files
The files can be found in AFS_DATA in the game, AFS01 AND AFS00 only have audio.
The pzz files have textures, text, character files and models
HIT files seem to be something related to the hit-boxes of the characters
Pzzs seem to use some sort of compression and seems to be some sort of archive like format
they seem somewhat similar to PTR2's INT files, probably using a common type of compression in ps2

First 16 bytes of the files
PZZ (file: pl00.pzz)
0D 00 00 00 1B 00 00 80 03
PZZ (file: sd0a0.pzz)
03 00 00 00 02 00 00 00 01 00 00 00 21 00 00 00 00 00 00 00 00 00
PZZ (file: ball.pzz)
03 00 00 00 02 00 00 80 01 00 00 00 01 00 00 80 00 00 00 00 00 00
HIT (file: pl10.hit )
20 00 00 00 58 00 00 00 B0 01 00 00 F0 02 00 00 10 03 00 00 B0 03
HIT (file: pl00.hit )
20 00 00 00 64 00 00 00 BC 01 00 00 FC 02 00 00 1C 03 00 00 BC 03
BIN (file: c00_tbl.bin)
04 00 00 00 08 00 00 00 18 00 00 00 40 01 00 00 94 02 00 00 A8 03
BIN (file: rc0a1_tbl.bin)
03 00 00 00 08 00 00 00 14 00 00 00 3C 01 00 00 D0 01 00 00 00 00

Some sample files: https://mega.nz/#F!2bQzxYLC!M39HH3f7p3OpzeJr2-eYaA
  • Author
  • Localization

aluigi, posted Fri Oct 12, 2018 12:06 am (39437)


I guess the format of the PZZ files is like the following:
Code:
get FILES long
for i = 0 < FILES
    get SIZE long
    math FLAGS = SIZE
    math FLAGS u>> 31
    math SIZE & 0x7fffffff
    math SIZE * 0x800
    putarray 0 i SIZE
    putarray 1 i FLAGS
next i
for i = 0 < FILES
    padding 0x800
    getarray SIZE  0 i
    getarray FLAGS 1 i
    savepos OFFSET
    log "" OFFSET SIZE
    math OFFSET SIZE
    goto OFFSET
next i

I don't know what's the meaning of that FLAG value, I tought it was related to some compression but there is no decompression size.
  • Author
  • Localization

penguino, posted Thu Oct 18, 2018 5:14 pm (39691)


any progress?
  • Author
  • Localization

aluigi, posted Thu Oct 18, 2018 6:09 pm (39698)


The script I posted should be able to extract the files, have you tried it?
  • Author
  • Localization

penguino, posted Fri Oct 19, 2018 10:07 pm (39730)


yes, but is there a way to decompress the files?
  • Author
  • Localization

aluigi, posted Sat Oct 20, 2018 7:49 am (39734)


Currently no way.
  • Author
  • Localization

penguino, posted Sat Oct 20, 2018 2:38 pm (39742)


that sucks, but thanks for helping!
  • Author
  • Localization

infval, posted Mon May 25, 2020 1:34 am (56915)


aluigi wrote:
I don't know what's the meaning of that FLAG value, I tought it was related to some compression but there is no decompression size.
Yes, it's compression flag. If 0x80000000 is set, file is compressed.

penguino, I've created (de)compressor: https://github.com/infval/pzzcompressor_jojo. Python version can unpack like BMS script, C version is faster without unpacking.
  • Author
  • Localization

aluigi, posted Mon Oct 12, 2020 3:11 pm (59349)


Well done ;)
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.