moonlight: request for comments and testing
-
Update
So, irtimmer reconsidered and restored the moonlight repository now. He won't be doing major changes himself and instead he encourages others to contribute fixes and enhancements. This is good news for moonlight embedded as the project (for the moment) won't be strictly dead.
Recently, a github user fixed the initial rumble implementation and should be working now! I haven't tested it myself yet, but if you give it a try and report, that would be nice. Rumble works automatically, just launch a game that supports rumble and you should get your controller vibrating via moonlight.
-
@hhromic said in moonlight: request for comments and testing:
Update
Recently, a github user fixed the initial rumble implementation and should be working now! I haven't tested it myself yet, but if you give it a try and report, that would be nice. Rumble works automatically, just launch a game that supports rumble and you should get your controller vibrating via moonlight.
Great news ! I'll try to test this when I'm in the mood for potentially breaking my functioning setup (which won't be for a few days at least :D )
In my craziest dreams moonlight supports impulse triggers on Xbox One controllers, but seeing as it's not officially supported in windows (while being a Microsoft API...), it'll most probably always stay a dream.
-
@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!
-
@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!
-
@hhromic it works again. thanks so much!
-
@llamadestroyer glad you sorted it !
Recently Moonlight gained basic rumble support, so feel free to test and report any issues.
Good luck! -
@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!
-
@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.
-
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. -
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. -
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.
-
@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
-
@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.
-
@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?
-
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 -
@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.
-
Thanks for the quick and informative reply, @mitu!
-
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
-
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!
-
-
-
-
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!
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.