Homebrew RetroArch Switch

Z-bake

Well-Known Member
Newcomer
Joined
May 28, 2015
Messages
45
Trophies
0
Age
46
XP
845
Country
Gambia, The
@rsn8887
I now tested all my favorite C64 games and almost everything works perfect now.

I just found two minor things: when you navigate the cursor over the virtual keyboard with the directional buttons, everything is fine. However, when you use the left d-pad you also make the corresponding input as if the virtual keyboard wasn't visible. I think, the d-pad/joystick should either be active in the emulation or in the virtual keyboard, not in both at the same time.

The other is a game specific thing: In Giana Sisters you jump by pressing the joystick up. If you do so using the directional buttons, everything is fine. But using the d-pad instead, everything freezes until you release. If you press up + left/right there's no freeze. Only with d-pad up exclusively.
I haven't encountered this bug in any other game. Otherwise d-pad up and directional button up always have the same effect, except in Giana Sisters.

Cheers and thanks again.
 

snoofly

Well-Known Member
Member
Joined
Aug 18, 2015
Messages
1,012
Trophies
0
Age
54
XP
2,133
Country
United Kingdom
I think i might have had that issue with freezing in loco when using the analog stick upward direction too.
i’ve lately found i’ve needed to remap the joystick to up/down etc explicitly whereas before the defaults left axis x+ or something used to be fine
 

rsn8887

Well-Known Member
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,619
Country
United States
@Z-bake @snoofly :
I think the problem you are seeing with using the analog joystick for controls in Giana Sisters etc. might be because the analog joystick is causing cursor key input, not joystick input.

The easy fix is just like in any other core:
When you are in your game, go to "Quickmenu->Controls" and set "User 1 Analog to Digital Type" to "Left Analog".

That should fix it. With this setting, the left stick should do exactly the same as the directional buttons.

You can do the same for User 2 etc. if you want to play multiplayer games with joysticks instead of directional buttons.

This setting should be saved automatically when closing the core or quitting Retroarch. So you only have to set it once.

EDIT: you might also have to switch User 1, User 2 etc. from "RetroPad" to "Vice Joystick" for it to work I am not 100% sure. The Retroarch mapping options are a bit confusing.
 
Last edited by rsn8887,

snoofly

Well-Known Member
Member
Joined
Aug 18, 2015
Messages
1,012
Trophies
0
Age
54
XP
2,133
Country
United Kingdom
Thanks but that still didn't seem to resolve for me.
Try Arcadia 64 and whatever setting combination I try, right on the L Analog goes to the left for instance unless I map Quick Menu->Controls the following
Auto: L-Stick right (axis) from "Left Stick X +" to "Right" etc.
Other directions seem to work OK.
I tried all combinations of port, Retropad/Vice Joystick, Analog to Digital etc.
Also I'm sure this worked OK in an earlier but recent build but I've not re-checked that yet.
What I notice is that in under Settings->Input->User 1 Binds is that there seems to be some mismatch in some of the icons to their setting. User 1 Mouse index is given the icon of Button B and from there they're all out of sync by 1.

EDIT: I'll do a complete refresh of my Retroarch and retest, that'll help baseline and see if this some issue my end and let you know.
EDIT2: Same issue after doing a completely fresh install. Also notice B face button goes right - can't see why unless it's somehow related to the above comment. Default settings. Tried with 2 Aug build also and same issue.
EDIT 3: As expected, same workaround I mentioned fixes the up jump in Giana Sisters from not freezing. So something seems to be overriding Left Stick X+
 
Last edited by snoofly,

sorabora

Well-Known Member
Member
Joined
Dec 8, 2016
Messages
368
Trophies
0
XP
1,502
Country
United States
The Retroarch mapping options are a bit confusing.

Agreed. I've never quite figured out how to have one set of controls mapped for SNES games and another for PSOne :(

For example, I use L2/R2 for quick load and quick save on SNES, but obviously need them free for PSOne games. I manually change them each time.
 

rsn8887

Well-Known Member
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,619
Country
United States
I think there's some "Core Override" setting where you should be able to do what you want :) Maybe first enable User Interface->Advanced Settings so you can see ALL options.

--------------------- MERGED ---------------------------

Thanks but that still didn't seem to resolve for me.
Try Arcadia 64 and whatever setting combination I try, right on the L Analog goes to the left for instance unless I map Quick Menu->Controls the following
Auto: L-Stick right (axis) from "Left Stick X +" to "Right" etc.
Other directions seem to work OK.
I tried all combinations of port, Retropad/Vice Joystick, Analog to Digital etc.
Also I'm sure this worked OK in an earlier but recent build but I've not re-checked that yet.
What I notice is that in under Settings->Input->User 1 Binds is that there seems to be some mismatch in some of the icons to their setting. User 1 Mouse index is given the icon of Button B and from there they're all out of sync by 1.

EDIT: I'll do a complete refresh of my Retroarch and retest, that'll help baseline and see if this some issue my end and let you know.
EDIT2: Same issue after doing a completely fresh install. Also notice B face button goes right - can't see why unless it's somehow related to the above comment. Default settings. Tried with 2 Aug build also and same issue.
EDIT 3: As expected, same workaround I mentioned fixes the up jump in Giana Sisters from not freezing. So something seems to be overriding Left Stick X+

There was also a fix to Retroarch just three hours ago with some analog joystick stuff. So maybe wait until next nightly hits, just in case. Remember on Switch, the cores always contain all of Retroarch, too. So it is necessary to update the core, even if the fix was made to Retroarch and not the core.

