OS Software




ARpiCADE_5 v2 - for Pi5 and Pi4

Started by dee2eR, May 15, 2025, 01:40 AM

Previous topic - Next topic

superjudge

*
Newbie
Posts: 12
Location: Georgia
Logged
Looks like it's a 1gb, but I also have a 2gb and a 2gb RPi5. I didn't suspect it was going to be impactful, really. Just being upfront.  :)

FrizzleFried

Administrator
*****
Sr. Member
Posts: 179
Location: Treasure Valley, ID
Logged
Well now ... tempting me to get another Pi5.  I guess the Naomi games would play a little better... 

;)


dee2eR

Administrator
*****
Sr. Member
Posts: 169
Logged
#17
ARpiCADE_5 v2.1 update!
-Support for RaspberryJAMMA 4 player adaptor - currently Pi5 only (pi4 4 player users can still use ARpiCADE_4v3.2) - four player driver must be set in config.txt for four player board.
-Joystick order should be more stable when using USB accessories (GroovyMAME 0.274 and 0.275)
-Changes 'test' and 'service' into 'f2' and '9' keys instead of joystick inputs.
-DECO fast loading for GroovyMAME 0.274 and 0.275 tuned for both Pi5 and Pi4, loads cassette a bit faster on Pi5 than Pi4
-minor fix ups to mameinfo.txt reference file

Requires working ARpiCADE_5v2 SD card.
https://drive.google.com/file/d/1o9xP_7TFQ8nbjOkcnQkrv9LPRzeDIR-5/view?usp=sharing
unzip into the config-updater folder and run the update from the service menu ('service' button or '9' on a keyboard from the game select menu).  It will reboot automatically when done.  Please report any issues.  Enjoy!

Advanced users note:
If you have custom Attract-Mode stuff setup you may want to hand edit the inputs section of your attract.cfg to match the one in the update rather than using the one in the update
If you have a custom OC setting in config.txt you may want to edit the inputs section instead of overwriting it, or add your OC to the config.txt files included in the update.

superjudge

*
Newbie
Posts: 12
Location: Georgia
Logged
#18
Quote from: dee2eR on Jun 14, 2025, 09:10 AMfour player driver must be set in config.txt for four player board.
Is that changing dtoverlay=RaspberryJAMMA_2p to dtoverlay=RaspberryJAMMA_4p? I'm making an assumption, I've not seen anything else that refers to inputs.

dee2eR

Administrator
*****
Sr. Member
Posts: 169
Logged
@superjudge exactly.  Just hash out the 2 player line and unhash the four player one.

superjudge

*
Newbie
Posts: 12
Location: Georgia
Logged
All 4 players are working with the 4-player adapter, but 4 player games are in 3, 1, 2, 4 order.

I balk when I say it, because it really is the way the adapter is supposed to order them, but in this case Leonardo is controlling Dontatello, Michelangelo is controlling Leonardo... :)

dee2eR

Administrator
*****
Sr. Member
Posts: 169
Logged
At a kernel level the joysticks should be in regular order with p1 being p1, p2 is p2, p3 p3, p4 p4 - I assume this is related to MAME settings...

3, 1, 2, 4  is generally how I recommend setting it in MAME just because there's so many more 2 player games than 4 player... it should be usable 1,2,3,4 as well - might have to remap 4 player games in MAMEs menus though.  I'd like to make it easy to switch, might have to make up 2 config sets and a service menu option or something in the future.

That said, I didn't set it up to be 3,1,2,4 specifically... I've probably copied some config files from an older build at some point and not noticed.  What MAME are you running TMNT in?  I am happy to take a look and see if there's an easier fix than you remapping all four player games *(assumuing you haven't already done so).

superjudge

*
Newbie
Posts: 12
Location: Georgia
Logged
I'm using 0.275.

I haven't remapped anything—I was looking at the config files in the update to find a place to change it to 1234 globally last night, but I haven't made a lot of sense of it, yet.

Aside from the order the controls work very well, and 0.275 is fantastic. Very smoothly leveraging the RPi5's horsepower.

superjudge

*
Newbie
Posts: 12
Location: Georgia
Logged
I think I'd prefer a change that uses the config, like dtoverlay=RaspberryJAMMA_2p4p for 3124 and dtoverlay=RaspberryJAMMA_4p for 1234. That would allow the customer to change it via the config file, but then you could make a fairly simplified script to set 2p, 4p, or 2p4p. Not sure what you would call the funny 4p mode in the F4 menu, though. :)

