graphics.dat: text() fails on IBM PS/V and PC-9821 record 0.0.5.0 #475

Closed
opened 2026-11-01 15:27:05 +01:00 by jqueuniet · 0 comments
Owner

text() on record 1 (0.0.5.0, untranslated_pc, tech-data, 79 bytes) of ibm-psv-jp/DM2/GRAPHICS.DAT and pc9821-jp/disc/DATA/GRAPHICS.DAT throws graphics image decode failed: dtText has no NUL terminator (final decoded byte is 0xb1). Same on v0.7.0 and main (6087f5c2). Every other text record of the 10 fixture archives decodes.

A browser listing an archive's texts loses the whole list, or must special-case the failure.

`text()` on record 1 (`0.0.5.0`, `untranslated_pc`, `tech-data`, 79 bytes) of `ibm-psv-jp/DM2/GRAPHICS.DAT` and `pc9821-jp/disc/DATA/GRAPHICS.DAT` throws `graphics image decode failed: dtText has no NUL terminator (final decoded byte is 0xb1)`. Same on v0.7.0 and main (6087f5c2). Every other text record of the 10 fixture archives decodes. A browser listing an archive's texts loses the whole list, or must special-case the failure.
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#475
No description provided.