SNES Retroarch config confusion
-
I've been struggling with getting my keyboard (IPAC 2) working with the SNES, the retroarch config doesn't give me a retropad option for either player 1 or 2. I was browsing the config files and came across the following options
input_player1_analog_dpad_mode = ""
input_player2_analog_dpad_mode = ""
#include "/opt/retropie/configs/all/retroarch.cfg"
I understand the hash symbol cancels these items out and I guess they need to be enabled in order for me to gain control although I'm not sure what comments needs to be entered within the speech marks.
Could anyone help?
-
@baviaannl Delete both lines then start RetroArch again (you don't need to restart) and see if you have the DPAD options back.
-
@mitu said in SNES Retroarch config confusion:
@baviaannl Delete both lines then start RetroArch again (you don't need to restart) and see if you have the DPAD options back.
Would it make any difference that both lines are already hashed out? For some reason my paste didn't include the hash?
-
@baviaannl said in SNES Retroarch config confusion:
Would it make any difference that both lines are already hashed out?
Well, yes, the
#
is a comment in this case, so those configuration lines would not be applied. -
@mitu said in SNES Retroarch config confusion:
@baviaannl said in SNES Retroarch config confusion:
Would it make any difference that both lines are already hashed out?
Well, yes, the
#
is a comment in this case, so those configuration lines would not be applied.I deleted them, still the only options for players 1 & 2 are SNES Joystick & SNES Mouse. I notice that player 3 & 4 have Retropad options available.
-
@mitu said in SNES Retroarch config confusion:
@baviaannl said in SNES Retroarch config confusion:
Would it make any difference that both lines are already hashed out?
Well, yes, the
#
is a comment in this case, so those configuration lines would not be applied.I've just realized that despite the fact I removed those entries and rebooted, I can't make any changes to that config file, it restores back to the original. Not realy sure how to fix this one :(
-
@baviaannl Sometimes sd-cards turn into
read-only
mode when they're damaged. Make sure you have a backup. -
@mitu said in SNES Retroarch config confusion:
@baviaannl Sometimes sd-cards turn into
read-only
mode when they're damaged. Make sure you have a backup.Am I right in thinking that if I delete retroarch.cfg within SNES, a new file will be created automaticallly? Wondering if it would be better if I started afresh?
-
@baviaannl No, the file will not be created automatically. It's only created if you reinstall the SNES emulator.
-
If somebody could look over my config for anything obvious I'd be very greatful.
-
a normal retropie snes retroarch.cfg will be about 4 lines long :)
-
@dankcushions said in SNES Retroarch config confusion:
a normal retropie snes retroarch.cfg will be about 4 lines long :)
I'm really new to this, learning every day though. What would a typical config file look like, could you show me yours Might be easier to keep it simple. I have no idea why mine is so long!
-
@baviaannl The default one I think it's
# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line input_remapping_directory = /opt/retropie/configs/snes/ #include "/opt/retropie/configs/all/retroarch.cfg"
See https://retropie.org.uk/docs/RetroArch-Configuration/#example-default-per-system-retroarchcfg
-
@mitu said in SNES Retroarch config confusion:
@baviaannl The default one I think it's
# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line input_remapping_directory = /opt/retropie/configs/snes/ #include "/opt/retropie/configs/all/retroarch.cfg"
See https://retropie.org.uk/docs/RetroArch-Configuration/#example-default-per-system-retroarchcfg
I wrote a new config with basic info for 2 players, went from 1200 lines to about 10 and it works perfectly, many thanks :)
-
@baviaannl whilst it's great it's fixed, your controller bindings shouldn't really be in an individual system cfg. it should be in /opt/retropie/configs/all/retroarch.cfg, that way your configs will work with all systems :)
-
@dankcushions said in SNES Retroarch config confusion:
@baviaannl whilst it's great it's fixed, your controller bindings shouldn't really be in an individual system cfg. it should be in /opt/retropie/configs/all/retroarch.cfg, that way your configs will work with all systems :)
So am I right in thinking the config should look like this? (Obviously with the correct information regarding system)?
Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
input_remapping_directory = /opt/retropie/configs/snes/
include /opt/retropie/configs/all/retroarch.cfg -
@baviaannl no, it should still look like the example @mitu posted above.
/all/retroarch.cfg is always loaded - it is the 'global retroarch.cfg' file referred to in the example.
-
@dankcushions said in SNES Retroarch config confusion:
@baviaannl no, it should still look like the example @mitu posted above.
/all/retroarch.cfg is always loaded - it is the 'global retroarch.cfg' file referred to in the example.
This is beginning to make a lot of sense, thanks for your help.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.