dee2eR

Administrator
*****
Sr. Member
Posts: 169
Logged
Quote from: superjudge on Jun 21, 2025, 09:24 PMAll 4 players are working with the 4-player adapter, but 4 player games are in 3, 1, 2, 4 order.

I balk when I say it, because it really is the way the adapter is supposed to order them, but in this case Leonardo is controlling Dontatello, Michelangelo is controlling Leonardo... :)

I'm not seeing this at my end.  Player 1 is Leo, P2 Mike, P3 Don... just as it would be on a TMNT JAMMA board.  I tested in 0.275 and 0.274, tried both tmnt.zip and tmnt2.zip.

When you say Leo is controlling Don do you mean the player 1 controls (JAMMA edge player 1) are controlling player 3 (Don)?  That would defineatly not be the right behaviour...  Not sure why we're getting different results...

I can probably make a second version of the 4 player driver to re-order the controls to 3124 rather than doing a setup in emulator(s).  But there is a chance it wouldn't work as easily as we hope due to the different ways various software handle inputs, there's a pretty good chance it would work as intended in some emulators and have unexpected results in others.  I'll have to look into it. 

superjudge

*
Newbie
Posts: 12
Location: Georgia
Logged
You made me doubt myself, so I recreated the SD card and reapplied the patch, then uncommented 4p and commented 2p. Michelangelo and Donatello are on the jamma edge, and Leonardo and Raphael are on the Konami pins on the 4p.

TMNT still on 0.275.


dee2eR

Administrator
*****
Sr. Member
Posts: 169
Logged
#26
I think I understand now.  Maybe...  Am I right in thinking your cab is wired 3124 style?  I was previouly thinking it was 1234 and the behaviour we were seeing was different... now I think I misunderstood originally.

I can put up a config for TMNT with 3124 setup tomorrow.  Might try reordering the driver too if I have the time, but, as I said previously it may have unexpected results.

EDIT: actually thinking about it, redoing the order in the driver would pretty much defeat the point of wiring in 3124 in the first place.  It was a way to not have to change all 2 players games inputs due to the much higher number of two player games (1000s) v 4 player games (100s?).  I'll see what I can come up with.

superjudge

*
Newbie
Posts: 12
Location: Georgia
Logged
Yeah, I'm wired 3124, and I'm confident that's how it was with 3v11 or whatever was on the card that came with the PCB+4P adapter.

I didn't have to change anything except the Konami theme, which you walked me through on the phone.

Hashman

*
Newbie
Posts: 9
Location: Melbourne, Australia
Logged
Back after a bit of a break. Just couldnt stay away from my fav pi 2 jamma setup :)

Installed 5.2 on a fresh 128gb card with a pi5 and tried out HIRES mode on my Naomi Universal cab with 31hz screen. I'm using a jamma to jvs converter. Looks a treat and Naomi games in their native resolution look insane. I normally run a Naomi2 board with netboot in this cab and you can hardly tell the difference.

Couple of things ive noticed.

1. Screen width is very wide once again, I adjusted the hori size pot to its limit to get the image within the screen. Its still too wide but absolutely livable.

2. Some Naomi games, the top of the screen is cut off. I remember on the last forum site @FrizzleFried had the issue with some naomi games bending at the top and @dee2eR mentioned an option i think was editing the naomi launcher and uncommenting 480p option something or other? Does this ring any bells? I remember on the low res v5 this fixed the naomi bend on those games for me. Thought this might help with the cut off top of picture on some Naomi games.

Overall though. Loving this V5.2 version. Shame I have to re create all my displays and favourites and such but thats a low price to pay for such an awesome product :)

dee2eR

Administrator
*****
Sr. Member
Posts: 169
Logged
I'll have to look into the 480p Naomi issues... it won't be that old edit you mentioned, that was for using 240p instead of 480i and won't do any good on a high res monitor. 

Is it the width for everything or just Naomi?  If it's too wide in MAME too I can adjust the width in the same way as on the low res setup.  If it's just Naomi (& atomiswave) it could be adjusted out with some tweaks to the RA scripting. 

Likewise the height can possibly be fixed if it's only some games though it could be emulation related rather than a tweakable setting.  What games have the cutoff top issue?  I can take a look.

I haven't actually tried it on a high res CRT, now that I think about it all my high res testing on Pi5 has been on LCD monitors.