Main > Software Forum

MAME scripty things!

(1/6) > >>

Stiletto:
Third-Party MAME Lua Plugins/Scripts - A List

All entries make use of MAME's Lua functionality via the plugin system:
https://docs.mamedev.org/techspecs/luaengine.html
https://docs.mamedev.org/techspecs/luareference.html

MarI/O MAME - SMW SMB:
Script - https://gist.github.com/cracyc/02cbcac7b869329e7d8b280ef6c77fa5
Video - hxxps://www.youtube.com/watch?v=aGKFs5wJ0CI

SFII RYUNATOR:
Script - https://github.com/Jazpy/RYUNATOR

Robotron-AI - Robotron 2084, Automated Gameplay in MAME
Script - https://github.com/grunt2084/robotron-ai
Video - hxxps://www.youtube.com/watch?v=hPItPwnsjig
Video - hxxps://www.youtube.com/watch?v=7dapV20G3iw

Hitbox Viewer for Warriors of Fate:
http://www.mamecheat.co.uk/forums/viewtopic.php?f=4&t=12830

Street Fighter II hitbox viewer, etc.:
Comes with MAME Cheats: http://www.mamecheat.co.uk/
https://gist.github.com/cracyc/01b6d1c93b3b9937eb500dff157fc832
https://gist.github.com/cracyc/145ae60b9e6ac1d1bd7ce26c60f250c6

Autotron (not published) - a neural network that can competently play Robotron: 2084:
http://www.jeraddunn.com/

Headkaze ShowCP plugin (CPWizard):
http://forum.arcadecontrols.com/index.php?topic=151810.0

Headkaze simple Savestate plugin:
http://headsoft.com.au/download/mame/savestate_plugin.zip
http://forum.arcadecontrols.com/index.php/topic,151810.msg1623419.html#msg1623419

Headkaze auto load save state plugin:
http://forum.arcadecontrols.com/index.php/topic,155063.msg1626548.html#msg1626548

Nibbler bot:
https://github.com/FrankRizzo890/NibblerBot
https://reddit.com/r/MAME/comments/ab4tj6/going_for_the_mame_bot_world_record_on_nibbler/
hxxps://www.youtube.com/watch?v=60gVbJTOUOo

Track & Field bot:
https://github.com/FrankRizzo890/TrackFieldBot
https://reddit.com/r/MAME/comments/bwlh12/my_2nd_bot_plays_track_field_see_it_here/
hxxps://www.youtube.com/watch?v=fs-aIPMlcUo

Space Zap bot:
https://github.com/FrankRizzo890/SpaceZapBot
https://reddit.com/r/MAME/comments/byb0bk/my_3rd_bot_plays_space_zap_see_it_here/
hxxps://www.youtube.com/watch?v=90yBznscFkk

Hyper Sports bot:
https://github.com/FrankRizzo890/HyperSportsBot
https://reddit.com/r/MAME/comments/c7orvd/my_4th_bot_is_posted_it_plays_hyper_sports/
hxxps://www.youtube.com/watch?v=JWOLBkUp6dA

MAME system shutdown plugin for Windows:
https://github.com/michaelshmitty/mame-shutdown
https://reddit.com/r/MAME/comments/7bwhef/simple_mame_plugin_for_shutting_down_your_windows/

Arcademus - MAME plugin that helps to play arcade music on demand:
https://github.com/stengun/arcademus

DKShooter - Donkey Kong Shooter - A Galaga themed plugin/hack for MAME:
https://github.com/10yard/dkshooter
hxxps://www.youtube.com/watch?v=Rk5n4frRmI0

DKCoach - DK Coach - A MAME plugin to assist with Donkey Kong gameplay:
https://github.com/10yard/dkcoach
hxxps://www.youtube.com/watch?v=ax-xDwVr7No

DKLavaPanic - A MAME plugin version of DK Lava Panic:
https://github.com/10yard/dklavapanic
hxxps://www.youtube.com/watch?v=KB_6jqc82Ek

DKWho - A MAME plugin version of DK Who and the Daleks:
https://github.com/10yard/dkwho
hxxps://www.youtube.com/watch?v=BAFvoF_iqCY

