Changes

Jump to navigation Jump to search

PTCL (File Format)

836 bytes added, 05:58, 19 December 2018
document GRSN and GRSC sections
A '''Particle''' file contains data for particle effects.
 
All offsets are relative to the containing (sub-)section.
== Header ==
== GRSN section ==
It is unknown what GRSN stands for'''Graphics Res Shader Normal'''. It contains a (Normal as in "regular".) {| class="wikitable"|-! Offset !! Type !! Description|-| 0x0 || String || "GRSN" (<code>0x4E535247</code>) magic number|-| 0x4 || UInt16 || File size?|-| 0x8 || UInt32 || Offset to GSRC sub-section (<code>0xFFFFFFFF</code> if non-existent)|-| 0xC || UInt32 || Always <code>0xFFFFFFFF</code>|-| 0x10 || UInt32 || Always <code>0xFFFFFFFF</code>|-| 0x14 || UInt32 || Offset to shader archive|} === GRSC sub-section=== GRSC stands for '''Graphics Res Shader Compute'''. Details TODO, though this section likely has an offset  {| class="wikitable"|-! Offset !! Type !! Description|-| 0x0 || String || "GRSC" (<code>0x43535247</code>) magic number|-| 0x4 || UInt16 || File size?|-| 0x8 || UInt32 || Always <code>0xFFFFFFFF</code>|-| 0xC || UInt64 || Always <code>0xFFFFFFFF</code>|-| 0x10 || UInt32 || Always <code>0xFFFFFFFF</code>|-| 0x14 || UInt32 || Offset to an embedded BFSAR or similar file.compute shader archive|}
== ESTA section ==

Navigation menu