# Pad-only: create a profile (default name), Options -> Controls -> Joypad
# Configuration, rebind "Shift Up" to Y, leave Options so the profile saves.
# Run pad_bind_load.txt afterwards on the same save directory.
0     pad connect
+0    tappaduntil START MC_Background.fng 120 4000
+120  tappad DLEFT                                   # "Yes": create a profile
+30   tappad A
+300  dump name_entry
+0    tappad A                                       # A = Enter; like the keyboard's Enter,
+300  tappad A                                       # the first one is ignored by this field
+240  dump name_confirm
+0    tappad DLEFT                                   # "save profile named NAME?" -> Yes
+60   tappad A
+400  tappad A                                       # "Save complete." -> Continue
+0    waitfng GarageMain.fng 3000
+300  dump mainmenu
+400  tappad DRIGHT
+60   tappad DRIGHT
+60   tappad DRIGHT
+60   tappad DRIGHT
+60   tappad DRIGHT
+60   tappad DRIGHT        # (Split Screen, after Quick Race)
+120  tappad A                                       # Options
+0    waitfng UI_OptionsMain.fng 600
+300  tappad DRIGHT
+120  tappad DRIGHT
+120  tappad DRIGHT
+120  tappad DRIGHT
+120  tappad A                                       # Controls
+300  tappad DUP                                     # header
+120  tappad DRIGHT                                  # Joypad Configuration
+150  tappad DDOWN                                   # Steering (Left)
+60   tappad DDOWN                                   # Steering (Right)
+60   tappad DDOWN                                   # Throttle
+60   tappad DDOWN                                   # Back / Reverse
+60   tappad DDOWN                                   # Shift Up
+90   dump shiftup_row
+0    tappad A                                       # "press a button"
+120  dump capture
+0    tappad Y
+200  dump bound
+0    peek 0x874fc8 12                               # channel 1 in-game table
+0    tappad B                                       # leave Controls
+300  dump left_controls
+0    tappad B                                       # leave Options -> "save the profile?"
+300  dump left_options
+0    tappad DLEFT                                   # Yes
+60   tappad A
+300  tappad DLEFT                                   # "overwrite previously saved game?" -> Yes
+60   tappad A
+400  dump saved
+0    tappad A                                       # "Save complete." -> Continue
+300  dump after
+60   quit