DKChorus - A MAME plugin which replaces the DK samples and music with acapella sounds:
https://github.com/10yard/dkchorus
hxxps://www.youtube.com/watch?v=nYCNioYWcO4

DKAFE - Donkey Kong Arcade Front End (uses MAME plugin to interface with MAME):
https://github.com/10yard/dkafe
hxxps://www.youtube.com/watch?v=IOaJTd_O6yY

BletchMAME - MAME Frontend (uses MAME plugin to interface with MAME):
https://www.bletchmame.org/

Defender directional movement plugin:
https://github.com/BPaden/defenderlr
https://reddit.com/r/MAME/comments/njc019/defender_directional_movement_plugin/
https://drive.google.com/file/d/1kRYwEwyKy_wDicLL9JTlnwOuOlicM5tB/view?usp=sharing

Defender 8-way control plugin:
http://forum.arcadecontrols.com/index.php?topic=163525.0

Game Input Lag Tester (uses Lua to interface with MAME):
http://forum.arcadecontrols.com/index.php/topic,160722.0.html
http://www.gameinputlagtester.com
hxxps://www.youtube.com/watch?v=Whhz5Y4bd9Q

Killer Instinct Attack Info:
https://github.com/CSword123/MAME-LUA-scripts

MAMEToolkit - A Python toolkit used to train reinforcement learning algorithms against arcade games:
(note: requires modified MAME: https://github.com/M-J-Murray/mame )
(uses MAME plugin to to interface with MAME)
https://reposhub.com/python/deep-learning/M-J-Murray-MAMEToolkit.html

BinTracker - "A Chiptune Audio Workstation for the 21st Century" (uses MAME plugin to to interface with MAME):
https://bintracker.org/
https://bintracker.org/documentation/hacking.html

4am's plugin to autocrack dumps with Passport (not published):
https://twitter.com/a2_4am/status/1379593106836877318

Tim Lindner's Timberbot:
https://gist.github.com/tlindner/0199ee5ee64ab6fb1e3340856bfdece9
hxxps://www.youtube.com/watch?v=1DO3xOZhf2s

Tim Lindner's CoCo Arkanoid cheat:
https://gist.github.com/tlindner/6e042b295f47a64e4c76eb3eb0d0757a
hxxps://www.youtube.com/watch?v=7g8ZbzxxYpI

MAME Music Scripts - some music display scripts:
https://github.com/jedpossum/Mame-Music-Scripts

**disabled embeds, replace hxxps with https when you open in another browser tab

Contributions wanted :)

- Stiletto

10yard:
Hey,  this will be a useful reference.  I did the DK plugins but am soon to be looking at other scripting projects for MAME.

There are some bad links above with hxxps instead of https.  Please update.
Thanks.

Stiletto:

--- Quote from: 10yard on October 24, 2021, 06:10:28 pm ---Hey,  this will be a useful reference.  I did the DK plugins but am soon to be looking at other scripting projects for MAME.

--- End quote ---

Thanks!


--- Quote from: 10yard on October 24, 2021, 06:10:28 pm ---There are some bad links above with hxxps instead of https.  Please update.

--- End quote ---

I will not, because Arcade-Controls forum software wants to automatically embed the YouTube players. Unless there is a way around that?
I don't think a forum post with close to a dozen YouTube windows within it is very nice looking, especially when the meat is in the links! It's also not very friendly to ancient computers. As I said in the footer, copy the URL to another tab and fix the hxxps -> https protocol.

PL1:

--- Quote from: Stiletto on October 24, 2021, 04:28:25 pm ---Defender directional movement plugin:
https://github.com/BPaden/defenderlr
https://reddit.com/r/MAME/comments/njc019/defender_directional_movement_plugin/
https://drive.google.com/file/d/1kRYwEwyKy_wDicLL9JTlnwOuOlicM5tB/view?usp=sharing

--- End quote ---
Does anybody have this plugin installed and MAME configured in a way that doesn't cause MAME problems/errors/crashes outside of Defender?   :dizzy:

