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

    Little Daphne emulator help

    Scheduled Pinned Locked Moved Help and Support
    daphnespace ace
    16 Posts 5 Posters 1.5k 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.
    • G
      grant2258 Banned
      last edited by

      this subject keep on reapearing i put a pull request in for this on retropies github and it was ignored for months so i just closed it. if you want to fix it compile it from my repo like this. it will also fix analog joystick controls up for directions to be used.

      cd /home/pi/RetroPie-Setup/
      git clone https://github.com/grant2258/daphne-emu.git tmp/build/daphne
      sudo ./retropie_packages.sh daphne depends
      sudo ./retropie_packages.sh daphne build
      sudo ./retropie_packages.sh daphne install
      sudo ./retropie_packages.sh daphne configure
      sudo ./retropie_packages.sh daphne clean
      
      ClydeC 1 Reply Last reply Reply Quote 0
      • D
        DingoAce10
        last edited by

        For those still having the problem. I updated the Daphne emulator from the binary and everything is now working correctly.

        1 Reply Last reply Reply Quote 0
        • ClydeC
          Clyde @grant2258
          last edited by

          @grant2258 You wouldn't want to add the much-needed joystick selection (i.e. other than /dev/event0) to Daphne by any chance? 😌

          G 1 Reply Last reply Reply Quote 0
          • G
            grant2258 Banned @Clyde
            last edited by

            @Clyde said in Little Daphne emulator help:

            @grant2258 You wouldn't want to add the much-needed joystick selection (i.e. other than /dev/event0) to Daphne by any chance? 😌

            Well its using sdl I know it isint quite what you asked for but you can changed this one line here to change the joystick for your setup.

            https://github.com/grant2258/daphne-emu/blob/fd017595886a6cf55b412c8afd2ca29bb4e4d7e6/src/io/input.cpp#L303

            SDL_JoystickOpen(0) is default change t to which one you want for your setup SDL_JoystickOpen(1) ect and just compile the source.

            I dont have any plans to change daphne much but its easy enough to set here. I would need to look at the source and add another command line option to do that as the cfg file is read after the joystick init ill leave it in a todo bucket but this should let you change it for now.

            ClydeC 2 Replies Last reply Reply Quote 1
            • ClydeC
              Clyde @grant2258
              last edited by

              @grant2258 Thanks! I'll try that. 😊

              1 Reply Last reply Reply Quote 0
              • ClydeC
                Clyde @grant2258
                last edited by

                @grant2258 Er … sorry, how do I compile from your repo? sh ./buildme.sh fails, see here for the output. I tried on Kubuntu 18.04.

                1 Reply Last reply Reply Quote 0
                • G
                  grant2258 Banned
                  last edited by

                  the retropie instructions are above your using retropie use the retropie build scripts. Are you using retropie on x84/64 bit ?

                  ClydeC 1 Reply Last reply Reply Quote 0
                  • ClydeC
                    Clyde @grant2258
                    last edited by

                    @grant2258 Yes, at least for the test above for speed reasons. But I finally plan to compile your daphne fork on my Pi 3b. Sorry, I missed the instructions above. As I understand them, they clone your repo directly to the temp dir Retropie is using for its "installation from source", and then invoke the Retropie installation script for all necessary steps, right?

                    Do I have to modify your instructions for my 64 bit system? (I can't test it before tomorrow.)

                    1 Reply Last reply Reply Quote 0
                    • G
                      grant2258 Banned
                      last edited by

                      never tried compiling this code in 64 bit to be honest i would need to compile it locally to test

                      ClydeC 1 Reply Last reply Reply Quote 0
                      • ClydeC
                        Clyde @grant2258
                        last edited by Clyde

                        @grant2258 I did compile your version with SDL_JoystickOpen() set to 1 on my Pi by now. But alas, I can't control the game with my joysticks connected via two DragonRise encoders. For some months now (and maybe since I experimented with lr-daphne), in Dragon's Lair 1+2 and DLE 2.1, any movement from one of the sticks will freeze the video in the games' attract mode as well as in a running game. I can control the games via keyboard, however. Since this happens with your fork as well as the source and binary versions from Retropie, I'll have to fix that before trying to change the joystick detection in your version.

                        I don't want to hijack this thread with this problem, so I will open another thread about it (not now, since I have to leave soon). If you've any quick idea what may be wrong with my Daphne setup that worked flawlessly before, you may still answer here until I've opened a new thread.

                        1 Reply Last reply Reply Quote 0
                        • G
                          grant2258 Banned
                          last edited by

                          Well it could be something in your setup daphne by default uses the first joystick found. I could be any joystick number if you have more setup or custom settings for joysticks. You would need to add extra info to see what joystick sdl is using in daphne. Your problem sounds more liek a config problem or the first joystick isint you dragonrise

                          ClydeC 1 Reply Last reply Reply Quote 0
                          • ClydeC
                            Clyde @grant2258
                            last edited by

                            @grant2258 Thanks for the tips. I'll cobble something together when I have time to collect the necessary information.

                            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.