CANM (File Format)/Xeen

From Wexos's Wiki
Revision as of 18:57, 4 May 2026 by Atlas (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

CANM (Camera ANiMation) is a file format found in games developed by Xeen, such as Mario Kart Arcade GP DX and Luigi's Mansion Arcade. It defines camera paths used in tracks and stages.

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 in ASCII. MK3CAM100\0 for Mario Kart Arcade GP DX, LMVCAM100\0 for Luigi's Mansion Arcade.
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.

Camera Point
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)