/retromoonlight

A set of scripts that will allow you to stream games from your home PC via RetroPie.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

RetroPie Moonlight

This is a set of scripts with the intent of helping people stream games from their PC to their RetroPie. These scripts use Moonlight to query your PC for your available games and generates a "Console" within RetroPi along with a set of "Roms" representing your games. Each rom is actually a shell script configured to tell moonlight to begin streaming the game of your choice. alt text

Why Use This?

There is already a solution available for streaming Steam Big Picture Mode, why bother using this? There are a few reasons:

  1. Using this script RetroPie will have a list of games it can display with scraped meta-data from the web.
  2. I've found Steam BPM to be unreliable when used with RetroPie and I wanted something better.
  3. Streaming games can be switched between 1080p and 720p by selecting 'Refresh_1080' or 'Refresh_720' (both at 60 fps).

Minimum Requirements

  • Raspberry Pi running Raspian Stretch (or latest RetroPie release)
  • GPU: Desktop: GeForce GTX 650 or higher desktop GPU.
  • CPU: Intel Core i3-2100 3.1GHz or AMD Athlon II X4 630 2.8 GHz or higher.
  • System Memory: 4 GB or higher.

Setup

On your PC:

  1. Install and activate GeFore Experience
  2. In GeForce Expereince, go to Shield Settings and enable game streaming.

On your raspberry pi:

  1. git clone https://github.com/Surya-Ananth/retromoonlight.git
  2. cd retromoonlight
  3. sudo bash ./Install.sh. If a first time install, use option 1. Otherwise you can use the other options to install select components, or remove MoonLight from RetroPie
  4. Run emulationstation

Once EmulationStation is running, navigate to the Moonlight console, select the "Refresh" rom, then reboot emultationstation after the script is finished.

Usage

Emulationstation should now have an entry for Moonlight. There will be a single "Rom" called refresh. Use this to update your games list. After using refresh command you will need to reboot emulationstation.

Themes

I am gradually adding support for custom themes. The current version of retro moonlight works in:

  • Carbon (several variants)
  • Simple
  • Simple-Dark
  • Clean-look
  • minimal
  • Eudora-Updated
  • flat
  • flat-dark

alt text

Credits

A huge thank you to TechWizTime and joelghill for their work in creating the install and setup script for moonlight in RetroPie. I am just adding a couple of lines of useful code in the previously perfect code!