Skip to content

Game/graveyard keeper 2 - #5

Merged
Alexsander720 merged 5 commits into
Alexsander720:mainfrom
Guacam-Ole:game/graveyard-keeper-2
Nov 30, 2026
Merged

Alexsander720 merged 5 commits into
Alexsander720:mainfrom
Guacam-Ole:game/graveyard-keeper-2

Conversation

@Guacam-Ole

Copy link
Copy Markdown
Contributor

Save facts / reader proposals

  • [x ] Every displayed field has independently checked meaning and stage/source provenance
  • [ x] Names/totals from native data; no invented translations, percentages or totals
  • [ x] Author/community and current/furthest/historical values distinguished
  • [ x] Unproven fields hidden; evidence and exclusions documented
  • [ x] Originals read-only; no game launches or Steam restarts during research
  • [ x] No personal saves/IDs, extracted localization or game content in a reader proposal

Guacam-Ole and others added 5 commits November 26, 2026 16:08
Contribution per AGENTS.md: games/graveyard_keeper_2/ with reader,
tests, proof record, icons and stages.json. The reader parses only the
small JSON sidecar the game writes next to each slot (Steam_1.info);
the 12 MB binary .dat is never opened.

Proof: four rolling backups of one playthrough (day 110, 111, 113, 114
with increasing saveDateTime). graveyardQuality, churchQuality, villageRep
and townCitizens were constant across all stages and stay unproven.
i18n/en.json carries the "Day" fact label the gate expects.

Checks: python tools/run_game_tests.py graveyard_keeper_2 (5 tests OK);
python tools/gate/check_cards.py graveyard_keeper_2 -> PASSED, proven
['day', 'saved_at']. Stage files are the contributor's own saves without
personal data and stay out of Git per stages/.gitignore.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Three new stages (days 116-117, game 1.012.9) move graveyardQuality 28 -> 23 and
churchQuality 36 -> 29 while the day counter keeps growing; both match the values
the player reads in the game and are declared nonmonotonic (state values, not
counters). villageRep (17 in every file) did not match the HUD reputation (5) and
stays hidden; townCitizens is still constant and unproven. Labels are the game's
own strings ("Graveyard Quality", "Church Quality").

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…putation

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The HUD thumbs-up counter is not in the .info sidecar; it is the typed float
variable "happiness" in the uncompressed .dat (UTF-16 field names, entropy
3.7 bits/byte). A byte scan for that one variable gives 0 -> 3 -> 3 -> 0 -> 5
-> 5 -> 5 -> 10 across eight stages, matching what the player read in the HUD
(0/20, 5/20, 10/20). It is a spendable resource, so it is declared
nonmonotonic. The /20 cap is not stored in the save and is not displayed.
Stages are now folders holding .info + .dat.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…anel titles

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@Alexsander720

Copy link
Copy Markdown
Owner

Really cool to get the first external game reader PR, and thanks for following the proof rules so closely. Leaving villageRep and townCitizens hidden and not faking the /20 happiness cap without proof in the save is exactly what I was hoping contributors would do.

Funny enough, your PR caught a bug in our own CI setup. tools/new_game.py puts stages/ in .gitignore so personal saves stay out of Git, but tools/local_ci.py runs run_game_tests.py and check_cards.py on every folder in games/ in a fresh checkout where those stage files don't exist. Merging right now would turn CI red on main.

Plan to fix that for this PR and future games:

  1. I'll update tools/local_ci.py and tools/gate/check_cards.py on main so CI runs static and schema checks when gitignored stage files aren't checked in, while keeping the full stage gate for local runs.
  2. In games/graveyard_keeper_2/test_reader.py, we can add small synthetic tests (temp .info JSON + minimal .dat buffer with the happiness pattern) so CI still tests the parser end to end, and guard the local stages/ golden tests with skipUnless.
  3. Two tiny nits in reader.py: in find(), newest(p for d in _candidate_dirs() for p in d.glob(INFO_GLOB)) picks the newest save across all Steam libraries (like internal + microSD) instead of stopping at the first folder; and the docstring on line 124 still says 7 stages instead of 8.

I'm planning to include Graveyard Keeper 2 in the v0.1.6 runtime build as well (with credit in the release notes and README). I also just turned on GitHub Discussions on the repo so people have a place to drop saves and talk about save formats, feel free to jump in there whenever: https://github.com/Alexsander720/continue/discussions

@Alexsander720
Alexsander720 merged commit fa6e7b2 into Alexsander720:main Nov 30, 2026
@Alexsander720

Copy link
Copy Markdown
Owner

Merged and shipped in v0.1.6 (with Graveyard Keeper 2 wired into the runtime and docs, plus your Hall of Contributors credit in the README). Really appreciate all five PRs — feel free to drop by Discussions anytime.

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.

2 participants