wasm: full save decode/rebuild with dungeon.dat and graphics.dat #332
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#332
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?
Make the field-driven full save decode available from WASM. Today
saveToJsononly produces the self-contained dump: the record stream (phases 3–7, where all items live) is carried as an opaque bitstream.Scope
dm2-convert+dm2-wasmentry points taking save +dungeon.dat+graphics.datbytes:saveToJsonFull(save, dungeon, gdat)→SaveDump::fullJSONsaveFromJsonFull(json, dungeon, gdat)→ bytes viaSaveDump::reconstructOut of scope: inventory-specific helpers (separate issues).
Acceptance
dungeon.dat(other port) yields an error, not a corrupt save.