fceux
fceux copied to clipboard
[feature request] Allow multiple simultaneous Lua scripts and registered callbacks
Not sure how common of a use case this is, but I regularly find myself wanting to run 2 or 3 scripts for my nefarious TASing purposes. For example, maybe I want to force a delay scroll while recording a ghost and counting A presses in Mega Man 2. Since they all operate within the same three callbacks, I'd have to refactor them into clean modules and have an orchestrator script that uses my one allotted callback to call out to them. Or more realistically, I'd paste them all into one unholy record_ghost_a_press_counter_delay_scroll_forcer.lua file.
It'd be great if I could load all three of them at once!