A port of Moonlight Stream for playing games using GeForce Experience or Sunshine for the Xbox One and Xbox Series X|S family of consoles
This application is still in early stages of development. Expect things to not work or working badly
- Open Microsoft Edge and click the "Get it from Microsoft" Button above
- Downlad Moonlight UWP from the Microsoft Store
- Open Moonlight on Xbox and, if not already, your host app
- Press the "+" button, Insert your PC IP Address and press "Connect"
- Pair if neeeded
- Choose from the list below the application you want to run
- ???
- Profit!
Looking for the Standard Dev Mode Builds? Can be found here: Link
Looking for the Bleeding Edge Builds? Can be found here: Link
- Enable the Dev Mode on your Xbox https://docs.microsoft.com/en-us/windows/uwp/xbox-apps/devkit-activation
- Using the Device Portal, install the Application (moonlight-xbox-dx.msixbundle) and, in the following step, add the required dependencies (Microsoft.UI.Xaml.2.7.appx and Microsoft.VCLibs.x64.14.00.appx)
- Open Moonlight on Xbox and, if not already, your host app
- Your PC should already be on the list. If not, press the "+" button, Insert your PC IP Address and press "Connect"
- Pair if neeeded
- Choose from the list below the application you want to run
- ???
- Profit!
- Connection and Pairing
- Application List fetching
- Video Streaming (configurable on a host-basis in the settings)
- Gamepad Input (with Rumble and a mouse mode to move the pointer using the gamepad)
- Keyboard (both on-screen and using an Hardware one)
- Graceful Disconnection
- Host configuration (for resolution and bitrate) and saved host history
- Audio
- HDR
- Hardware Mouse (UWP limitations sadly)
- Everything else not listed above
- Windows 10
- Visual Studio 2022
- WinUI Application Development Workload
- Windows 10 SDK (10.0.19041.0) - This is marked as out of support as of VS 2022 version 17.10, but is still necessary for CMake
- Universal Windows Platform Tools
- C++ (v141, v142, v143) Universal Windows Platform Tools
- WinUI Application Development Workload
You have two options:
- Clone this repository (
moonlight-xbox) with submodules enabled! - Install VCPKG and all dependencies:
- Run
git submodule update --init --recursive - Run
vcpkg\bootstrap-vcpkg.bat - Install dependencies:
.\vcpkg\vcpkg.exe install --triplet x64-uwp
- Run
- Run x64 Visual Studio Prompt (Tools → Command Line → Developer Command Prompt)
- Run
generate-thirdparty-projects.batto generatemoonlight-common-cVS project - Go to
libgamestreamand runbuild-uwp.batto generatelibgamestreamVS project - Open
moonlight-xbox-dx.vcxprojin Visual Studio 2022 - In the solution explorer, right click and build each of these projects, in the following order:
- enet
- moonlight-common-c
- gamestream
- Run
- In the solution explorer, expand
moonlight-xbox-dx (Universal Windows), then double clickPackage.appxmanifest - Under the
Packagingtab, next toPublisher, click theChoose Certificatebutton -If you already have a certificate, select it and skip to the final step - In the
Choose a Certificatewindow that appears, click theCreate...button - Fill out the create prompt which appears, password is unnecessary if only building for personal use and/or debugging purposes.
- After all the actions above, you can now build the entire solution.
- After all the actions above, you finally can open and build solution.
Or
- Clone this repository
- Run
./setup-dev.ps1 - Have fun!