Difference between revisions of "PTCL (File Format)"

From Deep Sea Knowledge
Jump to navigation Jump to search
(fix bfres link)
(fix bold)
Line 1: Line 1:
A '''Particle'' file contains data for particle effects.
+
A '''Particle''' file contains data for particle effects.
  
 
== Header ==
 
== Header ==

Revision as of 05:42, 19 December 2018

A Particle file contains data for particle effects.

Header

Offset Type Description
0x0 String "VFXB[space][space][space][space]" (0x5646584220202020) magic number
0x8 UInt8 Zero?
0x9 UInt8 Graphics API version
0xA UInt16 VFX API version
0xC UInt16 Endianness (0xFFFE for little, 0xFEFF for big)
0xE UInt16 Unknown
0x10 UInt32 Offset to zero-terminated name string
0x14 UInt16 Zero?
0x16 UInt16 Offset to first section
0x18 UInt32 Zero?
0x1C UInt32 File size

GRTF section

GRTF stands for Graphics Res Texture File. It contains a GTNT sub-section. Details TODO. Likely contains an offset to an embedded BNTX file.

PRMA section

PRMA stands for PRiMitive Array. Details TODO.

G3PR section

It is unknown what G3PR stands for. It contains a G3NT sub-section. Details TODO, though this section has an offset to an embedded BFRES file.

GRSN section

It is unknown what GRSN stands for. It contains a GRSC sub-section. Details TODO, though this section likely has an offset to an embedded BFSAR or similar file.

ESTA section

ESTA stands for Emitter SeT Array. Details TODO.

ESFT section

It is unknown what ESFT stands for. Details TODO.