OS Software




ARpiCADE_5 v2 - for Pi5 and Pi4

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

Previous topic - Next topic

FrizzleFried

Administrator
*****
Sr. Member
Posts: 179
Location: Treasure Valley, ID
Logged
#45
I played around for a couple minutes... in Moo Mesa I noted:

P1 Start is TEST.

All other controls seems right for P1 and P2... left/right/up/down B1 and B2 and P2 start... B3 did not show for either.

Oddly... P3 and P4 both have no controls at all?

Again... it was set up for the Pi4 before and all 4 had controls.

Am I missing changing something to P5 mode somewhere?

dee2eR

Administrator
*****
Sr. Member
Posts: 170
Logged
#46
did you set the 4player input driver in config.txt?

EDIT: tried Moo Mesa and it was normal for me, p1 start was nothing (game doesn't have start buttons when set to 4 coin mechs), test was test.
It definately sounds like you just need to comment out the 2 player driver and uncomment the four player one in config.txt (down at the bottom of the file)

FrizzleFried

Administrator
*****
Sr. Member
Posts: 179
Location: Treasure Valley, ID
Logged
Will give that a try... as it's a brand new install it's stock at the moment... 

FrizzleFried

Administrator
*****
Sr. Member
Posts: 179
Location: Treasure Valley, ID
Logged
...and switching to 4P mode in the config file,  of course,  fixed 90% of my control issues.  

Thanks...

;)


FrizzleFried

Administrator
*****
Sr. Member
Posts: 179
Location: Treasure Valley, ID
Logged
I can also say that I can not figure our how to get NAOMI tennis games to run 4P even though you can set it up in settings... I was running (and still am running) the DC versions.

Hashman

*
Newbie
Posts: 9
Location: Melbourne, Australia
Logged
Quote from: dee2eR on Jun 26, 2025, 08:13 AMI'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.

Hi Dylan. I still have a lowres 5.0 image running. Can you remind me what the 240p edit for the naomi games was again? For some of the naomi games that the top was "bending" ?

Sorry to be a pain.

FrizzleFried

Administrator
*****
Sr. Member
Posts: 179
Location: Treasure Valley, ID
Logged
#51
Quote from: Hashman on Jul 06, 2025, 09:37 PM
Quote from: dee2eR on Jun 26, 2025, 08:13 AMI'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.

Hi Dylan. I still have a lowres 5.0 image running. Can you remind me what the 240p edit for the naomi games was again? For some of the naomi games that the top was "bending" ?
Sorry to be a pain.

[As taken from the old site]

