OS Software




ARpiCADE_5 v2 - for Pi5 and Pi4

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

Previous topic - Next topic

dee2eR

Administrator
*****
Sr. Member
Posts: 170
Logged
#135
I don't know what res the Locomalito games are made for but they look better in 480i than 240p.  It may be a result of them being made in Gamemaker (I think I've seen similar before) and or being made to look low res without actually being made for non interlaced low res.

Got 240p option working again, although I've only tested it for the Locomalito games and AM2R.

AM2R looks good at 240p.  It's the only game I have in the 240p array at the moment.

Also I figured out what went wrong with ssf4...

And I've added a second config popup for the controls for ex-board games ie. Daemon Bride and Arcana Heart 3

And delayed the scaling an extra second for ArcadePC games as it sometimes missed on first launch.

Also included the rest of the 2.3 update in this new one:  ARpiCADE_5 v2.31:
https://mega.nz/file/R8kQWYZQ#4pbTnpmEsbDLpsdhN2W0L6myCozmEY2ps5I0Gb_0Few
install as an update.
EDIT: have replaced the 2.3 update on page 8 with 2.31 update.
another EDIT: gdrive flaged it again so replaced the links with MEGA. Didn't have a double extension (used a '-' to denote point in the name) this time so I'm not sure whats going on there...

dee2eR

Administrator
*****
Sr. Member
Posts: 170
Logged
Quote from: FrizzleFried on Aug 15, 2025, 01:41 PM
Quote from: dee2eR on Aug 15, 2025, 07:30 AMfor Demon Bride I changed which launcher it was using, you need to copy the file launcher.exe from [gamedir]/sv/Game Loader All RH/files/ to the [gamedir] also do it for Arcana Heart 3
There is no file "launcher.exe" in said folder.  There is a 'loader.exe" ... and a "loaderring.exe".

That is the same for both Arcana Heart 3 and Demon Bride.  Trying to copy loader over... seems most logical.

EDIT: moving loader.exe over seemed to be the trick.  Both games now load and look FANTASTIC.  Unfortunately,  controls are not working.  Checking out the configuration program it's a LOT more complicated and I am not seeing anywhere to remap.  There is mention of a PAD ... do I want to go in there (there is currently nothing,  not even the 1 that I know is attached to P1 start currently).

my bad, loader is right... it was late here.

FrizzleFried

Administrator
*****
Sr. Member
Posts: 179
Location: Treasure Valley, ID
Logged
#137
Testing... thus far...

Arcana Heart - After remapping the controls,  it's nearly perfect.  I have to go in to the system settings to see if it's possible to make the coin settings common,  if not,  is it possible to setup a hotkey for P2 coin up?  If not,  no biggie as I can setup coin 2 for the actual coin door.  I assume Demon Bride will be the same...

Locomalito games - They all seem to look good now.  Most of the games aren't setup to recognize the arcade controls however.  Is there some way to remap those?  Even one of the games DID have a re-map option internally within the game but it wouldn't recognize the arcade controls when attempting to remap (I want to say this was Hydorah).  Maldita Castilla looks good and controls good as well now!  Seems like a fun little Ghosts and Goblins type game.

That's all I've had time to play with thus far.  I've also been working on a brand new lightgun only image using a freshly downloaded non-merged mame .279 set (I assume nothing has changed from .275 to .279 light-gun wise).

EDIT: YES,  there is a shared coin slot setting in the two games ... so no issues at all!  >w00t!<  A win for sure!

FrizzleFried

Administrator
*****
Sr. Member
Posts: 179
Location: Treasure Valley, ID
Logged
FWIW... I just built the lightgun build from scratch.  All I did was install 5.2 plus the latest rather large update from today.  I'm back to Guncon being Joystick 1.  Now to find what was done to fix that...


FrizzleFried

Administrator
*****
Sr. Member
Posts: 179
Location: Treasure Valley, ID
Logged
And unfortunately,  behavior is identical as before.

BEFORE adding the changes to the default.cfg,  I was Joystick 1... I got some movement at the top 10% of the screen but it was obviously tracking...somewhat.  After the changes I am now Joystick 3 as it's supposed to be but I am getting ZERO tracking. 

This still seems like a settings issue somewhere.  Why would I get 'some' tracking before and none now if other for a settings issue,  right?

This build has just V5.2 + the latest update installed only.

I am running in 480i mode.

I turned off the auto rom scanning.

That's all.

dee2eR

Administrator
*****
Sr. Member
Posts: 170
Logged
It does sound like it's a setting thing somewhere...  I'm going to have to dig into whats going wrong, feels like I must have messed up something along athe way.  Maybe I've missed a MAME config file in an update or something.

Did you also install the 5v2.1 update?  It had the joystick order fixes in it with the updated joystick drivers.  If you missed it, install it, then reinstall the latest update and maybe it will help but I'm far from sure.

FrizzleFried

Administrator
*****
Sr. Member
Posts: 179
Location: Treasure Valley, ID
Logged
For some reason I read it that this latest update was sort of a roll up of all the other updates.  I think i misunderstood.  I'm going to run though all the updates in order... 

dee2eR

Administrator
*****
Sr. Member
Posts: 170
Logged
The new update has everything after 2.1 included in it but not including the 2.1 update

