Configuration not working after update
-
I updated the other day to the latest version on pi3. Since then its added frames on the top right and all the emulators are stuck with the CRT overlay. I have set shaders and overlay to unset on all emulator and defaults and all/retroarch and nothing I do makes any difference.
What have I don't wrong? I'm sure its either something obvious or I have forgotten how I set them.
edit: each load says configuration override loaded.
-
@drjaymz please provide a verbose log as per https://retropie.org.uk/forum/topic/3/read-this-first - within this there will be lines that provide the location of the override, which you can safely delete if you never wanted it.
-
@dankcushions unfortunately it seems to ignore everything including asking it to log. There is no file /dev/shm/runcommand.log
I launched a megadrive rom, hit a button and then selected launcg with verbose logging or whatever it said.
-
@drjaymz that doesn't seem possible. it will always output something to /dev/shm/runcommand.log whether it's verbose logging or not. are you sure you're looking in the right place? note that this file contains the log of the last thing that was launched, and is cleared on reboot.
-
@dankcushions Yes, I enabled ssh and lessed into the file whilst it was running.
Parameters:
Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-picodrive/picodrive_libretro.so --config /opt/retropie/configs/megadrive/retroarch.cfg "/home/pi/RetroPie/roms/megadrive/sor1.zip" --verbose --appendconfig /dev/shm/retroarch.cfg
[INFO] RetroArch 1.8.8 (Git 9552f87)
[INFO] Redirecting save file to "/home/pi/RetroPie/roms/megadrive/sor1.srm".
[INFO] Redirecting save state to "/home/pi/RetroPie/roms/megadrive/sor1.state".
[INFO] === Build =======================================
[INFO] Capabilities: NEON VFPv3 VFPv4
[INFO] Built: Nov 2 2020
[INFO] Version: 1.8.8
[INFO] Git: 9552f87
[INFO] =================================================
[INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-picodrive/picodrive_libretro.so"
[INFO] [Overrides] core-specific overrides found at /home/pi/.config/retroarch/config/PicoDrive/PicoDrive.cfg.
[INFO] [Overrides] no content-dir-specific overrides found at /home/pi/.config/retroarch/config/PicoDrive/megadrive.cfg.
[INFO] [Overrides] game-specific overrides found at /home/pi/.config/retroarch/config/PicoDrive/sor1.cfg.
[INFO] [Overrides] game-specific overrides stacking on top of previous overrides
[INFO] Config: appending config "/home/pi/.config/retroarch/config/PicoDrive/PicoDrive.cfg"
[INFO] Config: appending config "/home/pi/.config/retroarch/config/PicoDrive/sor1.cfg" -
So looks like all sorts of overrides going on here. Can they be reset to default easily?
It was actually the psx I wanted to rid of the scan lines as the TV I'm using on is massive and it makes your eyes go funny.
Parameters:
Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-pcsx-rearmed/pcsx_rearmed_libretro.so --config /opt/retropie/configs/psx/retroarch.cfg "/home/pi/RetroPie/roms/psx/Rollcage/Rollcage [U] [SLUS-00800].cue" --appendconfig /dev/shm/retroarch.cfg
selected sound output driver: libretro
ari64_reset
runcommand.log (END) -
pi@retropie:/dev/shm $ cat /opt/retropie/configs/psx/retroarch.cfg # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line input_remapping_directory = "/opt/retropie/configs/psx/" aspect_ratio_index = "0" # input_overlay = "" # input_overlay_enable = "" video_shader_enable = "false" # video_shader = "" video_smooth = "true" fps_show = "false" # video_rotation = "" #include "/opt/retropie/configs/all/retroarch.cfg"
pi@retropie:/dev/shm $ cat /dev/shm/retroarch.cfg video_refresh_rate = "60"
I don't see where the frames are coming from nor the crt overlay.
-
@drjaymz
to reset just delete the overrides:[INFO] [Overrides] core-specific overrides found at /home/pi/.config/retroarch/config/PicoDrive/PicoDrive.cfg. [INFO] [Overrides] game-specific overrides found at /home/pi/.config/retroarch/config/PicoDrive/sor1.cfg.
if you don't have any override settings you care about, you can delete everything in
/home/pi/.config/retroarch/config/PicoDrive
for psx, have a look in
/home/pi/.config/retroarch/config/PCSX-ReARMed
and again, delete everything there (I might have the folder name wrong, but it will be something very similar) -
pi@retropie:~/.config/retroarch/config/PCSX-ReARMed $ mv PCSX-ReARMed.cfg PCSX-ReARMed.no
That got it. Cool.
OK, that doesn't answer the question of why I cannot turn off using the UI? Unless I was editing the wrong one.
I was editing under retropisetup / configure additional options for psx.
-
@drjaymz i believe overrides will.... override.... the config settings set up via the script :) in retrospect it would probably be better for retropie to control core and game settings via overrides too, but i think they were a subsequent addition, and it's not entirely trivial to script their creation.
-
@dankcushions ok, I have edited the override and now it seems to be saving the changes. The upgrade has seems to have added frames rendered to every config file (or they were there before and didn't work) and it doesn't look like the UI seems to update them. Although changes were remembered between config updates but not applied to the game.
Once I moved the file out the way it created a new one and worked OK from there. Not sure why or how that happened. My retropi has been archived since last Christmas and I just pulled a backup image back on to the SD. I wouldn't have thought that messed any permissions but now its working OK.
-
@dankcushions Would it be reliable if there was a scripted migration of any game override to a game .cfg in the roms folder?
Something that runs before retroarch is started (or, at shutdown) that spots a game override, creates or merges the contents in the game.[archive].cfg, then removes or renames the override.cfg?
-
@busywait said in Configuration not working after update:
@dankcushions Would it be reliable if there was a scripted migration of any game override to a game .cfg in the roms folder?
Something that runs before retroarch is started (or, at shutdown) that spots a game override, creates or merges the contents in the game.[archive].cfg, then removes or renames the override.cfg?
without going into the merits of the idea, the blocker is the same - the name of the override file and directory is non-trivial to retrieve programmatically. see https://github.com/RetroPie/RetroPie-Setup/issues/3194 - this reset idea I think is the priority use-case of mitu's proof of concept.
-
@dankcushions well, I have edited a few more configs and its all working fine. There is an option for resetting permissions - which I thought may have been the solution - if it happens again, that's what I'd probably try - because once it created the file itself it seemed to me ok.
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.