Difference between revisions of "FF7/Field/Model Loader"

From Final Fantasy Inside
< FF7‎ | Field
Jump to navigation Jump to search
my_wiki>Myst6re
(I was wrong.)
my_wiki>Myst6re
Line 42: Line 42:
 
|style="background:rgb(255,255,204)" | 2 + SizeModelName
 
|style="background:rgb(255,255,204)" | 2 + SizeModelName
 
|style="background:rgb(255,255,204)" | 2
 
|style="background:rgb(255,255,204)" | 2
|style="background:rgb(255,255,204)" | Unknown
+
|style="background:rgb(255,255,204)" | Unknown (sometimes 0 if the model is playable, 1 otherwise)
 
|-
 
|-
 
| 4 + SizeModelName
 
| 4 + SizeModelName

Revision as of 23:36, 4 April 2013

Model loader (FF7 PC)

Offset Size 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:

Offset Size Data
0 2 Size of model name string
2 SizeModelName Model name (fieldNameModel_name.char, unused)
2 + SizeModelName 2 Unknown (sometimes 0 if the model is playable, 1 otherwise)
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

Offset Size Data
0 2 Size of animation name string
2 SizeAnimName Animation name (file name extension can be removed)
2 + SizeAnimName 2 Unknown