Homepage › Forums › RetroPie Project › New to RetroPie? Start Here! › Creating scripts to choose between different button layouts
- This topic has 4 replies, 2 voices, and was last updated 9 years, 3 months ago by Xenotome.
-
AuthorPosts
-
09/09/2015 at 13:13 #105717XenotomeParticipant
I struggle to find a good solution to switch between 4-button (i.e. SNK) and 6-button (i.e. Capcom) arcade game layouts for my HORI and X-Arcade sticks. Any suggestions?
I had the idea to set up both and copy them to different .cfg files.
Then put some .sh scrips in the Retropie Menu that replace the retroarch.cfg in /opt/retropie/configs/all/ with the .cfg I want to use. Would this be possible?
I’m a linux noob, but from what I understand creating those .sh scripts shouldn’t be that different from creating batch files in the DOS days? Just need to look up the proper syntax to copy the files over. :)
But how would I add a menu item to the retropie menu in emulation station?
Thanks in advance!
[attachment file=”layouts.jpg”]
09/09/2015 at 22:19 #105750FloobMemberYou could update the system specific retroarch.cfg files instead?
/opt/retropie/configs/{systemname}/retroarch.cfg09/10/2015 at 00:17 #105756XenotomeParticipantThat wouldn’t make a difference as I’d still need two layouts for the same emulator (in this case lr-fba), unless I’m missing something (which is quite possible).
09/10/2015 at 01:20 #105758FloobMemberIf you want to switch per game (using the same emulator) then you could use the per rom retroarch.cfg settings?
I talk about that towards the end of this video09/10/2015 at 16:12 #105799XenotomeParticipantHey and thanks for your videos, I’ve watched some of them when I first got my Raspberry Pi and they helped a lot to get started!
Setting things per game will come handy, but I’m not sure it will actually help here.In retrospect I think I should have provided more detail in the initial post to what my problem actually is *doh*
So here is what I’ve got:
- Controllers with a PSX/SNES button layout (i.e. Dualshock 3, Xbox360 gamepad) – Those work well with all Emulators and games
- HORI Real Arcade Pro 3 – Works well for fighting games, but needs settings per game (4- or 6-button layout)
- X-Arcade – for most other arcade games, needs settings per game (4- or 6-button layout)
What I just realized writing this is the real problem is making those game dependent settings without breaking controls with the other controllers.
For example: I’ve got the HORI Real Arcade and a Dualshock 3 connected and want to play a game of Street Fighter (a 6-button game) with someone. This could be configured just fine:
The DS3 would use its face and shoulder buttons as always, and the HORI would use two rows of three.But if we’d switch to Art of Fighting 3 (a 4-button game) controls on the HORI would be messed up.
Button 4 wouldn’t be the fourth button in the top row, it would be the first in the bottom row.On the other hand, if I’d edit the game specific .cfg to fix the HORI, it would mix up the buttons on the DS3.
So if I’m not mistaken, I’d need settings per game and per controller.
To complicate things even more:
[attachment file=”layoutx.jpg”]P.S.: Maybe getting a second HORI would be the better option ;)
-
AuthorPosts
- The forum ‘New to RetroPie? Start Here!’ is closed to new topics and replies.