####You got a Hiscore You won a Beer
MameChela is a simple hack to mame based in the MKCHAMP hack for Hiscores.
Consist in a Python Script that Talks to an Arduino. This script checks if the files in hiscore directory for the current game are equal, if they are not you made a High Score!
-
Download Mame Sources MameDev
-
Install mame dependencies (ubuntu)
$ sudo aptitude install build-essential libgtk2.0-dev libgnome2-dev libsdl1.2-dev -
Apply patches
$ patch -p0 -E -binary < 0148u1.diff $ patch -p0 -E -binary < hi_148.diff -
Overwrite mame/src/emu/ hiscore.c & hiscore.h with mamechela's hiscore.c & hiscore.h
$ cp mamechela/hiscore* ../src/emu/ -
Make (takes some time)
$ make -
Config mame
-
Put some roms
-
Connect Arduino (more to come)
-
Check that mamechela.py is configured correctly (Arduino Config)
-
Check mamechela.sh commands
-
For turn off use Ctrl+C or Arduino's Shutdown command
####Usage
./mamechela.sh <game>