A .ptcl file contains graphical effects. This page describes the .ptcl file format as seen in Nintendo Switch games. This page describes version 22.4.0 of the file format.
Offsets in the section header are relative to the start of the section header.
If a section has no children, the offset to the first child section is set to -1. If there are no further siblings, the offset to the next sibling section is set to -1.
Offset
Size
Description
0x0
4
Magic number
0x4
4
Total size of section header and children
0x8
4
Offset to first child section
0xC
4
Offset to next sibling section
0x10
4
Unknown
0x14
4
Offset to section payload
0x18
4
Unknown
0x1C
4
Unknown
Whether the section data starts with a child section or other data depends on the section type.