188 Commits

Author SHA1 Message Date
redphx
c47caea65e
Bump version to 1.17 2023-09-18 08:12:57 +07:00
redphx
7a202ba8a7 Disable "Visual quality" setting on unsupported browsers 2023-09-18 08:10:52 +07:00
redphx
0cc96135c9
Support more languages (#134)
* Define CSS variables

* Shorten CSS prefix "better-xcloud-" to "bx-"

* Move Safari's workaround code to the end of the script

* Add setting to change Better xCloud's language

* Support Vietnamese language

* Use the same language as browser

* Minor fixes

* Add Portuguese (Brazilian)

* Update BR translation

* Adjust CSS of Settings' reload button

* Reload the page after changing language

* Fix setting locale on first run

* Replace "Force high-quality codec" option with "Visual quality"

* Add Italian translation

* Update texts

* Deprecate "Prefer high-quality codec" setting

* Show stat's abbr. in slection box

* Reduce border size in stats bar from 2px to 1px

* Remove unused texts

* Remove Italian translation (because it's unfinised) + update Brazillian + Vietnamese translations
2023-09-18 07:43:03 +07:00
redphx
ed2fb13e17 Create MouseHoldEvent 2023-09-13 17:40:54 +07:00
redphx
b91474c20b Hide Stream Settings dialog when opening Stream Menu 2023-09-13 17:18:50 +07:00
redphx
18eec8b8da Update CSS selectors for REDUCE_ANIMATIONS 2023-09-13 17:00:00 +07:00
redphx
cc466ff2ac
Bump version to 1.16 2023-09-10 17:16:11 +07:00
redphx
7c48b7e6fb
Volume booster (#125)
* Move Video settings box from bottom to the right side

* Rename "Video Settings" to "Stream Settings"

* Volume booster

* Fix volume booster not working

* Typo

* Fix not working in Kiwi

* Show input range

* Update monkey patching method for AudioContext

* Refactor Preferences

* Add tick markers

* Add Audio & Video headers

* Reduce stats bar size

* Show warning when Clarity Boost mode is ON

* Increase max volume to 600

* Try to fix audio problem on iOS/iPadOS

* Pause <audio>

* Fix crashing when enabling touch controller

* Fix touch controller not working

* Fix volume booster not working on iOS/iPadOS
2023-09-10 17:04:23 +07:00
redphx
cc9a644a5e
Bump version to 1.15.1 2023-09-08 17:24:05 +07:00
redphx
cd7a7c92c7 Validate settings when getting its values 2023-09-08 17:16:38 +07:00
redphx
651402a6b4 Restore stretch to full screen feature 2023-09-08 17:15:45 +07:00
redphx
fa0d761d24
Bump version to 1.15 2023-09-04 10:37:31 +07:00
redphx
f15f43faf7 Remove "Bitrate" & "Decode Time" stats from default items 2023-09-04 10:31:52 +07:00
redphx
e470cb20a3
Replace "Stretch Video" setting with "Video Ratio" (#121)
* Make Game Pass' app version easier to read

* Replace numberPicker with NumberStepper

* Replace "Stretch Video" setting with "Video Ratio"

* Make number stepper's buttons a little bit bigger
2023-09-04 09:11:08 +07:00
redphx
d9a14f9d83
Bump version to 1.14.1 2023-08-27 15:04:41 +07:00
redphx
f74de11e10 Fix Clarity Boost mode detection 2023-08-27 15:03:24 +07:00
redphx
2a71e17d2d Fix the stats selection box not working on mobile 2023-08-27 14:39:35 +07:00
redphx
2a85dd574e
Version 1.14 (#116)
* Update README.md

* Update better-xcloud.meta.js

* Bump version to 1.14
2023-08-26 18:21:05 +07:00
redphx
9692286f1e Show a warning when the Clarity Boost mode is ON 2023-08-26 18:14:19 +07:00
redphx
26498efa7c Fix Settings button not showing when after playing (#112) 2023-08-26 18:02:53 +07:00
redphx
d1c724ff2c
Improve Stats bar (#115)
* Rename "RTT" to "PNG"

* Show select box to select stats items

* Toggle stats

* Prevent select box from jumping around

* Put Ping before FPS & remove "ms" suffix from Ping
2023-08-26 18:01:31 +07:00
redphx
eec41c58b6
Bump version to 1.13.1 2023-08-18 17:44:01 +07:00
redphx
3cf029818e Fix crashing when not skipping splash video 2023-08-18 17:07:43 +07:00
redphx
5104cf33b4
Version 1.13 (#105)
* Update README.md

* Bump version to 1.13

* Bump version to 1.13
2023-08-15 18:04:26 +07:00
redphx
771111d1f8
Loading screen (#104)
* Show game's art in the loading screen

* Fade in/out game's art

* Enable UI_GAME_ART_LOADING_SCREEN by default

* Check PREF_UI_GAME_ART_LOADING_SCREEN

* Fix touch controller setting

* Show estimated time

* Show countdown time on web title

* Rename PREF_UI_GAME_ART_LOADING_SCREEN to UI_LOADING_SCREEN_GAME_ART

* Add setting to show/hide the wait time

* Add time zone offset to end time

* Store APP_CONTEXT

* Add setting to hide the rocket animation
2023-08-15 17:42:21 +07:00
redphx
2dc3097737 Change clarity range from 0-3 (1 per step) to 0-5 (0.5 per step) 2023-08-14 16:54:25 +07:00
redphx
0833afc0a2 Set the opacity of stat's stroke to 90% 2023-08-14 16:27:15 +07:00
redphx
3a82b74cda
Version 1.12 (#95)
* Update README.md

* Bump version to 1.12

* Bump version to 1.12
2023-08-13 16:48:46 +07:00
redphx
dce0a44d2a
Add poor man's "Clarity Boost" feature (#94)
* Add Video clarity setting

* Disable Clarity feature in Safari

* Make the Video settings bar smaller

* Stop loading the page when running into the "We are sorry..." error message

* Fix problems with named parameters
2023-08-13 16:22:13 +07:00
redphx
343e243c77
Version 1.11 (#91)
* Update README.md

* Bump version to 1.11

* Bump version to 1.11
2023-08-12 19:41:14 +07:00
redphx
0722e02ab0 Minor fix 2023-08-12 17:56:23 +07:00
redphx
c520fde438 Show GamePass app's version (#85) 2023-08-12 17:35:40 +07:00
redphx
2f4396d948 Update Settings UI 2023-08-12 17:01:44 +07:00
redphx
88d46581bf Add touch's controller button styles: default/white/muted 2023-08-12 16:24:37 +07:00
redphx
0cd6106957 Increase TouchController.#dispatchMessage timeout time from 10ms to 100ms 2023-08-12 14:55:54 +07:00
redphx
43b932f5d6
Add "Enable microphone on game launch" setting (#89)
* Add "Enable microphone on game launch" setting

* Stream menu: clone the second last button instead of the first one (usually the mic button)

* Close the HUD when clicking clicking on the Video Settings button

* Use a different CSS for the Stream Stats button when it's ON
2023-08-12 14:52:27 +07:00
redphx
9d6db3ed37
Fix for Safari (#88)
* Reload the page until the script is loaded first

* Trying to fix the issue with error page

* Show a message when reloading the page

* Minor refactoring in overrides.inputConfiguration

* Automatically reload the page when running into the "We are sorry..." error message
2023-08-12 10:43:51 +07:00
redphx
c76cf83c58
Bump version to 1.10.2 2023-08-08 07:37:23 +07:00
redphx
5a5c65e7a2 Fix the fullscreen bug on Android (#49) 2023-08-08 07:35:34 +07:00
redphx
7779473eee
Version 1.10.1 (#73)
* Update README.md

* Bump version to 1.10.1

* Bump version to 1.10.1
2023-08-06 18:57:14 +07:00
redphx
0b0f5add1b
Toggle touch controller visibility (#72)
* Double-tap anywhere at the bottom of the screen to show/hide touch controller

* Update CSS

* Update the size of the screenshot button

* Update screenshot button's CSS

* Update screenshot button's opacity
2023-08-06 18:51:06 +07:00
redphx
140005bda5 Fix borken layout 2023-08-06 10:24:54 +07:00
redphx
2ecd6f23ff
Version 1.10 (#68)
* Update README.md

* Fix sometimes the touch controller layout doesn't show at the beginning

* Restore GAME_TITLE_ID

* Update README.md

* Bump version to 1.10

* Bump version to 1.10
2023-08-06 09:29:23 +07:00
redphx
3e97263caa Change text of the "Reload" button to "Reloading..." after clicking on it 2023-08-06 07:25:57 +07:00
redphx
19856e6381
Split settings into groups (#67) 2023-08-06 07:17:46 +07:00
redphx
d6852e132d Show stats bar on startup if Quick Glance mode is enabled 2023-08-06 06:21:12 +07:00
redphx
a5d340e4e8 Show charging status in Battery badge 2023-08-06 06:20:54 +07:00
redphx
34f33f2508
Add setting to enable touch controller for all games (#66)
* Add "Enable touch controller for all games" feature

* Minor fixes

* Disable STREAM_ENABLE_TOUCH_CONTROLLER when STREAM_ENABLE_TOUCH_CONTROLLER is enabled

* Combine STREAM_ENABLE_TOUCH_CONTROLLER & STREAM_HIDE_TOUCH_CONTROLLER into STREAM_TOUCH_CONTROLLER
2023-08-06 05:48:38 +07:00
redphx
d43659da30 Fix missing key for STREAM_HIDE_IDLE_CURSOR 2023-08-05 10:17:46 +07:00
redphx
1dc411281c Fix check for update feature 2023-08-05 10:03:56 +07:00