graphics.dat: platform family in header #461

Closed
opened 2026-10-31 13:44:52 +01:00 by jqueuniet · 0 comments
Owner

image() takes style and light (0–5) on console-family archives (Amiga, Sega CD, FM-Towns) and ignores them on PC-family ones, but nothing tells a caller which family an archive is: header() gives format_version, byte_order and entry_count, and Mac US is BE like Amiga and Sega CD. A browser offering a lighting bank picker shows it everywhere or guesses from record counts.

Proposal

header() adds the archive's family (pc or console), or whether image() honours style and light.

Acceptance

  • DOS, Mac US and PC-98 archives report pc; Amiga EU, Sega CD and FM-Towns report console.
  • The README's header() and image() rows state it.
image() takes style and light (0–5) on console-family archives (Amiga, Sega CD, FM-Towns) and ignores them on PC-family ones, but nothing tells a caller which family an archive is: header() gives format_version, byte_order and entry_count, and Mac US is BE like Amiga and Sega CD. A browser offering a lighting bank picker shows it everywhere or guesses from record counts. ## Proposal header() adds the archive's family (pc or console), or whether image() honours style and light. ## Acceptance - DOS, Mac US and PC-98 archives report pc; Amiga EU, Sega CD and FM-Towns report console. - The README's header() and image() rows state it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jqueuniet/dm2-tools#461
No description provided.