PTCL: Difference between revisions

no edit summary
(Created page with "<onlyinclude> <code>PTCL</code>(a.k.a <code>EFTB</code>/<code>VFXB</code>) files define certain graphical effects of objects such as emissions, particles, and shaders. They us...")
 
No edit summary
Line 228: Line 228:
| 0x78 | 0x38 || Byte[56]|| Padding  
| 0x78 | 0x38 || Byte[56]|| Padding  
|-
|-
| 0xB0 || 0x30 || UInt32[12] || Unknown
| 0xB0 || 0x30 || UInt32 or Float[12] || Unknown
|-
|-
| 0xE0 || 0x4 || Float || Blink Intensity 1
| 0xE0 || 0x4 || Float || Blink Intensity 1
Line 238: Line 238:
| 0xEC || 0x4 || Float || Blink Duration 2
| 0xEC || 0x4 || Float || Blink Duration 2
|-
|-
| 0xF0 || 0x2C0 || Float[176]{{check}} || Unknown
| 0xF0 || 0x2C0 || UInt32 or Float[176] || Unknown
|-
|-
| 0x3B0 || 0x4 || Float || Radius
| 0x3B0 || 0x4 || UInt32 or Float || Radius
|-
|-
| 0x3B4 || 0x4 || Float || Unknown
| 0x3B4 || 0x4 || UInt32 or Float || Unknown
|-
|-
| 0x3B8 || 0x8 || Byte[8] || Padding
| 0x3B8 || 0x8 || Byte[8] || Padding
Line 254: Line 254:
| 0x540 || 0x80 || Float[4] * 8 || Alpha 1 array (eight sets of four 32-bit floats describing Red, Green, Blue, and Time)
| 0x540 || 0x80 || Float[4] * 8 || Alpha 1 array (eight sets of four 32-bit floats describing Red, Green, Blue, and Time)
|-
|-
| 0x5C0 || 0x40 || Float[16]{{check}} || Unknown array
| 0x5C0 || 0x40 || UInt32 or Float[16] || Unknown array{{check}}
|-
|-
| 0x600 || 0x80 || Float[4] * 8 || Scale{{check}} array (eight sets of four 32-bit floats)
| 0x600 || 0x80 || Float[4] * 8 || Scale{{check}} array (eight sets of four 32-bit floats)
|-
|-
| 0x680 || 0xD0 || Float[52]{{check}} || Unknown
| 0x680 || 0xD0 || UInt32 or Float[52] || Unknown
|-
|-
| 0x750 || 0x10 || Byte[16] || Unknown
| 0x750 || 0x10 || Byte[16] || Unknown
|-
|-
| 0x760 || 0x90 || Float[36]{{check}} || Unknown
| 0x760 || 0x90 || UInt32 or Float[36] || Unknown
|-
|-
| 0x7F0 || 0x8 || Byte[8] || Unknown
| 0x7F0 || 0x8 || Byte[8] || Unknown
|-
|-
| 0x7F8 || 0x40 || Float[16]{{check}} || Unknown
| 0x7F8 || 0x40 || UInt32 or Float[16] || Unknown
|-
|-
| 0x838 || 0x8 || Byte[8] || Unknown
| 0x838 || 0x8 || Byte[8] || Unknown
|-
|-
| 0x840 || 0x58 || Float[22]{{check}} || Unknown
| 0x840 || 0x58 || UInt32 or Float[22] || Unknown
|-
|-
| 0x898 || 0x8 || Byte[8] || Unknown
| 0x898 || 0x8 || Byte[8] || Unknown
|-
|-
| 0x8A0 || 0x8 || Float[2]{{check}} || Unknown
| 0x8A0 || 0x8 || UInt32 or Float[2] || Unknown
|-
|-
| 0x8A8 || 0x10 || Byte[16] || Unknown
| 0x8A8 || 0x10 || Byte[16] || Unknown
|-
|-
| 0x8B8 || 0x18 || Float[6]{{check}} || Unknown
| 0x8B8 || 0x18 || UInt32 or Float[6] || Unknown
|-
|-
| 0x8D0 || 0x10 || Byte[16] || Unknown
| 0x8D0 || 0x10 || Byte[16] || Unknown
|-
|-
| 0x8E0 || 0x18 || Float[6]{{check}} || Unknown
| 0x8E0 || 0x18 || UInt32 or Float[6] || Unknown
|-
|-
| 0x8F8 || 0x18 || Byte[24] || Unknown
| 0x8F8 || 0x18 || Byte[24] || Unknown
|-
|-
| 0x910 || 0x8 || Float[2]{{check}} || Unknown
| 0x910 || 0x8 || UInt32 or Float[2] || Unknown
|-
|-
| 0x918 || 0x4 || Byte[4] || Padding?{{check}} Sometimes <code>FF FF FF FF</code>
| 0x918 || 0x4 || Byte[4] || Padding? Sometimes <code>FF FF FF FF</code>
|-
|-
| 0x91C || 0x8 || UInt64{{check}} || Unknown. Sometimes <code>FF FF FF FF</code>
| 0x91C || 0x8 || UInt64 || Unknown. Sometimes <code>FF FF FF FF</code>
|-
|-
| 0x924 || 0x4 || Byte[4] || Padding?{{check}} Sometimes <code>FF FF FF FF</code>
| 0x924 || 0x4 || Byte[4] || Padding? Sometimes <code>FF FF FF FF</code>
|-
|-
| 0x928 || 0x8 || Float[2]{{check}} || Unknown
| 0x928 || 0x8 || UInt32 or Float[2] || Unknown
|-
|-
| 0x930 || 0x8 || UInt64{{check}} || Unknown
| 0x930 || 0x8 || UInt64 || Unknown
|-
|-
| 0x938 || 0x10 || Float[4]{{check}} || Unknown
| 0x938 || 0x10 || UInt32 or Float[4] || Unknown
|-
|-
| 0x948 || 0xA || String || Usually is <code>ATEST_ONLY</code> when used. Can be null.
| 0x948 || 0xA || String || Usually is <code>ATEST_ONLY</code> when used. Can be null.
Line 304: Line 304:
| 0x952 || 0x2 || Byte[2] || Padding
| 0x952 || 0x2 || Byte[2] || Padding
|-
|-
| 0x954 || 0x48 || UInt32[48]{{check}} || Unknown
| 0x954 || 0x48 || UInt32 or Float[48] || Unknown
|-
|-
| 0x99C || 0xC || Byte[12] || Unknown
| 0x99C || 0xC || Byte[12] || Unknown
Line 312: Line 312:
| 0x9B8 || 0x10 || Float[4] || Constant Color 1 if Color 1 array is empty
| 0x9B8 || 0x10 || Float[4] || Constant Color 1 if Color 1 array is empty
|-
|-
| 0x9C8 || 0x30 || UInt32[12]{{check}} || Unknown
| 0x9C8 || 0x30 || UInt32[12] || Unknown
|-
|-
| 0x9F8 || 0x60 || Three Sample Info blocks, consisting of the following structure:
| 0x9F8  
| 0x60  
| colspan="2" | Three Sample Info blocks, consisting of the following structure:
* 0x00 - UInt32 - Enabled flag - Set if 0, unset if -1
* 0x00 - UInt32 - Enabled flag - Set if 0, unset if -1
* 0x04 - UInt32 - Texture ID
* 0x04 - UInt32 - Texture ID
Line 328: Line 330:
* 0x17 - Byte - 7th flag - Can be either 0 or 1
* 0x17 - Byte - 7th flag - Can be either 0 or 1
* 0x18 - Byte - 8th flag - Can be either 0 or 1
* 0x18 - Byte - 8th flag - Can be either 0 or 1
* 0x19 - Byte[7] - Padding
* 0x19 - Byte[7] - Padding</p>
|-
|-
| 0xA58 || 0x30 || Byte[48] || Unknown
| 0xA58 || 0x30 || Byte[48] || Unknown
15

edits