feat: SaveGame level layout and chips from live state #484
No reviewers
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!484
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/482-save-live-dungeon"
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?
Closes #482.
SaveGame.levelLayout(level)/levelChips(level, options): same JSON asDungeonFile's, drawn from the save's live state.The save's raw sections are a dungeon.dat image, rebuilt the way the engine loads a save:
Beta saves' raw tables hold the shipped dungeon.dat's static records and keep items the stream dropped, hence the rebuild rather than pairing raw slots with stream records.
Bindings: wasm, C FFI (header regenerated), Python.
Known gaps, none visible in layout or chips: