Fix lab cutscene control, landing steering, clipping and objective timeout

This commit is contained in:
UnixNight committed 2026-10-25 01:18:08 -04:00
1 parent 976e677019
commit ca08c468ba
33 files changed
+871 -64

No files matched your search

+22 -4
View File
@@ -51,14 +51,29 @@ def inside(args):
application = ['/opt/wine-stable/bin/wine', args.game]
if args.port_smoke:
port_scene = 'VR04' if args.port_jetpack else 'level1b'
if args.port_regression == 'objectives':
frames, mode = 180, ['--smoke-objective-window']
elif args.port_regression == 'carl':
frames, mode = 60, ['--smoke-carl-cutscene']
elif args.port_jetpack:
frames, mode = 300, ['--smoke-jetpack']
elif args.port_walk:
frames, mode = 240, ['--smoke-walk']
elif args.port_practice:
frames, mode = 12, ['--smoke-practice-window']
elif args.port_story:
frames, mode = 2, ['--story', '--story-time', '12']
else:
frames = 6 if args.port_window else 2
mode = ['--inspect', '--time', '0.05']
application = ['/opt/wine-stable/bin/wine', r'Z:\port\GamePort.exe',
'--assets', r'Z:\port\assets', '--scene', rf'Z:\port\scenes\{port_scene}\scene.json',
'--level', f'gam/{port_scene}.gam', '--original-camera', '--with-player',
'--frames', '300' if args.port_jetpack else '240' if args.port_walk else '12' if args.port_practice else '6' if args.port_window else '2', '--no-validation',
'--frames', str(frames), '--no-validation',
'--screenshot', r'Z:\work\port-frame.ppm']
application += ['--smoke-jetpack'] if args.port_jetpack else ['--smoke-walk'] if args.port_walk else ['--smoke-practice-window'] if args.port_practice else ['--story', '--story-time', '12'] if args.port_story else ['--inspect', '--time', '0.05']
application += mode
application += ['--smoke-window'] if args.port_window and not (args.port_walk or args.port_practice) else []
application += [] if args.port_window or args.port_walk or args.port_practice or args.port_jetpack else ['--headless']
application += [] if args.port_window or args.port_walk or args.port_practice or args.port_jetpack or args.port_regression else ['--headless']
if args.port_cutscene_audio:
application = ['/opt/wine-stable/bin/wine', r'Z:\port\GamePort.exe',
'--assets', r'Z:\port\assets', '--cutscene-audio-smoke',
@@ -106,12 +121,14 @@ def main():
p.add_argument('--port-practice', action='store_true', help='Windows port practice modal/input/resize under Wine64')
p.add_argument('--port-cutscene-audio', action='store_true', help='Windows port cutscene music lifecycle under Wine64')
p.add_argument('--port-jetpack', action='store_true', help='Windows port VR04 powered steering/input/resize under Wine64')
p.add_argument('--port-regression', choices=['objectives', 'carl'], help='Windows lab popup or conversation runtime regression under Wine64')
p.add_argument('--asset-probe', action='store_true', help='Run compiled read-only OMT shape probe inside isolated copy')
p.add_argument('--probe-model', default=r'ASE\jimstop.ase')
p.add_argument('--probe-executable', type=Path, help='Local probe executable to mount read-only for --asset-probe')
p.add_argument('--output', type=Path)
args = p.parse_args()
args.port_smoke = args.port_smoke or args.port_window or args.port_walk or args.port_story or args.port_practice or args.port_cutscene_audio or args.port_jetpack
args.port_smoke = args.port_smoke or args.port_window or args.port_walk or args.port_story or args.port_practice or args.port_cutscene_audio or args.port_jetpack or bool(args.port_regression)
if args.port_regression and (args.port_window or args.port_walk or args.port_story or args.port_practice or args.port_cutscene_audio or args.port_jetpack): p.error('Select one port regression')
if args.port_smoke and args.asset_probe: p.error('Select either port smoke or asset probe')
if args.port_story and (args.port_window or args.port_walk or args.port_practice): p.error('Story comparison uses headless fixed time; select one port check')
if args.port_practice and (args.port_walk or args.port_window): p.error('Select one windowed port check')
@@ -169,6 +186,7 @@ def main():
if args.port_practice: cmd += ['--port-practice']
if args.port_cutscene_audio: cmd += ['--port-cutscene-audio']
if args.port_jetpack: cmd += ['--port-jetpack']
if args.port_regression: cmd += ['--port-regression', args.port_regression]
if args.asset_probe: cmd += ['--asset-probe', '--probe-model', args.probe_model]
print('Running isolated Windows port' if args.port_smoke else 'Running copied original', 'with no network and no original-directory mount:', work, flush=True)
subprocess.run(cmd, check=True, timeout=args.seconds + 40)