On Fightcade, Lua hotkeys are specialized inputs used to trigger custom script functions within the FinalBurn Neo (FBNeo) emulator. They are most commonly used to open training mode menus, reset positions, or toggle hitbox displays in retro fighting games. Setting Up Lua Hotkeys
local turbo_state = active = false, button = nil, frame_counter = 0
To make these scripts usable mid-match, users needed a way to trigger them without reaching for a mouse. This led to the widespread use of Lua Hotkeys. fightcade lua hotkey
Part 7: Troubleshooting Common Issues
| Problem | Likely Fix |
| :--- | :--- |
| Script won’t load | Check the file extension (.lua, not .txt). Use Fightcade’s System > Lua Scripting > Run Script. |
| Hotkey does nothing | Verify the key code. Use print(input.get_key_state(0x13)) to see if Fightcade detects your key. |
| Game crashes when script runs | You attempted to read an invalid memory address. Double-check your peek/poke addresses. |
| Hotkey triggers multiple times | Add a debounce flag (the hotkey_pressed pattern shown earlier). |
| Script works in FBNeo standalone but not Fightcade | Some functions (like emu.pause()) are disabled in Fightcade’s network play to prevent desyncs. Use save/load states instead. | On Fightcade, Lua hotkeys are specialized inputs used
Example: C:\Fightcade\emulator\fbneo\fcadefbneo.exe romname --lua C:\Path\To\Script.lua. Setting Up Hotkeys in the Emulator This led to the widespread use of Lua Hotkeys