Main > Raspberry Pi & Dev Board

How to make a dedicated MAME 0.250 Appliance on a Raspberry Pi 4/Pi 400

<< < (63/83) > >>

bbegin:
I want to take the time to thank everyone of you who helped me and supported me with this custom Raspberry Pi 4 MAME/arcade image.

Your kind words and appreciation is a great payback for me.

Thanks again, everyone! :cheers:

DirtBagXon:

--- Quote from: bbegin on October 31, 2021, 01:46:08 pm ---The Hypseus binary has been updated to v2.6.17-RPi, wich fix the SDL assertion problem I had previously, so no more patching is required prior to build.  :D

--- End quote ---

Excellent news to know it fixed the assertions on this image too, sorry I didn't catch it first time :)

DBX

J_K_M_A_N:
GPIOnext works on this as well. I recommend that for admin buttons (especially if they are attached to the box and not the CP). Here are some quick instructions for installing that.

First, you need to wire at least one button to the GPIO pins. Use a ground and one of the open pins (I start with green but you can usually use the yellow also).



Then SSH into the PI (putty or whatever).


--- Code: ---rw
cd ~
git clone https://github.com/mholgatem/GPIOnext.git
bash GPIOnext/install.sh

--- End code ---

After it gets installed (takes a few minutes), hit 'y' to go into the setup. I set mine up as a keyboard as they are admin buttons. It then gives you a list of pretty much all the keys on the keyboard and you scroll down to each that you want to set up and hit SPACE (it will show an 'X' for that key). Once you select all the keys you want to set up, hit ENTER and it will ask you to hold down the button for each key you selected to set up. Hold it down until it says to release the button (and even a second or two longer), then it should go to the next key. Once you are done, you can go to EXIT. Once you exit, you can reboot or just type 'gpionext start'.

If you need to reconfigure the keys (or add some keys), you can stop the service by typing 'gpionext stop' and then 'gpionext config'. Just be sure to start it again after you are done (or reboot).

One thing I also do. When the service is stopped, I use this command.


--- Code: ---gpionext set debounce 1
--- End code ---

That will lower the debounce value which seems to work better for me. The default is 20 (I think for combo buttons..look it up if you want).

Thanks again for the build. I like it. The newer MAME has the joystick maps that work with the U360 so I don't need to mess with RGBCommander. I just leave my U360 in analog mode and use INI files for the joystick maps.  :applaud:

J_K_M_A_N

Samson:

--- Quote from: J_K_M_A_N on November 02, 2021, 09:00:30 pm ---GPIOnext works on this as well.

--- End quote ---

Can confirm,  made a two player bartop with total of 2 joys, 12 player buttons, 2 player start and 2 coin buttons using just GPIO and it worked perfectly. ( no specific admin buttons, just combos for escape and shutdown. )

I really like this image!

javeryh:

--- Quote from: J_K_M_A_N on November 02, 2021, 09:00:30 pm ---GPIOnext works on this as well. I recommend that for admin buttons (especially if they are attached to the box and not the CP).

--- End quote ---

So no keyboard encoder or joystick encoder is required?  I'm only going to use a 4-way, 2 action buttons and 4 admin buttons (P1 start, P2 start, Pause and P1 Coin with Exit being set up as a P1 start + Pause combo).  10 total inputs although maybe 11 with P2 Coin since I have a 2P coin door.  Is this doable with just the GPIO pins on the pi4?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version