Changes
Jump to navigation
Jump to search
no edit summary
== Model loader (FF7 PC) ==
{| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"
! style="background:rgb(204,204,204)" | Offset
! style="background:rgb(204,204,204)" | Size
! style="background:rgb(204,204,204)" | Data
|-
| 0
| 2
| ''Always 0''
|-
| 2
| 2
| Model count
|-
| 4
| 2
| Model scale (unused)
|-
| 6
| ''varies'' * modelCount
| Model Loader data
|}
== Model loader data ==
For each model:
{| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"
! style="background:rgb(204,204,204)" | Offset
! style="background:rgb(204,204,204)" | Size
! style="background:rgb(204,204,204)" | Data
|-
| 0
| 2
| Size of model name string
|-
| 2
| SizeModelName
| Model name (''fieldNameModel_name.char'', unused)
|-
|style="background:rgb(255,255,204)" | 2 + SizeModelName
|style="background:rgb(255,255,204)" | 2
|style="background:rgb(255,255,204)" | Unknown
|-
| 4 + SizeModelName
| 8
| HRC name (AAAA.HRC for example)
|-
| 12 + SizeModelName
| 4
| Model scale string
|-
| 16 + SizeModelName
| 2
| Number of animations
|-
| 18 + SizeModelName
| 10 * 3
| Light colors (RGB format)
|-
| 48 + SizeModelName
| ''varies'' * animationCount
| Loaded Animations
|}
=== Loaded animations ===
{| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"
! style="background:rgb(204,204,204)" | Offset
! style="background:rgb(204,204,204)" | Size
! style="background:rgb(204,204,204)" | Data
|-
| 0
| 2
| Size of animation name string
|-
| 2
| SizeAnimName
| Animation name (file name extension can be removed)
|-
| 2 + SizeAnimName
| 2
| ''Always 1''
|}
{| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"
! style="background:rgb(204,204,204)" | Offset
! style="background:rgb(204,204,204)" | Size
! style="background:rgb(204,204,204)" | Data
|-
| 0
| 2
| ''Always 0''
|-
| 2
| 2
| Model count
|-
| 4
| 2
| Model scale (unused)
|-
| 6
| ''varies'' * modelCount
| Model Loader data
|}
== Model loader data ==
For each model:
{| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"
! style="background:rgb(204,204,204)" | Offset
! style="background:rgb(204,204,204)" | Size
! style="background:rgb(204,204,204)" | Data
|-
| 0
| 2
| Size of model name string
|-
| 2
| SizeModelName
| Model name (''fieldNameModel_name.char'', unused)
|-
|style="background:rgb(255,255,204)" | 2 + SizeModelName
|style="background:rgb(255,255,204)" | 2
|style="background:rgb(255,255,204)" | Unknown
|-
| 4 + SizeModelName
| 8
| HRC name (AAAA.HRC for example)
|-
| 12 + SizeModelName
| 4
| Model scale string
|-
| 16 + SizeModelName
| 2
| Number of animations
|-
| 18 + SizeModelName
| 10 * 3
| Light colors (RGB format)
|-
| 48 + SizeModelName
| ''varies'' * animationCount
| Loaded Animations
|}
=== Loaded animations ===
{| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"
! style="background:rgb(204,204,204)" | Offset
! style="background:rgb(204,204,204)" | Size
! style="background:rgb(204,204,204)" | Data
|-
| 0
| 2
| Size of animation name string
|-
| 2
| SizeAnimName
| Animation name (file name extension can be removed)
|-
| 2 + SizeAnimName
| 2
| ''Always 1''
|}