Compare commits

..

59 Commits

Author SHA1 Message Date
redphx
f4c299e730 Bump version to 2.0.2 2023-11-28 20:34:41 +07:00
redphx
baf7893769 Update translations 2023-11-28 20:31:08 +07:00
redphx
26ef306bab Fix Remote Play not working for free users (#171) 2023-11-28 20:22:39 +07:00
redphx
dc55b85772 Fix Remote Play connecting to the wrong console (#170) 2023-11-28 07:44:56 +07:00
redphx
bec3f771f2 Update README.md 2023-11-26 20:27:52 +07:00
redphx
7dc35a09c4 Bump version to 2.0.1 2023-11-26 20:13:45 +07:00
redphx
b72b881f2d Update README.md 2023-11-26 20:12:23 +07:00
redphx
4748d72d59 Update translations 2023-11-26 20:11:26 +07:00
redphx
95d4216824 Update translations 2023-11-26 16:00:54 +07:00
redphx
a0a453084a Add patches to block ApplicationInsights.track() and WebRTC stats collector 2023-11-26 15:57:16 +07:00
redphx
9b84690328 Fix a weird bug with Search box (#168) 2023-11-26 11:47:47 +07:00
redphx
1ffe5c218a Remove the "Controller Polling Rate" setting as it didn't work (#167) 2023-11-26 11:25:56 +07:00
redphx
1ea5f5031e Disable Remote Play feature by default & add a setting to enable it 2023-11-26 11:19:09 +07:00
redphx
526ceec0db Version 2.0 (#163)
* Update README.md

* Bump version to 2.0

* Bump version to 2.0
2023-11-25 17:17:14 +07:00
redphx
d54c3d50c4 Remote Play & Patcher (#162)
* Test remote play

* Add a link to dev-tools page

* Add Remote Play dialog

* Bug fixes

* Fix URL

* Fix header

* Path xHome domain

* Remote Remote Play config from window.location while playing

* Update style of the Remote Play button

* Add dialog overlay

* Hide Settings when opening the Remote Play dialog

* Update styles

* Path /direct-connect link

* Fix bind() monkey-patching

* Stop patching when it's done

* Fix exception with GAME_TITLE_ID

* Add resolution setting

* Add Patcher class

* Stop storing Remote Play config in location.hash

* Apply resolution

* Display state's label

* Fix IPv6

* Update translations

* Move Patcher class to the top

* Add "disableTelemetry" and "disableTrackEvent" patches

* Add Layout setting

* Add setting to adjust controller polling rate

* Add Mouse & Keyboard support

* Add Italian translations
2023-11-25 16:47:11 +07:00
redphx
f306cb5eee Bump version to 1.19 2023-11-19 16:22:27 +07:00
redphx
c1acb689fe Bump version to 1.19 2023-11-19 16:22:03 +07:00
redphx
5837e30afc Update README.md 2023-11-19 16:21:31 +07:00
redphx
9b955aabb9 Controller shortcuts (#157)
* Basic code for GamepadHandler

* Take screenshot using Home + RB

* Enable shortcuts using setting

* Only poll gamepad when playing

* Toogle stats using Home + Select

* Add basic Toast class

* Update translations
2023-11-19 16:09:41 +07:00
redphx
d73f91ed5f Bump version to 1.18.2 2023-10-27 17:44:29 +07:00
redphx
b918fadaab Bump version to 1.18.2 2023-10-27 17:44:03 +07:00
redphx
b79775839b Update README.md 2023-10-27 17:37:19 +07:00
redphx
d3e0ba9d9f Change "Target Resolution > Auto" to "Default" 2023-10-27 17:26:33 +07:00
redphx
e6e8297632 Clear touch controller's style after switching game 2023-10-27 17:20:06 +07:00
redphx
e94fb28266 Fix TitlesInfo 2023-10-27 17:00:25 +07:00
redphx
11e953c382 Bump version to 1.18.1 2023-10-26 20:06:46 +07:00
redphx
4845ea6994 Bump version to 1.18.1 2023-10-26 20:06:27 +07:00
redphx
0f0072bcb0 Update README.md 2023-10-26 20:05:57 +07:00
redphx
85d156f6b2 Clear Application Insights buffers periodically 2023-10-26 15:43:33 +07:00
redphx
8d24494b02 Add French & Japanese translations 2023-10-26 15:28:13 +07:00
redphx
9d1bca99aa Clear Analytics Insight buffers no page load 2023-10-26 15:14:35 +07:00
redphx
a8cf0896c5 Loading screen: use Image_Tile when Image_Hero is not available 2023-10-26 15:02:32 +07:00
redphx
4767df442e Update translations 2023-10-15 17:28:11 +07:00
redphx
8314074957 Update README.md 2023-10-15 17:12:57 +07:00
redphx
6ffa75a4ec Bump version to 1.18 2023-10-15 17:09:47 +07:00
redphx
7813e6f432 Bump version to 1.18 2023-10-15 17:09:32 +07:00
redphx
75d9639c01 Hide the "Play with friends" section when social features are disabled 2023-10-15 16:23:51 +07:00
redphx
fb80c3662a Add option to disable post-stream feedback dialog 2023-10-15 16:07:59 +07:00
redphx
9e1d8866ce Fix minor bugs in StreamMenu 2023-10-15 14:23:08 +07:00
redphx
28438c7c9e Add German translation 2023-10-10 09:40:05 +07:00
redphx
0cb0901ae2 Add Polish and Spanish translations 2023-10-05 09:27:40 +07:00
redphx
9d7c537eaa Update README.md 2023-10-03 16:53:43 +07:00
redphx
eccd306d03 Bump version to 1.17.2 2023-10-03 16:51:45 +07:00
redphx
e15afd2396 Bump version to 1.17.2 2023-10-03 16:51:25 +07:00
redphx
f0dbc72987 Add Korean translation 2023-10-03 16:03:49 +07:00
redphx
25bf6c209d Merge branch 'main' of https://github.com/redphx/better-xcloud 2023-10-03 09:55:14 +07:00
redphx
f229dbdbe4 Update README.md 2023-10-02 21:46:35 +07:00
redphx
e845c902b2 Fix Stats settings dialog being too big on small screens 2023-10-02 17:27:37 +07:00
redphx
c424c6f94b Add Chinese (Simplified) translation 2023-09-29 08:21:29 +07:00
redphx
1619fb2b26 Bump version to 1.17.1 2023-09-25 20:06:44 +07:00
redphx
d72641ba77 Bump version to 1.17.1 2023-09-25 20:06:22 +07:00
redphx
7c3f00f277 Update README.md 2023-09-25 20:05:50 +07:00
redphx
9bd0ee9097 Fix volume booster feature (#141)
* Trying to fix the audio problem with volume booster

* Add an option to disable volume control feature

* Update translations
2023-09-25 19:55:36 +07:00
redphx
a9bb977311 Update TR translation 2023-09-21 07:45:44 +07:00
redphx
3e0653fadf Add RU & TR to language list 2023-09-20 07:09:42 +07:00
redphx
36f6b04ad9 Add TR translation 2023-09-20 07:08:13 +07:00
redphx
60b70e259b Add RU translation 2023-09-20 07:06:12 +07:00
redphx
c50e0d6aff Update BR translation 2023-09-20 07:03:40 +07:00
redphx
a3fd3c9ebe Update README.md 2023-09-18 09:26:06 +07:00
3 changed files with 2565 additions and 172 deletions

View File

@@ -2,6 +2,11 @@
Improve [Xbox Cloud Gaming (xCloud)](https://www.xbox.com/play/) experience on web browser. Improve [Xbox Cloud Gaming (xCloud)](https://www.xbox.com/play/) experience on web browser.
The main target of this script is mobile users, but it should work great on desktop too. The main target of this script is mobile users, but it should work great on desktop too.
Supported platforms:
- Windows, macOS, Linux
- Android, Android TV
- iOS, iPadOS
This script makes me spend more time with xCloud, and I hope the same thing happens to you. This script makes me spend more time with xCloud, and I hope the same thing happens to you.
If you like this project please give it a 🌟. Thank you 🙏. If you like this project please give it a 🌟. Thank you 🙏.
@@ -23,14 +28,15 @@ If you like this project please give it a 🌟. Thank you 🙏.
- [**Disclaimers**](#disclaimers) - [**Disclaimers**](#disclaimers)
## How to install ## How to install
1. Install [Tampermonkey extension](https://www.tampermonkey.net/) on suppported browsers. 1. Install an userscript extension:
For Safari, use the [Userscripts extension](https://apps.apple.com/us/app/userscripts/id1463298887) (check [this page](https://github.com/redphx/better-xcloud/wiki/Using-with-Safari) before using). - **Safari**: Install [Userscripts extension](https://apps.apple.com/us/app/userscripts/id1463298887). Check [this page](https://github.com/redphx/better-xcloud/wiki/Using-with-Safari) before using.
2. Install **Better xCloud**: - **All other browsers**: Install [Tampermonkey extension](https://www.tampermonkey.net/).
3. Install **Better xCloud**:
- [Stable version](https://github.com/redphx/better-xcloud/releases/latest/download/better-xcloud.user.js) - [Stable version](https://github.com/redphx/better-xcloud/releases/latest/download/better-xcloud.user.js)
<!-- - [Dev version](https://github.com/redphx/better-xcloud/raw/main/better-xcloud.user.js)--> <!-- - [Dev version](https://github.com/redphx/better-xcloud/raw/main/better-xcloud.user.js)-->
I only distribute **Better xCloud** on GitHub, *DO NOT* download it on other websites or from unknown sources. I only distribute **Better xCloud** on GitHub, *DO NOT* download it on other websites or from unknown sources.
3. Refresh [xCloud web page](https://www.xbox.com/play/). 4. Refresh [xCloud web page](https://www.xbox.com/play/).
4. Click on the new "SERVER NAME" button next to your profile picture to adjust settings. 5. Click on the new "SERVER NAME" button next to your profile picture to adjust settings.
To update manually, just install the script again (you won't lose your settings). To update manually, just install the script again (you won't lose your settings).
@@ -61,7 +67,9 @@ Don't see your browser in the table? If it supports Tampermonkey/Userscript then
## Features ## Features
<img width="400" alt="Settings UI" src="https://github.com/redphx/better-xcloud/assets/96280/f759db0b-dcb6-46d9-99a0-044d2d431ee5"> <img width="400" alt="Settings UI" src="https://github.com/redphx/better-xcloud/assets/96280/ca38b3fa-1e89-4b37-937c-a6796c07cdf1">
<br>
<img width="400" alt="Remote Play dialog" src="https://github.com/redphx/better-xcloud/assets/96280/daf7f698-a228-4f9c-8f23-9669e061a64c">
<br> <br>
<img width="600" alt="Stream HUD" src="https://github.com/redphx/better-xcloud/assets/96280/51bdb96c-79ab-402f-902a-a9e6229973b2"> <img width="600" alt="Stream HUD" src="https://github.com/redphx/better-xcloud/assets/96280/51bdb96c-79ab-402f-902a-a9e6229973b2">
<br> <br>
@@ -70,7 +78,8 @@ Don't see your browser in the table? If it supports Tampermonkey/Userscript then
&nbsp; &nbsp;
**Demo video:** [https://youtu.be/oDr5Eddp55E ](https://youtu.be/AYb-EUcz72U) **Demo video:** [https://youtu.be/oDr5Eddp55E ](https://youtu.be/AYb-EUcz72U)
- **🔥 Support [Remote Play](https://support.xbox.com/help/games-apps/game-setup-and-play/how-to-set-up-remote-play)**
> 1080p resolution and can stream Xbox 360 games.
- **🔥 Improve visual quality of the stream** - **🔥 Improve visual quality of the stream**
> Similar to (but not as good as) the "Clarity Boost" of xCloud on Edge browser. [Demo video](https://youtu.be/ZhW2choAHUs). > Similar to (but not as good as) the "Clarity Boost" of xCloud on Edge browser. [Demo video](https://youtu.be/ZhW2choAHUs).
- **🔥 Show stream stats** - **🔥 Show stream stats**
@@ -102,11 +111,24 @@ Don't see your browser in the table? If it supports Tampermonkey/Userscript then
> Comparison video with the setting ON & OFF: https://youtu.be/-9PuBJJSgR4 > Comparison video with the setting ON & OFF: https://youtu.be/-9PuBJJSgR4
- **Disable bandwidth checking** - **Disable bandwidth checking**
> xCloud won't warn about slow connection speed. > xCloud won't warn about slow connection speed.
- **Enable volume control feature**
> Allow increasing stream's volume up to 600%
> ⚠️ Disable this setting if you experience slowdown, choppy/muted stream
- **Enable microphone on game launch** - **Enable microphone on game launch**
> Automatically enable the mic when starting to play a game. > Automatically enable the mic when starting to play a game.
- **Hide mouse cursor on idle** - **Hide mouse cursor on idle**
> Hide the mouse cursor after 3 seconds of not moving. > Hide the mouse cursor after 3 seconds of not moving.
### Controller
- Enable controller shortcuts
> `Home` is the button which activates the Xbox sidebar menu (similar to the Xbox/Nexus button on the official controller).
> Not all controllers have this button. It's the `B16` button on the [Gamepad Tester site](https://hardwaretester.com/gamepad).
> More shortcuts will be added later.
| Shortcut | Action |
|---------------|------------------|
| Home + RB | Take screenshot |
| Home + Select | Toggle stats bar |
### 🔥 Touch controller ### 🔥 Touch controller
- **Availability** - **Availability**
@@ -139,6 +161,8 @@ Don't see your browser in the table? If it supports Tampermonkey/Userscript then
### UI ### UI
- **Switch website's layout**
> Switch between default layout and Smart TV layout (without having to change User-Agent).
- **Simplify Stream's menu** - **Simplify Stream's menu**
> Hide the labels of the menu buttons. > Hide the labels of the menu buttons.
- **Skip Xbox splash video** - **Skip Xbox splash video**
@@ -157,6 +181,7 @@ Don't see your browser in the table? If it supports Tampermonkey/Userscript then
### In-game settings ### In-game settings
- **Volume control** - **Volume control**
> Increase stream's volume up to 600% > Increase stream's volume up to 600%
> Can be disabled in the Main Settings
- **🔥 Improve stream's clarity** - **🔥 Improve stream's clarity**
> Similar to (but not as good as) the "Clarity Boost" of xCloud on Edge browser. [Demo video](https://youtu.be/ZhW2choAHUs). > Similar to (but not as good as) the "Clarity Boost" of xCloud on Edge browser. [Demo video](https://youtu.be/ZhW2choAHUs).
> Also known as poor man's "Clarity Boost". > Also known as poor man's "Clarity Boost".
@@ -267,7 +292,17 @@ Sorry, no. The server decides all these settings.
It's a reference to an Userscript called "better360" that I created many years ago. I regret not choosing the name "xCloud Enhancement Suite", or XES for short. It's a reference to an Userscript called "better360" that I created many years ago. I regret not choosing the name "xCloud Enhancement Suite", or XES for short.
## Translators ## Translators
- **Portuguese (Brazilian)**: [@ricardo404](https://github.com/ricardo404) - **Chinese (Simplified)**: [@nyavana](https://github.com/nyavana)
- **French**: rodolphe.chouteau, Stay34yth
- **German**: [@KingNothing81](https://github.com/KingNothing81), mynameismanu
- **Korean**: [@rightones](https://github.com/rightones)
- **Italian**: Greenylie, Rakan129, Carza-104, graziequalcuno, DioCannabinoide
- **Japanese**: Tak_attack, udonshi
- **Portuguese (Brazilian)**: [@ricardo404](https://github.com/ricardo404), [@Haisom](https://github.com/Haisom), italorafael22062009, PotatoPTT
- **Polish**: [@aleksishere](https://github.com/aleksishere)
- **Russian**: anpom6
- **Spanish**: [@PabloSebas](https://github.com/PabloSebas), csvnchzn
- **Turkish**: [@transbebek](https://github.com/transbebek)
- **Vietnamese**: [@redphx](https://github.com/redphx) - **Vietnamese**: [@redphx](https://github.com/redphx)
Visit [here](https://crowdin.com/project/better-xcloud) if you want to translate **Better xCloud** to more languages. Visit [here](https://crowdin.com/project/better-xcloud) if you want to translate **Better xCloud** to more languages.
@@ -282,5 +317,5 @@ But if you still really want to donate, I have a [Ko-fi page](https://ko-fi.com/
- Icons by [Phosphor Icons](https://phosphoricons.com) - Icons by [Phosphor Icons](https://phosphoricons.com)
## Disclaimers ## Disclaimers
- Use as it your own risk. - Use it at your own risk.
- This project is not affiliated with Xbox in any way. All Xbox logos/icons/trademarks are copyright of their respective owners. - This project is not affiliated with Xbox in any way. All Xbox logos/icons/trademarks are copyright of their respective owners.

View File

@@ -1,5 +1,5 @@
// ==UserScript== // ==UserScript==
// @name Better xCloud // @name Better xCloud
// @namespace https://github.com/redphx // @namespace https://github.com/redphx
// @version 1.17 // @version 2.0.2
// ==/UserScript== // ==/UserScript==

File diff suppressed because it is too large Load Diff