Trying to get Rhythm Heaven ds to work on an emulator, which I have, but its really difficult to play because you have to flick, and getting the timing is really hard, especially with a mouse. Most of the rhythm games require high speed flicking. I found a code that lets the player easily swipe by pressing a key. desmume lets you do Lua coding, which ive never used. I used notepad to paste all the code, and then turn the .txt into a .lua but for whatever reason BOM (Byte Order Mark) is in affect, which makes an invisible letter, but its still detected somehow.
https://i.stack.imgur.com/kWXvQ.png
I have no idea how to fix this. All I wanted to do was play Rhythm Heaven, and I never expected to have to do all this stuff. Thanks to anyone who figures this out