Beco: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
No edit summary
imported>Leoetlino
No edit summary
Line 27: Line 27:


=== Table ===
=== Table ===
{{empty section}}
Table data starts here.
 
==== Segment ====
{| class="wikitable"
|-
! Offset !! Type !! Description
|-
| 0x0 || u16 || Custom data
|-
| 0x2 || u16 || Length (X axis)
|}
 
This structure is repeated until the start of the next table.


[[Category:File formats]]
[[Category:File formats]]
[[Category:File extensions]]
[[Category:File extensions]]

Revision as of 10:55, 11 September 2018

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.