GithubHelp home page GithubHelp logo

marchah / mame-input-leds-controller-plugin Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 5.07 MB

MAME Input LEDs Controller Plugin

License: GNU Lesser General Public License v3.0

Python 69.89% Lua 8.41% TypeScript 21.70%

mame-input-leds-controller-plugin's Introduction

Plugin MAME Input LEDs Controller Plugin

The plugin won't receive any new updates until i found how to make MAME load a .ddl plugin or when someone decide to write documentations. If you have issues create a ticket and I will fix the bug. Also if you have idea on how to improve feel free to create a ticket. I'm switching to IPAC Ultimate I/0 and LEDBlinky so no point on improving if nobody use it.

This plugin is meant for setup using cheap board like zero delay. If you have a fancy board like I-PAC Ultimate I/O or a LED controller check those software:

Wiring

Should work this anyboard just follow the same pricipal Board

If you have less buttons it should works too just follow the same pricipal 6_buttons 8_buttons

Technically right now the buttons wiring doesn't matter as i don't change anything but hopefully soon i will remap the buttons layout base on the game specificity

Server side wiring

Install

  • Move folder milcp from mame/plugins inside your mame plugins folder
  • Set your server IP in milcp/constants.py

Open PowerShell (shift + right click)

python # will open windows store, click Get

# when install is done do:
pip install requests

Server

Supported Games

Demo

Youtube link

Issues

  • When using MAME UI game window get minimize, working fine in command line and CoinOPS NEXT

TODO

  • Use mosfets instead of relays
  • Improve ugly wiring diagram (all the drawing are ugly tbh)
  • MAME seems to know how many buttons the game use, investigate that
  • Find a way set the game input configuration from the lua plugin
  • Find a way to go the http request directly from the lua plugin
  • Use .bat script instead of python in MAME plugin
  • Parse http query and display to user if error
  • If game pause make start button blink
  • If no coins make coins button blink
  • Support more input layouts
  • Add support for ServoStik joystick
  • Server: ctrl + c not handled
  • Server: if game unknown light all leds
  • Server: create a http server without using flask
  • Server: add env variables to only light up player inputs based on game number of players
  • Server: having issue install dependencies for Pi B+, works for Zero W and 3B

mame-input-leds-controller-plugin's People

Contributors

dependabot[bot] avatar marchah avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.