Repository navigation
0.7.2
This update makes loading planetary ephemeris kernel (.bsp) files more robust. Damaged or malformed files are now refused with a clear error instead of risking a hang or invalid reads. Gameplay is unchanged, and intact kernel files work as before.
Changes
Kernel file loading
- Summary records that loop back on themselves are now refused, which prevents an endless load.
- Summary records that point outside the file, or claim more summaries than a record can hold, are now refused.
- Type 2 segments with a missing, too-short or invalid directory are now refused, including unusable interval, record size or record count values.
- Extremely small segment intervals no longer cause an invalid record lookup when positions are calculated.
Version
0.7.1 → 0.7.2 — PATCH. Mechanical floor from the save format, the released save fixtures, the command-line flags, the save code and new files: PATCH.
Judgment: Session: Almanac. The only source change hardens the SPK kernel loader against damaged files, with bounds and loop checks plus a safer record index calculation, and the rest of the diff is tests for it. Well-formed kernels should load and evaluate as before, while damaged ones are refused with an error or, for very small intervals, indexed safely. Nothing touches saves, flags, settings, controls or content, so the patch floor stands. No merged pull requests were recorded, so the notes cite no PR numbers.
- no save, flag or new-file difference observed
Verification
Verified before publication; this tag points at the exact commit that was verified, and the downloads below were built from it.
- Saves: every save fixture
0.7.1shipped with is unchanged, every save format has one, and the game's save tests load each of them. - CI checks on this exact commit, all green: Data, ephemeris tests, render smoke test, Web build and smoke test (headless Chromium).
- Packaging dry run: every download was built from this commit and checked before the tag was made.
drafted by Claude on behalf of Daniel Stephenson
What's Changed
- Refuse damaged SPK kernels the constructor let through by @dmccoystephenson in #45
- chore: release 0.7.2 by @dmccoystephenson in #50
Full Changelog: 0.7.1...0.7.2