BBOX (File Format)

From Wexos's Wiki
Jump to navigationJump to search

BBOX (Binary BOX) is a file format used in Mario Kart World. It consists of a collection of BCUL entry links along with transform data for each.

File Format

The file byte order is always little endian.

Header

The file starts with the following header:

Offset Type Description
0x00 Int32 Unknown. Always 1. Maybe version?
0x04 Int32 Number of Cull Boxes (B).

Cull Box

Followed by the header, there's a list of B culling box entries, ordered by their unique IDs, 0x2C bytes long each.

Offset Type Description
0x00 UInt64 Unique ID. This number in decimal is the name of the BCUL file without extension.
0x08 Float[3] XYZ position.
0x14 Float[3] XYZ rotation.
0x20 Float[3] XYZ scale.

Tools

The following tools can handle BBOX files:

  • (none)