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

    SD image restored in a new bartop, controller not recognized in retroarch

    Scheduled Pinned Locked Moved Help and Support
    controllerusbxin mo dualimagebackup
    17 Posts 4 Posters 2.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.
    • papinistP
      papinist
      last edited by

      Hi guys,
      I made a bartop for my brother and when the system was perfect I made a backup of the sd card.
      Now I have built another bartop, with the same hardware (xin-mo controller) with the same wiring and the same components and restored my saved image in a new sd card.

      After booting the system all joysticks and buttons work in emulationstation, but when I started a game, the message in lower left says something like "xin-mo controller not recognized\configured" (can't remember what of the two)

      I was thinking that the system assign a new usd id (or something like that) to the controller, that is different for each individual hardware part, like a serial number..
      Is there a way to fix this, or should I manually reconfigure all buttons? I have all libretro based systems, plus daphne.

      Thanks!

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

        @papinist I wonder if writing this post took much less time than reconfiguring the buttons would've taken. 😇

        Seriously, if it's only that, I would just reconfigure the buttons.

        Alternatively, you could try @meleu's Joystick Selection Script and see if that can assign the sticks properly.

        papinistP 1 Reply Last reply Reply Quote 2
        • papinistP
          papinist @Clyde
          last edited by

          You could be right :D the fact is that I configured that bartop months ago and it was perfect, and in the meantime I forgot all the stuff needed for daphne and probably some other tweaks I made in that configuration..

          Also, I would like to be sure that no other configuration was lost with the backup\restore method!
          Is it correct that restoring to a system with the same hardware, you will lost joystick assignments in retroarch?

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

            @papinist said in SD image restored in a new bartop, controller not recognized in retroarch:

            Is it correct that restoring to a system with the same hardware, you will lost joystick assignments in retroarch?

            When the exact same components are used, the original assignments are likely to carry over. However, your first instinct that there might be a minor variance in the controller assignment could be correct. As recommended above, your best bet is to simply reconfigure the controls for RetroArch and Daphne and see if that fixes things.

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

            1 Reply Last reply Reply Quote 1
            • papinistP
              papinist
              last edited by papinist

              Ok I reconfigured input from emulationstation's options menu and now retroarch games are working - I only need to reconfigure player 1 input to also have player 2 functional.

              Problem is in Daphne emulator: no buttons are recognized, and the only one that works is the coin\select button that is mapped in dainput.ini file to COIN functionality, but it actually QUITS the game.
              No other button works.

              The system from where I got the backup had Daphne working perfectly.. I know that buttons are mapped adding +1 to every index. This is how they are actually set:

              (retroarch)
              9(sel) 8(start)

              1(Y) 3(X) 5(L)

              0(B) 2(A) 4(R)

              (Daphne)

              10(coin) 9(start)

              2 4 6

              1(btn1) 3(btn2) 5(btn3)

              (sorry for the post layout.. I can't find options to insert text as code)

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

                @papinist Please show us the content of the file /opt/retropie/configs/daphne/dapinput.ini. You can insert the text as code by putting ``` before and after it in separate lines.

                G papinistP 2 Replies Last reply Reply Quote 0
                • G
                  grant2258 Banned @Clyde
                  last edited by grant2258

                  daphne has problems with the input system i have put a patch in to fix it no one has pulled it. I did leave instructions somewhere on how to compile it with my fixes

                  1 Reply Last reply Reply Quote 0
                  • papinistP
                    papinist @Clyde
                    last edited by papinist

                    @clyde
                    this is my dainput.ini file:

                    [KEYBOARD]
                    KEY_UP = 273 114 2
                    KEY_DOWN = 274 102 2
                    KEY_LEFT = 276 100 1
                    KEY_RIGHT = 275 103 1
                    KEY_BUTTON1 = 306 97 3
                    KEY_BUTTON2 = 308 115 1
                    KEY_BUTTON3 = 32 113 4
                    KEY_START1 = 49 0 9
                    KEY_START2 = 50 0 0
                    KEY_COIN1 = 53 0 2
                    KEY_COIN2 = 54 0 0
                    KEY_SKILL1 = 304 119 0
                    KEY_SKILL2 = 122 105 0
                    KEY_SKILL3 = 120 107 0
                    KEY_SERVICE = 57 0 0
                    KEY_TEST = 283 0 0
                    KEY_RESET = 284 0 4
                    KEY_SCREENSHOT = 293 0 0
                    KEY_QUIT = 27 113 10
                    END
                    

                    actually IT IS DIFFERENT from what I set up some hours ago! I probably did it with emulationstation running and it screwed up buttons assignment.
                    However now I fixed it with the correct button assignment:

                    [KEYBOARD]
                    KEY_UP = 273 114 2
                    KEY_DOWN = 274 102 2
                    KEY_LEFT = 276 100 1
                    KEY_RIGHT = 275 103 1
                    KEY_BUTTON1 = 306 97 1
                    KEY_BUTTON2 = 308 115 3
                    KEY_BUTTON3 = 32 113 5
                    KEY_START1 = 49 0 9
                    KEY_START2 = 50 0 0
                    KEY_COIN1 = 53 0 10
                    KEY_COIN2 = 54 0 0
                    KEY_SKILL1 = 304 119 0
                    KEY_SKILL2 = 122 105 0
                    KEY_SKILL3 = 120 107 0
                    KEY_SERVICE = 57 0 0
                    KEY_TEST = 283 0 0
                    KEY_RESET = 284 0 4
                    KEY_SCREENSHOT = 293 0 0
                    KEY_QUIT = 27 113 6
                    END
                    

                    Now COIN and QUIT buttons seem to work, but game e.g. dragon's lair plays on its own like random scenes without asking for my input.
                    I don't know why since in the other bartop works perfectly :-\

                    1 Reply Last reply Reply Quote 0
                    • papinistP
                      papinist
                      last edited by

                      Luckily I still have access to the other bartop and just checked that Dragon's lair is working strangely even there!!

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

                        the problem is daphne ill try find the thread for you to compile the version i fixed it in

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

                          instructions for compiling the daphne fix i done https://retropie.org.uk/forum/topic/8578/daphne-dragonrise-encoder-issues/17

                          1 Reply Last reply Reply Quote 1
                          • papinistP
                            papinist
                            last edited by

                            @grant2258 thank you very much for the link.
                            I have compiled the fix you made and hopefully daphne works, but like before the game seems to play some scenes and not from beginning. Joystick works but I remember that e.g. dragon's lair flashes in the direction you have to move, and it won't flash anymore.
                            Reset button does not work, quit, coin and start are working.

                            I don't know why there are all these issues.. I remember I was happy because all the laserdisc games I had were working :(

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

                              @papinist said in SD image restored in a new bartop, controller not recognized in retroarch:

                              dragon's lair flashes in the direction you have to move, and it won't flash anymore.

                              Any flashes that are missing can be enabled from the service menu by pressing the '9' keyboard key. 'Dragon's lair' also has some flashes that were included in the animation. Those obviously can't be altered. Scene order may be able to be changed from the service menu as well, but I believe that is mostly controlled by the ROM version.

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

                              1 Reply Last reply Reply Quote 1
                              • papinistP
                                papinist
                                last edited by papinist

                                Maybe my memory was bad.. I started DL2 and it has flashes and directions on screen, and it works perfectly. Also super don quixote works.
                                I have to check them all and see what works and what not.

                                Thanks for now guys!

                                EDIT: I found an explanation on how Dragon's Lair sequencing works. I thought it was palying scenes randomly but found out that it's the game's behaviour :)
                                Sorry for begging without checking! At this point I only have Space Ace with black screen after some loading scenes, thayer's quest that won't get any commands and us vs them that asks for a 'trigger' but no one of the three buttons is the one it wants!

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

                                  @papinist If you don't know it already, you should check out the DRAGON'S LAIR ENHANCEMENT ROM SET VERSION 2.1. It changes/enhances many features of Dragon's Lair.

                                  You can even install it next to the original and let them both use the same lair.m2v by pointing lair.txt to it, thus saving much space that a second m2v would occupy. For example, my ~/RetroPie/roms/daphne/dle21.daphne/dl21.txt points to ~/RetroPie/roms/daphne/lair.daphne/lair.m2v:

                                  ../lair.daphne/
                                  
                                  151     lair.m2v
                                  

                                  The .. stands for "one directory level up", relative to the location of dle21.txt.

                                  1 Reply Last reply Reply Quote 1
                                  • papinistP
                                    papinist
                                    last edited by

                                    @Clyde I was just reading the other pages on the website I found and discovered that enhanced version. I will sure try it today and see how it works. Do you know if this could be used with Space Ace too? Don't know what problem I have but it does not work at the moment.
                                    I should edit the thread title because this is mostly a daphne related problem :)

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

                                      @papinist DL21 only works for DL, but on http://www.dragons-lair-project.com/tech/ you can find enhanced versions of DL2 and SA as well. Look under "ROM Updates".

                                      I think a separate thread would be better for your Daphne issues.

                                      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.