MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

Haze
Reged: 09/23/03
Posts: 5245
Send PM
Re: MAME programming starter pack?
01/29/21 12:06 AM


> I want to do what it says I want to do in the OP:
>
> I want to write a program which traps controller-port reads and feeds it controller
> values taken from a file.

MAME has 'autoboot' functionality and such which can send commands to machines. I believe that's done with the lua scripting in some form.

As already mentioned, it also already has input recording / playback functionality behind -record and -playback

I think your best bet would be to study the way the lua scripts work if you want to do this from scratch for your own purpose, although I'm not really sure why you'd want to do it. I asked because it seemed like you were suggesting it as a way to learn MAME, rather than because you needed the functionality.

Either way, it's not an area I'm familiar with, as I tend to do driver development, so I can't be of further assistance here.







Entire thread
Subject Posted by Posted on
* MAME programming starter pack? JHake 01/27/21 10:56 PM
. * Re: MAME programming starter pack? Olivier Galibert  02/01/21 09:40 AM
. * Re: MAME programming starter pack? Vas Crabb  01/28/21 05:51 AM
. * Re: MAME programming starter pack? JHake  01/28/21 12:33 PM
. * Re: MAME programming starter pack? Haze  01/28/21 01:08 PM
. * Re: MAME programming starter pack? JHake  01/28/21 02:09 PM
. * Re: MAME programming starter pack? Haze  01/29/21 12:06 AM
. * Re: MAME programming starter pack? Vas Crabb  01/28/21 04:04 PM
. * Re: MAME programming starter pack? JHake  01/28/21 05:22 PM
. * Re: MAME programming starter pack? mhoes  02/02/21 03:28 PM
. * Re: MAME programming starter pack? smf  01/29/21 12:12 PM

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