PFX Hooks: Difference between revisions

936 bytes removed ,  7 months ago
m
Normalization
(Created page with "===PFXHookBundle=== {| class="wikitable" ! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments |- | 0x0 || 0x4 || int32_t || miHookCount || || || |- | 0x4 || 0x4 || int32_t || miGroupCount || || || |- | 0x8 || 0x4 || PFXHook * * || mpaHooks || || PFXHook format || |- | 0xC || 0x4 || PFXGroup * * || mpaGroups || || PFXGroup format || |- | 0x10 || 0x4 || size_t || mSizeOfBundle || || || |} ===PFXHook=== {| class="wikitable" ! Offset !...")
 
m (Normalization)
 
(4 intermediate revisions by the same user not shown)
Line 1:
{{ParadiseResourceTypeInfobox
===PFXHookBundle===
| name = PFXHookBundle
| othernames = GuiPFXHook
| resourcenames = PostFx\pfxhooks
| id = 0x31
| category = Generic
| memdist = Main Memory only
|}}
 
The post FX hooks resource provides details for individual effects used by the game, such as the screen tint while paused.
 
The only resource is found in POSTFX/PFXHOOKS.PFX.
 
= Structures =
=== BrnGui::PFXHookBundle ===
==== 32-bit ====
{| class="wikitable"
! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x0 || 0x4 || int32_t || miHookCount || || ||
|-
| 0x4 || 0x4 || int32_t || miGroupCount || || ||
|-
| 0x8 || 0x4 || [[#BrnGui::PFXHook |PFXHook]]* * || mpaHooks || || PFXHook format ||
|-
| 0xC || 0x4 || [[#BrnGui::PFXGroup |PFXGroup]]* * || mpaGroups || || PFXGroup format ||
|-
| 0x10 || 0x4 || size_t || mSizeOfBundle || || ||
|}
 
===PFXHook===
==== 64-bit ====
{| class="wikitable"
! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x0 || 0x200x4 || char[32] || macNameint32_t || miHookCount || ||
|-
| 0x200x4 || 0x4 || uint32_t || muIdint32_t || miGroupCount || ||
|-
| 0x240x8 || 0x40x8 || int32_t [[#BrnGui::PFXHook|| miPriorityPFXHook]]** || mpaHooks || ||
|-
| 0x280x10 || 0x40x8 || uint32_t [[#BrnGui::PFXGroup|| meTransitionModePFXGroup]]** || mpaGroups || ||
|-
| 0x2C0x18 || 0x40x8 || float || mfTransitionTimesize_t || mSizeOfBundle || ||
|-
| 0x30 || 0x1 || uint8_t || mbIsMenu || || ||
|-
| 0x31 || 0x3 || || || padding || ||
|-
| 0x34 || 0x4 || PFXHookNode * * || mpaNodes || || PFXHookNode format ||
|-
| 0x38 || 0x4 || int32_t || miNodeCount || || ||
|}
 
===PFXHookNode===
=== BrnGui::PFXHook ===
==== 32-bit ====
{| class="wikitable"
! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x0 || 0x40x20 || float32_t || mfStartTimechar[32] || macName || ||
|-
| 0x40x20 || 0x4 || PFXGroup *uint32_t || mpGroupmuId || || PFXGroup format ||
|}
===PFXGroup===
{| class="wikitable"
! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x00x24 || 0x4 || int32_t || miID || PFXGroup indexmiPriority || ||
|-
| 0x40x28 || 0x4 || float32_t || mfFadeInuint32_t || meTransitionMode || ||
|-
| 0x80x2C || 0x4 || float32_t || mfFadeOutfloat || mfTransitionTime || ||
|-
| 0xC0x30 || 0x40x1 || float32_t || mfDurationuint8_t || mbIsMenu || ||
|-
| 0x100x31 || 0x10x3 || uint8_t || mbUseBloom || || Padding ||
|-
| 0x110x34 || 0x10x4 || uint8_t [[#BrnGui::PFXHookNode|| mbUseVignettePFXHookNode]]** || mpaNodes || ||
|-
| 0x120x38 || 0x10x4 || uint8_t || mbUseDepthOfFieldint32_t || miNodeCount || ||
|-}
 
==== 64-bit ====
{| class="wikitable"
! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x130x0 || 0x10x20 || uint8_t || mbUseBlurchar[32] || macName || ||
|-
| 0x140x20 || 0x10x4 || uint8_t || mbUseTint2Duint32_t || muId || ||
|-
| 0x150x24 || 0x10x4 || uint8_t || mbUseTint3Dint32_t || miPriority || ||
|-
| 0x160x28 || 0x200x4 || char[32] || macBloomDataIDuint32_t || meTransitionMode || ||
|-
| 0x360x2C || 0x200x4 || char[32] || macVignetteDataIDfloat || mfTransitionTime || ||
|-
| 0x560x30 || 0x200x1 || char[32] || macDepthOfFieldDataIDuint8_t || mbIsMenu || ||
|-
| 0x760x31 || 0x200x7 || char[32] || macBlurDataID || || Padding ||
|-
| 0x960x38 || 0x200x8 || char[32[#BrnGui::PFXHookNode|PFXHookNode]]** || macTint2DDataID || mpaNodes || ||
|-
| 0xB60x40 || 0x20x4 || int32_t || || paddingmiNodeCount || ||
|-
| 0xB8 || 0x8 || uint64_t || muTint3DResourceId || || ||
|}
 
== PS4 ==
===PFXHookBundle BrnGui::PFXHookNode ===
==== 32-bit ====
{| class="wikitable"
! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x0 || 0x4 || int32_t || miHookCount || || ||
|-
| 0x4 || 0x4 || int32_t || miGroupCount || || ||
|-
| 0x8 || 0x8 || PFXHook * * || mpaHooks || || PFXHook format ||
|-
| 0x10 || 0x8 || PFXGroup * * || mpaGroups || || PFXGroup format ||
|-
| 0x18 || 0x8 || size_t || mSizeOfBundle || || ||
|}
===PFXHook===
{| class="wikitable"
! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x0 || 0x20 || char[32] || macName || || ||
|-
| 0x20 || 0x4 || uint32_t || muId || || ||
|-
| 0x24 || 0x4 || int32_t || miPriority || || ||
|-
| 0x28 || 0x4 || uint32_t || meTransitionMode || || ||
|-
| 0x2C || 0x4 || float || mfTransitionTime || || ||
|-
| 0x30 || 0x1 || uint8_t || mbIsMenu || || ||
|-
| 0x31 || 0x7 || || || padding || ||
|-
| 0x380x0 || 0x80x4 || PFXHookNode * *float32_t || mpaNodesmfStartTime || || PFXHookNode format ||
|-
| 0x400x4 || 0x4 || int32_t [[#BrnGui::PFXGroup|| miNodeCountPFXGroup]]* || mpGroup || ||
|}
 
===PFXHookNode===
==== 64-bit ====
{| class="wikitable"
! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x0 || 0x4 || float32_t || mfStartTime || || ||
|-
| 0x4 || 0x4 || || || padding || Padding ||
|-
| 0x8 || 0x8 || [[#BrnGui::PFXGroup |PFXGroup]]* || mpGroup || || PFXGroup format ||
|}
 
===PFXGroup===
=== BrnGui::PFXGroup ===
{| class="wikitable"
! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x0 || 0x4 || int32_t || miID || PFXGroup index || ||
|-
| 0x4 || 0x4 || float32_t || mfFadeIn || || ||
|-
| 0x8 || 0x4 || float32_t || mfFadeOut || || ||
|-
| 0xC || 0x4 || float32_t || mfDuration || || ||
|-
| 0x10 || 0x1 || uint8_t || mbUseBloom || || ||
|-
| 0x11 || 0x1 || uint8_t || mbUseVignette || || ||
|-
| 0x12 || 0x1 || uint8_t || mbUseDepthOfField || || ||
|-
| 0x13 || 0x1 || uint8_t || mbUseBlur || || ||
|-
| 0x14 || 0x1 || uint8_t || mbUseTint2D || || ||
|-
| 0x15 || 0x1 || uint8_t || mbUseTint3D || || ||
|-
| 0x16 || 0x20 || char[32] || macBloomDataID || || ||
|-
| 0x36 || 0x20 || char[32] || macVignetteDataID || || ||
|-
| 0x56 || 0x20 || char[32] || macDepthOfFieldDataID || || ||
|-
| 0x76 || 0x20 || char[32] || macBlurDataID || || ||
|-
| 0x96 || 0x20 || char[32] || macTint2DDataID || || ||
|-
| 0xB6 || 0x2 || || || padding || Padding ||
|-
| 0xB8 || 0x8 || uint64_t || muTint3DResourceId || || ||
|}