FrizzleFried

Administrator
*****
Sr. Member
Posts: 179
Location: Treasure Valley, ID
Logged
#143
OK... the good news is that I am now getting some tracking while it shows P3 as it is supposed to. Basically the same as when it was at P1.  Vertical tracking seems pretty good though I'm still only getting 15% of the vertical movement... I move the gun vertically and it moves vertically on screen but at a much smaller amount.  Horizontal tracking is still spotty and all over the board but it IS tracking you can see.

So I think we've gotten past the "settings" issue.  I now wonder if that RCA connector I used is sufficient OR ... maybe I need to wire the ground?  I know you didn't ... but maybe I need to.  I think I'll run a quick ground to test before I swap the RCA connector.  Because this is now likely something OTHER than the OS... we should move this discussion to the hardware sub-forum I think.

EDIT: Nope.. unfortunately grounding did nothing.  Also... the more i thought about it... the more it just doesn't make sense it being a hardware issue.  If it was a hardware issue,  it just wouldn't work... or would work completely random... or something like that.  The fact that is comes up to an invisible barrier at the exact same spot no matter what tells me this is still something in the software.  I can't come up with a hardware reason why it would track right to that point...

Also... it's recognizing the gun at all areas on the monitor... there is reaction on screen when I move at all corners... but the reaction isn't in the right place... and being the gun itself's job is really only to tell the software "hey,  I am right here" in relation to the screen and it's physically impossible to be 1" from the screen at the bottom left corner and still have it track at the top right area vertically the way it does... so that tells me that it IS telling the software "hey,  I'm right here" at the bottom left,  and the software is misinterpreting that location and outputting at the top right.. that seems software related versus hardware...

Am I looking at this from the right perspective?

ALSO OF NOTE: All these tests thus far (for both the Lightgun stuff and the ArcadePC stuff) have resulted in exactly ZERO hard crashes to the Pi login screen thing.

FrizzleFried

Administrator
*****
Sr. Member
Posts: 179
Location: Treasure Valley, ID
Logged
I know you mentioned that you tried using your Guncon2 as a mouse device but it worked better as a Joystick device... I want to say you did that with a Pi4,  right?  Have you tried with the Pi5?  Is it easy for me to do on my end to at least give it a try?

dee2eR

Administrator
*****
Sr. Member
Posts: 170
Logged
It's much the same on Pi4 or 5 I think, I never tried Guncon 2 on the older RPi4 only builds.  The only guns I used back then were Aimtrack, SInden, gun4ir etc. all of which I had setup as mice, incidentally. 

I'll write up some instructions in the lightgun thread for you to try different versions of the driver.  I'm out tomorrow but should be able to do some testing of my own in the next few days.

Quote from: FrizzleFried on Aug 17, 2025, 07:20 AMAm I looking at this from the right perspective?

ALSO OF NOTE: All these tests thus far (for both the Lightgun stuff and the ArcadePC stuff) have resulted in exactly ZERO hard crashes to the Pi login screen thing.

Posssibly, I'm on the fence as to if it's likely a hardware or software issue... very hard to tell at the moment.  I have one grey (Japan version?  IT also had guncon 1 and blaster functions) and one blue (PAL?) GunCon2, I'm guessing you have the orange USA one, I wouldn't think it makes a difference but as far as I know only you and I have tried using a GunCon on ARpiCADE so no idea...  I also suspect I included the wrong version of the GunCon driver, the trigger setting being wrong suggests I was using a different version when I set it up but it was ages ago now and can't remember the specific one.

It seems most of the login screen crashing was caused by the force-fullscreen plugin.  I thought it may have been the mods I did to it for super resolution support but I tested the vanilla version of the plugin recently and it also has the same crash behaviour.  I've reduced the use of force-fullscreen to almost never.  I think it's only one or 2 programs using it now and I'll get to fixing them up at some point.  Fullscreening via horizontal integer scaling (widthfix command) doesn't seem to have the issue at all, but you need the game to launch centered on the screen for it to be viable.

FrizzleFried

Administrator
*****
Sr. Member
Posts: 179
Location: Treasure Valley, ID
Logged
I can confirm that yes,  I have an orange US style guncon 2.  I almost bought a gray one from Japan (they look nicer) but shipping was pretty brutal in comparison.  :)

dee2eR

Administrator
*****
Sr. Member
Posts: 170
Logged
Honestly, I don't think the region of gun will be the issue, I only thought of it because US lightguns got weird on Dreamcast at about the same time these would have been out so maybe there's a hardware difference.

Hashman

*
Newbie
Posts: 9
Location: Melbourne, Australia
Logged
@dee2eR im sure its listed some where but how do i completely disable the hotkeys in vers 5.xx

Only want to use a keyboard to exit game etc...

Thanks mate.

dee2eR

Administrator
*****
Sr. Member
Posts: 170
Logged
easiest way is to edit /boot/[firmware]/launchers/hotkeys.ini there's a few things that use other methods but 99% will be changed via that file.  Otherwise editing whichever launcher(s) and commenting out the hotkeys start line would also do it on a system by system basis.

I should add a way to enable/disable hotkeys in the service menu.  Would be easy enough to add a conditional statement to each launcher...