PS1 not seeing any controllers
-
Floobs tool runs on the rpi right anyway ? I've never used it so line endings should be fine then. I just wanted to rule that out. Ill see if I can confuse retroarch with the existing configs, and if so, will git bisect as retroarch didn't used to get confused so something has changed.
-
@BuZz absolutely not did anything. Here are the steps I did :
- Removed .cfg file (with WinSCP);
- Opened a PuTTY session, got into retropie-setup script;
- Uninstalled psx emulator (in main packages) and then reinstalled it from binaries;
- Downloaded and ran the video tools from PuTTY, those are the steps I used :
wget https://github.com/biscuits99/rp-video-manager/releases/download/v1.0/rp-video-manager.zip
unzip -o rp-video-manager.zip
rm rp-video-manager.zip
cd /home/pi/rp-video-manager
chmod 755 videomanager.sh
./videomanager.sh
I installed required files then I applied overlays-no-tv for 1080p; - Opened the new retroarch.cfg file with WinSCP (opened in Notepad++)
- Copy/paste to a new pastebin;
- copied the output of file via PuTTY.
-
FWIW here is the psx retroarch.cfg file I have on windows - which is what I use before I zip it up for github
-
ok. I found the problem
Floobs tool misses a line ending after
rewind_enable = false
so when the include is moved it ends up on the end of that line (so you getrewind_enable = false#include "/opt/retropie/configs/all/retroarch.cfg"
) - then on the next launch it will overwrite it as the include doesn't get processed.Ideally it should have a newline (as well as the rewind being moved) - but I will make sure the include moving adds one if one is missing (wouldn't happen with nano - but other editors could cause it also)
-
retropie-setup will now make sure there is a newline before moving the #include to the end, which should fix it (you will need to remove the damaged config as well as updating retropie-setup)
-
Thanks so much Buzz!
I'll make a note of this and fix it in a future release (no lines under the include). -
@BuZz Thanks! I'll try this right now and keep you informed!
-
@BuZz it works flawlessly! Deleted retroarch.cfg, updated retropie-setup, removed/installed PSX emulator, reapplied video tools, rebooted, tried a game, works, quit, start a new game and works, tried 4-5 games and a reboot to be sure, it works well!
Here is the pastebin of my current retroarch.cfg after playin a few games : http://pastebin.com/WPyhdzV1. Also, the file output is the same (/opt/retropie/configs/psx/retroarch.cfg: C source, ASCII text). There is a blank line after the include, I took a screenshot of mine : http://i.imgur.com/OI3v7fm.png
Thank you for all the great work, it's really appreciated and you're the best :)
-
Looks good! glad it is sorted.
-
@BuZz Thanks again for all of your work :-)
-
Hi! I've been having the same issue, and deleting the config files, updating the retropie-setup and uninstalling/reinstalling the emulators hasn't worked so far. Here's the corrupted retroarch.cfg http://pastebin.com/MsmwJ0T9 (you can swap out /neogeo/ to /fba/ as well, since it seems to happen to both.), and here it is as it should be http://pastebin.com/MArMmd5B
-
I am still having the same problem as well. Tried manually deleting the PSX config, deleting the PSX emu, reinstalling from binaries -> reboot. After several tries I still get the "bios not found" message + controller not working.
-
@xpz said in PS1 not seeing any controllers:
I am still having the same problem as well. Tried manually deleting the PSX config, deleting the PSX emu, reinstalling from binaries -> reboot. After several tries I still get the "bios not found" message + controller not working.
Did you do anything else - eg did you change the config after reinstalling or use the video manager software ? Did you update retropie-setup ?
-
@Ersatz said in PS1 not seeing any controllers:
Hi! I've been having the same issue, and deleting the config files, updating the retropie-setup and uninstalling/reinstalling the emulators hasn't worked so far. Here's the corrupted retroarch.cfg http://pastebin.com/MsmwJ0T9 (you can swap out /neogeo/ to /fba/ as well, since it seems to happen to both.), and here it is as it should be http://pastebin.com/MArMmd5B
I'm not sure either and I can't reproduce it. The bug only happened when the config files didn't end in a end of line character (eg the last line incomplete), and by default the configs do not have that. Also there is a workaround in the latest code to avoid this, so I can't see how the configs can end up like that.
When you say it hasn't worked - did it work after initially reinstalling the emulator (eg for the first load) ? Or it didn't work at all (in which case the default configs may not have been put in place correctly)
-
@Ersatz if you go through the steps you did in more detail perhaps I will see the problem (including anything typed - even if obvious)
-
@BuZz i dont have save on exit enabled. It saves and rewrites it at game boot. However i redownloaded the emus that caused an issue. Then i put all my info above the #include line in the retroarch.cfg and it stopped messing up. Tried each system i have 3 times each to verify they dont end up overwriting on game startup. I think the biggest issue is making sure there is nothing below the #include line. I fixed some that way without updating the emulator, but redownloaded anyways just to be safe.
-
@edmaul69 runcommand adjusts the config after exiting every game to make sure the #include is at the end of the file (it will actually do the change even if it is, but I may change this with some additional checks).
It used to break if there is an incomplete line at the end of the file (eg not ending in a LF character) - which would only happen if manually editing the file with an editor other than nano - as nano will make sure the last line is complete, or using the video manager which creates this incomplete line.
-
@BuZz said in PS1 not seeing any controllers:
It used to break if there is an incomplete line at the end of the file (eg not ending in a LF character) - which would only happen if manually editing the file with an editor other than nano - as nano will make sure the last line is complete, or using the video manager which creates this incomplete line.
There we have it! Using nano to edit the .cfg solves the problem. :)
-
@xpz that means you can't have updated retropie setup correctly as it shouldn't need that with the fix. How did you update?
-
@BuZz I updated using the Retropie Setup Menu in Retropie. Now I have another problem, probably related to this. Snes9x gave me the message "Saved new config to retroarch.cfg" and then the controller stopped working. It seem like some of the emu cores are ignoring then overwriting the Retroarch configs.
I have not made any changes whatsoever in the SNES config after a fresh install of Retropie 4.0.
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.