Newb with Player 2 not being 'seen' on Picade/Retropie
-
Still able to help Mitu? Unsure what to do at this point.
KR
Dw😉👍🏻
-
Can you post the current configuration from
retroarch.cfg
that you have now ?
Do you also have thejoystick-selection
script installed ? If so, then uninstall it and try re-testing again. -
Hello Sir😉
I will post up the .cfg after Ive eaten for you to have a look at👍🏻
Ive never had that joystick script installed as far as I know so Im hopefully good on that. If I ever did, from the past, this is a new rebuild since the back end of last yr. It's all completely as per default Retropie install apart from the retroarch.cfg changes you asked me to make. Will msg back once pastebin's up.
KR, dw☺️
-
Here we go: https://pastebin.com/KbzEVAYd
All I've done, from default, is change P1 to 'nul' and moved all those relevant codes from P1 to P2.
Again, setup is Pi4, Picade HAT (so GPIO seen as Keyboard), Picade-X USB Daughter (seen as Gamepad) and then ran Emulation Station. When I did that, without USB board, it registered codes for GPIO as keyboard (P1) and then I did the same by attaching USB board (P2) seen as Gamepad. I could see, when doing in EmulationStation, that Keyboard appropriated codes like 'CTRL' etc, whereas Gamepad was numbers.
However, when you start 'playing' it only shows Picade-X USB Hat as player Port #0 at bottom of screen and no mention of Keyboard at all. Then, conversely, looking at retroarch.cfg, you see only details for P1 (now moved to P2) showing codes and nothing for USB. Very, very odd.
Anyway, that's where I am at. As said before, both sets of players are using hard controls i.e. buttons and joysticks connected to USB Hat and GPIO Hat. Perhaps I need to add the USB codes now to P1 in retroarch.cfg? Not that I know what they are of course, lol.
KR, dw:)
-
I also just tried the jstest (worked that out, lol) and it's kinda weird.
JS0 detects Picade-X USB Hat only and it I use buttons etc they respond when used on screen. Oddly when I use P2 with JS0 running I see odd control characters at the 'end' of the line 'not' corresponding to the normal 'places' in the script.
JS1+ brings back nothing.
So GPIO main hat seems undetected in this yet is the only codes (now on P2) in Retroarch.cfg
'I' personally don't understand.
KR, dw;)
-
Finally, if I go to /dev/input and list files with both main Hat and USB Hat installed I get the following files shown:
- mice
-event2 - event3
- js0
- event1
- event0
- by-path
- by-id
And if I remove the USB Hat (pull plug out) all that remains is:
- mice
- event2
- event3
- by-path
- by-id
And 2/3 and mice may be related to the usb keyboard I plugged in to test jstest. Hmm.??
- mice
-
@dw89 said in Newb with Player 2 not being 'seen' on Picade/Retropie:
So GPIO main hat seems undetected in this yet is the only codes (now on P2) in Retroarch.cfg
I think that's normal, since the GPIO doesn't get detected as a joystick, but as keyboard - there won't be a
/dev/input/js1
device created for it.Looking at the configuration file, I see that P1 and P2 are set on the same gamepad (first):
input_player1_joypad_index=0 input_player2_joypad_index=0
so that's probably why P1 and P2 are controller by the joystick.
I'd advise you to use the default
retroarch.cfg
that comes with RetroPie and don't use 'Save Configuration' from the RGUI. Copy theretroarch.cfg.rp-dist
overretroarch.cfg
, do the modifications for P2 in the file, then try again. -
Good morning☺️. Well, Id never have spotted that.
I'll do what you said and report back. Only thing I would say is that 'all' P1 controls were also controlling P2, not just the joystick. I don't know if that parameter is an overriding one (like parent/child) or not of course but just thought best to confirm ie
In Mario Kart:
P1 Joystick controls P2 joy simultaneously
P1 Btn A controls speed on P2 simultaneouslyYet
P2 just controls P2.
KR, dw
Will update when done
-
Hi again, Ive just used every find command I can think of and I cannot find the file you mentioned anywhere in the system.
There's a retroarch-core-options.cfg but not the one you mentioned. So Im not sure where to go here now?
KR, dw😉
-
Well, this has just got worse🤯
'Trying' to figure this out (and having saved all my iterations of config files - all over cli of course) its now broken it more😔 Im back to P2 not working at all.
-
First I tried to find file (dist one), couldn't so went through Retroarch menus in gui and defaulted the retroarch.cfg file. Went back in and could see it had made many changes (inc the joystick one you mentioned). So, I then made changes to it to 'nul' all the P1 controls and move them to P2 (as previously). I then rebooted and P1/P2 work in the menus but, in any game, only P1 works; nothing at all for any P2 controls.
-
So, as it didnt work, I moved back to my previous .cfg where P2 worked but P1 controlled both and....it's having no effect at all any more...its just the same as 1) above.
This is driving me nuts. Any suggestions appreciated. I can, of course, pastebin the contents if you like but Ive done exactly as before so Im just lost.
KR, dw😉
-
-
@mitu By the way, I'll do anything you suggest to fix this. If you want me to rebuild and start again and do a certain process; I don't mind. I just don't know why it's doing what it's doing (ie why P2 now doesn't work when I copied file back!).
Cheers
Dw😉
-
How are you editing the files ? Do you have file share access from a computer/PC in the same network (i.e. can you open
\\retropie\roms
) ? -
Hi mate.
Im doing it directly via cli. Ie Pi plugged into TV (hdmi) and going to cli via F4 from keyboard. All normal as far as I know? So I then use nano to open/edit. Sometimes vi but mostly nano.
HTH
Dw😉
PS Im an It guy, just not a Retropie expert;)
-
My suggestion is to re-install from scratch, configure the gamepad first, then edit the
/opt/retropie/configs/all/retroarch.cfg
file and add the P2 configuration. Don't use 'Save Config' or 'Reset Configuration' from the RetroArch menu, this will cause more trouble than it's worth. -
Ok mate, I will do that. From memory, because the Picade HAT is connected to GPIO (seen as 'Keyboard'), I will have to make sure to use the correct Joy/Btns (that are connected to Picade-X Daughter USB HAT) to do that. Im sure, last time, that I did it the other way around ie unplugged USB HAT, installed Keyboard and, then, did USB HAT second.
So, i'll do it tomorrow, will do USB first thru EmulationStation autoconfig. Leave keyboard ES autoconfig alone. Then use cli, go to retroarch.cfg, move the details of that USB Gamepad install from P1 to P2 in Retroarch.cfg and 'nul' the values in P1. Save, reboot and x-fingers.
Sound good? If so, I'll do just that and film it for proof🤣. Can't get any worse I guess! Thanks again mate.
KR, dw😉
-
@dw89 said in Newb with Player 2 not being 'seen' on Picade/Retropie:
Sound good? If so, I'll do just that and film it for proof🤣. Can't get any worse I guess! Thanks again mate.
Yes, looks ok. You can just comment the P1 entries, don't have to null them.
-
@mitu Hi Mate. Well, I knew it wasn't go to be easy somehow. Here's the pastebin of the newest Retroarch.cfg on this latest Nov '20 Retropie OS Build. https://pastebin.com/kESfixpd
Ok, so, as promised. Rebuilt, then installed ONLY the USB Picade-X Hat controls, and not the GPIO linked to Picade HAT. I then used keyboard and CLI to go to retroarch.cfg at /opt/retropie/configs/all. When I opened it I saw it was completely different to the last iteration of Retropie that I must have been using (April 20 perhaps). It only has P1 there, with controls that seem to suggest a keyboard. Ultimately I don't know what I'm doing on this as there's no P2 and I'm not sure where I'm even supposed to put it in the Config file.
Help, as always, appreciated. I still cannot believe I am the only person with Picade and Picade-X having this issue?!?
Cheers mate
W
-
@dw89 said in Newb with Player 2 not being 'seen' on Picade/Retropie:
It only has P1 there, with controls that seem to suggest a keyboard. Ultimately I don't know what I'm doing on this as there's no P2 and I'm not sure where I'm even supposed to put it in the Config file.
Please see my previous post - https://retropie.org.uk/forum/topic/27659/newb-with-player-2-not-being-seen-on-picade-retropie/7.
-
@mitu Right, with you, back in a mo😉
-
@mitu Evening Sir😉
Well, this is both interesting and, frankly, weird (and proves what happened yesterday).
Recap:
- Fresh Install
- Gamepad (USB) Only setup and proven working. GPIO left alone.
- Copied original retroarch via CLI
- New version amended all P1 to P2 as per your post#7 and reboot.
- 4, above, rendered USB Gamepad inoperable. So
- Reverted to original retroarch.cfg version and rebooted and USB Gamepad 'still' inoperable.
So, action of amending retroarch.cfg from P1 to P2 permanently breaks USB Gamepad EmuStation install of it and makes no difference to status of, uninstalled, GPIO joy/btn's either way.
Ultimately still getting nowhere and I dont get why changing retroarch.cfg, even momentarily, breaks Gamepad of USB Picade-X HAT permanently.
I deferto your knowledge boss😉
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.