Scrolling input display in emulators
Posted: Tue Nov 17, 2009 4:19 am
So I've been working on a lua script to add vertically scrolling display, as seen in training mode in some games. This could help make combo videos more educational.
It's for 6-button Capcom games, but it could be expanded to cover other kinds. It currently works in fba, snes9x and gens. I'd like to add pcsx when it gets better lua support. (Maybe frameMAME too??)
Instructions:
Download the script, and a couple of dll files mentioned in the script. Put the dll files with the emulator's exe. Put the image files wherever the script is. (You could move them to a folder called lua or whatever.) Run the emu, open your game, and find Lua scripting in the menu. Browse to the script. It will start automatically or may need to click Run. It should be working now. If the images aren't found, it will resort to ghetto mode, where only text is shown. (That's bad.)
If you idle too long, the next command will clear the buffer, just like in training mode. You can disable each player with the q and w keys. (You can change those keys, the idle time, and other stuff by editing the things above the dotted line.) If you want to totally clear everything you can just reload the script.
Some problems:
It's for 6-button Capcom games, but it could be expanded to cover other kinds. It currently works in fba, snes9x and gens. I'd like to add pcsx when it gets better lua support. (Maybe frameMAME too??)
Instructions:
Download the script, and a couple of dll files mentioned in the script. Put the dll files with the emulator's exe. Put the image files wherever the script is. (You could move them to a folder called lua or whatever.) Run the emu, open your game, and find Lua scripting in the menu. Browse to the script. It will start automatically or may need to click Run. It should be working now. If the images aren't found, it will resort to ghetto mode, where only text is shown. (That's bad.)
If you idle too long, the next command will clear the buffer, just like in training mode. You can disable each player with the q and w keys. (You can change those keys, the idle time, and other stuff by editing the things above the dotted line.) If you want to totally clear everything you can just reload the script.
Some problems:
- * The images don't show up in FBA's AVI dumps.
* When I try to dump AVI in snes9x with the script on, it crashes.
* The images look messed up in gens.
* If you load savestates, the buffer will not be updated to reflect the new state. I can't fix that until all the emus get a certain lua function.