mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-19 20:25:57 +00:00
tools/make_romfs_patches.py writes into <out>.part-<pid> and renames it to <out> once every file and the manifest are there. With --background (for runs the game starts) it runs at below-normal priority, does nothing when <out> already has a manifest, and drops its own result when another run finished <out> first, so two runs for one folder do not mix their files and a folder a running game loaded is never written into. Without the flag <out> is replaced whole, as the setup and source builds expect. A .part folder left by a stopped run goes once it is an hour old: the next run for that folder or the setup's clean-up removes it. build_game.py copy_romfs_patches skips .part folders. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>