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

    Daphne emulator not listed on setup menu

    Scheduled Pinned Locked Moved Help and Support
    daphnesetup script
    10 Posts 2 Posters 1.3k 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.
    • C
      CaptainDatabase
      last edited by CaptainDatabase

      For some reason, the retropie setup script doesn't display an option to install daphne in either optional or experimental packages.

      optional.png
      experimental.png

      The installation guide I followed mentioned that this might happen, but didn't provide any information on how to get around it.

      This will install the main packages which are equivalent to what is provided with the RetroPie SD image. Note that this will be the 32-bit version of RetroPie. That means that some emulators such as Daphne (Dragon's Lair) will not work out of the box on this version. That is because Daphne and a few other emulators only have a 64-bit version released for use while this install is for the 32-bit CPU family.

      Have I installed the wrong thing altogether (32bit retropie instead of 64bit)? Or is there a simpler fix? Or is this a red herring? I'm guessing I also have other things missing that I'm not aware of, since I'm having trouble getting several games to work.

      I'm running on Lubuntu on an Atomic Pi.

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

        Daphne is enabled only for 64bit builds, if you installed an x86 only (32bit) distro, it will not be shown in the list.

        C 1 Reply Last reply Reply Quote 1
        • C
          CaptainDatabase @mitu
          last edited by

          @mitu So does that mean there's no way to do this on an x86 processor? The Debian/Ubuntu docs don't say how to do a 64-bit build installation anywhere that I see. It seems like it should be possible, but I just don't see how to do it.

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

            @captaindatabase said in Daphne emulator not listed on setup menu:

            The Debian/Ubuntu docs don't say how to do a 64-bit build installation anywhere that I see.

            They don't say, it's up to you to choose which version you want.

            It seems like it should be possible, but I just don't see how to do it.

            Just use a 64bit installation image for Debian/Ubuntu. Nowadays, recent versions of Ubuntu don't even provide 32bit install images for x86.

            EDIT: actually, I think Daphne is not enabled on any PC versions, just for the Pi, so don't reinstall your system yet.

            C 1 Reply Last reply Reply Quote 0
            • C
              CaptainDatabase @mitu
              last edited by CaptainDatabase

              @mitu Sorry, just now realizing you were talking about Linux distro version. I'm using an 64-bit version of Ubuntu.

              lscpu.png

              But the RetroPie build itself seems to only be a 32-bit version. All of the instructions on that page seem to indicate that it will be a 32-bit installation when installing on an x86 system and that more work will need to be done for 64-bit emulators, but it doesn't say what needs to be done.

              C 1 Reply Last reply Reply Quote 0
              • C
                CaptainDatabase @CaptainDatabase
                last edited by

                I'm trying to follow the procedures listed in this post, but it's a bit hard to get the hang of.

                I did manage to get it to install daphne using this method, but I still don't see any games in emulation station.

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

                  @captaindatabase said in Daphne emulator not listed on setup menu:

                  I did manage to get it to install daphne using this method, but I still don't see any games in emulation station.

                  Do you have a custom es_systems.cfg that you created ? What's the content of the daphne rom folder ?

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    CaptainDatabase @mitu
                    last edited by CaptainDatabase

                    @mitu The Daphne rom folder was indeed incorrect. I now have two copies of the rom file (roms/daphne/dlair.daphne and roms/daphne/roms/lair.zip) and the game shows up in emulation station (hopefully this is correct).

                    I'm still getting an error that vldp2 is not found when the emulator is starting up though. Still trying to figure this part out.

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

                      lair.daphne should be a folder, containing several files. Did you see the Daphne page in the docs ? It explains how the files should be structured.

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        CaptainDatabase @mitu
                        last edited by CaptainDatabase

                        @mitu Thanks for the pointer on the docs. I've gone through a lot of research and reorganizing since my last post, but it now appears to be working! There were two issues at play: bad rom directory structure and bad install of vldp2.

                        For reference to the curious, here's the problem I was having with vldp2. Every time the emulator started, it would give this daphne error saying ERROR: could not open the VLDP2 dynamic library (file not found maybe?):
                        daphne-error.png

                        For the sake of testing, I ran the following from the command line to see the console output:

                        /opt/retropie/emulators/daphne/daphne.sh $HOME/RetroPie/roms/daphne/lair.daphne
                        

                        And at the end of the output, I saw this:

                        libvldp2.so: cannot open shared object file: No such file or directory
                        Could not load VLDP dynamic library!!!
                        Shutting down sound system...
                        Shutting down video display...
                        

                        Well the install script for daphne is supposed to install vldp2 for you, but in my case, it wasn't doing that.

                        You can manually install the Linux x64 version of it by running the following in a temporary directory:

                        git clone https://github.com/DavidGriffith/daphne.git
                        cd daphne/src/vldp2
                        
                        ./configure --disable-accel-detect
                        make -f Makefile.linux_x64
                        sudo cp libvldp2.so /lib
                        

                        My theory is that the script was compiling vldp2, but then failing to copy it to the /lib directory that it's supposed to get installed to (that last line in the command above).

                        I tried fiddling with the script a little to get it to work automatically, but gave up because it was hard to debug. If I can gather the motivation, I'll try to fix it properly and then send a PR to include the changes in RetroPie-Setup.

                        1 Reply Last reply Reply Quote 1
                        • 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.