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

    Trying to run Commodore plus/4

    Scheduled Pinned Locked Moved Help and Support
    commodore plusvice
    9 Posts 4 Posters 883 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.
    • Lord VekL
      Lord Vek
      last edited by

      Hello,

      I tried to run Commodore plus / games using Vice. I created a new system following the docs but when I try to run a plus/4 game it acts like it is Commodore 64. I can run something by pressing the A
      button on the controller and changing the emulator to vice-plus/4.
      What can I do so I could run the plus/4 games automatically?
      Thanks in advance.

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

        @Lord-Vek said in Trying to run Commodore plus/4:

        I can run something by pressing the A button on the controller and changing the emulator to vice-plus/4.
        What can I do so I could run the plus/4 games automatically?

        You should just be able to make that the default for the system. Did you make a whole new "system" with its own emulators.cfg for runcommand, or did you just make an EmulationStation system and hijack the existing "c64" runcommand part?

        Lord VekL 1 Reply Last reply Reply Quote 0
        • Lord VekL
          Lord Vek @sleve_mcdichael
          last edited by

          @sleve_mcdichael I copied the existing c64 folder from /config into a new folder named cplus4. By Vice above I meant lr-vice.

          LolonoisL 1 Reply Last reply Reply Quote 0
          • LolonoisL
            Lolonois @Lord Vek
            last edited by

            Most like you will need what I have written in Level 3 in this post.

            Adapted to your setup, put in /opt/retropie/configs/plus4/emulators.cfg:

            lr-vice_xplus4 = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-vice/vice_xplus4_libretro.so --config /opt/retropie/configs/plus4/retroarch.cfg %ROM%"
            default = "lr-vice_xplus4"
            
            1 Reply Last reply Reply Quote 0
            • S
              sleve_mcdichael
              last edited by sleve_mcdichael

              @Lord-Vek said in Trying to run Commodore plus/4:

              @sleve_mcdichael I copied the existing c64 folder from /config into a new folder named cplus4.

              Right, that's what I meant by "new system for runcommand."

              So then in EmulationStation, you've set it to use this cplus4 system in the <path> and <command> tags in your custom es_systems.cfg?

              <path>/home/pi/RetroPie/roms/cplus4<path>
              ....
              <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ cplus4 %ROM%</command>
              

              ...an then, when you say you can press a button at launch to open up the runcommand launch menu and you can select the emulator that way, you are choosing select default emulator for cplus4, or select default emulator for ROM? It's the first one, right? You should be using the first one. That should set the default for the whole of the cplus4 system, and then anything else you launch from that system (via the cplus4 rom folder) should default to that emulator automatically.

              It does this by setting the default = line in your configs/cplus4/emulators.cfg file. This file is human-readable and can be edited manually if desired. To manually set the default, change the line:

              default = "lr-vice"
              

              ...and change it to the plus/4 emulator:

              default = "lr-vice-xplus4"
              
              Lord VekL 1 Reply Last reply Reply Quote 0
              • Lord VekL
                Lord Vek @sleve_mcdichael
                last edited by

                @sleve_mcdichael @Lolonois Thank you both for the replies. I did what you suggested and now I can successfully run plus/4 games. Only one minor detail, there is a message "failed to save configuration in... retroarch.cfg" but then the game runs normally.

                LolonoisL 1 Reply Last reply Reply Quote 0
                • LolonoisL
                  Lolonois @Lord Vek
                  last edited by

                  @Lord-Vek said in Trying to run Commodore plus/4:

                  "failed to save configuration in... retroarch.cfg"

                  from the distance my guess is file permissions.

                  Do check if /opt/retropie/configs/cplus4/ is owned by user pi (ls -l on that folder), else do as root: chown pi: cplus4.
                  Also check if the file retroarch.cfg (if present in folder cplus4) is owned by user pi, else do as root chown pi: cplus4/retroarch.cfg

                  Lord VekL 1 Reply Last reply Reply Quote 0
                  • Lord VekL
                    Lord Vek @Lolonois
                    last edited by

                    @Lolonois ls -l is doing the ls normally. What it would do if I wasn't the owner?

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @Lord Vek
                      last edited by

                      @Lord-Vek said in Trying to run Commodore plus/4:

                      What it would do if I wasn't the owner?

                      per the previous post:

                      Do check if /opt/retropie/configs/cplus4/ is owned by user pi (ls -l on that folder), else do as root: chown pi: cplus4.

                      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.