upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorwhattheflop <9314750+whattheflop@users.noreply.github.com>2026-11-23 11:51:09 +1000
committerwhattheflop <9314750+whattheflop@users.noreply.github.com>2026-11-23 11:51:09 +1000
commit38ff0f7d6c41eece3d0fca56db7ead432fffc3b5 (patch)
treec29d4c9f6152dbb9709a30ef173261b4f0792e8e /runtime/src/pe_loader.cpp
parent0d17b7011dbda4ca87b0bd7eb1a9f9a6eefceee8 (diff)
make_game: preflight credits what a resume keeps, not what it rewrites (BUILD-1228)
Review of #4320: dropping the whole-tree walk removed the credit for a stopped model/texture step that rpf9dump resumes. assets() keeps a folder only when its decoder.sha256 matches the current decoder (else it deletes the folder and exports again), and rpf9dump skips every output that already exists; Util.WriteAtomic leaves only complete files under their final names and deletes a leftover *.partial. assets_bytes_on_disk now credits a model or texture folder, finished or not, exactly when its fingerprint matches, once, without *.partial files. A folder with another or no fingerprint is credited nothing, which also stops crediting a finished step that assets() would delete. Pools, audio and the other steps are unchanged: only finished output counts, the conservative choice. Mixed resume (96 GiB finished models + 54 GiB unfinished textures): 180 GiB is accepted, 179 refused (234 before). Tests: the mixed 179/180 case, a mismatching fingerprint on the unfinished and on the finished step, and --wav; sizes come from a faked os.scandir, nothing large is written. Tested: python -I tests/test_make_game_*.py 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