VMD (File Format): Difference between revisions
(Created page with "'''VMD''' is a kind of excel_header filetype used in Mario Kart Arcade GP DX. It tells the game which additional model and animation files to load for a track and splits them into sections, used together with ABC files in order to define culling sections. == Data Structure == The file may contain 3 entries, with a fourth optional one. {|class=wikitable |+ Structure Header (from excel_header) ! Offset !! Type !! Description |- |...") |
(No difference)
|
Latest revision as of 01:26, 6 July 2025
VMD is a kind of excel_header filetype used in Mario Kart Arcade GP DX. It tells the game which additional model and animation files to load for a track and splits them into sections, used together with ABC files in order to define culling sections.
Data Structure
The file may contain 3 entries, with a fourth optional one.
| Offset | Type | Description |
|---|---|---|
| 0x10 | Byte | Number of Track Sections. |
| 0x11 | Byte | Number of Track Model Entries. |
| 0x12 | Byte | Number of Track Animation Entries. |
| 0x13 | Byte | Number of Unknown Entries. |
Track Section
Each track section defines specific areas of the track where only certain models and animations are loaded. The index of each section corresponds to the index of each culling area from the track's ABC file. The section entry is 0x20 bytes long and can store up to 0x20 different model/animation IDs.
| Offset | Type | Description |
|---|---|---|
| 0x00 | Byte[0x20] | Track Area BIKE BIN/BIKE MOT ID. This value is 1-indexed, and always corresponds to an entry from the Track Model Entries, and optionally, to an entry from the Track Animation Entries, if it is defined. 0 if not used. |
Track Model Entry
Each entry defines the path of a BIKE BIN model file. The string is 0x100 bytes long, null-terminated, and the remaining bytes are padded with spaces (0x20). If an entry is not used, it just starts with a null byte.
| Offset | Type | Description |
|---|---|---|
| 0x00 | String | Track Area BIKE BIN path, relative to the /Data/Model/stage directory |
Track Animation Entry
Each entry defines the path of a BIKE MOT animation file, and it always corresponds to the BIKE BIN model file with the same index from the previous section. The string is 0x100 bytes long, null-terminated, and the remaining bytes are padded with spaces (0x20). If an entry is not used, it just starts with a null byte.
| Offset | Type | Description |
|---|---|---|
| 0x00 | String | Track Area BIKE MOT path, relative to the /Data/Model/stage directory |
Unknown Entry
Some tracks contain unknown 4-byte entries at the end of the file. It is unknown if these entries are used by the game.
| Offset | Type | Description |
|---|---|---|
| 0x00 | Byte[4] | Unknown. Always 0. |
Tools
The following tools can handle VMD files:
- (none)