diff options
| author | whattheflop <9314750+whattheflop@users.noreply.github.com> | 2026-11-23 11:55:27 +1000 |
|---|---|---|
| committer | whattheflop <9314750+whattheflop@users.noreply.github.com> | 2026-11-23 11:55:27 +1000 |
| commit | fd7494e134d7b3d22b513b138ae1ffc9a4ca8c1d (patch) | |
| tree | e98704e03dda50429a0be532b6ff083d4285ad7b /runtime/src/pe_loader.cpp | |
| parent | f84683af2d88b6edf3de96f7d4c476dff927e1d5 (diff) | |
make_game: no model/texture credit until the decoder checkout is ready (BUILD-1228)
A git checkout without third_party/rpf9-explorer/Core computes the same no-pin digest a source zip legitimately
holds, so records written from that digest matched in preflight; ensure_submodule() then fetches Core, the digest
changes, and assets() deletes those folders. submodule_ready() is now the predicate ensure_submodule() itself uses (a
non-empty Core), and assets_bytes_on_disk() credits no model or texture folder, and hashes nothing, while it is
false. A source zip with a non-empty Core is ready and unaffected (it has no git pin either way).
Tests: matching records with Core missing credit nothing and never hash; submodule_ready needs a non-empty Core;
the cache test now uses a cached stand-in that would match the records, so it fails when the credit calls the cached
decoder_digest(). Each test fails with its guard removed.
Tested: python -I tests/test_make_game_*.py (preflight 87 tests) on CPython 3.12.13, Windows. AI-assisted.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions