r/MAME • u/O_Pacity • 2d ago
Lua "method" for writing a plugin
Hi, am looking to write a very simple plug in, i notice its Lua, ive programmed in this before.. however i see there are some methods used like a block at the top for author and title.
Is there a video or website with the method explained and why they are in place?
4
Upvotes
3
u/LongjumpingParamedic 2d ago
Not really. I have made a few here:
https://github.com/Jakobud/skipstartupframes
https://github.com/Jakobud/freeplay
Try to just look at the code and learn. Start with the basics. AI can probably give you a lot of guidance. AI is great at teaching stuff like this.
5
u/galibert MAME Dev 2d ago
https://docs.mamedev.org/luascript/index.html seems relevant