The NEW Build Your Own Arcade Controls
Main => Raspberry Pi & Dev Board => Topic started by: 2huwman on September 03, 2017, 02:53:23 am
-
Just wondering if it's possible to capture MAME outputs on the Raspberry Pi, similarly to how MAMEHooker does that on Windows.
Outputs like the flashing lights on Chase HQ, or Outrun brake lights or shaker motor, etc. I've searched around but can't see anything. Thanks for any info!
-
RGBCommander should do this.
Here is some info:
https://retropie.org.uk/forum/topic/2656/rgb-commander/2
-
Hi,
the link above is obsolete (old version - crappy implementation).
RGBcommander's site contains relevant information in the MAME section with one exception.
-> http://forum.arcadecontrols.com/index.php/topic,151464.0.html (http://forum.arcadecontrols.com/index.php/topic,151464.0.html) -> read my post - not yet in place - eta unknown
regarding the outputs - I only support the flashing led outputs like blinking insert coin.
I don't know if any of the mame derivatives popular on the pi have a functional output system in place.
'real' mame has/had (depends on the version) it but the pi is too slow to run it.
so, the answer is it is supported to a certain degree if you follow a whole slew of prerequisites. (On the pi - it functions fine on an amd64 distro with real mame)
I don't see that change any time soon.
regards
-
Hi,
the link above is obsolete (old version - crappy implementation).
RGBcommander's site contains relevant information in the MAME section with one exception.
-> http://forum.arcadecontrols.com/index.php/topic,151464.0.html (http://forum.arcadecontrols.com/index.php/topic,151464.0.html) -> read my post - not yet in place - eta unknown
regarding the outputs - I only support the flashing led outputs like blinking insert coin.
I don't know if any of the mame derivatives popular on the pi have a functional output system in place.
'real' mame has/had (depends on the version) it but the pi is too slow to run it.
so, the answer is it is supported to a certain degree if you follow a whole slew of prerequisites. (On the pi - it functions fine on an amd64 distro with real mame)
I don't see that change any time soon.
regards
What else can RGB commander do other than with MAME?
-
thanks very much for the info guys!
-
What else can RGB commander do other than with MAME?
... it plays snooker pretty well ;D
no, seriously -> have a look at the site if you feel like it
kind regards
-
Hi,
the link above is obsolete (old version - crappy implementation).
RGBcommander's site contains relevant information in the MAME section with one exception.
-> http://forum.arcadecontrols.com/index.php/topic,151464.0.html (http://forum.arcadecontrols.com/index.php/topic,151464.0.html) -> read my post - not yet in place - eta unknown
regarding the outputs - I only support the flashing led outputs like blinking insert coin.
I don't know if any of the mame derivatives popular on the pi have a functional output system in place.
'real' mame has/had (depends on the version) it but the pi is too slow to run it.
so, the answer is it is supported to a certain degree if you follow a whole slew of prerequisites. (On the pi - it functions fine on an amd64 distro with real mame)
I don't see that change any time soon.
regards
Ok, saw it worked on linux and assumed the same for rpi.
advanced mame does mame outputs.
But it uses parallel ports.
any way to catch that and redirect to gpio on rpi?
-
Are you sure that advancemame supports outputs? It's based on mame 0.106 and outputs where not implemented yet...
-
Are you sure that advancemame supports outputs? It's based on mame 0.106 and outputs where not implemented yet...
if i'm reading this right then it does.
There is a mention of a q-bert knocker event.
And calling a script for the event system.
http://www.advancemame.it/doc-script (http://www.advancemame.it/doc-script)
-
Looks like it can read leds and knocker states and take control over the keyboard leds.
-
Hi,
the link above is obsolete (old version - crappy implementation).
RGBcommander's site contains relevant information in the MAME section with one exception.
-> http://forum.arcadecontrols.com/index.php/topic,151464.0.html (http://forum.arcadecontrols.com/index.php/topic,151464.0.html) -> read my post - not yet in place - eta unknown
regarding the outputs - I only support the flashing led outputs like blinking insert coin.
I don't know if any of the mame derivatives popular on the pi have a functional output system in place.
'real' mame has/had (depends on the version) it but the pi is too slow to run it.
so, the answer is it is supported to a certain degree if you follow a whole slew of prerequisites. (On the pi - it functions fine on an amd64 distro with real mame)
I don't see that change any time soon.
regards
What else can RGB commander do other than with MAME?
Is the source code available for download?
-
no it is closed source.
-
Would you be nice and send me it anyway, to save me from disassembly? I want to include it in my reasearch project for my Phd. I will give you full credit.
-
Just wondering if it's possible to capture MAME outputs on the Raspberry Pi, similarly to how MAMEHooker does that on Windows.
Outputs like the flashing lights on Chase HQ, or Outrun brake lights or shaker motor, etc. I've searched around but can't see anything. Thanks for any info!
With a bit of python you can capture MAME outputs on the the Pi and then manipulate the GPIO.
Pi 3 can run the latest mame at a good speed too (when overclocked).
I had a quick go and I can emulate a 4-slot NeoGeo fine on Mame 0.189 (latest build), and can send the marquee outputs to the GPIO (or over comm) :
https://youtu.be/3DqgnqqnZ9A (https://youtu.be/3DqgnqqnZ9A)
Nothing of this is my own - I just used the info on these pages:
https://www.raspinews.com/blinking-led-on-raspberry-pi-using-python (https://www.raspinews.com/blinking-led-on-raspberry-pi-using-python)
https://pinout.xyz/pinout/pin11_gpio17 (https://pinout.xyz/pinout/pin11_gpio17)
http://choccyhobnob.com/ (http://choccyhobnob.com/)
https://github.com/arfink (https://github.com/arfink)