mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-21 01:29:57 -04:00
Let Rebuild the Game compile the game's code for this processor's level, and updates keep the compiled level.
make_game.py --rebuild keeps the level the objects were compiled for (lifted_level), so an update compiles only what changed; --retune compiles for this processor's level. RebuildJob passes it, ContinueUpdateJob does not. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -36,8 +36,10 @@ def install_args(layout, dump, game_dir):
|
||||
return [*src, '--out', str(game_dir), '--msys', str(layout.msys)]
|
||||
|
||||
|
||||
def rebuild_args(layout, game_dir):
|
||||
return ['--rebuild', '--out', str(game_dir), '--msys', str(layout.msys)]
|
||||
def rebuild_args(layout, game_dir, retune=False):
|
||||
"""retune: Rebuild the Game, which compiles the game's code for this processor's level; an update keeps the level
|
||||
its objects were compiled for, so that it compiles only what changed (tools/make_game.py lifted_level)."""
|
||||
return ['--rebuild', *(['--retune'] if retune else []), '--out', str(game_dir), '--msys', str(layout.msys)]
|
||||
|
||||
|
||||
def check_args(dump):
|
||||
|
||||
Reference in New Issue
Block a user