Kuribo64 Wiki
Home | ForumsLogin

WIKI BACKUP

Back to listing

JPA File

Contents
1. General Statement
2. Header Section
3. BEM1 section
4. BSP1 section
5. ESP1 section
6. TEX1 section
7. TDB1 section - CUSTOM
8. NWP1 section - CUSTOM

1. General Statement


JPA Files are used to create particle effects. They are used in games such as Super Mario Sunshine and Super Mario Galaxy 1/2 which hold a JPC archive containing many JPA files. Note that the JPA files generated from PyJPC contain custom data.

2. Header Section


Missing/unneeded in JPA files extracted using PyJPC.
Offset Number of bytes Description
0x00 4 Magic(JEFF)
0x04 4 Tag{Like in BMD/BDL}(jpa1)
0x08 4 Offset to end of file
0x0C 4 Number of sections
0x10 16 Padding?(0x00)


3. BEM1 section


Unknown purpose and byte arrangement.


4. BSP1 section


Unknown purpose and byte arrangement.


5. ESP1 section


Unknown purpose and byte arrangement.


6. TEX1 section


Texture section of the file.
Offset Number of bytes Description
0x00 4 Magic(TEX1)
0x04 4 Section Length
0x08 4 Padding(? - seems to be always 0)
0x0C ??? BTI Filename
0x?? ??? Padding to 32 bytes
Afterwards is a raw BTI file.

7. TDB1 section - CUSTOM


Used in JPC files - outputted by PyJPC - NOT ALWAYS 0xC !!!
Offset Number of bytes Description
0x00 4 Magic(TDB1)
0x04 4 Section Length
0x08 2 TEX1 Entry Number from JPC

8. NWP1 section - CUSTOM


Created by PyJPC to store additional data.
Offset Number of bytes Description
0x00 4 Magic(NWP1)
0x04 4 Section Length
0x08 2 JPC Entry Number
0x0A 2 Number of sections to follow in JPC
0x0C 4 Unknown

Page rendered in 0.020 seconds. (2048KB of memory used)
MySQL - queries: 17, rows: 64/64, time: 0.017 seconds.