Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Moonlight not creating mapping files to PS3 bluetooth controller

    Emulator Arcade/PC/Console
    moonlight creating mapping ps3 bluetooth
    5
    20
    6596
    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.
    • nwildner
      nwildner last edited by nwildner

      @Substring . The log is empty. I've even cleaned it before launching Steam App at Moonlight:

      > /recalbox/share/system/logs/es_launch_stdout.log
      tail -f /recalbox/share/system/logs/es_launch_stdout.log
      ^C
      

      Launched after tailing the log. Empty. If i try to cat it due to possible newfile creation, it's empty too:

      cat /recalbox/share/system/logs/es_launch_stdout.log
      

      Error message remains the same. Contents after trying to execute any Moonlight app:

      ls -l /recalbox/share/system/logs/es_launch_stderr.log
      -rw-r--r--    1 root     root           852 Oct 18 19:23 /recalbox/share/system/logs/es_launch_stderr.log
      cat /recalbox/share/system/logs/es_launch_stderr.log
      Traceback (most recent call last):
        File "/work/output/target/usr/lib/python2.7/site-packages/configgen/emulatorlauncher.py", line 210, in <module>
          exitcode = main(args)
        File "/work/output/target/usr/lib/python2.7/site-packages/configgen/emulatorlauncher.py", line 139, in main
          command = generators[system.config['emulator']].generate(system, args.rom, playersControllers)
        File "/usr/lib/python2.7/site-packages/configgen/generators/moonlight/moonlightGenerator.py", line 14, in generate
          config = moonlightControllers.writeControllersConfig(system, rom, playersControllers)
        File "/usr/lib/python2.7/site-packages/configgen/generators/moonlight/moonlightControllers.py", line 45, in 
      writeControllersConfig
          os.remove(confFile)
      OSError: [Errno 2] No such file or directory: '/recalbox/share/system/configs/moonlight/mappingP1.conf'
      

      Anything else I could try?

      Thanks for the assist.

      edit: Tried a wired controller, still the same.

      PT_BR Retrogaming on Telegram

      Substring 1 Reply Last reply Reply Quote 0
      • Substring
        Substring @nwildner last edited by

        @nwildner bug found, corrected on my side, will be in the next release

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

        1 Reply Last reply Reply Quote 1
        • nwildner
          nwildner last edited by

          Ok. I'll wait.

          If you have any workaround, or anything i could additionaly test, just ping me 🙂

          PT_BR Retrogaming on Telegram

          sevenx 1 Reply Last reply Reply Quote 0
          • sevenx
            sevenx @nwildner last edited by sevenx

            @nwildner
            Workaround:

            • Connect over SSH
            • mount -o remount, rw /
            • touch /recalbox/share/system/configs/moonlight/mappingP1.conf
            • touch /recalbox/share/system/configs/moonlight/mappingP2.conf
            • touch /recalbox/share/system/configs/moonlight/mappingP3.conf
            • touch /recalbox/share/system/configs/moonlight/mappingP4.conf
            • touch /recalbox/share/system/configs/moonlight/mappingP5.conf
            • et voilà
            Cthulhus 1 Reply Last reply Reply Quote 1
            • nwildner
              nwildner last edited by nwildner

              hi @sevenx

              Did that, but instead just symlinked all (p2 to p5) to p1.conf 🙂

              Worked like a charm. Thanks for all the help.

              PT_BR Retrogaming on Telegram

              sevenx 1 Reply Last reply Reply Quote 0
              • sevenx
                sevenx @nwildner last edited by

                @nwildner do you tested the Steam Big Picture mode?

                nwildner 1 Reply Last reply Reply Quote 0
                • nwildner
                  nwildner @sevenx last edited by nwildner

                  @sevenx Yup.

                  It is how the default Steam app behaves: It open using big picture mode.

                  It is working, with 2 controllers paired both can navigate at the menus, however, I've faced some lag while browsing through the games, but that is another problem. Maybe i will need to buy a 5GHz Wireless NIC to my pc(Rpi3 is cabled to the router). But if i reduce quality to 720p and 30fps at the configuration, gameplay goes smooth.

                  I can even play PSX2 games that are not theoretically optimized to use the Nvidia streaming protocol.

                  And this is a big point to Recalbox: It recognized and added this psx2 bat i have on Windows as a game inside Moonlight menu 🙂

                  PT_BR Retrogaming on Telegram

                  Substring sevenx 2 Replies Last reply Reply Quote 1
                  • Substring
                    Substring @nwildner last edited by

                    @nwildner Wow that's some nice "setup" here 🙂 Give a try to CEmu and RPCS3 through Moonlight haha

                    Former dev - Please reply with @substring so that i am notified when you answer me
                    Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                    1 Reply Last reply Reply Quote 0
                    • sevenx
                      sevenx @nwildner last edited by

                      @nwildner What controllers are you using?

                      nwildner 1 Reply Last reply Reply Quote 0
                      • nwildner
                        nwildner @sevenx last edited by

                        @sevenx PS3 Bluetooth clone, shanwan chipset.

                        @Substring Don't know how ps3 games will behave. I have the minimum recommended GPU(GTX 650). I'll give it a try 😛

                        PT_BR Retrogaming on Telegram

                        1 Reply Last reply Reply Quote 0
                        • Gaetan
                          Gaetan Theme moderator last edited by

                          Hi!
                          No one is having issues while pressing the joystick to run in a fps and it's not working ?
                          Could you show the mappingP1.conf that you are using ?

                          Thank you very much!

                          Boards : Now: Nuc i7 7567u // Past: Rpi3 B, Rpi3 B+, Odroid xu4
                          Controllers : Ps3 dualshock, 8bitdo SFC30 pro, Snes wired controller

                          Gaetan nwildner 2 Replies Last reply Reply Quote 0
                          • Gaetan
                            Gaetan Theme moderator @Gaetan last edited by

                            @gaetan Probleme solved, I remapped my controler and everything is fine

                            Boards : Now: Nuc i7 7567u // Past: Rpi3 B, Rpi3 B+, Odroid xu4
                            Controllers : Ps3 dualshock, 8bitdo SFC30 pro, Snes wired controller

                            1 Reply Last reply Reply Quote 0
                            • nwildner
                              nwildner @Gaetan last edited by

                              Hi @gaetan

                              I've just created an empty file using touch command as explained by sevenx. This was enough to make moonlight work, and the mapping used is still the default already set at Emulationstation

                              PT_BR Retrogaming on Telegram

                              1 Reply Last reply Reply Quote 0
                              • Cthulhus
                                Cthulhus @sevenx last edited by Cthulhus

                                @sevenx said in Moonlight not creating mapping files to PS3 bluetooth controller:

                                Workaround

                                Thanks for the Workaround!

                                One question :

                                I'm using a wireless keyboard and mouse on my Recalbox (nice for IBM and Scummvm's games) does it can work too for the Moonlight and be able to play games like Total Wars ?

                                If I delete all : mappingP1.conf to mappingP5.conf, the keyboard + mouse work fine.

                                If I have mappingP1.conf to mappingP5.conf, no mouse and keyboard but working controlers.

                                I think that I can't have all 🙂 Le beurre et l'argent du beurre et le ... 🙂

                                C'était mieux avant :-)

                                nwildner 1 Reply Last reply Reply Quote 0
                                • nwildner
                                  nwildner @Cthulhus last edited by nwildner

                                  @cthulhus

                                  Have you tried yesterday's update?(Recalbox 17.11.02)

                                  This manual creation of mappingP1-5.conf was a workaround, and it is possible that the patch created by @Substring solved the issue: Moonlight now finally runs without crashing at start

                                  PT_BR Retrogaming on Telegram

                                  Cthulhus Substring 2 Replies Last reply Reply Quote 0
                                  • Cthulhus
                                    Cthulhus @nwildner last edited by

                                    @nwildner yep, the today's patch fixe the issue !

                                    C'était mieux avant :-)

                                    1 Reply Last reply Reply Quote 0
                                    • Substring
                                      Substring @nwildner last edited by

                                      @nwildner i solved the Moonlight issue (as i made the issue myself). You reported it, we promised we'd make much more updates after 4.1, here is the proof 🙂

                                      Former dev - Please reply with @substring so that i am notified when you answer me
                                      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post

                                      Want to support us ?

                                      66
                                      Online

                                      99.6k
                                      Users

                                      28.1k
                                      Topics

                                      187.1k
                                      Posts

                                      Copyright © 2021 recalbox.com