I made a lua script for BizHawk a few weeks ago
Here is the link
User movie #19987242045801795
You just have to modify the variable
sequences. Here I have two macros, the first is triggered by the key 'J' and the second by the key 'C'
Language: lua
sequences = {J = {{"A"}, -- first frame the button A is pressed
{}, -- nothing this frame
{"B"}, -- Just B
{}, -- Nothing (again)
{"B"}}, -- and ends with B
-- Macro 'C'
C = {{"Left", "A", "B"}, -- Left, A and B at the same time
{"Left", "Up"},
{},
{"B"}},
}
Feature :
- Macros triggered by keys
- Display a message that indicates the end of a macro (very useful if you need to use another macro the next frame)
- Register infinite number of macros (well you might want to use a keyboard with an infinite number of keys to trigger all of them)
- No length limit
Limitations :
- Only one macro at a time (the script could be easily modified if needed)
- No combination like Ctrl+E (I don't really know if it is possible with BizHawk)
- I only tested this script with GBA games so joysticks are probably not supported