beco

Revision as of 17:01, 11 September 2018 by imported>Leoetlino (lowercase title)

beco is a file format that is used for storing per-coordinate data.

Structure

beco files are little endian on Switch and big endian on Wii U.

Header

Offset Type Description
0x0 u32 Magic (0x00112233)
0x4 u32 Number of tables
0x8 u32 Divisor
0xc u32 Padding

Table offsets

Offset Type Description
0x0 u32[num_tables] Offsets to table data, divided by 2 and relative to table data start offset

Table

Table data starts here.

Segment

Offset Type Description
0x0 u16 Custom data
0x2 u16 Length (X axis)

This structure is repeated until the start of the next table.

Operations

Getting the custom data for a given coordinate