NW > Bezel Archive (BEA)

This is an archive format used by the Bezel engine. The file format is based on the Nintendo Switch binary file format.

The compressed subfiles are stored behind the relocation table. The filesize in the file header also does not include the compressed subfiles.

File Header

OffsetSizeDescription
0x032Binary file header (SCNE)
0x202Number of subfiles
0x222Unknown
0x244Unknown
0x288Address of file info pointers
0x308Address of dictionary section
0x388Unknown
0x408Address of archive name
0x48File info pointers
40 unknown bytes per subfile (all 0?)
Dictionary section

File Info Pointer

OffsetSizeDescription
0x08Address of file info block

File Info Block

OffsetSizeDescription
0x016Block header (ASST)
0x101Compression algorithm
0x111Padding
0x122Alignment bits
0x144Compressed size
0x184Decompressed size
0x1C4Padding
0x208Address of compressed file
0x288Address of filename
IDAlgorithm
0None
1Zlib
2Zstandard

Dictionary Section

OffsetSizeDescription
0x04Signature (_DIC)
0x4Unknown