edit /boot/[firmware]/launchers/naomi.sh and find this bit:
Quoteif [ $(contains "${use240p
  • }" "$1") == "y" ]; then
/boot/firmware/launchers/resSwitch.sh
else[/font][/size][/color]



  • change it to:
    Quoteif [ $(contains "${use240p
    • }" "$1") == "y" ]; then
    /boot/firmware/launchers/resSwitch.sh 240p
    else[/font][/size][/color]



  • and enjoy your Naomi in 240p goodness without curl.


    EDIT:

  • NOTE - The above info looks outdated.  I went in to do the same (I am getting the curl) and I see this code instead...
  • # change res and or get info[/li][/list]
    # flycast seems to run at 60 hz rather than Naomi exact
    if [ $(contains "${naomi2
    [@][@]}" "$1") == "y" ]; then
        /boot/firmware/launchers/resSwitch.sh 480i
    elif [ $(contains "${use240p
    [@][@]}" "$1") == "y" ]; then
        /boot/firmware/launchers/resSwitch.sh naomi240p60
    else
        /boot/firmware/launchers/resSwitch.sh $1
    fi

    This looks like a job for @dee2eR

dee2eR

Administrator
*****
Sr. Member
Posts: 170
Logged
I'll take a look at Naomi curl tomorrow.  Any particular games with the issue?

FrizzleFried

Administrator
*****
Sr. Member
Posts: 179
Location: Treasure Valley, ID
Logged
Power Stone 2 for sure... I only have a few NAOMI games.  I do notice the same issue with Dreamcast games though... and I am having to run at 240p in the menu because 640x480 has that curl...

dee2eR

Administrator
*****
Sr. Member
Posts: 170
Logged
It's probably the games that run in 480i... can't do much about the 480i (at least until I figure out something, maybe...).

Could put all the games in the 240p array and then use 480i for the menus though.

FrizzleFried

Administrator
*****
Sr. Member
Posts: 179
Location: Treasure Valley, ID
Logged
I will say that one of the NAOMI games (can't say for sure) does mention 31K mode when it loads up... and having an actual NAOMI, I can say that is a dip switch option on the NAOMI itself... to run in 31K or 15K mode.

Perhaps the emulator allows that change somehow (a switch to force 15K mode perhaps?)

Hashman

*
Newbie
Posts: 9
Location: Melbourne, Australia
Logged
#56
Quote from: FrizzleFried on Jul 08, 2025, 07:42 AMI will say that one of the NAOMI games (can't say for sure) does mention 31K mode when it loads up... and having an actual NAOMI, I can say that is a dip switch option on the NAOMI itself... to run in 31K or 15K mode.

Perhaps the emulator allows that change somehow (a switch to force 15K mode perhaps?)

This would be good for a low res image id expect but i am also using a hires 5.2 image on my naomi 31hz cab and would want naomi to run in its native 31hz. As it stands (i still havent applied cmdline.txt that dylan sent me earlier) a lot of Naomi games like Border Down are missing the top 1/2 inch of the screen.

I've also noticed that on this hires image, Naomi have about 2.5 inches of "darkness/dimness" on top of screen. Especially noticable on the Naomi WHITE SPLASH screen. Once in game you dont notice as much. Very hard for me to take a picture of it unfortunately.

dee2eR

Administrator
*****
Sr. Member
Posts: 170
Logged
#57
To force all naomi games to run in 240p (even when using 480i for menus) find this bit in naomi.sh:
# change res and or get info
# flycast seems to run at 60 hz rather than Naomi exact
if [ $(contains "${naomi2[@]}" "$1") == "y" ]; then
    /boot/firmware/launchers/resSwitch.sh 480i
elif [ $(contains "${use240p[@]}" "$1") == "y" ]; then
    /boot/firmware/launchers/resSwitch.sh naomi240p60
else
    /boot/firmware/launchers/resSwitch.sh $1
fi
and change it to:
# change res and or get info
# flycast seems to run at 60 hz rather than Naomi exact
if [ $(contains "${naomi2[@]}" "$1") == "y" ]; then
    /boot/firmware/launchers/resSwitch.sh 480i
elif [ $(contains "${use240p[@]}" "$1") == "y" ]; then
    /boot/firmware/launchers/resSwitch.sh naomi240p60
else
    /boot/firmware/launchers/resSwitch.sh naomi240p60
fi

Also find this bit:     else
        ## hori game on hori monitor
        if [ $origres == 1920x240 ] || [ $origres == 1920x240_6 ] || [ $(contains "${use240p[@]}" "$1") == "y" ]; then
        # 240p catchall
            aconfig="240p"
        else
            aconfig="480i"
        fi
    fi

and change to:     else
        ## hori game on hori monitor
        if [ $origres == 1920x240 ] || [ $origres == 1920x240_6 ] || [ $(contains "${use240p[@]}" "$1") == "y" ]; then
        # 240p catchall
            aconfig="240p"
        else
            aconfig="240p"
        fi
    fi


dee2eR

Administrator
*****
Sr. Member
Posts: 170
Logged
Quote from: FrizzleFried on Jul 08, 2025, 07:42 AMI will say that one of the NAOMI games (can't say for sure) does mention 31K mode when it loads up... and having an actual NAOMI, I can say that is a dip switch option on the NAOMI itself... to run in 31K or 15K mode.

Perhaps the emulator allows that change somehow (a switch to force 15K mode perhaps?)
I don't think the dipswitch does much emulation wise, Naomi 15k mode is 480i anyway so won't fix the current 480i curl issue.

FrizzleFried

Administrator
*****
Sr. Member
Posts: 179
Location: Treasure Valley, ID
Logged
I'm still going through and adjusting each game... I'll worry about NAOMI after I get through with MAME.  :D

Half way down.  Going in to each and adjusting (a) Sound to make sure it's MONO,  (b) Change to 3 or 4P modes (why do most 3/4P games come default 2P?),  (c) Change coin slots to individual (if available).  I prefer to be as consistent as possible with these settings....

Question for @dee2eR ... with version 5,  can/are these settings all saved for updating like high scores, etc?

I figure it's about a 60 minute job to go through the whole lot and configure... not a massive deal but a pain in the arce none-the-less.

To be 100% honest... updating this 4 player cabinet from the Pi4 to the Pi5 has been frustratingly simple... :D

I was hoping for more problems to solved,  damnit.