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

    VICE problem launching VIC20 cartridges

    Scheduled Pinned Locked Moved Help and Support
    vicexvixvic20cartridge
    16 Posts 3 Posters 3.6k 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.
    • UDb23U
      UDb23 @Greg_King
      last edited by

      @greg_king Vice.sh does recognize path and romname, in fact if the rom is a zip file it will run decompressing correctly. After that the script checks the extracted file and assigns that filename to the ROM variable; that should then be used to lauch xvic. But romname is missing in the actual result.

      1 Reply Last reply Reply Quote 0
      • G
        Greg_King
        last edited by

        The bug has nothing to do with the ROM! The bug cannot find XVIC. The configuration file lies about the name of VICE's emulator. The name should be only

        xvic

        But, the configuration claims that the name is

        xvic -cartgeneric

        VICE's emulators don't have two words in their names. Therefore, the operating system cannot find an emulator -- there's nothing to launch!

        Try my advice; remove those apostrophes. The configuration line should be

        vice-xvic-cart = "/opt/retropie/emulators/vice/bin/vice.sh xvic -cartgeneric %ROM%"

        See if it works.

        BuZzB UDb23U 2 Replies Last reply Reply Quote 1
        • BuZzB
          BuZz administrators @Greg_King
          last edited by BuZz

          @greg_king You are correct about the apostrophes causing an issue, however, the script also expects the rom as parameter 2. It will need another fix (I'm working on it).

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

          1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators
            last edited by

            removing the quotes around the $BIN in the second to last line in the vice.sh script should sort it but will test.

            from

            "$BIN" -chdir "$romdir" "$ROM"
            

            to

            $BIN -chdir "$romdir" "$ROM"
            

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators
              last edited by

              Needs more than this due to parameter ordering etc. Going to swap some stuff around.

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators
                last edited by

                Please update the RetroPie-Setup script then update vice from binary and see if that resolves it for you.

                https://github.com/RetroPie/RetroPie-Setup/commit/a63a32fe2e51dae84f4b784917d8192c0f14866b

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                UDb23U 1 Reply Last reply Reply Quote 1
                • UDb23U
                  UDb23 @Greg_King
                  last edited by

                  @greg_king ok, thanks.

                  1 Reply Last reply Reply Quote 0
                  • UDb23U
                    UDb23 @BuZz
                    last edited by

                    Thanks @buzz. Will Check your fix tomorrow morning and let you know.

                    What about the vic expanded launch command (emulators.cfg for c64 mentioned before) not calling vice.sh but xvic directly? Is there a specific reason or just a typo?

                    BuZzB 1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators @UDb23
                      last edited by

                      @udb23 RetroPie doesn't come with any vic-expanded entry.

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      UDb23U 1 Reply Last reply Reply Quote 1
                      • UDb23U
                        UDb23 @BuZz
                        last edited by

                        @buzz Huh, I see.
                        That's quite strange... wondering if it comes from a previous config I made but I'm quite sure I never knew or saw that RATIO=1.33 setting used in that launch command.

                        The xvic expanded launch command is mentioned in this old post.
                        Maybe worth adding to Retropie.

                        BuZzB 1 Reply Last reply Reply Quote 0
                        • BuZzB
                          BuZz administrators @UDb23
                          last edited by BuZz

                          @udb23 the ratio thing was part of an older retropie when we used sdl1 - since that post was made it was removed. Your expanded line should be updated to use the vice.sh if you want to have archive unpacking etc. I will consider adding that line (Although we already have many launch items, and I'm not sure how common it is to use that).

                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                          UDb23U 1 Reply Last reply Reply Quote 0
                          • UDb23U
                            UDb23 @BuZz
                            last edited by

                            @buzz Updated setup script and vice from binary; xvic now launched correctly with specific parameters. Also edited emulators.cfg for expanded as suggested.

                            Runcommand.log is here.
                            It shows some errors, probably just minor as cartridges seem to work perfectly.

                            Thanks for the fix ! Really appreciated.

                            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.