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 . Arcade joystick orientation wrong.

    Scheduled Pinned Locked Moved Help and Support
    daphnedaphne controll
    164 Posts 28 Posters 43.0k 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
      beamquaker @grant2258
      last edited by

      @grant2258 I would like to thank you for your patience and all the help you have gave me. Thanks for the explanation as well . It's a good emulator it just needs someone to sort it out.

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

        if ok here is fix for the mapping not working properly its a updated binary

        https://drive.google.com/file/d/1EkBeWcUCnbJ1PHEEo4uyoCpP6cnqqGqs/view

        upload it to your pi
        ssh in
        type these commands in

        unzip daphne.zip
        cd daphne
        sudo sh install.sh

        this fix maps the buttons to the joystick properly from config file properly so you can set any buttons for any function with no voodoo happening.

        Just note if you map the button up down left right they will work as buttons but that wont stop the hat working youll just be adding a extra up and down. No i didnt write the sh script mr shakz the first time i used this emulator is when beamquaker started this thread and i like dragons lair when i was a kid.

        I will look at the joystick code for the analogue its just getting the time. If you install this update itll work as it should with mapping. If you dont update just stick to them joystick buttons i gave you in the ini

        B 1 Reply Last reply Reply Quote 1
        • B
          beamquaker @grant2258
          last edited by

          @grant2258 thanks. I have faith in you .

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

            that was just a simple change to get you going the way you want and the way it should work

            https://github.com/grant2258/daphne-emu/commit/23796d9f764fc1b996906dc1a6723bd891da04d3

            i need to learn git hub just use the binary i posted for now if you need more buttons than the ini joy_ provides

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

              Well i got a chance to look at the code I need to make a few changes before i get to the joystick. I dont know if ill get the analog joystick done this weekend but the key mapping code should be done soon so you can set the emulator up right. Ill post you instructions of how to update it when im done with the changes.

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

                ok good news button mapping and the joystick is fihttps://github.com/grant2258/daphne-emu/blob/testing/dapinput.inixed for all joysticks with more than 2 axis (english the dragonwise will work now and the buttons map and work propely now and you dont have to add 1 anymore. I dont know about diaginal you might get lucky sometimes. . I would really to get a game that supports it to do it properly. So if you left me know a game ill look into it. Im trying to figure out to do a pull request properly to get it in the main github page. This really brings the emulator into a usable state.

                for now youll just have to grab it form my repo not hard to do

                fist you need to edit this file
                sudo pico /home/pi/RetroPie-Setup/scriptmodules/emulators/daphne.sh

                near the top change

                gitPullOrClone "$md_build" https://github.com/RetroPie/daphne-emu.git retropie

                gitPullOrClone "$md_build" https://github.com/grant2258/daphne-emu.git testing

                press ctrl + x then press y and then enter thats to save you can edit the file any way you like.

                now its just simply time to install its like a new emulator its works properly. I knwo exactly what it done wrong and why it didnt work it was a minor oversite in a few places. The joystick will get more tlc when i get more feed back if there is problems.

                cd home/pi/RetroPie-Setup/
                sudo ./retropie_packages.sh daphne clean

                then install from source as normal let me know how you get on works perfect for me now

                please check this has all the info you need to know about inputs

                https://github.com/grant2258/daphne-emu/blob/testing/dapinput.ini

                B 1 Reply Last reply Reply Quote 1
                • B
                  beamquaker @grant2258
                  last edited by

                  @grant2258 I'll try and set it up tomorrow. I think you can go diagonal in Mach 3 . This is amazing news . I'll gladly test it the minute I get a chance.

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

                    no problems enjoy

                    1 Reply Last reply Reply Quote 0
                    • mediamogulM
                      mediamogul Global Moderator @beamquaker
                      last edited by

                      @beamquaker said in Daphne . Arcade joystick orientation wrong.:

                      I think you can go diagonal in Mach 3 .

                      You can indeed. 'Us Vs. Them' also allows diagonal movement.

                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

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

                        i made a mess of my github ive made the the github again. Ill leave that repository as it is until i know what im doing with github. just let me know if its not working if it isint we can take it from there

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          beamquaker @grant2258
                          last edited by

                          @grant2258 I couldn't connect to your github URL unfortunately. I followed the instructions but had to change it back when it wouldn't connect. Sorry

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

                            ive been working on git gub its not the easiest thing if

                            sudo git clone --recursive --depth 1 --branch testing "https://github.com/grant2258/daphne-emu.git"
                            works you must have typed something wrogn in prevous instructions

                            basically your just changing RetroPie to grant2258
                            and small retropie to testing.

                            ok forgot to say above install from source not binary

                            B 1 Reply Last reply Reply Quote 1
                            • B
                              beamquaker @grant2258
                              last edited by

                              @grant2258 I got connected to your github and it starts to install from source but I get (/home/pi/retropie-setup/tmp/build/Daphne/daphne.bin not found). It tells me where to find the error files next. It says all that but Daphne boots the games up no problem. I haven't tried to change the buttons yet. The joystick is still the same. I'm assuming I can get updates from you now as you update the project.

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

                                i have to do it all over again github had messed all my files up. It isisnt a lot of work to be fair i just dont know how to use github it fustrating

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

                                  @beamquaker I'll wait until you have it sorted . At least you are trying to sort out the problems. I wish I could code . I don't even know where to begin.

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

                                    by not using github lol

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

                                      ok the commits been posted i dont know if they will accept it was really annoying them with me messing up in git hub. All i can do is appoligise for that. Grab the emulator for now if you want it working specially the joystick :) and buttons too of course thats was the main problem.

                                      git clone --recursive --depth 1 --branch 1449 "https://github.com/grant2258/daphne-emu.git"
                                      cd daphne-emu/
                                      sudo cp daphne.bin dapinput.ini /opt/retropie/emulators/

                                      https://github.com/RetroPie/daphne-emu/compare/retropie...grant2258:retropie

                                      too see whats been patched

                                      B 1 Reply Last reply Reply Quote 0
                                      • B
                                        beamquaker @grant2258
                                        last edited by

                                        @grant2258 do I just install it again from source using your github URL that I already have. I'm assuming i will have to map my own buttons as by default nothing will be mapped. Just change -1 to whatever button I want.

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

                                          well nothing should be mappped in the joystick buttons anyway unless you map it button wise. no need to set them all to -1 just set the ones you want to use like coin start1 and button 1. that branch just has my bin with my changed fixes nothing else is in it

                                          mediamogulM 1 Reply Last reply Reply Quote 0
                                          • mediamogulM
                                            mediamogul Global Moderator @grant2258
                                            last edited by

                                            @grant2258 said in Daphne . Arcade joystick orientation wrong.:

                                            no need to set them all to -1

                                            Originally, I believe Daphne used '0' as sort of a stand-in for a nul entry, making the +1 to all button codes a requirement. With your changes, if a particular map entry is not assigned, is it simply to be left blank, or is there a replacement for '0'?

                                            RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                            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.