RetroArch Switch

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by ShadowOne333, Dec 30, 2017.

  1. Z-bake

    Z-bake Member

    Newcomer
    3
    May 28, 2015
    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.
     
  2. snoofly

    snoofly GBAtemp Advanced Fan

    Member
    7
    Aug 18, 2015
    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
     
  3. rsn8887

    rsn8887 GBAtemp Advanced Fan

    Member
    10
    Oct 8, 2015
    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, Aug 12, 2019
  4. snoofly

    snoofly GBAtemp Advanced Fan

    Member
    7
    Aug 18, 2015
    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, Aug 13, 2019
  5. sorabora

    sorabora GBAtemp Regular

    Member
    4
    Dec 8, 2016
    United States
    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.
     
  6. rsn8887

    rsn8887 GBAtemp Advanced Fan

    Member
    10
    Oct 8, 2015
    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.

    — Posts automatically merged - Please don't double post! —

    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, Aug 13, 2019
  7. snoofly

    snoofly GBAtemp Advanced Fan

    Member
    7
    Aug 18, 2015
    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.
     
  8. rsn8887

    rsn8887 GBAtemp Advanced Fan

    Member
    10
    Oct 8, 2015
    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).
     
  9. HappehLemons

    HappehLemons Member

    Newcomer
    1
    Jan 24, 2011
    United States
    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.
     
  10. rsn8887

    rsn8887 GBAtemp Advanced Fan

    Member
    10
    Oct 8, 2015
    United States
  11. rsn8887

    rsn8887 GBAtemp Advanced Fan

    Member
    10
    Oct 8, 2015
    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, Aug 13, 2019
    sorabora likes this.
  12. sorabora

    sorabora GBAtemp Regular

    Member
    4
    Dec 8, 2016
    United States
    I love you (this has been driving me insane).

    EDIT: Wait for the 8-14 nightly, right?
     
    Last edited by sorabora, Aug 13, 2019
  13. rsn8887

    rsn8887 GBAtemp Advanced Fan

    Member
    10
    Oct 8, 2015
    United States
    Yes I just made the commit a few minutes ago, so it should appear in the 8/14 nightlies.

    Just remember to delete you core config to reset the options to new defaults.
     
  14. snoofly

    snoofly GBAtemp Advanced Fan

    Member
    7
    Aug 18, 2015
    United Kingdom
    Great stuff - the new 14th nightly seems to fix all the issues I had.
    Arcadia and Giana working as expected.
    Nice one.
     
    rsn8887 likes this.
  15. demalmar

    demalmar Member

    Newcomer
    1
    Nov 27, 2016
    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.
     
  16. stick267

    stick267 GBAtemp Advanced Fan

    Member
    5
    Dec 17, 2018
    United States
    Do you have any Switch games installed? Hold R while you launch one of them.
     
  17. demalmar

    demalmar Member

    Newcomer
    1
    Nov 27, 2016
    My retroarch games are just files, they are not installed. Did you mean retroarch games?
     
  18. EmulateLife

    EmulateLife GBAtemp Psycho!

    Member
    6
    May 30, 2016
    United States
    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.
     
  19. m4xw

    m4xw Ancient Deity

    Member
    16
    May 25, 2018
    Germany
  20. demalmar

    demalmar Member

    Newcomer
    1
    Nov 27, 2016
    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?
     
  21. EmulateLife

    EmulateLife GBAtemp Psycho!

    Member
    6
    May 30, 2016
    United States
    What CFW are you using?
     
  22. demalmar

    demalmar Member

    Newcomer
    1
    Nov 27, 2016
    atmosphere-0.9.3.
     
Loading...