CANM (File Format)/Xeen: Difference between revisions

From Wexos's Wiki
Jump to navigationJump to search
m (Atlas moved page CANM (File Format)/Mario Kart Arcade GP DX to CANM (File Format)/Xeen without leaving a redirect)
No edit summary
 
Line 1: Line 1:
'''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.
'''CANM''' ('''C'''amera '''AN'''i'''M'''ation) 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 =
= File Format =
Line 10: Line 10:
! Offset !! Type !! Description
! Offset !! Type !! Description
|-
|-
| 0x00 || Char[0xA] || '''File magic'''. Always ''MK3CAM100\0'' in ASCII.
| 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''').
| 0x0A || Int32 || '''Number of points/frames''' ('''N''').
Line 37: Line 37:
* (none)
* (none)


[[Category:Luigi's Mansion Arcade File Formats]]
[[Category:Mario Kart Arcade GP DX File Formats]]
[[Category:Mario Kart Arcade GP DX File Formats]]

Latest revision as of 18:57, 4 May 2026

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)