mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 13:18:27 +02:00
Add back the ability to use native MKB feature on unofficial titles
This commit is contained in:
39
scripts/custom-flags.user.js
Normal file
39
scripts/custom-flags.user.js
Normal file
@@ -0,0 +1,39 @@
|
||||
// ==UserScript==
|
||||
// @name Better xCloud - Custom flags
|
||||
// @namespace https://github.com/redphx
|
||||
// @version 1.0.0
|
||||
// @description Customize Better xCloud script
|
||||
// @author redphx
|
||||
// @license MIT
|
||||
// @match https://www.xbox.com/*/play*
|
||||
// @run-at document-start
|
||||
// @grant none
|
||||
// ==/UserScript==
|
||||
'use strict';
|
||||
|
||||
/*
|
||||
Make sure this script is being loaded before the Better xCloud script.
|
||||
|
||||
How to:
|
||||
1. Uninstall Better xCloud script.
|
||||
2. Install this script.
|
||||
3. Reinstall Better xCloud script. All your settings are still there.
|
||||
*/
|
||||
|
||||
// Change this to `false` if you want to temporary disable the script
|
||||
const enabled = true;
|
||||
|
||||
enabled && (window.BX_FLAGS = {
|
||||
/*
|
||||
Add titleId of the game(s) you want to add here
|
||||
For example:
|
||||
- Flight Simulator has this link: /play/games/microsoft-flight-simulator-standard-40th-anniversa/9PMQDM08SNK9
|
||||
- That means its titleId is "9PMQDM08SNK9"
|
||||
- So it becomes:
|
||||
ForceNativeMkbTitles: [
|
||||
"9PMQDM08SNK9",
|
||||
],
|
||||
*/
|
||||
ForceNativeMkbTitles: [
|
||||
],
|
||||
});
|
Reference in New Issue
Block a user