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 type this URL: https://www.microsoft.com/store/apps/9MW1BS08ZBTH
- 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
- 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)
- Graceful Disconnection
- Host configuration (for resolution and bitrate) and saved host history
- Audio
- Other means of input (e.g. Hardware Mouse and Keyboard)
- 4K Support
- 120FPS
- HDR (Probably not possible with the Xbox UWP Platform)
- Everything else not listed above
- Windows 10
- Visual Studio 2022
- Clone this repository (
moonlight-xbox
) with submodules enabled! - Install VCPKG and all dependencies:
- Clone VCPKG (
git clone https://github.com/Microsoft/vcpkg.git
) intomoonlight-xbox/vcpkg
- Run
vcpkg/bootstrap-vcpkg.bat
- Hack
ffmpeg
port by addingset(OPTIONS "${OPTIONS} --enable-d3d11va")
tovcpkg/ports/ffmpeg/portfile.cmake
- Install dependencies:
vcpkg install pthread:x64-uwp pthreads:x64-uwp curl:x64-uwp openssl:x64-uwp expat:x64-uwp zlib:x64-uwp ffmpeg[avcodec,avdevice,avfilter,avformat,core,gpl,postproc,swresample,swscale]:x64-uwp nlohmann-json:x64-uwp bzip2:x64-uwp brotli:x64-uwp x264:x64-uwp freetype:x64-uwp opus:x64-uwp
- Clone VCPKG (
- Run x64 Visual Studio Prompt (Tools → Command Line → Developer Command Prompt)
- Run
generate-thirdparty-projects.bat
to generatemoonlight-common-c
VS project - Go to
libgamestream
and runbuild-uwp.bat
to generatelibgamestream
VS project
- Run
- After all the actions above, you finnally can open and build solution. Please, build it only in Release mode (Debug mode is broken)