Zorb.Patcher.Data (Zorb v0.10.0)

Copy Markdown View Source

Extracts patchable data from Z-machine story files. This data is used to patch pre-compiled WASM templates.

Summary

Functions

Extract all data needed to patch a WASM template for the given story.

Functions

extract(story_data)

Extract all data needed to patch a WASM template for the given story.

Returns a keyword list with:

  • :globals - Map of global indices to values (for Watusi.Patcher)
  • :data - List of {offset, binary} tuples for memory segments