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

    moonlight: request for comments and testing

    Scheduled Pinned Locked Moved Ideas and Development
    moonlighttestingscriptmodulestreamingsteam
    147 Posts 21 Posters 40.3k 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.
    • L
      llamadestroyer
      last edited by llamadestroyer

      @hhromic recently i wiped my raspi and tried install moonlight again but it seems the scrpit is isnt works any more. it says no moonlight packages for rp3 or something. can u check it? it was a wonderfull thing for me... thanks!

      edit:i uploaded image

      H 1 Reply Last reply Reply Quote 0
      • H
        hhromic @llamadestroyer
        last edited by

        @llamadestroyer hi !
        The moonlight scriptmodule is now merged officially in RetroPie. Therefore, you should not try to patch it from my branch anymore (the branch doesn't even exist now). I realised that I forgot to update the OP with this piece of information so I apologise for the confusion caused!

        So to install Moonlight, you should just make sure that you are using the latest RetroPie Setup script and then you should find Moonlight under the Experimental modules.

        Let me know if you still can't find it!

        L 1 Reply Last reply Reply Quote 1
        • L
          llamadestroyer @hhromic
          last edited by

          @hhromic it works again. thanks so much!

          H 1 Reply Last reply Reply Quote 1
          • H
            hhromic @llamadestroyer
            last edited by

            @llamadestroyer glad you sorted it !

            Recently Moonlight gained basic rumble support, so feel free to test and report any issues.
            Good luck!

            L 1 Reply Last reply Reply Quote 0
            • L
              llamadestroyer @hhromic
              last edited by

              @hhromic how can i say, i literally feel that rumble thing in my hands. this is so awesome man. im a student i cant afford a xbox one or ps4 but i had so much better now thanks to you!

              H 1 Reply Last reply Reply Quote 0
              • H
                hhromic @llamadestroyer
                last edited by

                @llamadestroyer said in moonlight: request for comments and testing:

                @hhromic how can i say, i literally feel that rumble thing in my hands. this is so awesome man. im a student i cant afford a xbox one or ps4 but i had so much better now thanks to you!

                Thanks! But I'm not the author of the rumble fix, just the scriptmodule in RetroPie :) However I will pass your comment to the author! Glad you are enjoying Moonlight.

                1 Reply Last reply Reply Quote 0
                • H
                  hhromic
                  last edited by hhromic

                  Update

                  Moonlight learned a new parameter upstream: viewonly

                  https://github.com/irtimmer/moonlight-embedded/pull/764

                  This PR adds a new option to enable a "view-only" mode, that is, for Moonlight embedded to not send any input back to the host computer and just act as a remote viewer.

                  This feature is specially useful in conjunction with VirtualHere.

                  To use it, simply add viewonly = true to any of your configuration files.

                  1 Reply Last reply Reply Quote 1
                  • M
                    MightyHandy
                    last edited by

                    Hey guys, realize its been a while since changes were made to this. But, noticed that:
                    -when I run games launched from moonlight lately, its no longer is detecting when the game closes
                    -I can no longer launch steam from moonlight
                    I'm wondering if steam or nvidia launched an update that is making this not work the same way.

                    1 Reply Last reply Reply Quote 0
                    • M
                      Machtroid
                      last edited by

                      Is there a way to change the button combination to quit moonlight streaming from Start + Select + L + R to a custom set of buttons? I can't find where I'd be able to set that in any of the configs.

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        hhromic @Machtroid
                        last edited by

                        @Machtroid at the moment that is not configurable without recompiling moonlight unfortunately.

                        If you are up to that, the combination is defined:

                        • Here for joypads: https://github.com/irtimmer/moonlight-embedded/blob/master/src/input/evdev.c#L101
                        • Here for (console) keyboards: https://github.com/irtimmer/moonlight-embedded/blob/master/src/input/evdev.c#L99-L100
                        • Here for (X11) keyboards: https://github.com/irtimmer/moonlight-embedded/blob/master/src/input/x11.c#L34-L35
                        M 1 Reply Last reply Reply Quote 0
                        • M
                          Machtroid @hhromic
                          last edited by

                          @hhromic Thanks for the info! Obviously not a big deal I was just kind of curious. Might give it a shot the next time I do a build.

                          1 Reply Last reply Reply Quote 1
                          • ?
                            A Former User
                            last edited by

                            @hhromic Thanks for all of the continued effort on this project! It's really been awesome to see it continued to be worked on, and really makes it simple to set up game streaming!

                            Random question for you -- I'm fairly confident it's an upstream moonlight issue, but figured you'd might have some insight. I've recently added some XBOX Game Pass games to be streamed via moonlight. I did this by creating a Desktop shortcut to the game, and then manually adding that to GFE under the Shield tab. This part works great!

                            What doesn't work great though, is that it doesn't then force a resolution change on my PC (I'm running 21:9 1440p natively) to 1080p (like steam games / autodetected games do), resulting in a letterboxed experience, even if I set the in game resolution to 1080p.

                            Any ideas by chance?

                            1 Reply Last reply Reply Quote 0
                            • V
                              Vegz78
                              last edited by

                              Hi @hhromic, @Zangdaarr and/or @mitu,

                              I’ve been following this project with great interest, since I also really appreciate streaming newer (retro)games from within RetroPie on the RPi together with all the natively running retro game emulators. Great work, @hhromic!

                              At the moment I am working on a solution for playing MakeCode Arcade games directly in RetroPie.

                              What would be the process and requirements for getting this added to the retropie_setup.sh script for installation from within RetroPie in future releases, if my project at some point reaches sufficient maturity/stability/demand?

                              Br,
                              Vegard

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

                                @vegz78 said in moonlight: request for comments and testing:

                                What would be the process and requirements for getting this added to the retropie_setup.sh script for installation from within RetroPie in future releases, if my project at some point reaches sufficient maturity/stability/demand?

                                The 'standard' method is to create a scriptmodule to install and - perhaps - adding a new system to RetroPie for the new game types. You can submit it then as a PR to be included in RetroPie-Setup.

                                V 1 Reply Last reply Reply Quote 1
                                • V
                                  Vegz78 @mitu
                                  last edited by

                                  Thanks for the quick and informative reply, @mitu!

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    phialek
                                    last edited by phialek

                                    Hi, first of all thank you so much moonlight. I used it a lot in my raspberry pi 4 arcade cabinet with arcade stickss and buttons (dragon rise controller). Everything worked perfectly. I could also after reading this thread get games working wich had weird names. But since a couple of days my dragon rise arcade sticks don't work properly. Everything is still mapped right (mapping wasnt necessary), but now the arcade stick controls the left and right triggers as well. I have tried everything. Deinstalled and cleaned moonlight, updated it, reinstalled it. I even made custom mapping which was a pain because i couldn't skip buttons. Nothing solves this problem. Please tell me there is a way i can make it work. I don't want to buy new controllers. By the way i have a xbox one controller connected as well wich works normally also steam link behaves normally as well. Thank you

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Sergorov
                                      last edited by

                                      Hello!
                                      Wow, this is so spectacular! I thought it was great when I got SteamLink installed on Retropie, but the performance was mediocre at best. Definitely nothing to play any games with advanced graphics or the necessity to react fast.... But then I coincidentally found this thread, and installed Moonlight. It works perfectly, it's like Steam on steroids! The FPS is downright twice of what Steamlink could ever get me, and gamepad response is amazing! Thank you very, very much for this @hhromic !

                                      Talking of Gamepads: while there are quite a lot of pads in the database I was kind of surprised that my MSI GC30 was not actually supported out of the box. I had to manually configure the input, but for some reason the configuration tool crashed mid process several times or got the inputs mixed up completely. In the end I had to guess some values and resort to trial and error for sorting out the string, but I managed to get all buttons, sticks and the d-pad to work.

                                      In case it helps someone:
                                      MSI GC30:

                                      03000000220d0000300c000010010000,msi GC30,a:b1,b:b2,x:b0,y:b3,start:b9,guide:b11,back:b8,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7,platform:Linux,
                                      

                                      MSI GC30 V2 (same mapping but actually a different controller):

                                      03000000220d0000330c000011010000,msi GC30 V2,a:b1,b:b2,x:b0,y:b3,start:b9,guide:b11,back:b8,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7,platform:Linux,
                                      

                                      Again, thank you for this great piece of code which just opens up another world to a tiny computer I thought would just be able to run some roms at best!

                                      Didn't we grow out of consoles by 1992?

                                      1 Reply Last reply Reply Quote 0
                                      • S Sergorov referenced this topic on
                                      • S Sergorov referenced this topic on
                                      • S Sergorov referenced this topic on
                                      • E
                                        eTaurus
                                        last edited by

                                        Cheers!
                                        Great package and it works very well for streaming the video part. What I don't get is the audio part.

                                        I read that Moonlight defaults to PulseAudio nowadays which may be the culprit. I installed PulseAudio but got problems with my controllers, no sound in Retropie and a feeling of instability.

                                        There should be an option to tell Moonlight to use ALSA but I don't know how.

                                        It would be nice if somebody could point me in the right direction because I would like to be able to use the "official" Retropie package. I got it running with PulseAudio with this project from @Vegz78 :

                                        https://retropie.org.uk/forum/topic/26984/announce-moonlight-qt-embedded-integration-in-retropie

                                        I'm running Moonlight-qt instead of Moonlight-embedded.

                                        Regards!

                                        E 1 Reply Last reply Reply Quote 0
                                        • E
                                          eTaurus @eTaurus
                                          last edited by eTaurus

                                          @etaurus said in moonlight: request for comments and testing:

                                          Cheers!
                                          Great package and it works very well for streaming the video part. What I don't get is the audio part.

                                          I read that Moonlight defaults to PulseAudio nowadays which may be the culprit. I installed PulseAudio but got problems with my controllers, no sound in Retropie and a feeling of instability.

                                          There should be an option to tell Moonlight to use ALSA but I don't know how.

                                          It would be nice if somebody could point me in the right direction because I would like to be able to use the "official" Retropie package. I got it running with PulseAudio with this project from @Vegz78 :

                                          https://retropie.org.uk/forum/topic/26984/announce-moonlight-qt-embedded-integration-in-retropie

                                          I'm running Moonlight-qt instead of Moonlight-embedded.

                                          Regards!

                                          Okay, nevermind, I got it working now. One has to set audio = sysdefaultor maybe audio = hdmi in /opt/retropie/configs/all/moonlight/global.conf.

                                          1 Reply Last reply Reply Quote 0
                                          • mituM mitu referenced this topic on
                                          • S
                                            Sergorov
                                            last edited by

                                            Hello! I hope I'm not necroposting here, but after a few years worth of updates it seems that some functionality broke. I tried to run

                                            sudo ./retropie_packages.sh moonlight exec map -input /dev/input/event0
                                            

                                            But I get "command not known". I'm trying to add new controllers, and it seems the mappings created with the sdl-tool on Windows and added to the mycontrollers.map don't work.

                                            Didn't we grow out of consoles by 1992?

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