It does work for Defender in MAME 0.231 and 0.238 if I use the steps below, but "plugins    1" in mame.ini + this plugin enabled can cause problems with games other than Defender (unless the workaround mentioned below works) and AFAIK it will cause problems with MAME's built-in UI.   :banghead:

1. Download MAME and do a fresh install.  I put it in "C:\MAME_defender\".

2. Copy/paste the defender ROM into the roms folder.

3. Download the .zip file for the plugin and copy/paste the defenderlr folder with init.lua and plugin.json files into the plugins folder.

4. Generate a fresh mame.ini ("mame -cc" command) then verify that it contains "plugins    1" and the paths are good for inis and plugins.

5. Make a defender.ini containing "plugin    defenderlr" in either the ini folder or the same folder as the MAME executable.

6. Launch MAME.

7. Enable the defenderlr plugin in the MAME user interface "plugins" menu.

8. Exit MAME.

9. Create a .bat file or shortcut link for "mame defender".  Use that file/link to launch Defender.

If you run the MAME 0.231 executable without the ROMname, MAME's built-in FE throws an annoying error that you can work around it by closing the error window and choosing "Select New Machine".

If you run the MAME 0.238 executable without the ROMname, MAME doesn't get past a black screen and hourglass icon before . . . eventually . . . timing out and crashing.   :angry:

Possible labor-intensive workaround:
- For other games, it looks like you can use a .ini file containing "plugins    0" (plugins disabled) and launch the game from a .bat file or a shortcut link without a problem. (tested using Asteroids)


Scott

10yard:

--- Quote from: PL1 on November 24, 2021, 11:59:05 am ---
--- Quote from: Stiletto on October 24, 2021, 04:28:25 pm ---Defender directional movement plugin:
https://github.com/BPaden/defenderlr
https://reddit.com/r/MAME/comments/njc019/defender_directional_movement_plugin/
https://drive.google.com/file/d/1kRYwEwyKy_wDicLL9JTlnwOuOlicM5tB/view?usp=sharing

--- End quote ---
Does anybody have this plugin installed and MAME configured in a way that doesn't cause MAME problems/errors/crashes outside of Defender?   :dizzy:

It does work for Defender in MAME 0.231 and 0.238 if I use the steps below, but "plugins    1" in mame.ini + this plugin enabled can cause problems with games other than Defender (unless the workaround mentioned below works) and AFAIK it will cause problems with MAME's built-in UI.   :banghead:

1. Download MAME and do a fresh install.  I put it in "C:\MAME_defender\".

2. Copy/paste the defender ROM into the roms folder.

3. Download the .zip file for the plugin and copy/paste the defenderlr folder with init.lua and plugin.json files into the plugins folder.

4. Generate a fresh mame.ini ("mame -cc" command) then verify that it contains "plugins    1" and the paths are good for inis and plugins.

5. Make a defender.ini containing "plugin    defenderlr" in either the ini folder or the same folder as the MAME executable.

6. Launch MAME.

7. Enable the defenderlr plugin in the MAME user interface "plugins" menu.

8. Exit MAME.

9. Create a .bat file or shortcut link for "mame defender".  Use that file/link to launch Defender.

If you run the MAME 0.231 executable without the ROMname, MAME's built-in FE throws an annoying error that you can work around it by closing the error window and choosing "Select New Machine".

If you run the MAME 0.238 executable without the ROMname, MAME doesn't get past a black screen and hourglass icon before . . . eventually . . . timing out and crashing.   :angry:

Possible labor-intensive workaround:
- For other games, it looks like you can use a .ini file containing "plugins    0" (plugins disabled) and launch the game from a .bat file or a shortcut link without a problem. (tested using Asteroids)


Scott

--- End quote ---

I tested OK in mame 0238 when using the plugin files downloaded from github at https://github.com/AaronBPaden/defenderlr.git
Defender plays really well! 
I'm simply launching mame with
--- Code: ---mame defender -plugin defenderlr
--- End code ---

I get problems when using the files downloaded from the Google Drive.  These files appear to be out of date. The author has since made some enhancements on github to verify that you are running the defender rom during initialisation.

Scott - Can you replace with github files and repeat your tests.

Navigation

[0] Message Index

[#] Next page

Go to full version