MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

PierreB
MAME Fan
Reged: 02/07/17
Posts: 1
Send PM


Intercept frames
#363302 - 02/07/17 04:59 PM


Hi all,

I am new to MAME. I would like to intercept the frames generated by the emulator, so I can train an AI to play a game. It would also be very useful to be able to "pause" the game for a fixed time between frames, in case the AI system is too slow to play in real time. I could not find this topic in archives. Would anyone have an idea about how to do this? Any pointer in the code?

Thanks in advance for your help,

Pierre



crazyc
MAME Fan
Reged: 06/23/16
Posts: 62
Send PM


Re: Intercept frames new [Re: PierreB]
#363496 - 02/13/17 05:16 PM


Here's a port of MarI/O to MAME. It should give you an idea of how to implement yours. https://gist.github.com/cracyc/02cbcac7b869329e7d8b280ef6c77fa5


Pages: 1

MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Pi 
0 registered and 28 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1774