Giter Club home page Giter Club logo

moonlight-xbox's Introduction

moonlight-xbox

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

Installation and Usage

For Retail Mode (you probably want to use this)

  1. Open Microsoft Edge and type this URL: https://www.microsoft.com/store/apps/9MW1BS08ZBTH
  2. Downlad Moonlight UWP from the Microsoft Store
  3. Open Moonlight on Xbox and, if not already, your host app
  4. Press the "+" button, Insert your PC IP Address and press "Connect"
  5. Pair if neeeded
  6. Choose from the list below the application you want to run
  7. ???
  8. Profit!

For Dev Mode

Looking for the Standard Dev Mode Builds? Can be found here: Link Looking for the Bleeding Edge Builds? Can be found here: Link

  1. Enable the Dev Mode on your Xbox https://docs.microsoft.com/en-us/windows/uwp/xbox-apps/devkit-activation
  2. 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)
  3. Open Moonlight on Xbox and, if not already, your host app
  4. Press the "+" button, Insert your PC IP Address and press "Connect"
  5. Pair if neeeded
  6. Choose from the list below the application you want to run
  7. ???
  8. Profit!

What does work

  • 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

What does NOT work

  • 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

Building

Requirements

  • Windows 10
  • Visual Studio 2022

Steps to build

  1. Clone this repository (moonlight-xbox) with submodules enabled!
  2. Install VCPKG and all dependencies:
    1. Clone VCPKG (git clone https://github.com/Microsoft/vcpkg.git) into moonlight-xbox/vcpkg
    2. Run vcpkg/bootstrap-vcpkg.bat
    3. Hack ffmpeg port by adding set(OPTIONS "${OPTIONS} --enable-d3d11va") to vcpkg/ports/ffmpeg/portfile.cmake
    4. 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
  3. Run x64 Visual Studio Prompt (Tools โ†’ Command Line โ†’ Developer Command Prompt)
    1. Run generate-thirdparty-projects.bat to generate moonlight-common-c VS project
    2. Go to libgamestream and run build-uwp.bat to generate libgamestream VS project
  4. After all the actions above, you finnally can open and build solution. Please, build it only in Release mode (Debug mode is broken)

moonlight-xbox's People

Contributors

theelixzammuto avatar 3ap avatar silviugamer1 avatar michaelmkenny avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.