Compare commits

...

49 Commits
v2.0 ... v2.1.1

Author SHA1 Message Date
bbce49791f Bump version to 2.1.1 2023-12-14 17:52:40 +07:00
d719f0c2b5 Update translations 2023-12-14 17:52:19 +07:00
622057980d Update README.md 2023-12-14 17:50:47 +07:00
24d608bc3e Redesign Quick Settings sidebar (#186)
* Redesign Quick Settings bar

* Move stream stats settings to quick settings bar

* Add "for" attributes to labels

* Minor optimization

* Stop rendering Toast

* Don't render UI elements when not playing
2023-12-14 17:44:12 +07:00
f55344b4cb Update README.md 2023-12-14 09:41:00 +07:00
6139fb386b Update README.md 2023-12-14 09:14:37 +07:00
f7c46c5ef3 Update README.md 2023-12-14 08:03:27 +07:00
f5b495efa8 Update README.md 2023-12-13 08:33:21 +07:00
eb4803492e Update README.md 2023-12-13 08:07:39 +07:00
47ef7da37b Bump version to 2.1 2023-12-12 17:55:41 +07:00
63896469e2 Update README.md 2023-12-12 17:52:19 +07:00
4ab265e370 Controller & device vibration (#184)
* Test vibration

* Modify vibration patterns

* Try another vibration patterns

* Update vibration patterns

* Add setting to toggle device vibration

* Disable device vibration based on setting

* Bug fixes

* Test PWM

* Rename GamepadVibration to VibrationManager

* Add setting to toggle controller vibration

* Add vibration intensity setting

* Move Controller settings to the top

* Fix device vibration intensity

* No longer parse "delayMs" and "repeat"

* Fix device vibration intensity

* Disable vibration features on unsupported browsers

* Add "step" property to Vibration intensity slider

* Disable PWA prompt & Stream Gate dialog

* Update translations
2023-12-12 17:37:04 +07:00
584509a53d Improve IPv6 server detection 2023-12-09 11:09:08 +07:00
f3b9ebdb22 Bump version to 2.0.5 2023-12-08 07:43:30 +07:00
abd1aae57a Add "enableConsoleLogging" patch 2023-12-08 07:35:45 +07:00
ccdb944b99 Fix the Settings button not showing for some users 2023-12-08 07:23:44 +07:00
b4149e718b Bump version to 2.0.4 2023-12-06 20:06:41 +07:00
7c22685e95 Update README.md 2023-12-05 14:50:32 +07:00
ad98eb60e1 Only call eval() once per patch group 2023-12-05 06:38:35 +07:00
049e65429a Fix not applying patches correctly 2023-12-03 16:36:02 +07:00
a5b77ae8c0 Improve Patcher class 2023-12-03 10:38:10 +07:00
49550eed0a Add "enableXcloudLogger" patch 2023-12-02 17:31:51 +07:00
01861e0ca5 Bump version to 2.0.3 2023-12-02 11:27:37 +07:00
12d6fbd9c8 Check patches one by one to improve performance 2023-12-02 11:10:36 +07:00
1b0b15de76 Update README.md 2023-12-02 10:31:46 +07:00
5eba0f0ed7 Optimize Patcher class 2023-12-02 10:22:50 +07:00
0a851e5417 Rearrange patches to improve performance 2023-12-02 09:54:37 +07:00
d38e5e8812 Fix Ukrainian translation 2023-12-02 09:14:12 +07:00
69261a7f1d Add Ukranian translations 2023-12-01 17:12:45 +07:00
96b20dcb19 Fix Remote Play's stream didn't close properly 2023-12-01 06:24:58 +07:00
c5a4af9f49 Fix cloud gaming opened instead of Remote Play 2023-12-01 06:20:51 +07:00
3c62d1356f Update device info for Remote Play 2023-12-01 05:57:26 +07:00
78bfc09749 Fix Remote Play's resolution setting not applying correctly 2023-11-30 21:58:34 +07:00
f3bf7a0230 Update translations 2023-11-30 20:57:15 +07:00
c9a2d92c47 Disable idle warning while remote playing 2023-11-30 20:52:23 +07:00
5f18026f85 Update README.md 2023-11-28 20:42:03 +07:00
f4c299e730 Bump version to 2.0.2 2023-11-28 20:34:41 +07:00
baf7893769 Update translations 2023-11-28 20:31:08 +07:00
26ef306bab Fix Remote Play not working for free users (#171) 2023-11-28 20:22:39 +07:00
dc55b85772 Fix Remote Play connecting to the wrong console (#170) 2023-11-28 07:44:56 +07:00
bec3f771f2 Update README.md 2023-11-26 20:27:52 +07:00
7dc35a09c4 Bump version to 2.0.1 2023-11-26 20:13:45 +07:00
b72b881f2d Update README.md 2023-11-26 20:12:23 +07:00
4748d72d59 Update translations 2023-11-26 20:11:26 +07:00
95d4216824 Update translations 2023-11-26 16:00:54 +07:00
a0a453084a Add patches to block ApplicationInsights.track() and WebRTC stats collector 2023-11-26 15:57:16 +07:00
9b84690328 Fix a weird bug with Search box (#168) 2023-11-26 11:47:47 +07:00
1ffe5c218a Remove the "Controller Polling Rate" setting as it didn't work (#167) 2023-11-26 11:25:56 +07:00
1ea5f5031e Disable Remote Play feature by default & add a setting to enable it 2023-11-26 11:19:09 +07:00
3 changed files with 1010 additions and 318 deletions

View File

@ -1,9 +1,10 @@
# Better xCloud # Better xCloud
Improve [Xbox Cloud Gaming (xCloud)](https://www.xbox.com/play/) experience on web browser. Improve Xbox Cloud Gaming (xCloud) experience on [xbox.com/play](https://www.xbox.com/play). It also allows you to use Remote Play on the xCloud website.
The main target of this script is mobile users, but it should work great on desktop too.
Supported platforms: **Supported platforms:**
- Windows, macOS, Linux - Windows
- macOS
- Linux, SteamOS (Steam Deck)
- Android, Android TV - Android, Android TV
- iOS, iPadOS - iOS, iPadOS
@ -35,8 +36,8 @@ If you like this project please give it a 🌟. Thank you 🙏.
- [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.
4. Refresh [xCloud web page](https://www.xbox.com/play/). 4. Refresh the [xCloud web page](https://www.xbox.com/play/).
5. 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).
@ -49,9 +50,9 @@ To update manually, just install the script again (you won't lose your settings)
- = unavailable - = unavailable
- 🗒️ = see custom notes - 🗒️ = see custom notes
| | Windows/Linux | macOS | Android/Android TV | iOS | | | Windows/Linux/SteamOS | macOS | Android/Android TV | iOS |
|-----------------------------------------|:-----------------|:-----------------|:-------------------|:-----------------| |-----------------------------------------|:----------------------|:-----------------|:-------------------|:-----------------|
| Chrome/Edge/Chromium variants | 👍 | 👍 | ❌ | ❌ | | Chrome/Edge/Chromium... | 👍 | 👍 | ❌ | ❌ |
| Firefox | ✅ | ✅ | 🗒️<sup>(1)</sup> | ❌ | | Firefox | ✅ | ✅ | 🗒️<sup>(1)</sup> | ❌ |
| Safari | | ✅<sup>(2)</sup> | | ✅<sup>(3)</sup> | | Safari | | ✅<sup>(2)</sup> | | ✅<sup>(3)</sup> |
| [Kiwi Browser](https://kiwibrowser.com) | | | 👍 | | | [Kiwi Browser](https://kiwibrowser.com) | | | 👍 | |
@ -67,13 +68,13 @@ 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/70b754fa-a638-4d02-bd05-0a3bdf5e1fcd"> <img width="400" alt="Settings UI" src="https://github.com/redphx/better-xcloud/assets/96280/ca38b3fa-1e89-4b37-937c-a6796c07cdf1">
<br> <br>
<img width="400" alt="Remote Play dialog" src="https://github.com/redphx/better-xcloud/assets/96280/daf7f698-a228-4f9c-8f23-9669e061a64c"> <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>
<img width="600" alt="Stream settings" src="https://github.com/redphx/better-xcloud/assets/96280/18ed4598-4eca-4626-9434-5f74266b00e7"> <img width="600" alt="Stream settings" src="https://github.com/redphx/better-xcloud/assets/96280/ed513cb3-6e6c-4e8e-9e06-c62e71e41c90">
&nbsp; &nbsp;
@ -87,7 +88,7 @@ Don't see your browser in the table? If it supports Tampermonkey/Userscript then
- **🔥 Capture screenshot** - **🔥 Capture screenshot**
> Exclusive to **Better xCloud**. Check the [**Capture screenshot** section](#capture-screenshot) for more info. > Exclusive to **Better xCloud**. Check the [**Capture screenshot** section](#capture-screenshot) for more info.
- **🔥 Hold the "Quit game" button for one second to refresh the stream** - **🔥 Hold the "Quit game" button for one second to refresh the stream**
> Sometimes you can fix the bad connection to the stream simply by refreshing the page. > Sometimes you can fix the bad connection to the stream or low FPS simply by refreshing the page.
> Useful on mobile where the pull-to-refresh feature doesn't work while playing. > Useful on mobile where the pull-to-refresh feature doesn't work while playing.
- **🔥 Touch controller** - **🔥 Touch controller**
> Enable touch controller support for all games. > Enable touch controller support for all games.
@ -120,8 +121,6 @@ Don't see your browser in the table? If it supports Tampermonkey/Userscript then
> Hide the mouse cursor after 3 seconds of not moving. > Hide the mouse cursor after 3 seconds of not moving.
### Controller ### Controller
- Adjust controller polling rate
> Higher is better (reduce input latency).
- Enable controller shortcuts - Enable controller shortcuts
> `Home` is the button which activates the Xbox sidebar menu (similar to the Xbox/Nexus button on the official controller). > `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). > Not all controllers have this button. It's the `B16` button on the [Gamepad Tester site](https://hardwaretester.com/gamepad).
@ -181,6 +180,9 @@ Don't see your browser in the table? If it supports Tampermonkey/Userscript then
> The analytics contains statistics of your streaming session, so I'd recommend allowing analytics to help Xbox improve xCloud's experience in the future. > The analytics contains statistics of your streaming session, so I'd recommend allowing analytics to help Xbox improve xCloud's experience in the future.
### In-game settings ### In-game settings
- **🔥 Controller & device vibrations**
> Control vibration settings
> Adjust vibration intensity
- **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 > Can be disabled in the Main Settings
@ -215,13 +217,12 @@ Don't see your browser in the table? If it supports Tampermonkey/Userscript then
<sup>(\*)</sup> By default (for compatibility reasons) xCloud only uses high quality codec profile when you use Tizen TV or Chrome/Edge/Chromium browser on Chrome/MacOS. Enable this setting will give you the best experience no matter what platform & browser you're on. <sup>(\*)</sup> By default (for compatibility reasons) xCloud only uses high quality codec profile when you use Tizen TV or Chrome/Edge/Chromium browser on Chrome/MacOS. Enable this setting will give you the best experience no matter what platform & browser you're on.
## Stream stats ## Stream stats
<img alt="Stream stats" src="https://github.com/redphx/better-xcloud/assets/96280/9fb51941-85a9-47c4-8d48-331456b9ce73">
![stats](https://github.com/redphx/better-xcloud/assets/96280/736548db-316d-4bb3-a0f8-467766ae810b) <img width="418" alt="Stream stats settings" src="https://github.com/redphx/better-xcloud/assets/96280/6313a0c6-03bf-4325-b60d-18a23c681933">
<img width="500" alt="Stream stats" src="https://github.com/redphx/better-xcloud/assets/96280/142625ea-20ab-4392-a111-0c5bc08bae09">
- While playing > `...` > `Stream Stats`. - While playing > `...` > `Stream Stats`.
- Double-click on the stats bar to show the Settings dialog. - Change settings by opening `Stream settings` while playing.
- This bar is updated every second. - This bar is updated every second.
- **Quick glance** feature: only show the stats bar when the System menu is expanded. The 👀 emoji at the beginning indicates that the stats bar is in the quick glance mode. - **Quick glance** feature: only show the stats bar when the System menu is expanded. The 👀 emoji at the beginning indicates that the stats bar is in the quick glance mode.
- ⚠️ Using **Better xCloud** or showing the stats bar also affects the performance of the stream. - ⚠️ Using **Better xCloud** or showing the stats bar also affects the performance of the stream.
@ -300,11 +301,12 @@ It's a reference to an Userscript called "better360" that I created many years a
- **Korean**: [@rightones](https://github.com/rightones) - **Korean**: [@rightones](https://github.com/rightones)
- **Italian**: Greenylie, Rakan129, Carza-104, graziequalcuno, DioCannabinoide - **Italian**: Greenylie, Rakan129, Carza-104, graziequalcuno, DioCannabinoide
- **Japanese**: Tak_attack, udonshi - **Japanese**: Tak_attack, udonshi
- **Portuguese (Brazilian)**: [@ricardo404](https://github.com/ricardo404), [@Haisom](https://github.com/Haisom), italorafael22062009, PotatoPTT - **Portuguese (Brazilian)**: [@ricardo404](https://github.com/ricardo404), [@Haisom](https://github.com/Haisom), italorafael22062009, PotatoPTT, guilhermecursi, renatomaster01
- **Polish**: [@aleksishere](https://github.com/aleksishere) - **Polish**: [@aleksishere](https://github.com/aleksishere)
- **Russian**: anpom6 - **Russian**: anpom6, soophik
- **Spanish**: [@PabloSebas](https://github.com/PabloSebas), csvnchzn - **Spanish**: [@PabloSebas](https://github.com/PabloSebas), csvnchzn
- **Turkish**: [@transbebek](https://github.com/transbebek) - **Turkish**: [@transbebek](https://github.com/transbebek)
- **Ukrainian**: glebanych
- **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.

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 2.0 // @version 2.1.1
// ==/UserScript== // ==/UserScript==

File diff suppressed because it is too large Load Diff