# Scenario: vehicle. Campaign mission 9 "Tsugawa" (M211): map Map05 (Mountains,
# preset 3) against Walking Arms (AlienTankBMO/BMM/BOO) and small UFOs, with a
# player tank ("Tank", Gigantus) and a helicopter placed by native203. Seed:
# make-edf-save.py --mission 9. Earliest campaign mission with a vehicle; the
# next are 12 "Reinforcement" (tank, Map01) and 16 "Multiplication" (power
# loader).
# Route geometry, from Mission/M211/Mission.xPath (the analysis workspace's
# pathinfo tool):
#   player spawn  (-83.62, 32.00, 65.53), facing the next node (57.68, 0, 516.80):
#                 forward (0.2988, 0.9543), right = up x forward (0.9543, -0.2988)
#   tank          (-68.96, 32.10, 66.02): 13.84 right and 4.85 forward, 14.67 away
#   walking speed 0.11 per tick at full stick (sub_820DC890, notes/combat/0667)
#                 = 6.6 per second, reached with a 0.1 per tick ease
# So a stick of LX 30923, LY 10831 (the tank's bearing at full deflection) for
# 2.6 s walks the 14.7 units and presses into the hull; collision stops the
# player there. Y (0x8000) enters (keybind_logic.h: enter vehicle = pad Y).
# Assumptions a first run must confirm from captures: the camera starts behind
# the player along the spawn heading, +X is screen right, and the player has not
# been knocked away from the spawn by 240 s. If the tank is not entered, the
# drive inputs below just walk the soldier around the hilltop firing.
clock game
# Menu route with a seeded save (tools/make-edf-save.py via -SaveSeed; the
# runner tools/run-renderer-scenario.ps1 makes it). Times are game-clock ms from
# the first controller poll, like tools/native-benchmark-input.txt; the menus run
# at full speed, so they match wall time there.
#   20 s, 25 s  Start: logos / press-start screen (as the fresh routes).
#   30 s        A: title menu. With one occupied save slot its cursor opens on
#               Continue (sub_820C56A8 counts slots; notes/menu/0458).
#   35..60 s    A every 5 s: load screen (cursor on slot 1, no confirmation),
#               then headquarters "Start Mission", mission select (cursor opens
#               on the save's current mission), difficulty (Normal). That is four
#               presses; the other two cover one unexpected dialog (storage) and
#               otherwise land on the loading screen or the pre-mission scene,
#               where A does nothing harmful. The Technical controls never read A
#               on foot, so a late press cannot act in gameplay either.
# Check: renderer-runtime-gate.py --expect-mission <id> fails the run when the
# mission that loaded is not the seeded one (for example, if the title menu had
# opened on New Game the run would be the fresh Mission 1 route instead).
20000 1000 0010
25000 1000 0010
30000 1000 1000
35000 1000 1000
40000 1000 1000
45000 1000 1000
50000 1000 1000
55000 1000 1000
60000 1000 1000
# Nothing until 240 s: the tank must be approached from the untouched spawn
# position, so the walk waits for the latest expected start of control. Measured
# on Mission 1 (binding-validation-20260923-012450-19f6e574, renderer-runtime-gate
# markers_script_ms): pre-mission scene from 70 s, mission load at 114 s,
# gameplay at 122 s with a warm cache. The seeded menus end about 10 s sooner; a
# cold first load of a new map can take a minute longer.
240000 2600 0000 0 0 30923 10831 0 0
243500 300 8000
# In the tank: left stick drives (LY) and turns (LX), right stick aims the
# turret, RT fires the cannon. One-minute cycles to 660 s: drive and fire, turn,
# aim around, reverse.
246800 8000 0000 0 255 0 32767 0 0
254800 4000 0000 0 255 32767 32767 0 0
258800 6000 0000 0 255 0 0 16000 0
264800 8000 0000 0 255 0 -32767 -16000 0
272800 4000 0000 0 255 -32767 32767 0 0
276800 10000 0000 0 255 0 32767 8000 0
286800 20000 0000 0 255 0 0 0 -1500
306800 8000 0000 0 255 0 32767 0 0
314800 4000 0000 0 255 32767 32767 0 0
318800 6000 0000 0 255 0 0 16000 0
324800 8000 0000 0 255 0 -32767 -16000 0
332800 4000 0000 0 255 -32767 32767 0 0
336800 10000 0000 0 255 0 32767 8000 0
346800 20000 0000 0 255 0 0 0 1500
366800 8000 0000 0 255 0 32767 0 0
374800 4000 0000 0 255 32767 32767 0 0
378800 6000 0000 0 255 0 0 16000 0
384800 8000 0000 0 255 0 -32767 -16000 0
392800 4000 0000 0 255 -32767 32767 0 0
396800 10000 0000 0 255 0 32767 8000 0
406800 20000 0000 0 255 0 0 0 -1500
426800 8000 0000 0 255 0 32767 0 0
434800 4000 0000 0 255 32767 32767 0 0
438800 6000 0000 0 255 0 0 16000 0
444800 8000 0000 0 255 0 -32767 -16000 0
452800 4000 0000 0 255 -32767 32767 0 0
456800 10000 0000 0 255 0 32767 8000 0
466800 20000 0000 0 255 0 0 0 1500
486800 8000 0000 0 255 0 32767 0 0
494800 4000 0000 0 255 32767 32767 0 0
498800 6000 0000 0 255 0 0 16000 0
504800 8000 0000 0 255 0 -32767 -16000 0
512800 4000 0000 0 255 -32767 32767 0 0
516800 10000 0000 0 255 0 32767 8000 0
526800 20000 0000 0 255 0 0 0 -1500
546800 8000 0000 0 255 0 32767 0 0
554800 4000 0000 0 255 32767 32767 0 0
558800 6000 0000 0 255 0 0 16000 0
564800 8000 0000 0 255 0 -32767 -16000 0
572800 4000 0000 0 255 -32767 32767 0 0
576800 10000 0000 0 255 0 32767 8000 0
586800 20000 0000 0 255 0 0 0 1500
606800 8000 0000 0 255 0 32767 0 0
614800 4000 0000 0 255 32767 32767 0 0
618800 6000 0000 0 255 0 0 16000 0
624800 8000 0000 0 255 0 -32767 -16000 0
632800 4000 0000 0 255 -32767 32767 0 0
636800 10000 0000 0 255 0 32767 8000 0
646800 20000 0000 0 255 0 0 0 -1500
# Leave the vehicle (Y), then on-foot combat cycles to 900 s.
666800 300 8000
669800 10000 0000 0 255 24000 0 0 0
679800 10000 0000 0 255 -24000 0 0 0
689800 1046 0000 0 0 0 0 32767 0
690846 5000 0000 0 255 0 32767 0 0
695846 250 0200
695846 10000 0000 0 255 0 0 0 0
705846 250 0200
705846 10000 0000 0 255 0 -20000 0 0
715846 523 0000 0 0 0 0 -32767 0
716369 13430 0000 0 255 12000 0 0 0
729800 10000 0000 0 255 24000 0 0 0
739800 10000 0000 0 255 -24000 0 0 0
749800 1046 0000 0 0 0 0 32767 0
750846 5000 0000 0 255 0 32767 0 0
755846 250 0200
755846 10000 0000 0 255 0 0 0 0
765846 250 0200
765846 10000 0000 0 255 0 -20000 0 0
775846 523 0000 0 0 0 0 -32767 0
776369 13430 0000 0 255 12000 0 0 0
789800 10000 0000 0 255 24000 0 0 0
799800 10000 0000 0 255 -24000 0 0 0
809800 1046 0000 0 0 0 0 32767 0
810846 5000 0000 0 255 0 32767 0 0
815846 250 0200
815846 10000 0000 0 255 0 0 0 0
825846 250 0200
825846 10000 0000 0 255 0 -20000 0 0
835846 523 0000 0 0 0 0 -32767 0
836369 13430 0000 0 255 12000 0 0 0
849800 10000 0000 0 255 24000 0 0 0
859800 10000 0000 0 255 -24000 0 0 0
869800 1046 0000 0 0 0 0 32767 0
870846 5000 0000 0 255 0 32767 0 0
875846 250 0200
875846 10000 0000 0 255 0 0 0 0
885846 250 0200
885846 10000 0000 0 255 0 -20000 0 0
895846 523 0000 0 0 0 0 -32767 0
896369 13430 0000 0 255 12000 0 0 0
# No input after 900 s.
