Skip to content

fix: regenerate testdata/simple in current mod format (fixes #94) - #128

Merged
argonui merged 1 commit into
mainfrom
fix/regen-testdata-simple
Aug 4, 2026
Merged

fix: regenerate testdata/simple in current mod format (fixes #94)#128
argonui merged 1 commit into
mainfrom
fix/regen-testdata-simple

Conversation

@argonui

@argonui argonui commented Aug 4, 2026

Copy link
Copy Markdown
Owner

The default --moddir (testdata/simple) still used the pre-refactor layout (json/, textfiles/, <Key>Path config keys), so running the tool with no --moddir failed. Regenerated it by reversing a known-good savegame into the current layout (config.json with <Key>_path, objects/).

Verified it round-trips: reverse → generate reproduces the source savegame (cmd/moddiff reports no differences). Also gitignores the runtime .ttsmm-managed marker.

Fixes #94.

The default --moddir (testdata/simple) still used the pre-refactor layout
(json/ + textfiles/ + <Key>Path config keys) and no longer loaded, so running
the tool with no --moddir failed. Regenerate it by reversing a known-good
savegame so it uses the current layout (config.json with <Key>_path, objects/).
Verified it round-trips: reverse -> generate reproduces the source savegame
(cmd/moddiff reports no differences). Also gitignore the runtime .ttsmm-managed
ownership marker so it is not accidentally committed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@argonui
argonui merged commit 400f133 into main Aug 4, 2026
1 check passed
@argonui
argonui deleted the fix/regen-testdata-simple branch August 4, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

testdata/simple uses stale key names, so the default --moddir fails

1 participant