CANM (File Format)/Mario Kart Arcade GP DX: Difference between revisions

From Wexos's Wiki
Jump to navigationJump to search
(Created page with "'''CANM''' ('''C'''amera '''AN'''i'''M'''ation) 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. {|class=wikitable ! Offset !! Type !! Description |- | 0x00 || Char[0xA] || '''File magic'''. Always ''MK3CAM100\0'' in ASCII. |- | 0x0A || Int32 || '''Number of points/frames''' ('''N'''). |- | 0...")
 
(No difference)

Latest revision as of 14:57, 13 July 2025

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.

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)