feat: guided game-save import with help dialog #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/game-save-guide"
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?
Summary
Changes
<dialog>(Esc, the close button or a backdrop click closes it) describing: getting the game files, runninggamemap.py, loading the mapping, and choosing the save, plus where saves live.static/tools/gamemap.py(moved fromscripts/) is now a standalone tool served at/tools/gamemap.py: Python 3.8+ stdlib only; downloads retoc v0.1.5 for the platform and verifies a pinned SHA-256 (linux x64/arm64, windows x64, macOS x64/arm64); extracts only the item, data-asset, quest and string-table assets to a temp folder it deletes; matches them to the site's/items-index.json(or--index FILE); writesgamemap.jsonlabelled with the game build and date. Clean errors for a missing folder or no game files.scripts/build.pyalso writesstatic/items-index.json(ids and names only, gitignored); CI passes the path.Verification
node --check,py_compile,zola build: OKgamemap.pyend to end in a cleanpython:3.13-slimcontainer against the updated server install (build 26670300): downloaded retoc, 1353 items and 37 quests mapped in 11 s, output identical to the earlier manual run; correct build label; clean errors on bad foldersNotes
/items-index.json, which exists once this is deployed.