Play over streaming - LingFeng-bbben/MajdataPlay GitHub Wiki

Preface

You can play over streaming by using a software that can offer low latency, high frame rates, native touch event pass through (such as combination of Sunshine & Moonlight).

[!NOTE] If you already have touchscreen on your system, see section here to enhance windows touch experience.

[!WARNING] Requires a stable WiFi or ethernet environment.

Requires MajdataPlay version Alpha 4.7 or higher.

Experience is not as good as any native mobile rhythm game, please do NOT try to use it as a alternative to a big iPod!


Streaming to your mobile devices

1. Download Sunshine on your gaming PC

  1. Download from here.

  2. Install and open it to set up as a Sunshine server on your lan.

  3. Wired connection will have extra stability. Such as the USB network sharing on Android.

[!NOTE] You can also use Apollo, a fork of Sunshine with modified functions.

2. Download Moonlight on your mobile devices

  1. Google Play for Android devices

    App Store for iOS devices.

  2. Pair your Sunshine server with your mobile devices.

  3. Set the touch mode to native-touch or native-touch only mode.


Optimize touch settings to improve the touch experience

1. On your mobile devices

  • Turn off gestures: Turn off multi-touch gestures of your mobile devices, use the corresponding feature to prevent swiping up from causing the app to exit (such as Guided Access on iOS).

  • Choose the right streaming parameters: Adjust the resolution, bitrate, and frame rate in Moonlight to make your devices streaming smoothly, usually, higher parameters mean higher device requirements.

2. On your Gaming PC

Open regedit by using Start+R and type regedit.

[!NOTE] These modification needs reboot to take effect!

  • Turn off all touch guesture animations by using registry editor:
    ("HKEY_CURRENT_USER\Control Panel\Cursors", "GestureVisualization", "0")
    ("HKEY_CURRENT_USER\Control Panel\Cursors", "ContactVisualization", "0")
    

[!IMPORTANT]
Windows will try to modify GestureVisualization key on start up. To keep this value after reboot:

Navigate to Edit->Permission->Advanced and stop it inherit permissions.

Change owner to admin and delete all other permissions except for admin.

Cancel Admin's full-control access and change it to read-only.

  • Turn off hold for right click:
    ("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Wisp\Touch", "TouchMode_hold", "0")
    ("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Wisp\Touch", "TouchModeN_HoldTime_Animation", "0")
    ("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Wisp\Touch", "TouchModeN_HoldTime_BeforeAnimation", "0")
    
  • Turn off swipes from edge:
    ("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Wisp\Touch", "Thumb_Flick_Enabled", "0")
    ("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Wisp\Touch", "Right_Edgy_Enabled", "0")
    ("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Wisp\Touch", "Left_Edgy_Enabled", "0")
    

[!WARNING] "TouchGate" will completely turn off windows touch, so don't touch it!

  • Turn off windows touch prediction latency:

    ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\TouchPrediction", "Latency", "1")
    ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\TouchPrediction", "SampleTime", "1")
    
  • [OPTIONAL] Forcefully terminate the exlporer.exe process to avoid extra gestures: Use this command:

    taskkill -f -im explorer.exe
    
  • Modify settings.json of MajdataPlay: Open it with your text editor and set the parameter of TouchSimulationRadius to 0.6 to 0.7 (Up to you):

    ...
    "TouchPanel": {
      ...
      "TouchSimulationRadius": 0.5
    }
    ...
    

Enjoy it!