EGMC (File Format): Difference between revisions
Jump to navigation
Jump to search
→Format
>Aruki No edit summary |
>Aruki (→Format) |
||
Line 5: | Line 5: | ||
== Format == | == Format == | ||
This is an extremely simple format; it's just an array of a small struct mapping a surface group ID to a PointOfInterest instance. | |||
{| class="wikitable" | {| class="wikitable" | ||
! Offset | ! Offset | ||
! Type | ! Type | ||
! | ! Count | ||
! Name | |||
|- | |||
| 0x0 | |||
| u32 | |||
| 1 | |||
| '''Mapping Count''' | |||
|- | |||
| 0x4 | |||
| [[#Mapping|Mapping]] | |||
| ''Mapping Count'' | |||
| '''Mapping Array''' | |||
|- | |||
| colspan=4 {{unknown|End of file}} | |||
|} | |||
=== Mapping === | |||
{| class="wikitable" | |||
! Offset | |||
! Type | |||
! Name | |||
! Notes | |||
|- | |- | ||
| 0x00 | | 0x00 | ||
| u32 | | u32 | ||
| ''' | | '''Surface Group ID''' | ||
| Area-relative surface group ID. | |||
|- | |- | ||
| 0x04 | | 0x04 | ||
| u32 | | u32 | ||
| '''PointOfInterest | | '''PointOfInterest Instance ID''' | ||
| | |||
|- | |- | ||
| 0x08 | | 0x08 | ||
| colspan=2 {{unknown|End of | | colspan=2 {{unknown|End of mapping}} | ||
|} | |} | ||