moonlight: request for comments and testing
-
@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!
-
@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 = sysdefault
or maybeaudio = hdmi
in/opt/retropie/configs/all/moonlight/global.conf
. -
-
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.
-
@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.
-
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.