CANM (File Format)/Mario Kart Arcade GP DX
From Wexos's Wiki
CANM (Camera ANiMation) is a file format found in Mario Kart Arcade GP DX. It defines camera paths used in tracks.
File Format
The file byte order is always little endian.
File Header
The file starts with a header that is 0xE bytes long.
| Offset | Type | Description |
|---|---|---|
| 0x00 | Char[0xA] | File magic. Always MK3CAM100\0 in ASCII. |
| 0x0A | Int32 | Number of points/frames (N). |
| 0x0E | End of header, start of Camera Path | |
Camera Path
After the header, there is a path with N 0x20-byte camera points, one per frame.
| Offset | Type | Description |
|---|---|---|
| 0x00 | Float[3] | Camera XYZ position. |
| 0x0C | Float | Unknown. Always 0? |
| 0x10 | Float | Vertical FOV in degrees. |
| 0x14 | Float[3] | Target XYZ position. |
Tools
The following tools can handle CANM files:
- (none)