Moonlight is an open source implementation of NVIDIA's GameStream protocol. Moonlight allows you to stream your full collection of Steam games (and other applications) from your GeForce Experience compatible PC to any supported device and play them. These instructions will help you build your own embedded Moonlight device using the cutting edge unofficial port of Moonlight 2.0 for the Raspberry Pi 2.
Needed:
This part is always changing, so be sure to check the comments section for the latest tips and tricks!
Prebuilt binary packages for Raspbian Wheezy are available, add this line to /etc/apt/sources.list
deb http://archive.itimmer.nl/raspbian/moonlight wheezy main
Install package using the following commands
sudo apt-get update sudo apt-get install moonlight-embedded
Skip to Step 6 (if this worked for you), and be really happy about it because you just avoided hours of cross compiling progress bar fun time.
Login to your Raspberry Pi 2
sudo apt-get update
Wait for apt-get to update
wget http://www.cmake.org/files/v3.3/cmake-3.3.0-rc2.t...>tar zxf cmake-3.3.0-rc2.tar.gz cd cmake-3.3.0-rc2/ sudo ./bootstrap
Wait (going to take a while)
sudo make
Wait (also takes a long time)
sudo make install cd .. sudo apt-get install libopus-dev libexpat1-dev libssl-dev libasound2-dev libudev-dev libavahi-client-dev libcurl4-openssl-dev libjs-jquery wget http://archive.raspbian.org/raspbian/pool/main/li...>wget http://archive.raspbian.org/raspbian/pool/main/li...>wget http://archive.raspbian.org/raspbian/pool/main/li...>sudo dpkg -i libevdev*
moonlight pair 192.168.1.1 (replace this address with the ip address of your PC)
GeForce Experience will pop up a dialog box and Moonlight will print:
Moonlight will print:
moonlight list
Moonlight will list all of the games and applications that GeForce Experience is able to stream (you can scan for new games via GeForce Experience Preferences>Games Check now button or manually add applications via GeForce Experience Preferences>GameStream Games: + button)
moonlight help
Moonlight will print out a short guide as to all of the options you should be aware of. For me, this works perfectly:
moonlight stream -1080 -30fps -app Steam
Moonlight should start showing you a live stream of your game, and pass any keyboard / mouse / controller events over to the game.
Have fun!