Settings screen resources and live text

How the original name, ID and birthday cards are assembled.

The settings screen combines background artwork, fixed OBJ button cells and separate text objects. Painting the complete screen into a background loses the original value-field positioning and text behaviour. Resource inspection covers American, European and Japanese V2; the connected live-text executions use American V2. [1]

Background and button cells

OptionBG is a 512 × 192 image stored as two compact 32-column panels. It is not a tile map with interleaved sixty-four-column rows. Its three card borders start at X22 and have width 204 and height 45, at Y8, Y64 and Y120. Labels and values are separate from those borders. [1]

CellUS / EU rectangle (X, Y, width, height)Japanese V2
Button1Idle / cell 179, 32, 155, 2894, 32, 140, 28
Button2Idle / cell 279, 88, 155, 2894, 88, 140, 28
Button3Idle / cell 379, 144, 155, 2894, 144, 140, 28

Each value cell contains twelve OAM entries: ten visible 32 × 16 objects in five columns and two rows, plus two off-screen 8 × 8 entries. The rows overlap by four pixels to make height twenty-eight, and the horizontal caps overlap. This is fixed NCER geometry, not a dynamically stretched nine-slice. Constructor 0202DA10 uses fixed-point defaults 0x80000 and 0x60000 for screen centre (128, 96), then applies signed OAM offsets without scaling. [1]

Resource records

ResourceContents
.lytzbl12 rows: five cell groups, six text panes and one touch pane
.znllSix text styles and fallback strings
.znblBirthday Button3Box geometry
.znclFive packed eight-byte cell records; a runtime anchor interpretation is not established
.anmzblSeven named animation rows
.nce.zcerFive cells and seven labels
.nce.ZANRSeven animation sequences
.nce.zcgrFour-bit OBJ graphics

American and European layouts use Common/LayoutData/Option1/Option1; Japanese V2 uses the regional Japanese layout. OBJ colours use CommonPaletteOBJ.ZCLR; the background uses OptionBG graphics/map and the common BG palette. Each of the seven sequences contains one frame of duration four, play mode one and element type 0x10000 selecting a cell. Dummy, Option1Idle and PageIdle select cell zero; the three value buttons select cells one through three; Test selects cell four. Test's presence is not proof that it appears in ordinary settings use. [1]

Text placement

PanePositionBounds / style
Name label26, 21192 × 14; Japanese 184 × 18
ID label26, 77Same label bounds
Birthday label26, 133Same label bounds
Name value157, 46; Japanese X164127 × 12
ID value157, 102; Japanese X164127 × 12
Birthday value157, 158; Japanese X164127 × 18

Character spacing is one and extra line spacing zero. Labels use flags 0x20A, ink one and palette bank three. Values use flags 0x412: name and ID use ink seven, birthday ink nine. US/EU labels use font six (Seurat DB14), Japanese labels font five (B18); name and ID use small font two and birthday B18. Only the birthday field has a Button3Box touch record in this layout. The name and ID value cells do not imply equivalent touch controls. [1]

Population routine 02068A64 formats the birthday into a thirty-two-character buffer at owner offset 270, and reads the name and ID strings at decimal offsets 120 and 184. Lookup wrapper 020360FC passes the borrowed UTF-16 pointer to the two-argument setter 0202EAFC. Positioning 0202EC7C centres using the smaller of measured width and the declared 127-pixel bound. [1]

Controlled American examples place “Amy” (width nineteen) at (147, 40), a sixteen-digit identifier (width ninety-two) at (111, 96), and “05/17/2002” (width 103) at (105, 149). The birthday's raster Y includes a minus-three adjustment from bounds and line-feed metrics. A system font's baseline gives a different result. Long names are capped to the bound; an empty value clears its old pixels. [1]

OBJ text-cache order

Name and ID round to a 128 × 16 cache, split into legal 32 × 16 rectangles; birthday rounds to 128 × 32, split into 64 × 32 rectangles. US/EU labels round to 192 × 16 using 32 × 16 rectangles. Mapper 020AEBFC stores each rectangle's tiles together: the second tile row of the first rectangle precedes the first row of the next rectangle. A wide, row-major tile grid produces the wrong text. CPU canvas checks and resource extraction establish these layouts without proving a complete GPU-rendered settings screen. [1]

From changed controls to the profile file

American V2 deactivation 02068300 compares current and cached option bytes. An unchanged cache skips writing. A changed ordinary or advanced-tools option enters 020273E8; an advanced-tools change also requests the original tool reset. With nonzero saved identity words, preparation preserves them, writes version two, clears reserved bytes from decimal offset thirty and recomputes the index-XOR checksum after clearing its halfword. [2]

Public wrapper 02018494 sets byte one of IO object 021A1A18, then file routine 020184DC creates, initialises, opens, seeks, writes 256 bytes and closes. The create request is (path, 3, 0), open uses mode two, and seek uses zero. Seek/write failures still close an opened file; open failure does not close an unopened file. Parent-path capacity refusal reports through the native error handler. IO busy clears on the checked returns, while the already prepared RAM packet remains modified after failure. [2]

Seven isolated transaction cases cover success and create, open, seek, write, close and parent-path failures. Seven further deactivation/readmission cases join actual profile reload to a retained-file service: a successful write returns its new bytes; a failed write returns the prior valid bytes. That no-change-on-failure rule belongs to the supplied service and does not prove physical write atomicity. Reload clears the checksum field while verifying the returned packet. The scene's cached options are not an independently established retry/rollback mechanism. Full Settings input, Back behaviour, border rendering and durable storage remain separate. [2]

Sources

  1. [1] Flipnote Decompilation Project — Original settings layout, resources and text updates
  2. [2] Flipnote Decompilation Project — Settings write-back and subsequent profile readmission

← All documentation