Article

How to Setup RetroPie With Moonlight Steam Streaming on Raspberry Pi

In this article, you are going to learn how to setup your blog in your Raspberry Pi.

If you really enjoy this article, consider checking out my TechWizTime YouTube Channel.

And for an awesome source of Raspberry Pi Accessories, check out my Raspberry Pi Amazon List.

Let’s get started!

What You’ll Need

Download and Install Moonlight

Press “F4” In your RetroPie installation.

Type “sudo nano /etc/apt/souces.list”

Press “Enter”

Type in “deb http://archive.itimmer.nl/raspbian/moonlight jessie main”

Pres “Enter”

Press “Ctrl X” “Y” and “Enter” to save the file.

Type in “sudo apt-get update”

Press “Enter”

Type in “sudo apt-get install moonlight-embedded”

Press “Enter”

Press “Y” when it asks for confirmation.

Configure Moonlight

Type in “cd /opt/retropie/configs”

Press “Enter”

Type “mkdir moonlight”

Press “Enter”

Type “cd moonlight”

Press “Enter”

Type in “moonlight map controller.map”

Press the corresponding keys when you’re asked to.

Once you finish, type in “moonlight pair YOURPCIPADDRESS”

You’ll be given a pair number, head over to your PC and insert that number when you’re asked to and press “Connect”

Type Some Code

Type in “sudo nano /etc/emulationstation/es_systems.cfg”

Scroll down to the very bottom, but stay above “/systemList”

Type in ”

<system>

<name>Steam</name>

<fullname>Steam</fullname>

<path>~/Retropie/roms/moonlight</path>

<extension>.sh .SH</extension>

<command>%ROM%</command>

<platform>steam</platform>

<theme>steam</theme>

</system>”

Press “Ctrl X”, “Y” and “Enter”

Type in “mkdir ~/Retropie/roms/moonlight”

Press “Enter”

Type in “cd ~/Retropie/roms/moonlight”

Press “Enter”

Type “sudo nano stream30fps.sh”

Press “Enter”

Type in “#!/bin/bash”

Press “Enter”

Type in “moonlight stream -30fps -mapping /otp/retropie/configs/moonlight/controller.map YOURPCIPADDRESS”

Press “Ctrl X”, “Y” and “Enter”

Type “sudo cp stream30fps.sh stream60fps.sh”

Press “Enter”

Type in “sudo nano stream60fps.sh”

Press “Enter”

Change the “-30fps” to “-60fps”

Press “Ctrl X”, “Y” and “Enter”

Create the Shortcuts

Type in “sudo chmod +x stream30fps.sh”

Press “Enter”

Type in “sudo chmod +x stream60fps.sh”

Press “Enter”

Type “exit”

Press “Enter”

Wait for Emulation Station to load up.

Once it loads, you can see the steam shortcuts there, scroll and click on them to stream your favorite games.

MicroSD Card Reader Overclocking Finished

Congratulations, you’ve just configurated your Raspberry Pi to stream your Steam games via Moonlight and that’s it for this Instructable.

If you enjoy this Instructable, consider checking out my TechWizTime YouTube Channel.

And for a good source of Raspberry Pi products, check out my Raspberry Pi Amazon List.

Dereck Frost

I write tech articles and tutorials based around a number of topics.

View Comments

  • I followed this article and got an error when trying to map the controller. When entering "moonlight map controller.map" it brings back the following:

    connect to controller.map...
    Generating certificate...done
    Can't connect to server controller.map

    I can't seem to find a solution for this problem on the internet. I hope someone can help me with this.

  • Can you please update this article, moonlight no longer uses "moonlight map" command anymore. I am having a hard time using the updated gamecontrollerdb.txt file to update and it seems moonlight is not recognizing my controller

    03000000790000000018000011010000,HJZ Mayflash WiiU Pro Game Controller Adapter,a:b290,b:b289,back:b296,dpdown:b17,dpleft:b16,dpright:b16,dpup:b17,guide:b8,leftshoulder:b292,leftstick:b298,lefttrigger:a294,leftx:a0,lefty:a1,rightshoulder:b293,rightstick:b299,righttrigger:a295,rightx:a2,righty:a5,start:b297,x:b291,y:b288,platform:Linux,

Share
Published by
Dereck Frost

Recent Posts

Top 5 Best FREE Video Players for Windows (2024)

To play the videos stored on your computer, you’ll need a reliable media player. If…

2 days ago

The Best Google Docs Features 2024

🔔 SUBSCRIBE for more Tech Tips: https://www.youtube.com/tasiacustode?Sub_Confirmation=1 Support me here: https://ko-fi.com/tasiacustode Become a Patron: https://www.patreon.com/TasiaCustode…

3 days ago

15 New Gadgets 2024 | You Will Want To Buy

15 New Gadgets 2024 | You Will Want To Buy 🔗 LINKS Artemis - https://artemis.wonderfitter.com/…

3 days ago

NEW Razer Viper V3 Pro Review! 🐍

Razer just released the new Razer Viper V3 Pro mouse, another addition into their Viper…

5 days ago

Free Software That Are Actually Good! (NOT SPONSORED!) 2024

In this edition of our free software series, I have 4 programs to show you,…

6 days ago

11 New Gadgets And Inventions 2024 | You Can Buy Now

11 New Gadgets And Inventions 2024 | You Can Buy Now 🔗 LINKS Apolosign PackGo…

6 days ago