RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Catastrophic lr-VICE failure

    Scheduled Pinned Locked Moved Help and Support
    vicec64
    5 Posts 3 Posters 158 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      JimmyFromTheBay
      last edited by

      So, I should be experienced enough by now not to make such a stupid rookie mistake, but today I updated lr-VICE and boy do I ever wish I hadn't.

      I'm still running (I think) Buster and the update has completely destroyed C64 support (haven't checked other Commodore platforms yet so it may be even worse than it seems).

      If I try to load .D64 files they load, very slowly, and run for a bit, then lock up Retroarch. If I try to run .CRT files they crash, producing a 71MB runcommand.log file over a million lines long (1,220,801 lines to be precise), most of which are this:

      [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
      

      but buried in amongst those are a few like this:

      [libretro INFO] Migrating 'zoom_mode' to 'crop'..
      [INFO] [Environ]: UNSUPPORTED (#70).
      [libretro INFO] Migrating 'zoom_mode_crop' to 'crop_mode'..
      [INFO] [Environ]: UNSUPPORTED (#70).
      [libretro INFO] Migrating 'mapper_zoom_mode_toggle' to 'mapper_crop_toggle'..
      
      

      So that would seem to be the heart of the problem. The big question, then, is "How in the bejeesus do I undo this accursed update?"

      I have a working backup of the entire OPT directory (and therefore the entire OPT>RETROPIE>EMULATORS>VICE directory, but every file currently in OPT>RETROPIE>EMULATORS>VICE>BIN says it was last updated in 2021 so I'm not sure replacing those would help.

      Is there a way out of this horrific mess?

      (NB Please please please do not answer "Yeah, install a newer version of Retropie and rebuild it from your backup", because that would represent a minimum of about a month's work, not least because I have about 100 systems installed through @Folly's module script generator that would all have to be redone from scratch since it now works in a completely different way.)

      Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

      S 1 Reply Last reply Reply Quote 0
      • S
        sleve_mcdichael @JimmyFromTheBay
        last edited by sleve_mcdichael

        @JimmyFromTheBay said

        I updated lr-VICE

        every file currently in OPT>RETROPIE>EMULATORS>VICE>BIN says it was last updated in 2021

        You updated libretro-vice but that's the folder for stand-alone. Try check /opt/retropie/emulators/libretrocores/lr-vice instead.

        J 1 Reply Last reply Reply Quote 1
        • J
          JimmyFromTheBay @sleve_mcdichael
          last edited by JimmyFromTheBay

          @sleve_mcdichael Ha, I'd just figured that out as your reply popped up. So it looks like I actually need to put my old vice_x64_libretro.so (dated 2021) into opt>retropie>libretrocores>lr-vice to replace the one in there now dated 2025 (actually, probably need to restore the whole 2021 lr-vice folder), but WinSCP won't let me do that because of permissions. I can never ever ever remember how to get round this, can someone remind me?

          Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

          J 1 Reply Last reply Reply Quote 0
          • J
            JimmyFromTheBay @JimmyFromTheBay
            last edited by

            Ah, found it:

            sudo chown pi:pi /opt/retropie/libretrocores/lr-vice
            

            Did that for the main and subfolder and managed to replace the crappy broken new files with the working old ones. All fixed. Thanks for the reply :)

            Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

            F 1 Reply Last reply Reply Quote 1
            • F
              Folly @JimmyFromTheBay
              last edited by Folly

              @JimmyFromTheBay said in Catastrophic lr-VICE failure:

              Ah, found it:

              sudo chown pi:pi /opt/retropie/libretrocores/lr-vice
              

              Did that for the main and subfolder and managed to replace the crappy broken new files with the working old ones. All fixed. Thanks for the reply :)

              I see how you have done it otherwise you would not be able to replace the files.
              If you don't mind you can leave it that way.
              However, notice that these folders normally have root user rights.
              In principle you should turn them back to root.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              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.