XECLN (File Format): Difference between revisions
From Wexos's Wiki
Jump to navigationJump to search
(Imported from avsys wiki) |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 27: | Line 27: | ||
! Offset !! Type !! Description | ! Offset !! Type !! Description | ||
|- | |- | ||
| 0x00 || Float[3] || Point position. | | 0x00 || Float[3] || '''Point XYZ position'''. | ||
|- | |- | ||
| 0x0C || Float || {{Unknown-left|'''Unknown'''.}} | | 0x0C || Float || {{Unknown-left|'''Unknown'''.}} | ||
| Line 39: | Line 39: | ||
| 0x1C || Float || {{Unknown-left|'''Unknown'''.}} | | 0x1C || Float || {{Unknown-left|'''Unknown'''.}} | ||
|- | |- | ||
| 0x20 || Float | | | 0x20 || Float || '''Distance between this and the next point'''. | ||
|- | |- | ||
| 0x24 || Int16 | | | 0x24 || Int16 || '''Point flag'''. Usually, 1 indicates the start, and 2 indicates the end of a route. | ||
|- | |- | ||
| 0x26 || Int16 || Route group index. | | 0x26 || Int16 || Route group index. | ||
Latest revision as of 21:05, 3 July 2025
XECLN (XEen Curve LiNe) is a filetype from Mario Kart Arcade GP DX and the successor of Mario Kart Arcade GP and Mario Kart Arcade GP 2 Line and Auto files. They contain path data used for enemy and item routes.
File Format
The file byte order is always little endian.
File Header
The file starts with a header that is 0x10 bytes long.
| Offset | Type | Description |
|---|---|---|
| 0x00 | Char[4] | File magic. Always LINE in ASCII. |
| 0x04 | Int32 | Unknown. Always 1. Maybe version? |
| 0x08 | Int32 | Number of route groups. |
| 0x0C | Int32 | Total number of route points. |
| 0x10 | End of header, start of Point Data | |
Point Data
Each route point has its own 0x28 byte long entry.
| Offset | Type | Description |
|---|---|---|
| 0x00 | Float[3] | Point XYZ position. |
| 0x0C | Float | Unknown. |
| 0x10 | Float | Unknown. |
| 0x14 | Float | Unknown. |
| 0x18 | Float | Unknown. |
| 0x1C | Float | Unknown. |
| 0x20 | Float | Distance between this and the next point. |
| 0x24 | Int16 | Point flag. Usually, 1 indicates the start, and 2 indicates the end of a route. |
| 0x26 | Int16 | Route group index. |
Tools
The following tools can handle XECLN files:
- (none)