moonlight: request for comments and testing
-
@Silent I'm glad it's finally working good for you and probably others too!
I think now is time to graduate the scriptmodule to the Official RP repo :)
Any other further issue you would like to report? -
Seems all good now! I was unable to get rumble working with my DualShock 3 yet, but naturally that's nothing a scriptmodule can do :D
As far as I can tell, it should be good to be merged! I am able to use it both for "steam" and "ps2" platforms just fine myself. Time to say goodbye to
limelight
. -
Hi,
I can not start steam in big picture mode, it comes back in emulationstation.my Steam.ml file:
config = /opt/retropie/configs/all/moonlight/global.conf address = 192.168.1.3
What's the problem?
-
@WarC0zes thanks for testing.
To further debug, can you please give the contents of the
/dev/shm/runcommand.log
file just after it goes back to emulationstation? It might be a long file so please use pastebin or similar. -
My runcommand.log :
Parameters: Executing: /opt/retropie/supplementary/moonlight/moonlight.sh stream -config "/home/pi/RetroPie/roms/steam/Steam.ml" Can't open configuration file: /opt/retropie/configs/all/moonlight/global.conf
my global.conf :
# global config file for moonlight quitappafter = true width = 1920 height = 1080 fps = 60 bitrate = 20000
my global.conf file is in /opt/retropie/configs/all/moonlight/
-
@WarC0zes said in moonlight: request for comments and testing:
Can't open configuration file
That's very weird indeed. Can you please show the output of:
ls -la /opt/retropie/configs/all/moonlight
-
pi@retropie:~ $ ls -la /opt/retropie/configs/all/moonlight total 32 drwxr-xr-x 2 pi pi 4096 févr. 24 06:21 . drwxr-xr-x 5 pi pi 4096 févr. 24 04:50 .. -rw-r--r-- 1 pi pi 2430 févr. 20 16:57 client.p12 -rw-r--r-- 1 pi pi 1082 févr. 20 16:57 client.pem -rw-r--r-- 1 pi pi 107 févr. 24 06:21 global.conf -rw-r--r-- 1 pi pi 1704 févr. 20 16:57 key.pem -rw-r--r-- 1 pi pi 35 févr. 20 16:56 scriptmodule.cfg -rw-r--r-- 1 pi pi 16 févr. 20 16:57 uniqueid.dat
-
@WarC0zes umm.
Can you try executing it from the console intead of EmulationStation typing this directly:
/opt/retropie/supplementary/moonlight/moonlight.sh stream -config "/home/pi/RetroPie/roms/steam/Steam.ml"
-
pi@retropie:~ $ /opt/retropie/supplementary/moonlight/moonlight.sh stream -config "/home/pi/RetroPie/roms/steam/Steam.ml" Can't open configuration file: /opt/retropie/configs/all/moonlight/global.conf
-
@WarC0zes very puzzling... let's try something more simple:
/opt/retropie/supplementary/moonlight/moonlight.sh stream -config /opt/retropie/configs/all/moonlight/global.conf
Can you also try typing it manually instead of copy/pasting, just in case?
-
/opt/retropie/supplementary/moonlight/moonlight.sh stream -config /opt/retropie/configs/all/moonlight/global.conf
it works like that ^^
-
@WarC0zes a-ha ! so we have a clue now.
Did you manually create theSteam.ml
file in your$romdir/steam
folder?
And if you did, you used your local computer and uploaded it there? -
-
@WarC0zes ok as I thought :)
The problem are the line endings of the file you created. You must make sure your editor saves the file using unix line endings (
\n
) and not Windows nor Mac. Some editors such as notepad++ allow you to configure this.An easy alternative is to create the files using
nano
in the same RetroPie console to ensure they have the proper unix line endings. You can also use the remote apps config file autogenerator included in the scriptmodule.Let me know if that solved your issue.
-
@hhromic
it was a space problem, you're right. Thanks -
@WarC0zes thanks for the feedback. I will be submitting this scriptmodule soon to official RetroPie :)
-
Here with a feedback. If you have a xbox one v1708 wireless controller and cant mapping it just remove xpad driver from retropie setup/manage packages/driver. Then install xpadneo driver from https://github.com/atar-axis/xpadneo/. Now u can remap your controller using
sudo ./retropie_packages.sh moonlight exec map -input /dev/input/event2
command. Also this will solves same problem in kodi for me. I can use my controller correcctly now. -
@llamadestroyer thanks for the feedback!
The
xpadneo
driver doesn't seem to be part of RetroPie at the moment. It is the only way to use an XBox One controler on the Raspberry Pi? -
@hhromic for the model 1708 (latest party includes bluetooth by default) first of all must disable ertm via editing autostart.sh. after that pairing succes but can't use properly. I noticed this on the kodi. may u know kodi uses xbox input by dafault. when i try the use my gamepad any button doesnt make any thing. after playin witcher 3 via moonlight i had some error again. after i tried to remap it via your guide and when it says for example press x i pressed x but noting happened. it came to me like a typical driver problem, searched for xpad and i saw xpadneo... you know after that it worked perfectly even in kodi.
-
Looks like it went live! Congrats @hhromic! This is awesome.
https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/supplementary/moonlight.sh
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.