Skip to main content

CPOS ("SOPC") - (Character Position?)

Author(s): Gonhex
Research: NOCASH

This section does only exist, if the character image has a specified size. The purpose is not clear.

Table of Contents


Data Structure

Section Container

struct ContainerSectionCPOS
{
/* 0x0 */ struct NitroSectionHeader sectionHeader;
/* 0x8 */ struct ContainerCPOS sectionData;
}; // entry size = sectionHeader.lengthSection
Field NameDescriptionData Type
sectionHeaderHeader of this section. sectionHeader.signature = "SOPC".NitroSectionHeader
sectionDataContent of this section.ContainerCPOS

CPOS Container

struct ContainerCPOS
{
// header
/* 0x0 */ uint32_t padding0;
/* 0x4 */ uint16_t widthInTiles;
/* 0x6 */ uint16_t heightInTiles;

// data
// ...empty
}; // entry size = 0x8
Field NameDescriptionData Type
padding0Always 0.uint32_t
widthInTilesSame as ContainerCHAR::widthInTiles or next higher base-2 value. Size boundaries?uint16_t
heightInTilesSame as ContainerCHAR::heightInTiles or next higher base-2 value. Size boundaries?uint16_t

Specification

Files