• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.
  • H
    hhromic @llamadestroyer
    last edited by 22 May 2019, 19:25

    @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 10 Sept 2019, 22:03 9 Oct 2019, 21:03

      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 19 Jan 2020, 15:58

        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 5 Apr 2020, 23:36

          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 6 Apr 2020, 15:39 Reply Quote 0
          • H
            hhromic @Machtroid
            last edited by 6 Apr 2020, 15:39

            @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 7 Apr 2020, 14:03 Reply Quote 0
            • M
              Machtroid @hhromic
              last edited by 7 Apr 2020, 14:03

              @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 13 Sept 2020, 17:06

                @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 27 Jan 2021, 14:31

                  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

                  M 1 Reply Last reply 27 Jan 2021, 15:18 Reply Quote 0
                  • M
                    mitu Global Moderator @Vegz78
                    last edited by 27 Jan 2021, 15:18

                    @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 27 Jan 2021, 16:57 Reply Quote 1
                    • V
                      Vegz78 @mitu
                      last edited by 27 Jan 2021, 16:57

                      Thanks for the quick and informative reply, @mitu!

                      1 Reply Last reply Reply Quote 0
                      • P
                        phialek
                        last edited by phialek 8 Apr 2021, 21:09 4 Aug 2021, 20:08

                        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 30 Dec 2021, 20:29

                          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 3 Jan 2022, 13:45
                          • S Sergorov referenced this topic on 7 Jan 2022, 06:16
                          • S Sergorov referenced this topic on 7 Jan 2022, 06:21
                          • E
                            eTaurus
                            last edited by 25 Jan 2022, 16:57

                            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 26 Jan 2022, 11:33 Reply Quote 0
                            • E
                              eTaurus @eTaurus
                              last edited by eTaurus 26 Jan 2022, 11:33

                              @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
                              • M mitu referenced this topic on 25 Aug 2022, 07:05
                              • S
                                Sergorov
                                last edited by 30 Mar 2024, 10:32

                                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?

                                M 1 Reply Last reply 30 Mar 2024, 10:36 Reply Quote 0
                                • M
                                  mitu Global Moderator @Sergorov
                                  last edited by mitu 4 May 2024, 07:33 30 Mar 2024, 10:36

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

                                  Hello! I hope I'm not necroposting here, ...

                                  But you did. Please open separate topic and explain your issue, after providing the details of your systems as asked in https://retropie.org.uk/forum/topic/3/read-this-first.

                                  1 Reply Last reply Reply Quote 0
                                  • M mitu locked this topic on 30 Mar 2024, 10:36
                                  • 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.

                                    This community forum collects and processes your personal information.
                                    consent.not_received