Compare commits

...

180 Commits

Author SHA1 Message Date
eeb7ab749a Bump version to 3.5.0 2024-04-08 17:20:47 +07:00
2af3dc315b Update translations 2024-04-08 16:52:29 +07:00
bd7b7d5ef5 Minor fixes 2024-04-07 15:16:27 +07:00
93b540d995 New setting: "combine audio & video streams" 2024-04-07 11:44:30 +07:00
9f26021ec6 Add Experimental text in Settings 2024-04-07 11:27:52 +07:00
bd8aedaf30 Add CheckForUpdate flag 2024-04-06 17:01:38 +07:00
414bc2268e Fix emitting "playing" event on normal videos 2024-04-06 16:54:41 +07:00
6b12b4add4 Use "await" keyword in interceptHttpRequests() 2024-04-06 16:41:21 +07:00
cdc64da95f Preload Remote Play right after getting server list 2024-04-06 15:31:59 +07:00
1a2fb6c89a Only init Settings UI when necessary 2024-04-06 15:29:40 +07:00
351cb0204b Preload Remote Play after injecting header buttons 2024-04-06 15:08:07 +07:00
f6a7a78be7 Fix exception in settings 2024-04-05 21:45:40 +07:00
66695b2fc2 Minor fix 2024-04-05 21:43:06 +07:00
6f8f425003 Fix scrollbar not hiding in Firefox 2024-04-05 21:31:47 +07:00
1966c7c127 Hide scrollbar setting in the app 2024-04-05 21:31:30 +07:00
67788bd365 Fix exception with Remote Play 2024-04-05 21:18:48 +07:00
bf9942ca4f Remote Play: fix not able to delete session after disconnecting 2024-04-05 17:06:01 +07:00
8d22533d7f Fix problem with Remote Play 2024-04-03 19:54:36 +07:00
7df5ac1e22 Bump version to 3.4.0 2024-04-03 07:38:41 +07:00
63f6db443a Show gamepad's vibration status in Toast 2024-04-03 07:06:14 +07:00
2a104cef24 Add "name" property to "select" elements 2024-04-03 06:46:36 +07:00
cc84e91d1c Add option to hide web page's scrollbar 2024-04-03 06:39:09 +07:00
c011a943ae Update translations 2024-04-03 06:38:57 +07:00
eef0946b01 Add support for Remote Play dialog in Android app 2024-04-02 21:47:02 +07:00
5b032d0ede Call AppInterface.showRemotePlayDialog() if available 2024-04-02 17:36:13 +07:00
6503707c54 Display Remote Play as popup instead of dialog 2024-04-02 17:18:27 +07:00
dc56e32357 Fix getting Remote Play consoles multiple times 2024-04-02 07:31:12 +07:00
33941a12d1 Preload Remote Play consoles by default 2024-04-02 07:01:06 +07:00
aebb7888d1 Adjust screenshot button's size 2024-03-31 13:31:00 +07:00
c051313092 Minor fix 2024-03-29 11:20:31 +07:00
244bebba01 Free memory after taking screenshot in the app 2024-03-24 16:13:39 +07:00
4376f37bd0 Bump version to 3.3.0 2024-03-23 17:33:59 +07:00
6ee55c6f30 Update translations 2024-03-23 17:32:50 +07:00
ea8dea99cd Add ADDITIONAL CODE block 2024-03-23 17:06:08 +07:00
805fc5dacb Update translations 2024-03-23 16:01:49 +07:00
12fc9e6353 New feature: apply video filters to screenshots 2024-03-23 15:55:46 +07:00
2eaca3e441 Add support for the screenshot feature in Android app 2024-03-23 11:27:17 +07:00
6d28e88b85 Merge branch 'main' of https://github.com/redphx/better-xcloud 2024-03-23 11:26:29 +07:00
259543cbaf Update README.md 2024-03-22 17:44:03 +07:00
ff9df84fb8 Don't render settings on unsupported features 2024-03-22 17:40:01 +07:00
2157d9cd41 Use BX_FLAGS to control feature flags 2024-03-22 17:24:05 +07:00
10e8a96a18 Update translations 2024-03-22 04:31:17 +07:00
7201efba9c Bump version to 3.2.5 2024-03-22 04:26:30 +07:00
e6504d246f Fix crashing on Kiwi v124 2024-03-22 04:21:55 +07:00
3847c27a1d Update issue templates 2024-03-21 09:45:23 +07:00
1e56e7b2a2 Fix loading time box not hidden sometimes 2024-03-20 17:56:21 +07:00
0d80edb7cb Swap position of "Low" & "High" values in "Visual quality" setting 2024-03-20 17:27:03 +07:00
b11a89037a Add back the "Off" option for "Touch controller > Availability" setting 2024-03-20 17:23:42 +07:00
ac08f657bb Add 18:9 screen ratio 2024-03-20 17:02:21 +07:00
469bac6693 Update README.md 2024-03-16 17:49:03 +07:00
fe16c28dc5 Bump version to 3.2.4 2024-03-16 17:29:09 +07:00
b2adc5b365 Add link to Android app 2024-03-16 17:17:45 +07:00
af5e92057d Use window.scrollTo() 2024-03-15 17:17:57 +07:00
d37a16169f Call AppInterface.onEvent() 2024-03-15 10:25:50 +07:00
447e93096b Rename "AndroidInterface" to "AppInterface" 2024-03-15 10:23:00 +07:00
94bddb0740 Support vibrating using Android API 2024-03-13 16:52:01 +07:00
357ee51999 Add "disableIndexDbLogging" patch 2024-03-12 17:20:33 +07:00
e47a0521c8 Fix Logitech G Cloud's controller name 2024-03-12 16:56:08 +07:00
6beb4b2f72 Fix "enableXcloudLogger" patch 2024-03-12 16:54:23 +07:00
a9254d0ad8 Add Indonesian translations 2024-03-12 16:21:08 +07:00
adf689d61d Bump version to 3.2.3 2024-03-10 20:47:21 +07:00
086385fbfb Update translations 2024-03-10 20:45:18 +07:00
705446ffb9 Fix language names 2024-03-10 20:21:45 +07:00
e366cb73e4 Stop exposing Toast class 2024-03-10 18:02:03 +07:00
d148fc708e Minor bug fixes 2024-03-10 18:01:36 +07:00
f75e22b5f6 Move Touch control settings to Controller tab 2024-03-10 17:57:16 +07:00
0f7ac4c372 Don't call MkbHandler.destroy() if the MKB feature is not enabled 2024-03-10 17:45:19 +07:00
a4874c76db Stop redrawing the "👀" emoji every seconds in the stats bar 2024-03-10 17:39:08 +07:00
397b3baa9b Avoid rendering the Settings multiple times 2024-03-10 16:20:53 +07:00
0330d0d811 Shorten name of the MKB controller 2024-03-10 07:54:08 +07:00
f8e035d98f Show a toast when a controller is connected/disconnected 2024-03-09 22:51:42 +07:00
1e7bc366ca Change STREAM_TARGET_RESOLUTION's default value back to "auto" 2024-03-09 21:29:19 +07:00
c207025df9 Bump version to 3.2.2 2024-03-08 17:16:36 +07:00
83b35dfc61 Update translations 2024-03-08 17:06:12 +07:00
e6ec664087 Update styling of disabled <select> 2024-03-08 17:03:23 +07:00
06790c8098 Use "accent-color" style on inputs 2024-03-08 16:50:53 +07:00
7310a009df Update style of the Reload page button 2024-03-08 16:50:25 +07:00
5392414abd Show Settings' reload button at the bottom when modifying settings 2024-03-07 18:36:47 +07:00
d78e55586e Update style of disabled <select> in Settings 2024-03-07 17:46:08 +07:00
77abc44f3d Add "STREAM_TOUCH_CONTROLLER_AUTO_OFF" setting 2024-03-07 17:39:37 +07:00
788ac3d527 Add "disableTakRenderer" patch 2024-03-07 09:12:30 +07:00
47ef5a9cd2 Fix "blockWebRtcStatsCollector" patch and add "blockGamepadStatsCollector" patch 2024-03-06 17:57:18 +07:00
7342da775f Bump version to 3.2.1 2024-03-05 18:02:07 +07:00
ba9642fe7e Reduce translations size 2024-03-05 17:54:27 +07:00
e547048c09 Migrate old local co-op setting 2024-03-05 17:18:04 +07:00
f110b9f2e9 Disable LOCAL_CO_OP_SEPARATE_TOUCH_CONTROLLER as it's too complicated 2024-03-05 08:00:53 +07:00
d191622a8d Add option to separate touch controller & controller 1 2024-03-05 06:32:27 +07:00
d48d2ba5f0 Disable "volume control" feature by default 2024-03-05 05:17:15 +07:00
5703f24418 refactor: update locale function's name (#277) 2024-03-05 05:15:46 +07:00
d2ddc2fd23 Bump version to 3.2 2024-03-03 16:08:18 +07:00
a00b0b6879 Update translations 2024-03-03 16:00:57 +07:00
83ff859798 Add link to list of supported local co-op games 2024-03-03 10:20:37 +07:00
0ef1e8a526 Add local co-op support 2024-03-03 09:08:53 +07:00
20caac4821 Bump version to 3.1.9 2024-03-01 17:19:09 +07:00
dac9823d5b Change default values of stream stats 2024-03-01 17:04:14 +07:00
bcdabbf1b9 Stop setting codec's default value to the best codec profile 2024-02-29 18:02:53 +07:00
11f3513b0c Fix no audio when the stream drops (#259) 2024-02-29 17:31:30 +07:00
9786c7c8ee Fix native MKB not working 2024-02-29 16:54:23 +07:00
e48b277535 Bump version to 3.1.8 2024-02-15 16:46:56 +07:00
e2dbf873a6 Update translations 2024-02-15 16:46:28 +07:00
6510eac0c3 Fix error while loading profile page 2024-02-15 16:23:06 +07:00
3dd83ace6c Fix mkb's note 2024-02-15 15:49:28 +07:00
45d8aed841 Bump version to 3.1.7 2024-02-15 11:08:02 +07:00
cf1d11185b Add a link for MKB's note 2024-02-14 17:54:03 +07:00
21f119e4eb Update translations 2024-02-14 17:45:05 +07:00
ebb7920d82 Fortnite: allow playing console version on mobile 2024-02-12 19:40:28 +07:00
5ca8eb754c Bump version to 3.1.6 2024-02-11 17:50:54 +07:00
506f89ea51 Fix game's gallery failed to load (#250) 2024-02-11 16:21:40 +07:00
9332f375b8 Cache base custom touch layouts 2024-02-10 15:05:13 +07:00
dbe0435669 Use async/await in TouchController.getCustomLayouts() 2024-02-10 14:57:11 +07:00
c1684abf27 Switch to another Remote Play server if one is down 2024-02-10 14:46:51 +07:00
07e4f9dffd Add REMOTE_PLAY_SERVER for switching Remote Play server 2024-02-09 21:52:58 +07:00
bb980d2cad Bump version to 3.1.5 2024-02-09 18:07:40 +07:00
102c796c69 Set USE_DEV_TOUCH_LAYOUT to "false" 2024-02-09 18:07:04 +07:00
2f7218d165 Update translations 2024-02-09 18:04:06 +07:00
b07318e07f Add BX_EXPOSED.test_touch_control() for layout testing 2024-02-09 17:57:25 +07:00
70a8fc9866 Test new structure of custom touch layout 2024-02-09 17:46:05 +07:00
2d9ee16531 Bump version to 3.1.4 2024-02-07 21:43:49 +07:00
21168803e0 Set default value of STREAM_CODEC_PROFILE to the best codec profile 2024-02-07 21:37:35 +07:00
3068aa8a06 Minor fix for touch control 2024-02-07 18:40:36 +07:00
b6b9ec49f6 Update touch support detection in Remote Play 2024-02-07 17:35:13 +07:00
4dc60f965f Minor fix 2024-02-07 15:22:27 +07:00
2142c4a83c Only request custom touch control when the game is focused 2024-02-07 15:15:53 +07:00
6b090194c9 Only show toast when the layout has been changed 2024-02-07 14:56:36 +07:00
a878150ec3 Show a toast with layout's name when switching touch control layout 2024-02-07 11:09:10 +07:00
5fb1dded42 Change default value of "STREAM_TARGET_RESOLUTION" to "1080p" 2024-02-07 10:53:12 +07:00
ac6879c189 Change default value of "STREAM_TOUCH_CONTROLLER" to "all" 2024-02-07 10:52:04 +07:00
b8efaf9648 Fix not loading Better xCloud after logging in 2024-02-06 22:53:53 +07:00
033ac31333 Bump version to 3.1.3 2024-02-03 07:16:46 +07:00
1f754d4a1d Add STREAM_STOPPED and STREAM_ERROR_PAGE events 2024-02-02 10:31:40 +07:00
0d39ccf8bf Typo 2024-02-02 10:04:59 +07:00
966d7f2f6c Hide touchscreen using bx-offscreen instead of bx-gone 2024-02-02 10:02:57 +07:00
fdbf618253 Add STREAM_MENU_SHOWN and STREAM_MENU_HIDDEN events 2024-02-02 09:59:42 +07:00
aaa7612293 Fix default touch control not showing sometimes 2024-02-01 20:22:18 +07:00
d578718958 Bump version to 3.1.2 2024-02-01 09:21:26 +07:00
46647dbffd Refactor + bug fixes (#245)
* Create DATA_CHANNEL_CREATED event

* Add BxEvent.dispatch()

* Dispatch STREAM_WEBRTC_CONNECTED event

* Fix not being able to hide touch control in Remote Play

* Fix touch bar again

* Listen to STREAM_LOADING & STREAM_STARTING events

* Add setupEvents() functions

* Show/hide touch controller using CSS instead

* Fix exception in LoadingScreen class

* Fix Remote Play stopped working
2024-02-01 09:20:17 +07:00
6f517d85b3 Bump version to 3.1.1 2024-01-31 07:28:44 +07:00
bf06ef6aa6 Custom layout selector (#243)
* Read layout from "layouts" property

* Support schema version 2

* Support switching custom layouts

* Fix custom touch layouts not working in Remote Play

* Fix game's layout not working when switching between games

* Fix loading custom layout before touch_layout_manager is ready

* Fix game's custom layout not working sometimes

* Set USE_DEV_TOUCH_LAYOUT to false
2024-01-31 07:26:53 +07:00
a90868ef2f Fix not showing custom touch controller layout sometimes 2024-01-30 09:40:07 +07:00
a132a1b1e0 Update README.md 2024-01-29 17:09:46 +07:00
a6c1e5f487 Bump version to 3.1 2024-01-29 16:04:18 +07:00
c3432ea125 Custom touch layout (#238)
* Expose Layout Manager

* Test layout

* Update better-xcloud.user.js

* Fix custom layout not being applied after switching off "Basic controls" setting

* Support custom layout in Remote Play

* Fix bug when showing/hiding touch controller

* Fix Remote Play

* Wait for 1s before displaying custom layout

* Support dev layouts

* Update translations

* Show notes in Settings

* Fix not being able to show touch controller
2024-01-29 15:48:21 +07:00
886a23e5ac Bump version to 3.0.5 2024-01-21 12:27:57 +07:00
309feca3f9 Only set "pointerEvents" property on touch-supported devices 2024-01-21 11:55:17 +07:00
82a9a91534 Fix Clarity Boost warning not working 2024-01-21 11:32:52 +07:00
7248dac3f6 Fix patches 2024-01-21 11:15:09 +07:00
9a0374923c Update translations 2024-01-16 06:46:44 +07:00
6952bad46d Bump version to 3.0.4 2024-01-16 06:44:33 +07:00
5afdbeb9f8 Increase maximum mouse's sensitivities to 200% 2024-01-15 17:35:38 +07:00
241cfae9a1 Optimize Preferences.get() 2024-01-15 17:28:34 +07:00
0b37ed40f6 Use getPref() & setPref() 2024-01-15 17:06:38 +07:00
dc4c1d7256 Reorganize patches 2024-01-15 17:00:42 +07:00
4add599f8e Optimize classList.remove() 2024-01-15 16:45:12 +07:00
7271478ebc Update translations 2024-01-15 16:29:39 +07:00
69d33719e6 Update README.md 2024-01-15 15:36:19 +07:00
5ce311f873 Fix the Stream Settings doesn't hide when clicking outside 2024-01-15 10:15:49 +07:00
fd127cf2fa Improve stick's responsiveness 2024-01-15 10:05:06 +07:00
cf65d12a84 Add a button to show MKB settings to the MKB overlay message 2024-01-14 17:01:45 +07:00
7838236d0d Remove "cursor: help" style from stats bar 2024-01-14 16:29:35 +07:00
1a77352f22 Fix the "Show stats when starting the game" setting doesn't work with Quick Glance mode 2024-01-14 16:27:29 +07:00
237d3919fa Optimize class prototypes 2024-01-14 16:15:42 +07:00
780deccae2 Optimize Safari's workaround 2024-01-14 15:55:16 +07:00
6dbc0990cd Optimize createElement() 2024-01-14 15:49:02 +07:00
83a8e1f847 Bump version to 3.0.3 2024-01-13 17:14:15 +07:00
5ccd04478d Reduce the chance that other Webpack extensions can cause the Patcher class not to work 2024-01-13 16:38:04 +07:00
da2a3c87bc Update Remote Play's CSS 2024-01-13 15:49:03 +07:00
a8996fe3a5 Fix minor CSS 2024-01-13 15:26:32 +07:00
89a5bbdd2e Fix strafing doesn't work (#216) 2024-01-13 15:15:50 +07:00
58f8f6e762 Update translations 2024-01-13 14:45:42 +07:00
401f8def06 Cut off button's label when it's too long 2024-01-12 18:30:49 +07:00
f560c225de Show stat's full name when hovering on it 2024-01-12 18:12:59 +07:00
d6b254b134 Don't show "0.00%" on stats bar 2024-01-12 17:57:33 +07:00
36a6259817 Put MKB settings before Touch Controller settings 2024-01-12 17:49:16 +07:00
76947a39de Update styling of the Connect button in the Remote Play dialog 2024-01-12 17:43:04 +07:00
151b87fb69 Change button's height from 32px to 36px 2024-01-12 17:14:35 +07:00
0a6bd5b763 Fix layout on small screen devices 2024-01-12 17:02:50 +07:00
477989d542 Update styling of buttons in header 2024-01-12 16:46:19 +07:00
15eaf76042 Add ButtonStyle enum 2024-01-12 16:03:45 +07:00
a495d3147b Update styling of Stream Settings 2024-01-12 15:28:27 +07:00
2fb61c1c44 Truncate long headers in Stream Settings dialog (#215) 2024-01-09 17:31:30 +07:00
5 changed files with 5341 additions and 3509 deletions

View File

@ -7,6 +7,8 @@ assignees: ''
---
<!-- ⚠️ Only use English. Any other languages will be deleted. -->
**Platform**
- Device: Phone, Laptop, Desktop, TV...
- OS: Windows, Android, iOS...

View File

@ -7,6 +7,8 @@ assignees: ''
---
<!-- ⚠️ Only use English. Any other languages will be deleted. -->
**I'm using:**
- Device:
- OS:

View File

@ -1,6 +1,12 @@
# Better xCloud
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.
> [!TIP]
> The Android app is in development at [redphx/better-xcloud-android](https://github.com/redphx/better-xcloud-android)
> [!IMPORTANT]
> I don't accept pull requests at the moment (except PR for custom touch controls)
**Supported platforms:**
- Windows
- macOS
@ -16,7 +22,10 @@ If you like this project please give it a 🌟. Thank you 🙏.
[![Total stars](https://img.shields.io/github/stars/redphx/better-xcloud?color=%23cca400)](https://github.com/redphx/better-xcloud/stargazers)
## Full documentations
For the full details please visit: https://better-xcloud.github.io
- For the full details please visit: https://better-xcloud.github.io
- [Demo video](https://youtu.be/hyp69Jrb2sQ)
⚠️ Please DO NOT report **Better xCloud**'s bugs on [/r/xcloud subreddit](https://reddit.com/r/xcloud/). Report bugs in [Issues](https://github.com/redphx/better-xcloud/issues) or [Telegram channel](https://t.me/betterxcloud) instead.
## Table of Contents
- [**How to install**](#how-to-install)

View File

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

File diff suppressed because it is too large Load Diff