I just recently discovered lua scripting and this is my first attempt of a training mode for KOF.
Big thanks to the contributors of these trainings that helped me to write this code:
https://github.com/Jesuszilla/mame-rr-scripts
https://github.com/maximusmaxy/JoJoban-Training-Mode-Menu-FBNeo
https://github.com/peon2/fbneo-spectating
https://github.com/peon2/fbneo-training-mode
- OSD
- Input display
- Hitboxes
- Record Input
- Play Input
- The King of Fighters '96
Working folder
#if you don't have the scripts folder please create it
FightcadeFolder\emulator\fbneo\scripts
you can use git
#make sure to run this in the working folder
git clone https://github.com/dev-dem/kof-training-mode-FBNeo.git
or you can download and extract the folder into the working folder
You can click on the Fightcade2 "TEST GAME" button in the supported games rooms or execute it manually
FightcadeFolder\emulator\fbneo\fcadefbneo.exe
for instance: The King of Fighters '96
Game -> load game -> kof96
Video -> Select blittler -> DirectX9Alt
Game -> Lua Scripting -> New Lua Script Window
Browse training.lua file or browse spectator.lua file if you want to use the script in a replay or as spectator and click on Run button
- alt + 1 = Toggle OSD display
- alt + 2 = Toggle inputs display
- alt + 3 = Toggle hitboxes
- alt + 4 = Record inputs from player1
- alt + 5 = Playback inputs on player2
training.lua has the default options, you can change it and save the file
local options = {
replay = false, -- disables infinite time/health/record-play functionality
osdDisplay = 3, -- 0 = disabled 1 = player1 2 = player2 3 = both
inputDisplay = 3, -- 0 = disabled 1 = player1 2 = player2 3 = both
hitboxDisplay = 1 -- 0 = disabled 1 = hurtbox and hitbox 2 = adds pushbox 3 = adds throwable box
}
- Support more kof versions
Follow me on Twitter
Subscribe to my Youtube channel
If you have any issues or improvements please create a new item here