Note: Scripts do not persist across game launches. You must reload them each session.
In Fightcade's training mode, resetting to the corner or neutral position requires navigating the dipswitch menu. This script resets to your recorded state instantly.
-- Reset hotkey: F1 (0x70) local reset_key = 0x70 local last_reset = falsefunction reset_game() -- This sends the coin and start inputs quickly -- Adjust based on your game. For Street Fighter III: input.set_digital(1, INPUT_COIN, 1) -- Insert coin emu.wait_frames(2) input.set_digital(1, INPUT_START, 1) -- Press Start emu.wait_frames(2) input.set_digital(1, INPUT_COIN, 0) input.set_digital(1, INPUT_START, 0)
-- For training mode dipswitch reset: Use memory poke -- (Simpler method: use Save/Load State hotkeys)end
function on_frame() if input.get_key_state(reset_key) == 1 and not last_reset then last_reset = true emu.save_state("state0") -- Save current state as "neutral" emu.load_state("state0") -- Instantly reload elseif input.get_key_state(reset_key) == 0 then last_reset = false end end
emu.register_frame(on_frame)
My hotkey does nothing
The emulator crashes when I press the hotkey
Hotkey works once then stops
I want multiple scripts to run together
Lua hotkeys are powerful, but with great power comes great responsibility.
✅ Allowed:
❌ Not Allowed (and detectable):
Fightcade’s anti-cheat does not actively scan Lua, but replays and user reports can catch unfair macros. Use hotkeys only for offline training or friendly lobbies with consent.
Unlike console training modes, Fightcade’s native practice mode is basic. Lua hotkeys fill the gap: fightcade lua hotkey
These tools are essential for labbing difficult combos, defense, and setplay.
Create a new file named my_hotkeys.lua in your scripts folder. We’ll build from here.
Fightcade’s Lua system is a hidden gem. With a few dozen lines of code, you can build custom training tools, accessibility aids (one-handed play becomes possible), or just have fun automating the impossible. The emulator doesn’t judge—it simply executes.
Just remember: the arcade was built on skill, not scripts. Use hotkeys to practice smarter, not to replace execution. Then turn them off and prove you can land the combo yourself.
Now go write some Lua. Your thumbs will thank you.
Have a clever script? Share it in the Fightcade Discord’s #lua channel. See you in the lobby.
, Lua scripts (specifically for the FBNeo emulator) use specialized "Lua Hotkeys" to trigger menu functions without interfering with standard game inputs like Weak Punch or Start. The Default Fightcade Lua Hotkeys
Most professional training scripts, such as the VSAV Training Script or the SFIII 3rd Strike Training Mode, use a standardized set of hotkeys:
Lua Hotkey 1: Usually opens the script's main menu (e.g., Shift + Enter in some versions).
Alt + 1 / Alt + 2: Often used to toggle through input displays or specific script macros.
Alt + 3: Frequently toggles hitbox displays or looping playback. Alt + 4: Returns to the character selection screen. How to "Create" or Rebind Hotkey Features
If you are developing a Lua script and want to implement a custom hotkey feature, you can use the input.get() function provided by the FBNeo Lua API. 1. Registering Key Presses
To detect a hotkey like "Lua Hotkey 1" in your script, you use a loop that checks the input table:
function checkHotkeys() local keys = input.get() if keys["Lua Hotkey 1"] then -- Insert your feature here, like opening a menu print("Menu Opened!") end end -- Run this every frame gui.register(checkHotkeys) Use code with caution. Copied to clipboard 2. Custom Key Shortcuts
You are not restricted to the "Lua Hotkey" slots. You can also bind features to specific keyboard keys by checking their names in the input table (e.g., "Space", "T", or "Left Shift"). 3. Streamlining Access with Windows Shortcuts Note: Scripts do not persist across game launches
You can create a "direct-to-lua" desktop shortcut to skip the manual loading process: Right-click your desktop and select New > Shortcut.
Paste the path to your emulator followed by the --lua flag and script path:
Example: C:\Fightcade\emulator\fbneo\fcadefbneo.exe romname --lua C:\Path\To\Script.lua. Setting Up Hotkeys in the Emulator
Before a script can detect "Lua Hotkey 1," you must map it in the Fightcade/FBNeo settings: Open Fightcade and click Test Game for any title. Go to Input > Map Game Inputs (or press F5). Scroll down to the Lua Hotkeys section. Bind these to your preferred keys (e.g., 1, 2, 3).
📌 Note: Scripts like the 3rd Strike Training Mode require you to have Player 2 controls mapped even if you are practicing solo, as the script "takes over" Player 2 to simulate dummy actions. Fbneo lua file setup tutorial (training modes)
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
To use these hotkeys, you must first map them within the emulator's input settings: Launch a Game : In Fightcade, click on any title to open the FBNeo window. Open Input Mapping Input > Map Game Inputs Assign Keys : Scroll down to the bottom of the list to find Lua Hotkey 1 Lua Hotkey 8 . Bind these to your keyboard or controller buttons. Run Your Script Game > Lua Scripting > New Lua Script Window , browse for your file (e.g., a training mode script), and click Common Uses in Training Scripts Many popular training scripts, such as those for Street Fighter III: 3rd Strike Vampire Savior , utilize these hotkeys for specific shortcuts: Lua Hotkey 1 : Usually opens or closes the training mode menu. Lua Hotkey 4 : Often used as a shortcut to return to the Character Select Screen (CSS) Alternative Shortcuts
: Some scripts use standard game buttons for secondary functions, such as double-tapping to start/stop recording dummy actions. Popular Training Scripts
You can find dedicated Lua scripts that use these hotkeys on platforms like GitHub: 3rd_training_lua (Street Fighter III: 3rd Strike) : Features extensive recording and frame data tools. VSAV_Training (Vampire Savior)
: Includes specific hotkey mappings for recording and menu navigation. fbneo-training-mode : A universal script supporting multiple games. Troubleshooting Hotkey Not Working
: Ensure the Lua script window is actually running. If you close the script window, the hotkey functionality stops. Inputs Not Bound : If "Lua Hotkey" doesn't appear in the
menu, ensure you are using the latest version of the Fightcade FBNeo emulator. Controller Conflicts
: If player 2 is responding to your player 1 inputs, you may need to map player 2's controls to a different (unused) device or keyboard keys. for a particular game?
The primary way to use hotkeys with Lua scripts in (specifically the FBNeo emulator) is through the Map Game Inputs menu to bind "Lua Hotkeys" or through specific script-defined shortcuts like Coin or Shift+Enter. ⌨️ Standard Lua Hotkeys
In Fightcade 2's FBNeo emulator, you can map dedicated hotkeys that scripts use to trigger menus or functions. If no scripts folder exists, create one and
Open Mapping Menu: Press F5 while the game is running to open "Map Game Inputs."
Bind Lua Hotkeys: Scroll to the bottom of the list to find Lua Hotkey 1 through Lua Hotkey 4.
Usage: Most popular training scripts (like VSAV Training) use Lua Hotkey 1 to toggle the main training menu. 🛠️ Common Script-Specific Shortcuts
Many training scripts repurpose standard arcade buttons or keyboard keys to avoid deep menu diving:
Coin Button: Frequently used as the default "Menu" or "Options" toggle once a script is running.
Shift + Enter: A common shortcut in scripts like 3rd Strike Training to quickly initialize or reset.
F1 – F6: Often used for recording and playing back dummy inputs (e.g., F1 to record, F2 to play).
F7: Commonly toggles "Player Swap" to control the dummy manually. 🚀 Quick Setup Guide
Test Game: Launch your game in Fightcade using the Test Game button.
Load Script: Go to Game > Lua Scripting > New Lua Script Window. Browse & Run: Select your .lua file and click Run.
Map Inputs: If the script doesn't respond, press F5 and ensure your keys are bound to the Lua Hotkeys at the bottom of the menu. 💡 Pro Tip: Desktop Shortcuts
You can bypass the menus entirely by creating a Windows shortcut to launch a game with a script automatically:
Target Path: "C:\path\to\fcadefbneo.exe"
This is highly effective for jumping straight into training mode for games like Street Fighter III: 3rd Strike.