Configuring Individual ROMs
-
Thanks to a number of people I have sorted the Dual stick question I had. Now I have another, one that may or may not be possible.
The Bartop I am building has 2 sides 8-way + 6 buttons, 4-way + 3 buttons. Each one having it's own Start and Select buttons too.
I have mostly got this to work, save for a number of games that despite pressing the select for two players only allows one joystick and set of buttons to work (Pacman!, but you get 2 planes controlled independently with 1942??!!), and the fact I have to press Start + Select twice to exit the game and go back to menu in arcade, but only once in others like SNES and NES - Go figure.
What I have heard is you can configure the controls for each ROM by pressing a button on loading and getting access to the options/launch menu.
The thing is I don't know what code to write to do so. Also, in this would it be possible to set which device to play the game with - eg the 4-way encoder is in port 1, the 8 way in port 0, so could i set it so when pacman started it used 4-way, and street fighter 8 way??
This in effect would give me exactly what i am looking for. -
@impman66 yes yes yes. It can all be done. If what I’m assuming you have the 8 way and buttons on one encoder, and the 4 way on encoder 2? I say make the 8 way be player 1 (top left USB port if nothing has changed in retro pie. I use Bluetooth controllers now, so idk) and the 4 way player 2. If you press hot key and X while a game is running, it will bring up the retro arch menu. Select quick menu (it may default into it), then controls. From here you can select player 2. Go to mapped port and change it to 1. This makes player 2 controller act as player 1. Then go back to the previous menu and save the game custom mapping. Not core, that will save for all arcade games. FYI, the hot keys will still only work on the real player 1, even if you swap the mapped ports.
-
@lostless said in Configuring Individual ROMs:
@impman66 yes yes yes. It can all be done. If what I’m assuming you have the 8 way and buttons on one encoder, and the 4 way on encoder 2? I say make the 8 way be player 1 (top left USB port if nothing has changed in retro pie. I use Bluetooth controllers now, so idk) and the 4 way player 2. If you press hot key and X while a game is running, it will bring up the retro arch menu. Select quick menu (it may default into it), then controls. From here you can select player 2. Go to mapped port and change it to 1. This makes player 2 controller act as player 1. Then go back to the previous menu and save the game custom mapping. Not core, that will save for all arcade games. FYI, the hot keys will still only work on the real player 1, even if you swap the mapped ports.
Brilliant. thanks for your invaluable help!! Will try it and let you know how i get on.
Hopefully this may be able to help others too! -
Unfortunately, for some reason I cannot access the Retroarch Quick Menu using Select + X combo, have checked the cfg file and it does have input_menutoggle_btn set to "2" which is my X button. Also, have checked retroarch binds via retropie setup menu, and this all seems OK too.
Am going to try deleting the retroarch.cfg file from the location it is in using WinSCP, clear the emulationstation controller settings, and then delete and reinstall retroarch, in case anything has been mucked up.Also, I will turn off the xboxdrv (or whatever) and xarcade?? thing as well, as at present it detects 4 gamepads in emulation station despite me only having two connected, unless of course they class the joystick as 1, and buttons as another.
Any hoo, will keep trying, it's all a learning process after all.
-
UPDATE!!!
Finally got it to work!!! For those with a similar issue. I deleted the retroarch config files, then cleared the controllers via emulation station. next I reinstalled Retroarch, and rebooted, meaning Emulation station allowed me to remap the controllers.
Despite ES showing my controllers and assigning them to the Retroarch_joypads folder as DragonRise Generic USB, Retroarch had it as DragonRise N64.
So I just copied the file from udev folder, into the Retroarch_joypads folder, and deleted the other one.
Next I went into Retroarch itself via the setup menu, and selected the Control tab in Setting. The new version gives some nice new options, such as Quit Retroarch combo (I think) and Toggle menu, which I set to "Hold Start for 2 seconds".
There is also a menu option further down the list that i set to a spare button just in case.
I then copied the retroarch config file from the all folder into the arcade folder, replacing the one in there.
I then launched pacman, held down Start for 2 seconds, with great relief I got up the menu, carried out what @lostless said, and it works a treat!!
Now on to the next load of 4-way games!!
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.