Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

NW > Particle File > Switch

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.

This file format does not use relocation tables.

OffsetSizeDescription
0x032Binary file header (VFXB )
0x2032Filename (“Particle”)
0x40Top-level sections

Every section starts with a section header that indicates its type. The following top-level sections may be present in a particle file:

TypeDescription
ESTAEmitter set array
GRTFGraphics resource texture files
PRMAPrimitive array
G3PR3D models
GRSNShader binary array

Section Header

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.

OffsetSizeDescription
0x04Magic number
0x44Total size of section header and children
0x84Offset to first child section
0xC4Offset to next sibling section
0x104Unknown
0x144Offset to section payload
0x184Unknown
0x1C4Unknown

Whether the section data starts with a child section or other data depends on the section type.

Emitter Set Array

OffsetSizeDescription
0x032Section header (ESTA)
0x20Emitter sets

Emitter Set

OffsetSizeDescription
0x032Section header (ESET)
0x20104Emitter set payload
0x88Emitter sections

Emitter Set Payload

OffsetSizeDescription
0x016Unknown
0x1064Emitter set name
0x504Number of emitters
0x5420Unknown

Emitter

OffsetSizeDescription
0x032Section header (EMTR)
0x20Unknown

Graphics Resource Texture Files

OffsetSizeDescription
0x032Section header (GRTF)
0x20Unknown