# A new profile's name box in Chinese starts empty (runtime/overrides.c sub_004ff3b0): Enter at once, with nothing
# typed, must not make a profile with no name (a folder "NFS Underground 2/" + "" and a file of no name).  The
# field (0x83a7b0): +0x100 the text, +0x200 its length; the profile's name 0x83a9e0, +0x20 a profile is loaded.
#   node web/tools/input-suite.mjs <outdir> kb_profile_zh_empty
0     nstapuntil RETURN MC_Background.fng 120 4000  # title -> "create a new profile?"
+120  nstap LEFT                                    # "Yes"
+30   nstap RETURN
+240  dump empty_box
+0    expect i:0x83a9b0 == 0
+0    nstap RETURN                                  # Enter with an empty box
+240  dump after_enter
+0    peek 0x83a9b0 4
+0    peek 0x83a9e0 8
+0    peek 0x83aa00 1
+0    nstap LEFT                                    # if it asks "save profile named ...?": Yes
+30   nstap RETURN
+240  dump after_yes
+0    peek 0x83a9b0 4
+0    peek 0x83a9e0 8
+0    peek 0x83aa00 1
+0    nstap RETURN
+240  dump after_more
+0    peek 0x83a9e0 8
+0    peek 0x83aa00 1
+0    expect b:0x83aa00 == 0                        # no profile loaded: none was made with no name
+60   quit