EDIT: It seems that, when you enable the ANALOG-TO-DIGITAL setting, then the emulator receives both analog inputs AND dpad inputs when you move the stick. Since the analog stick by default is mapped to cursor key input, it will cause dual inputs. To fix that, you simply have set the RetroPad L-UP, RetroPad L-Down etc. mappings to "---" (blank) in quickmenu->options.

In quickmenu->controls: Don't care for the icons they are not always accurate, use the description to know which mapping is what. If your icons are not accurate, maybe you forgot to update all the asset files?
 
Last edited by rsn8887,

snoofly

Well-Known Member
Member
Joined
Aug 18, 2015
Messages
1,012
Trophies
0
Age
54
XP
2,133
Country
United Kingdom
I downloaded the latest nightly into an empty directory so no config files were present.
To reproduce, simply load Arcadia d64, start the game with F7 and whatever settings you try, pushing right on the L joycon causes the ship to move left (and B button moves it right) despite the status bar J1/J2 readouts showing the correct inputs.
 

rsn8887

Well-Known Member
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,619
Country
United States
My only explanation is that it is because the stick is mapped to cursor keys in quickmenu->options and now the game receives a joystick direction plus a cursor key press and doesn't know what to do. The fix would be to set the L-UP etc mappings in quickmenu->options to "---" (blank).
 

HappehLemons

Well-Known Member
Member
Joined
Jan 24, 2011
Messages
102
Trophies
1
XP
279
Country
United States
I downloaded the latest nightly into an empty directory so no config files were present.
To reproduce, simply load Arcadia d64, start the game with F7 and whatever settings you try, pushing right on the L joycon causes the ship to move left (and B button moves it right) despite the status bar J1/J2 readouts showing the correct inputs.

You need to disable the analog to digital in the controller options. For some reason the default controls have the left analog stick mapped to other buttons as well as the analog stick. Turning this off should fix it.
 

rsn8887

Well-Known Member
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,619
Country
United States
I just made a new commit that hopefully removes the confusion around the issue by simply changing the default analog joystick mappings to blank ("---").

Once the new nightly hits, just delete your old core options to get the new defaults. Or reset them by hand by pressing start on each core option.

Then set "quickmenu->controls->Analog to Digital" to "Left Joystick" and it should hopefully work as intended.

If you want to have analog stick mapped to 'y' 'n' cursor keys etc, like it was before, you can just map it yourself again. I only changed the defaults that come up on fresh install/fresh start when there aren't any saved options. It was too confusing the way it was.
 
Last edited by rsn8887,
  • Like
Reactions: sorabora

sorabora

Well-Known Member
Member
Joined
Dec 8, 2016
Messages
368
Trophies
0
XP
1,502
Country
United States
I just made a new commit that hopefully removes the confusion around the issue by simply changing the default analog joystick mappings to blank ("---").

Once the new nightly hits, just delete your old core options to get the new defaults. Or reset them by hand by pressing start on each core option.

Then set "quickmenu->controls->Analog to Digital" to "Left Joystick" and it should hopefully work as intended.

If you want to have analog stick mapped to 'y' 'n' cursor keys etc, like it was before, you can just map it yourself again. I only changed the defaults that come up on fresh install/fresh start without any saved options.

I love you (this has been driving me insane).

EDIT: Wait for the 8-14 nightly, right?
 
Last edited by sorabora,

demalmar

Active Member
Newcomer
Joined
Nov 27, 2016
Messages
29
Trophies
0
XP
78
Country
Okay Guys, I haven't been in the HB world for a while and I'm quite lost. I'm trying to make Retroarch's Mupen64 plus next to work in order to play Banjo K. and Tooie :rolleyes: but I get a crash when I load the emulator. I have read issue about full ram, but I can't install any retroarch.nsp neither can I install any homebrew menu.nsp.

I don't know what to do at this point. Running last version of Atmosphere in the last version of Switch.
 

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
586
Trophies
0
Age
33
XP
1,171
Country
United States
Okay Guys, I haven't been in the HB world for a while and I'm quite lost. I'm trying to make Retroarch's Mupen64 plus next to work in order to play Banjo K. and Tooie :rolleyes: but I get a crash when I load the emulator. I have read issue about full ram, but I can't install any retroarch.nsp neither can I install any homebrew menu.nsp.

I don't know what to do at this point. Running last version of Atmosphere in the last version of Switch.
Do you have any Switch games installed? Hold R while you launch one of them.
 

EmulateLife

Well-Known Member
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,889
Country
United States
My retroarch games are just files, they are not installed. Did you mean retroarch games?

That's not what they mean to get extra ram for certain cores such as Mupen64 you need to hold R and start a game you've installed such as one you downloaded from eshop or a nsp, it will take you to homebrew menu from there with the extra ram. If you just go to album you won't have to extra ram and Mupen64 won't work well.
 

demalmar

Active Member
Newcomer
Joined
Nov 27, 2016
Messages
29
Trophies
0
XP
78
Country
That's not what they mean to get extra ram for certain cores such as Mupen64 you need to hold R and start a game you've installed such as one you downloaded from eshop or a nsp, it will take you to homebrew menu from there with the extra ram. If you just go to album you won't have to extra ram and Mupen64 won't work well.
When I do this, I receive an error saying that the program couldn't be started, and to try again from HOME MENU. (sorry, im translating the message, may be not 100% accurate).

Could you help me on this, please?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: iH