RetroArch Config Confusion and Issues
-
I didn't have any plans for setting which controller for which player - at least not initially - do you handle it so that if they plug a controller in a different port, it will automatically update the config ? It's something I could consider - I'm currently working on some other code though. You can also just plug the controllers in the order you want in the correct usb port, but it might be useful to have it on a per system basis, to force specific controllers.
When I do some work on the input configuration, I will think about implementing it. I do want to make it easier to configure player 2 / player 3 when using keyboard also, which isn't automatic currently - that would need to be implemented into ES so it passes a parameter to the autoconfiguration script.
-
do you handle it so that if they plug a controller in a different port, it will automatically update the config ?
I think RetroArch already do this by searching the configs in
/opt/retropie/configs/all/retroarch-joypads/
based on the joystick name, not the port. I never had problems with it.You can also just plug the controllers in the order you want in the correct usb port
Yeah. But my script deal with any joystick connected to the system. If the connection is through USB, bluetooth (I didn't test GPIO)... It doesn't matter. If the SDL identifies a device as a joystick, my script can deal with it.
My only concern is with the dynamic nature of bluetooth connections. If one connect and/or disconnect controllers "on-the-fly", the indexes will change and then it's required to execute the script again.
but it might be useful to have it on a per system basis, to force specific controllers.
I'm planning to work on this later. But I'm thinking about how to deal with the dynamic connections issue I mentioned (index changing). Maybe I'll work with joystick names... It's in my TODO list. :-)
-
@BuZz
Sorry if I'm asking too much, but could you please translate this small C code to python. I don't know python, but I think this code is as simple as a "hello world" for you. :-)A python version will have a better portability.
@wolfman100 Sorry for messing with your thread...
-
@Wolfman100 As mentioned above, you can use the configuration editor to save settings that are persistent that way.
Or if you want to do it manually this video may help.
-
@Floob Thanks for this.Will check the vid.Seen some of yours before,very clearly and concisely presented....good work!
-
@Floob By 'Configuration Editor' do you mean the one in the RetroPie Setup,the one you can access once a rom is loaded,or the one provided in 'RetroArch'?
This is kind of what I'm saying,there's 3-4 ways to change the same settings and very little clarity as to what way is the 'right' way....if you know what I mean?
-
@Wolfman100
When I say that RetroPie is very flexible, you can read it as "there is no only one right way to do a task". :DAnswering your question: when we say configuration editor, we mean Configuration Editor.
-
@meleu haha!Thanks for that clarification.....
In other words,theres not only one way to break something!
-
@Wolfman100 If you don't want this freedom and wanna let the developer make decisions for you, maybe you should take a look at recalbox.com ;-)
-
@meleu I was only joking sir,somehow I have developed a somewhat sadistic joy from configuring RetroPie and having it turn into a full time job :-)
Also I didn't actually realise that all these responses had been posted as I wasn't notified....as you can see it doesn't take much to confuse me!
-
@meleu Also thanks for the in-depth response....just trying to get my head around it all right now,which is proving a little trickier than usual after just having to write a two hour long email!
-
Just to really clarify my process and how I was going about editing the config files.
At the moment I was concentrating mainly on the PSX emulator.I would open the RetroPie-Setup script via the menu in Emulation Station.This would then take me to the RetroPie Setup interface,in there I would then select:
-
list item 'Edit RetroPie/RetroArch Configurations' >
-
list item 'Configure basic libretro emulator option' >
-
list item 'Configure Additional Options for PSX' >
-
list item I would then make the required changes and exit
Noooooow......the crazy thing is,as I went through the steps in order to write this....I have now discovered that the settings have actually been saved,and the correct shader,aspect ratio etc is already selected when going through the configuration!!!!
Ermmmmm,so I guess the only thing to ask is whether this is the best and most robust way to make the configuration changes?
-
-
@Wolfman100
don't take my suggestion to recalbox as a reprimand. :-)It's a good system for those who just wanna play videogames and don't care about learning/tinkering with Linux. But, as you said, this is not your case.
I'm enjoying messing around with RetroPie too. It brought me back to programming after some years away... And somehow this is the purpose of Raspberry Pi.
I guess the only thing to ask is whether this is the best and most robust way to make the configuration changes?
I think the most robust and organised way is editing the file
by handwith the Configuration Editor. But I can't say if it's the best, this is a very personal answer! :-)The problem is that editing the file by hand requires that you know the variables name. I don't know a good reference for the meaning of each variable in retroarch.cfg.
-
@Wolfman100 said in RetroArch Config Confusion and Issues:
Ermmmmm,so I guess the only thing to ask is whether this is the best and most robust way to make the configuration changes?
yes, i'd say so. the configuration editor explains all the settings, and limits your changes to valid settings.
-
Sooooo....ignore my last post,switching to a different PSX game seems to have actually reset all the config settings to default again!Jeeeeeezzzz....time to investigate!
-
@Wolfman100 hahahaha this is the very same feeling I had while I kept the "save config on exit" enabled!!!
:-D -
@Wolfman100 said in RetroArch Config Confusion and Issues:
Sooooo....ignore my last post,switching to a different PSX game seems to have actually reset all the config settings to default again!Jeeeeeezzzz....time to investigate!
Watching file changes in
/opt/retropie/configs/psx/
can be a useful way to understand whats going on when you make changes in the GUI (either from RGUI or the Configuration editor etc..). Try PuTTY out and check it out.
The video above should cover system and per game changes that are possible. -
@meleu hahaha.....top tip!
-
@Floob Will look into that.Thanks
-
As far as I can tell looking through the config file in the folder you mentioned,there is no options to enable/disable shaders,set aspect ratio etc.The closet thing I can see is setting the destination directory for shaders...
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.