MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

famigami
MAME Fan
Reged: 08/12/20
Posts: 3
Send PM


Help with MAME Lua scripting
#387494 - 08/12/20 11:03 PM


I've recently discovered the autoboot commands in mame. The discovery came from a need to automatically load a mame game from a frontend.

Unfortunately, while autoboot_command allows you to automatically type on the screen, it doesn't allow for the ability to play tapes for systems that do this (old computer systems being the prime example).

That's when I learned about autoboot_script which requires Lua which is far an above my ability to understand. The MAME documentation is atrocious on this as well and makes no effort to provide examples of the most obvious use cases:

1) typing
2) playing tape
3) waiting for the tape to load.

I was hoping someone here would be able to provide examples of this, or even provide a full script loading a retro PC game (Amstrad PCW, BBC Micro or Apogee BK-01 are good examples).

At least with the individual parts I can attempt to piece something together but a full script would be a godsend that I can extrapolate from and apply to other systems.

Thank you



MooglyGuy
Renegade MAME Dev
Reged: 09/01/05
Posts: 2260
Send PM


Re: Help with MAME Lua scripting new [Re: famigami]
#387503 - 08/13/20 08:43 AM


Your best bet, versus either here or Reddit, is the Bannister forums and pinging the user "Golden Child": http://forums.bannister.org/

That user has been pulling off some seriously cool stuff via Lua scripting, and so is probably best-qualified to answer practical questions like this about it. See, for example, this thread: https://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=116800#Post116800

Cheers!


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 355 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 465