Interesting! I'm not after tickets, but triggering from different game events would be handy. MameHooker only finds outputs, IIRC, which means that for random events you'll need a way to make them visible to it. Or use another method of course. User jorgenjl2 put some posts up about reading the RAM to get values from MAME in this thread -
https://forum.arcadecontrols.com/index.php/topic,167200.0/all.htmlI was also talking to MasterRaver on the TP discord about his cheat mods - reading values from the RAM using Cheatengine or a similar program and then using those to create an output or feed another program. I'm not good at this, but it would be lovely to have a framework like MAMEhooker for it - a program that would ask what address i want to monitor, and then ask which program i want to send a trigger action or value to. I'm not even sure how feasible that is, as a general tool, but i suspect turning RAM values into FFB, or a serial output for an Arduino, or pushing values to Simhub, is as complicated as it looks from outside.
If you do get something up, it would be awesome if you could open-source or share it
