graphics.dat: decode sounds, music, text, fonts and palettes in the bindings #430
Labels
No labels
area/ci-release
area/cli
area/docs
area/dungeon
area/ftl
area/graphics
area/gui
area/music
area/saves
area/tooling
port/amiga
port/dos
port/fm-towns
port/mac
port/pc98
port/sega-cd
priority/high
priority/low
priority/medium
type/bug
type/chore
type/docs
type/feature
type/research
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jqueuniet/dm2-tools#430
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
dm2 extractdecodes sounds, music, text, fonts and palettes, but that logic lives in the CLI; the bindings only decode images. Move it todm2-convertand expose, by class tuple:graphicsSoundWav(gdat, cls1, cls2, cls3, cls4): SFX to WAV, console-family raw PCM included;graphicsMusicMidi(gdat, …): DOS HMP to a Standard MIDI File;graphicsTextJson(gdat, …):{language, text, glyph_text}, runes as private-use code points as inglyph_name;graphicsFontPng(gdat, …): font sheet;graphicsPaletteJson(gdat, …):[index, r, g, b]entries, or master indices for a Palette16.Acceptance
dm2 extractfor each kind on DOS and Mac US.Depends on #429.