This is an How-To build a special mame.exe, wich allows some automation from AutoIt.
I needed to find a way to send keys inputs which would trigger AVI recording of my games: but as Mame is using 'raw inputs', it cant be fooled with standard windows messages injection
Fortunately the Mame project is really really (really) easy to modify and build, so i patched some sources to allow that.
First, go there and follow every steps: http://mamedev.org/tools/
Once you get your first build, modify some sources:
Add More Windows Message to allow events from the outside:
Augment raw inputs with incoming windows messages:
Build it and voila. You should have a brand new mame.exe, listening for your external messages.
I have such a binary build available for willing people.
Next post should be an explanation for the whole Mame Avi Move Maker build with AutoIt...
Regards (and eventually leave comments)
No comments:
Post a Comment