RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Integrate Daphne Emulator back into the Retropie Script for Ubuntu

    Scheduled Pinned Locked Moved Ideas and Development
    daphneintegrationubuntu
    31 Posts 5 Posters 3.2k 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.
    • B
      battlecat
      last edited by

      Hello:

      I recently followed the instructions to get Retropie working on my i686_64 AMD laptop running Linux Mint 20.2 Cinnamon: https://retropie.org.uk/docs/Debian/

      Everything for the build/install went perfectly.

      When I went to install Daphne I found that it was greyed out and had a note about how it was for 64 bit version and not for the 32 bit version.

      I thought hmm I am on a i686. What is the deal? I found this page from the year 2019: https://retropie.org.uk/forum/topic/23550/daphne-install-on-ubuntu-18-04-x86_64/11

      Is there any way to get that fix integrated into the main script? It would be great to be able to have Daphne installable by default instead of the script saying it can't do it.

      I have no idea who to send this request onto as the actual website has no contact info.

      Thanks for your time.

      1 Reply Last reply Reply Quote 1
      • johnodonJ
        johnodon
        last edited by johnodon

        Start at this post: https://retropie.org.uk/forum/post/263036

        You can ask q's in that thread. I have @DirtBagXon's Hypsues-Singe package purring in Ubuntu Server 21.04 using either X or KMS/DRM.

        John

        B 1 Reply Last reply Reply Quote 0
        • B
          battlecat @johnodon
          last edited by

          @johnodon said in Integrate Daphne Emulator back into the Retropie Script for Ubuntu:

          21

          Hi!

          Thanks for responding. I have no clue what you mean by "I have @DirtBagXon's Hypsues-Singe package purring in Ubuntu Server 21.04 using either X or KMS/DRM." BUT I will definitly ask in the other forum. :)

          BC

          DirtBagXonD 1 Reply Last reply Reply Quote 0
          • DirtBagXonD
            DirtBagXon @battlecat
            last edited by DirtBagXon

            @battlecat said in Integrate Daphne Emulator back into the Retropie Script for Ubuntu:

            @johnodon said in Integrate Daphne Emulator back into the Retropie Script for Ubuntu:

            21

            Hi!

            Thanks for responding. I have no clue what you mean by "I have @DirtBagXon's Hypsues-Singe package purring in Ubuntu Server 21.04 using either X or KMS/DRM." BUT I will definitly ask in the other forum. :)

            BC

            Heya, there is no automatic method to install Hypsesus Singe (Daphne Singe) via the configuration script on X86_64 Ubuntu at this point.

            Follow this post to perform a manual install process that mirrors the Pie install:

            https://retropie.org.uk/forum/post/263036

            Follow the steps to test current RetroPie-Setup pull request below...

             

            Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
            Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
            Hypseus Discord: https://discord.gg/dgCsCfmRfJ

            DirtBagXonD 1 Reply Last reply Reply Quote 0
            • DirtBagXonD
              DirtBagXon @DirtBagXon
              last edited by

              I have put in a pull request for 'RetroPie-Setup' to install Hypseus Singe vi RetroPie configuration script.

              I labelled it in experimental section currently, but should be stable.

              https://github.com/RetroPie/RetroPie-Setup/pull/3387

              If anyone would like to endorse, if that helps, it would be nice :)

              Works fine, You would then only need to setup in
              /etc/emulationstation/es_systems.cfg

              <system>
                <name>daphne</name>
                <fullname>Daphne</fullname>
                <path>/home/pi/RetroPie/roms/daphne</path>
                <extension>.daphne .DAPHNE</extension>
                <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ hypseus %ROM%</command>
                <platform>daphne</platform>
                <theme>daphne</theme>
              </system>
              

              Changing only this line in an existing Daphne installation:
              <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS hypseus %ROM%</command>

              If someone knows how to automate switching emulators in Emulation Station, and where to request changes, please let me know.

              Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
              Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
              Hypseus Discord: https://discord.gg/dgCsCfmRfJ

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

                @dirtbagxon said in Integrate Daphne Emulator back into the Retropie Script for Ubuntu:

                If someone knows how to automate switching emulators in Emulation Station, and where to request changes, please let me know.

                Switching emulators (via runcommand's menu) can be done by modifying the emulators.cfg for a system (i.e. daphne) and add the new emulator command.
                In a scriptmodule, this is handled by the addEmulator function.

                Is Hypseus meant to be an alternative emulator working for the daphne rom folder or an independent system ? (looking at your PR) You've modified the platforms.cfg to add a new system, but your scriptmodule still tries to create a daphne rom folder.

                DirtBagXonD 1 Reply Last reply Reply Quote 0
                • DirtBagXonD
                  DirtBagXon @mitu
                  last edited by

                  @mitu said in Integrate Daphne Emulator back into the Retropie Script for Ubuntu:

                  @dirtbagxon said in Integrate Daphne Emulator back into the Retropie Script for Ubuntu:

                  If someone knows how to automate switching emulators in Emulation Station, and where to request changes, please let me know.

                  Switching emulators (via runcommand's menu) can be done by modifying the emulators.cfg for a system (i.e. daphne) and add the new emulator command.
                  In a scriptmodule, this is handled by the addEmulator function.

                  Is Hypseus meant to be an alternative emulator working for the daphne rom folder or an independent system ? (looking at your PR) You've modified the platforms.cfg to add a new system, but your scriptmodule still tries to create a daphne rom folder.

                  It makes most sense to use the Daphne folder for the existing plugin to me.

                  So should I remove the platforms.cfg changes ?

                  Sorry first pull request with you guys.

                  Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                  Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                  Hypseus Discord: https://discord.gg/dgCsCfmRfJ

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

                    Sorry first pull request with you guys

                    No problems, we'll get this sorted out. I'll take a look at the PR and add some comments by tomorrow. But yes, the platforms.cfg additions are not necessary if you wish to use the existing daphne system and rom folder.

                    DirtBagXonD 1 Reply Last reply Reply Quote 0
                    • DirtBagXonD
                      DirtBagXon @mitu
                      last edited by

                      @mitu said in Integrate Daphne Emulator back into the Retropie Script for Ubuntu:

                      platforms.cfg

                      Thanks @mitu - I've pulled back the platforms.cfg changes now.

                      Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                      Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                      Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                      1 Reply Last reply Reply Quote 0
                      • johnodonJ
                        johnodon
                        last edited by

                        I just tested the script (commit a928ebb) on my Ubuntu 21.04 Server (Wayland/Sway) and I can at least report successful launches of Dragon's Lair and Space Ace. Unfortunately, my test box is hooked up only to a monitor at this point so I can't comment on audio.

                        Looking good!

                        John

                        1 Reply Last reply Reply Quote 2
                        • johnodonJ
                          johnodon
                          last edited by johnodon

                          @DirtBagXon I'm seeing this error in the log file when Hypesus is updated (2nd code box below)...

                          = = = = = = = = = = = = = = = = = = = = =
                          Checking for updates for hypseus
                          = = = = = = = = = = = = = = = = = = = = =
                          
                          Update is available - updating ...
                          
                          = = = = = = = = = = = = = = = = = = = = =
                          Installing dependencies for 'hypseus' : Hypseus Singe - Laserdisc Emulator
                          = = = = = = = = = = = = = = = = = = = = =
                          
                          /home/pi/RetroPie-Setup/tmp/build/hypseus /home/pi
                          
                          = = = = = = = = = = = = = = = = = = = = =
                          Getting sources for 'hypseus' : Hypseus Singe - Laserdisc Emulator
                          = = = = = = = = = = = = = = = = = = = = =
                          
                          git clone --recursive --depth 1 --branch RetroPie "https://github.com/DirtBagXon/hypseus-singe.git" "/home/pi/RetroPie-Setup/tmp/build/hypseus"
                          Cloning into '/home/pi/RetroPie-Setup/tmp/build/hypseus'...
                          HEAD is now in branch 'RetroPie' at commit '7c8c27556814d1abcc2f4c882dee55c704b0cac4'
                          /home/pi
                          /home/pi/RetroPie-Setup/tmp/build/hypseus /home/pi
                          
                          = = = = = = = = = = = = = = = = = = = = =
                          Configuring 'hypseus' : Hypseus Singe - Laserdisc Emulator
                          = = = = = = = = = = = = = = = = = = = = =
                          
                          Copying default configuration to /opt/retropie/configs/daphne/hypinput.ini
                          cp: cannot stat '/home/pi/RetroPie-Setup/scriptmodules/emulators/hypseus/hypinput.ini': No such file or directory
                          chown: cannot access '/opt/retropie/configs/daphne/hypinput.ini': No such file or directory
                          /home/pi
                          
                          DirtBagXonD 1 Reply Last reply Reply Quote 0
                          • DirtBagXonD
                            DirtBagXon @johnodon
                            last edited by DirtBagXon

                            @johnodon said in Integrate Daphne Emulator back into the Retropie Script for Ubuntu:

                            @DirtBagXon I'm seeing this error in the log file when Hypesus is updated (2nd code box below)...

                            = = = = = = = = = = = = = = = = = = = = =
                            Checking for updates for hypseus
                            = = = = = = = = = = = = = = = = = = = = =
                            
                            Update is available - updating ...
                            
                            = = = = = = = = = = = = = = = = = = = = =
                            Installing dependencies for 'hypseus' : Hypseus Singe - Laserdisc Emulator
                            = = = = = = = = = = = = = = = = = = = = =
                            
                            /home/pi/RetroPie-Setup/tmp/build/hypseus /home/pi
                            
                            = = = = = = = = = = = = = = = = = = = = =
                            Getting sources for 'hypseus' : Hypseus Singe - Laserdisc Emulator
                            = = = = = = = = = = = = = = = = = = = = =
                            
                            git clone --recursive --depth 1 --branch RetroPie "https://github.com/DirtBagXon/hypseus-singe.git" "/home/pi/RetroPie-Setup/tmp/build/hypseus"
                            Cloning into '/home/pi/RetroPie-Setup/tmp/build/hypseus'...
                            HEAD is now in branch 'RetroPie' at commit '7c8c27556814d1abcc2f4c882dee55c704b0cac4'
                            /home/pi
                            /home/pi/RetroPie-Setup/tmp/build/hypseus /home/pi
                            
                            = = = = = = = = = = = = = = = = = = = = =
                            Configuring 'hypseus' : Hypseus Singe - Laserdisc Emulator
                            = = = = = = = = = = = = = = = = = = = = =
                            
                            Copying default configuration to /opt/retropie/configs/daphne/hypinput.ini
                            cp: cannot stat '/home/pi/RetroPie-Setup/scriptmodules/emulators/hypseus/hypinput.ini': No such file or directory
                            chown: cannot access '/opt/retropie/configs/daphne/hypinput.ini': No such file or directory
                            /home/pi
                            

                            It has not been accepted into official master branch yet, so depending on how you updated RetroPie-Setup it possibly got cleaned out by the git pull.

                            The file is certainly there in the branch of the pull request:

                            https://github.com/DirtBagXon/RetroPie-Setup/tree/hypseus/scriptmodules/emulators/hypseus

                            I think you may have to manually add hypseus.sh and hypinput.ini back into RetroPie-Setup for testing.

                            Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                            Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                            Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                            johnodonJ 1 Reply Last reply Reply Quote 0
                            • johnodonJ
                              johnodon @DirtBagXon
                              last edited by

                              @dirtbagxon OK...no worries. Ijust wanted to make sure it wasn't a code issue on the repo side.

                              John

                              DirtBagXonD 1 Reply Last reply Reply Quote 0
                              • DirtBagXonD
                                DirtBagXon @johnodon
                                last edited by DirtBagXon

                                @johnodon said in Integrate Daphne Emulator back into the Retropie Script for Ubuntu:

                                @dirtbagxon OK...no worries. Ijust wanted to make sure it wasn't a code issue on the repo side.

                                John

                                Thanks for the testing :)

                                Adding this for anyone else who may want to test the current pull request:

                                Download the Scriptmodule:

                                mkdir -p /home/pi/RetroPie-Setup/scriptmodules/emulators/hypseus
                                
                                wget https://raw.githubusercontent.com/DirtBagXon/RetroPie-Setup/hypseus/scriptmodules/emulators/hypseus/hypinput.ini -O /home/pi/RetroPie-Setup/scriptmodules/emulators/hypseus/hypinput.ini
                                
                                wget https://raw.githubusercontent.com/DirtBagXon/RetroPie-Setup/hypseus/scriptmodules/emulators/hypseus.sh -O /home/pi/RetroPie-Setup/scriptmodules/emulators/hypseus.sh
                                
                                • Go to ES and select Configuration, select RetroPie Setup, or just type sudo ~/RetroPie-Setup/retropie_setup.sh
                                • Navigate to Manage packages
                                • Select exp experimental packages
                                • Run down the list, there select 'hypseus'
                                • Select Install from source

                                 

                                 

                                Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                                Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                                Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                                johnodonJ 1 Reply Last reply Reply Quote 2
                                • johnodonJ
                                  johnodon @DirtBagXon
                                  last edited by

                                  @dirtbagxon Not sure if this will pose any issues, but the ~/.hypseus folder is owned by root however the contents within are owned by pi.

                                  drwxr-x--- 11 pi   pi   4096 Sep  9 21:53 .
                                  drwxr-xr-x  3 root root 4096 Sep  8 22:27 ..
                                  -rw-------  1 pi   pi   4684 Sep 12 11:54 .bash_history
                                  -rw-r--r--  1 pi   pi    220 Mar 19 16:02 .bash_logout
                                  -rw-r--r--  1 pi   pi     72 Sep  8 22:50 .bash_profile
                                  -rw-r--r--  1 pi   pi   3771 Mar 19 16:02 .bashrc
                                  drwx------  5 pi   pi   4096 Sep 12 11:53 .cache
                                  drwxr-xr-x  7 pi   pi   4096 Sep 12 11:53 .config
                                  lrwxrwxrwx  1 pi   pi     42 Sep  8 22:36 .emulationstation -> /opt/retropie/configs/all/emulationstation
                                  -rw-r--r--  1 pi   pi      0 Sep  8 22:50 .hushlogin
                                  drwxr-xr-x  5 root root 4096 Sep  9 16:07 .hypseus
                                  drwxr-xr-x  3 pi   pi   4096 Sep  8 22:33 .local
                                  lrwxrwxrwx  1 pi   pi     26 Sep  9 19:16 .mame -> /opt/retropie/configs/mame
                                  -rw-r--r--  1 pi   pi    807 Mar 19 16:02 .profile
                                  -rw-r--r--  1 pi   pi      0 Sep  8 22:30 .sudo_as_admin_successful
                                  -rw-rw-r--  1 pi   pi    180 Sep  9 14:59 .wget-hsts
                                  drwxrwxr-x  2 pi   pi   4096 Sep  9 18:01 Downloads
                                  drwxr-xr-x  6 pi   pi   4096 Sep  8 23:01 RetroPie
                                  drwxr-xr-x  8 pi   pi   4096 Sep  8 22:54 RetroPie-Setup
                                  drwxrwxr-x  4 pi   pi   4096 Sep  8 22:31 RetroPie-Setup-Ubuntu
                                  drwxrwxr-x  2 pi   pi   4096 Sep  9 20:22 history
                                  -rw-rw-r--  1 pi   pi   8811 Sep  9 21:53 outputs.txt
                                  
                                  
                                  drwxr-xr-x  5 root root 4096 Sep  9 16:07 .
                                  drwxr-x--- 11 pi   pi   4096 Sep  9 21:53 ..
                                  drwxr-xr-x  2 pi   pi   4096 Sep 10 15:32 logs
                                  drwxr-xr-x  2 pi   pi   4096 Sep  9 16:07 ram
                                  drwxr-xr-x  2 pi   pi   4096 Sep  9 16:07 screenshots
                                  
                                  
                                  DirtBagXonD 1 Reply Last reply Reply Quote 0
                                  • DirtBagXonD
                                    DirtBagXon @johnodon
                                    last edited by DirtBagXon

                                    @johnodon said in Integrate Daphne Emulator back into the Retropie Script for Ubuntu:

                                    @dirtbagxon Not sure if this will pose any issues, but the ~/.hypseus folder is owned by root however the contents within are owned by pi.

                                    drwxr-xr-x  5 root root 4096 Sep  9 16:07 .
                                    drwxr-x--- 11 pi   pi   4096 Sep  9 21:53 ..
                                    drwxr-xr-x  2 pi   pi   4096 Sep 10 15:32 logs
                                    drwxr-xr-x  2 pi   pi   4096 Sep  9 16:07 ram
                                    drwxr-xr-x  2 pi   pi   4096 Sep  9 16:07 screenshots
                                    
                                    

                                    These directories are actually created by the RetroPie helper function mkUserDir()

                                    mkUserDir "$home/.$md_id/ram"
                                    mkUserDir "$home/.$md_id/logs"
                                    mkUserDir "$home/.$md_id/screenshots"
                                    

                                    So it appears this function doesn't set ownership on the parent directories correctly within $home: "Creates a directory owned by the current user."

                                    It shouldn't affect the the installation as data will only be written to the correctly owned child directories. However, it is not as it should be, so I will add a chown -R to the end of the install script to ensure it's all owned by pi.

                                    You can either grab the latest scripts from the repo (as above) or fix with :

                                    sudo chown -R pi:pi ~pi/.hypseus
                                    

                                    Many thanks for the great feedback.

                                     

                                    Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                                    Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                                    Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                                    DirtBagXonD 1 Reply Last reply Reply Quote 1
                                    • DirtBagXonD
                                      DirtBagXon @DirtBagXon
                                      last edited by DirtBagXon

                                      @mitu

                                      Is anyone familiar with the reason that the package, even when up-to-date, still show this in RetroPie-Setup :

                                      'Update is available'

                                      update.png

                                      The installed package version has the correct git tag.

                                      Is this something I have control over?

                                       

                                      Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                                      Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                                      Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                                      mituM dankcushionsD 2 Replies Last reply Reply Quote 0
                                      • mituM
                                        mitu Global Moderator @DirtBagXon
                                        last edited by

                                        @dirtbagxon said in Integrate Daphne Emulator back into the Retropie Script for Ubuntu:

                                        Is this something I have control over?

                                        Not really, since the setup script automatically determines if there's an update based on the source location and the locally stored package info (retropie.pkg in the install folder). I can't seem to reproduce the situation though, if I install from source then it shows correctly as up-to-date

                                        7acd6c03-5a2f-4bf7-898e-7039beff1bc3-image.png

                                        1 Reply Last reply Reply Quote 0
                                        • dankcushionsD
                                          dankcushions Global Moderator @DirtBagXon
                                          last edited by

                                          @dirtbagxon is your retropie-setup script up to date? you may want to rebase it to master - quite a few changes have been made to the surrounding functionality that may affect things.

                                          DirtBagXonD 1 Reply Last reply Reply Quote 0
                                          • DirtBagXonD
                                            DirtBagXon @dankcushions
                                            last edited by DirtBagXon

                                            @dankcushions said in Integrate Daphne Emulator back into the Retropie Script for Ubuntu:

                                            @dirtbagxon is your retropie-setup script up to date? you may want to rebase it to master - quite a few changes have been made to the surrounding functionality that may affect things.

                                            Thanks for the quick reply guys. I am on the following merge of RetroPie-Setup now:

                                            commit 202fabd1bf0e0638ca71d09cc6af7e233dc0e059 (HEAD -> master, origin/master, origin/HEAD)
                                            Author: Jools Wills <buzz@exotica.org.uk>
                                            Date:   Tue Sep 14 06:38:12 2021 +0100
                                            
                                                dolphin - license.txt was renamed to COPYING
                                            

                                            I was one commit behind, but testing now still shows as out of date...
                                            I have had this reported from a couple of other users testing the scripts in the field, so not just me seeing it.

                                            retropie.pkg shows:

                                            pkg_origin="source"
                                            pkg_date="2021-09-14T17:58:55+01:00"
                                            pkg_repo_type="git"
                                            pkg_repo_url="https://github.com/DirtBagXon/hypseus-singe.git"
                                            pkg_repo_branch="RetroPie"
                                            pkg_repo_commit="327cbd674986b3c93d87beec3da9cec63c05ec57"
                                            pkg_repo_date="2021-09-11T16:01:00+01:00"
                                            pkg_repo_extra=""
                                            

                                            Which all looks correct.... Hmmm...

                                            I'll try another reinstall on the new commit.

                                            Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                                            Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                                            Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                                            DirtBagXonD 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.