# Transmission Whine (runtime/whine.c) against the game's own engine sound: whine_drive.txt's race with every one of
# the game's volumes but Master and Engine at 0 (speech, music, sound effects, tires), so the sound dump has the
# engine alone (off) or the engine and the whine (on).  From 30 s to 33 s Engine Volume is 0 too, and at the end the
# pause menu stands the world for 3 s: silence both times, the whine's too.  The "[trace]" lines every 6 frames: the
# speed and gear.
#   NFSU2_SAVE_SEED= node web/tools/run-suite.mjs --script whine_engine.txt --marker whine_done --save-out <dir>
#        --env NFSU2_GEARBOX_WHINE=1 --env SNDDUMP=/save/snd.raw
0       waitfng UG_LS_Splash.fng 12000                  # title
+1000ms tapuntil RETURN MC_Background.fng 120 3000      # title -> profile prompt
+600ms  tapuntil RETURN GarageMain.fng 120 3000         # "No" -> main menu
+1500ms tapuntil RETURN UI_QRModeSelect.fng 240 3000    # Quick Race
+800ms  tapuntil RETURN UI_QRTrackSelect.fng 240 3000   # Circuit
+800ms  tapuntil RETURN UI_QRModeOptions.fng 240 3000   # Resort Loop
+800ms  tapuntil RETURN UI_QRCarSelect.fng 240 3000     # options
+800ms  tapuntil RETURN GenericDialog_SMALL.fng 240 3000 # car -> transmission
+800ms  tapuntil RETURN PC_Loading.fng 240 3000         # transmission -> loading
+0      waitmem 0x8654a4 6 6000
+0      wzero
+0      log race_loaded
+0      poke 0x83aa2c 0                                 # Speech
+0      poke 0x83aa30 0                                 # Menu Music
+0      poke 0x83aa34 0                                 # Game Music
+0      poke 0x83aa38 0                                 # Sound Effects
+0      poke 0x83aa40 0                                 # Tires
+0      trace 6 spd=f:[[0x8900ac]+4]+0x430 gear=i:[[0x8900ac]+4]+0x434 step=f:0x865154
7000wms  autopilot on
7000wms  log accelerate
30000wms log engine_volume_0
30000wms poke 0x83aa3c 0
33000wms poke 0x83aa3c 0x3f800000
33000wms log engine_volume_1
36000wms autopilot off
36000wms log brake
36000wms down DOWN
40000wms up DOWN
41000wms tapuntil ESCAPE UI_Pause.fng 60 600
+0       log paused
+3000ms  log whine_done
+0       untrace
+10      quit
