Difference between revisions of "FF7/Field/Model Loader"
Jump to navigation
Jump to search
my_wiki>Myst6re |
m (6 revisions imported) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | == Model loader (FF7 PC) == | + | == Model loader (FF7 PC) == |
− | {| | + | {| class="wikitable" |
− | ! | + | ! Offset |
− | ! | + | ! Size |
− | ! | + | ! Data |
|- | |- | ||
| 0 | | 0 | ||
Line 23: | Line 23: | ||
|} | |} | ||
− | == Model loader data == | + | == Model loader data == |
For each model: | For each model: | ||
− | {| | + | {| class="wikitable" |
− | ! | + | ! Offset |
− | ! | + | ! Size |
− | ! | + | ! Data |
|- | |- | ||
| 0 | | 0 | ||
Line 40: | Line 40: | ||
| Model name (''fieldNameModel_name.char'', unused) | | Model name (''fieldNameModel_name.char'', unused) | ||
|- | |- | ||
− | |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 | ||
Line 57: | Line 57: | ||
|- | |- | ||
| 18 + SizeModelName | | 18 + SizeModelName | ||
− | | | + | | 3 |
− | | Light | + | | Light color 1 (RGB format) |
+ | |- | ||
+ | | style="background: rgb(255,255,204)" | 21 + SizeModelName | ||
+ | | style="background: rgb(255,255,204)" | 2 * 3 | ||
+ | | style="background: rgb(255,255,204)" | Light coordinates? 1 (signed short) | ||
+ | |- | ||
+ | | 27 + SizeModelName | ||
+ | | 3 | ||
+ | | Light color 2 (RGB format) | ||
+ | |- | ||
+ | | style="background: rgb(255,255,204)" | 30 + SizeModelName | ||
+ | | style="background: rgb(255,255,204)" | 2 * 3 | ||
+ | | style="background: rgb(255,255,204)" | Light coordinates? 2 (signed short) | ||
+ | |- | ||
+ | | 36 + SizeModelName | ||
+ | | 3 | ||
+ | | Light color 3 (RGB format) | ||
+ | |- | ||
+ | | style="background: rgb(255,255,204)" | 39 + SizeModelName | ||
+ | | style="background: rgb(255,255,204)" | 2 * 3 | ||
+ | | style="background: rgb(255,255,204)" | Light coordinates? 3 (signed short) | ||
+ | |- | ||
+ | | 45 + SizeModelName | ||
+ | | 3 | ||
+ | | Global light color (RGB format) | ||
|- | |- | ||
| 48 + SizeModelName | | 48 + SizeModelName | ||
Line 65: | Line 89: | ||
|} | |} | ||
− | === Loaded animations === | + | === Loaded animations === |
− | {| | + | {| class="wikitable" |
− | ! | + | ! Offset |
− | ! | + | ! Size |
− | ! | + | ! Data |
|- | |- | ||
| 0 | | 0 | ||
Line 80: | Line 104: | ||
| Animation name (file name extension can be removed) | | Animation name (file name extension can be removed) | ||
|- | |- | ||
− | | 2 + SizeAnimName | + | | style="background: rgb(255,255,204)" | 2 + SizeAnimName |
− | | 2 | + | | style="background: rgb(255,255,204)" | 2 |
− | | | + | | style="background: rgb(255,255,204)" | Unknown |
|} | |} |
Latest revision as of 05:14, 23 May 2019
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 | 3 | Light color 1 (RGB format) |
21 + SizeModelName | 2 * 3 | Light coordinates? 1 (signed short) |
27 + SizeModelName | 3 | Light color 2 (RGB format) |
30 + SizeModelName | 2 * 3 | Light coordinates? 2 (signed short) |
36 + SizeModelName | 3 | Light color 3 (RGB format) |
39 + SizeModelName | 2 * 3 | Light coordinates? 3 (signed short) |
45 + SizeModelName | 3 | Global light color (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 |