ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Nov 17, 2018 7:21 pm

All times are UTC




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Thu Oct 11, 2018 10:55 pm 
User avatar

Joined: Thu Oct 11, 2018 4:15 pm
Posts: 4
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

_________________
arrivederci


Top
   
PostPosted: Fri Oct 12, 2018 12:06 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9242
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.


Top
   
PostPosted: Thu Oct 18, 2018 5:14 pm 
User avatar

Joined: Thu Oct 11, 2018 4:15 pm
Posts: 4
any progress?

_________________
arrivederci


Top
   
PostPosted: Thu Oct 18, 2018 6:09 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9242
The script I posted should be able to extract the files, have you tried it?


Top
   
PostPosted: Fri Oct 19, 2018 10:07 pm 
User avatar

Joined: Thu Oct 11, 2018 4:15 pm
Posts: 4
yes, but is there a way to decompress the files?

_________________
arrivederci


Top
   
PostPosted: Sat Oct 20, 2018 7:49 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9242
Currently no way.


Top
   
PostPosted: Sat Oct 20, 2018 2:38 pm 
User avatar

Joined: Thu Oct 11, 2018 4:15 pm
Posts: 4
that sucks, but thanks for helping!

_________________
arrivederci


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited