mirror of
https://github.com/an-anime-team/sleepy-launcher.git
synced 2024-11-24 05:38:30 +03:00
commit
ea006727fe
23 changed files with 129 additions and 413 deletions
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
|
||||
- Replaced FPS unlocker by a custom one
|
||||
|
||||
## [3.9.3] - 23.12.2023
|
||||
|
||||
### Added
|
||||
|
|
133
Cargo.lock
generated
133
Cargo.lock
generated
|
@ -106,8 +106,8 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "anime-launcher-sdk"
|
||||
version = "1.12.4"
|
||||
source = "git+https://github.com/an-anime-team/anime-launcher-sdk?tag=1.12.4#e3f4677a2bca0a511853a2448e54c54ceff5bbbe"
|
||||
version = "1.12.5"
|
||||
source = "git+https://github.com/an-anime-team/anime-launcher-sdk?tag=1.12.5#fae9497c43f9d7636d32ba755163808f805049b1"
|
||||
dependencies = [
|
||||
"anime-game-core",
|
||||
"anyhow",
|
||||
|
@ -172,9 +172,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "anyhow"
|
||||
version = "1.0.76"
|
||||
version = "1.0.77"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "59d2a3357dde987206219e78ecfbbb6e8dad06cbb65292758d3270e6254f7355"
|
||||
checksum = "c9d19de80eff169429ac1e9f48fffb163916b448a44e8e046186232046d9e1f9"
|
||||
dependencies = [
|
||||
"backtrace",
|
||||
]
|
||||
|
@ -374,7 +374,7 @@ checksum = "5fd55a5ba1179988837d24ab4c7cc8ed6efdeff578ede0416b4225a5fca35bd0"
|
|||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.42",
|
||||
"syn 2.0.43",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -435,7 +435,7 @@ checksum = "fdf6721fb0140e4f897002dd086c06f6c27775df19cfe1fccb21181a48fd2c98"
|
|||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.42",
|
||||
"syn 2.0.43",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -541,9 +541,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "bstr"
|
||||
version = "1.8.0"
|
||||
version = "1.9.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "542f33a8835a0884b006a0c3df3dadd99c0c3f296ed26c2fdc8028e01ad6230c"
|
||||
checksum = "c48f0051a4b4c5e0b6d365cd04af53aeaa209e3cc15ec2cdb69e73cc87fbd0dc"
|
||||
dependencies = [
|
||||
"memchr",
|
||||
"serde",
|
||||
|
@ -750,21 +750,20 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "crossbeam-epoch"
|
||||
version = "0.9.16"
|
||||
version = "0.9.17"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2d2fe95351b870527a5d09bf563ed3c97c0cffb87cf1c78a591bf48bb218d9aa"
|
||||
checksum = "0e3681d554572a651dda4186cd47240627c3d0114d45a95f6ad27f2f22e7548d"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
"cfg-if",
|
||||
"crossbeam-utils",
|
||||
"memoffset 0.9.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "crossbeam-utils"
|
||||
version = "0.8.17"
|
||||
version = "0.8.18"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c06d96137f14f244c37f989d9fff8f95e6c18b918e71f36638f8c49112e4c78f"
|
||||
checksum = "c3a430a770ebd84726f584a90ee7f020d28db52c6d02138900f22341f866d39c"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
]
|
||||
|
@ -871,7 +870,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d"
|
|||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.42",
|
||||
"syn 2.0.43",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -908,7 +907,7 @@ dependencies = [
|
|||
"num-traits",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.42",
|
||||
"syn 2.0.43",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -929,7 +928,7 @@ checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246"
|
|||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.42",
|
||||
"syn 2.0.43",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -1166,9 +1165,9 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
|
|||
|
||||
[[package]]
|
||||
name = "futures"
|
||||
version = "0.3.29"
|
||||
version = "0.3.30"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "da0290714b38af9b4a7b094b8a37086d1b4e61f2df9122c3cad2577669145335"
|
||||
checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0"
|
||||
dependencies = [
|
||||
"futures-channel",
|
||||
"futures-core",
|
||||
|
@ -1181,9 +1180,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "futures-channel"
|
||||
version = "0.3.29"
|
||||
version = "0.3.30"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ff4dd66668b557604244583e3e1e1eada8c5c2e96a6d0d6653ede395b78bbacb"
|
||||
checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"
|
||||
dependencies = [
|
||||
"futures-core",
|
||||
"futures-sink",
|
||||
|
@ -1191,15 +1190,15 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "futures-core"
|
||||
version = "0.3.29"
|
||||
version = "0.3.30"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "eb1d22c66e66d9d72e1758f0bd7d4fd0bee04cad842ee34587d68c07e45d088c"
|
||||
checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
|
||||
|
||||
[[package]]
|
||||
name = "futures-executor"
|
||||
version = "0.3.29"
|
||||
version = "0.3.30"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0f4fb8693db0cf099eadcca0efe2a5a22e4550f98ed16aba6c48700da29597bc"
|
||||
checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d"
|
||||
dependencies = [
|
||||
"futures-core",
|
||||
"futures-task",
|
||||
|
@ -1208,9 +1207,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "futures-io"
|
||||
version = "0.3.29"
|
||||
version = "0.3.30"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8bf34a163b5c4c52d0478a4d757da8fb65cabef42ba90515efee0f6f9fa45aaa"
|
||||
checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1"
|
||||
|
||||
[[package]]
|
||||
name = "futures-lite"
|
||||
|
@ -1242,32 +1241,32 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "futures-macro"
|
||||
version = "0.3.29"
|
||||
version = "0.3.30"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb"
|
||||
checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.42",
|
||||
"syn 2.0.43",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "futures-sink"
|
||||
version = "0.3.29"
|
||||
version = "0.3.30"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e36d3378ee38c2a36ad710c5d30c2911d752cb941c00c72dbabfb786a7970817"
|
||||
checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5"
|
||||
|
||||
[[package]]
|
||||
name = "futures-task"
|
||||
version = "0.3.29"
|
||||
version = "0.3.30"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "efd193069b0ddadc69c46389b740bbccdd97203899b48d09c5f7969591d6bae2"
|
||||
checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
|
||||
|
||||
[[package]]
|
||||
name = "futures-util"
|
||||
version = "0.3.29"
|
||||
version = "0.3.30"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a19526d624e703a3179b3d322efec918b6246ea0fa51d41124525f00f1cc8104"
|
||||
checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
|
||||
dependencies = [
|
||||
"futures-channel",
|
||||
"futures-core",
|
||||
|
@ -1440,7 +1439,7 @@ dependencies = [
|
|||
"proc-macro-error",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.42",
|
||||
"syn 2.0.43",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -1915,9 +1914,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "memchr"
|
||||
version = "2.6.4"
|
||||
version = "2.7.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167"
|
||||
checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149"
|
||||
|
||||
[[package]]
|
||||
name = "memoffset"
|
||||
|
@ -2074,9 +2073,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "object"
|
||||
version = "0.32.1"
|
||||
version = "0.32.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0"
|
||||
checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441"
|
||||
dependencies = [
|
||||
"memchr",
|
||||
]
|
||||
|
@ -2461,7 +2460,7 @@ checksum = "086047e49d6426fd9f53109950f205d2ed88027d5fecfece724e6722904fe473"
|
|||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.42",
|
||||
"syn 2.0.43",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -2611,11 +2610,11 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "schannel"
|
||||
version = "0.1.22"
|
||||
version = "0.1.23"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88"
|
||||
checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534"
|
||||
dependencies = [
|
||||
"windows-sys 0.48.0",
|
||||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -2695,7 +2694,7 @@ checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3"
|
|||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.42",
|
||||
"syn 2.0.43",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -2717,7 +2716,7 @@ checksum = "3081f5ffbb02284dda55132aa26daecedd7372a42417bbbab6f14ab7d6bb9145"
|
|||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.42",
|
||||
"syn 2.0.43",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -2866,9 +2865,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "syn"
|
||||
version = "2.0.42"
|
||||
version = "2.0.43"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5b7d0a2c048d661a1a59fcd7355baa232f7ed34e0ee4df2eef3c1c1c0d3852d8"
|
||||
checksum = "ee659fb5f3d355364e1f3e5bc10fb82068efbf824a1e9d1c9504244a6469ad53"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
@ -2877,9 +2876,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "sysinfo"
|
||||
version = "0.30.0"
|
||||
version = "0.30.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c68492e7268037de59ae153d7efb79546cf94a18a9548235420d3d8d2436b4b1"
|
||||
checksum = "c856f6ee1d0241d2ebaee960aaad07080afb4daf6bdfa3b250ace3cf1b81355d"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"core-foundation-sys",
|
||||
|
@ -2922,35 +2921,35 @@ checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a"
|
|||
|
||||
[[package]]
|
||||
name = "tempfile"
|
||||
version = "3.8.1"
|
||||
version = "3.9.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5"
|
||||
checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"fastrand 2.0.1",
|
||||
"redox_syscall",
|
||||
"rustix 0.38.28",
|
||||
"windows-sys 0.48.0",
|
||||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "thiserror"
|
||||
version = "1.0.51"
|
||||
version = "1.0.52"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f11c217e1416d6f036b870f14e0413d480dbf28edbee1f877abaf0206af43bb7"
|
||||
checksum = "83a48fd946b02c0a526b2e9481c8e2a17755e47039164a86c4070446e3a4614d"
|
||||
dependencies = [
|
||||
"thiserror-impl",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "thiserror-impl"
|
||||
version = "1.0.51"
|
||||
version = "1.0.52"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "01742297787513b79cf8e29d1056ede1313e2420b7b3b15d0a768b4921f549df"
|
||||
checksum = "e7fbe9b594d6568a6a1443250a7e67d80b74e1e96f6d1715e1e21cc1888291d3"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.42",
|
||||
"syn 2.0.43",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -3091,7 +3090,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
|
|||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.42",
|
||||
"syn 2.0.43",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -3194,7 +3193,7 @@ checksum = "fea2a4c80deb4fb3ca51f66b5e2dd91e3642bbce52234bcf22e41668281208e4"
|
|||
dependencies = [
|
||||
"proc-macro-hack",
|
||||
"quote",
|
||||
"syn 2.0.42",
|
||||
"syn 2.0.43",
|
||||
"unic-langid-impl",
|
||||
]
|
||||
|
||||
|
@ -3334,7 +3333,7 @@ dependencies = [
|
|||
"once_cell",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.42",
|
||||
"syn 2.0.43",
|
||||
"wasm-bindgen-shared",
|
||||
]
|
||||
|
||||
|
@ -3368,7 +3367,7 @@ checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283"
|
|||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.42",
|
||||
"syn 2.0.43",
|
||||
"wasm-bindgen-backend",
|
||||
"wasm-bindgen-shared",
|
||||
]
|
||||
|
@ -3596,18 +3595,18 @@ checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04"
|
|||
|
||||
[[package]]
|
||||
name = "winnow"
|
||||
version = "0.5.30"
|
||||
version = "0.5.31"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9b5c3db89721d50d0e2a673f5043fc4722f76dcc352d7b1ab8b8288bed4ed2c5"
|
||||
checksum = "97a4882e6b134d6c28953a387571f1acdd3496830d5e36c5e3a1075580ea641c"
|
||||
dependencies = [
|
||||
"memchr",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "xattr"
|
||||
version = "1.1.3"
|
||||
version = "1.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a7dae5072fe1f8db8f8d29059189ac175196e410e40ba42d5d4684ae2f750995"
|
||||
checksum = "914566e6413e7fa959cc394fb30e563ba80f3541fbd40816d4c05a0fc3f2a0f1"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"linux-raw-sys 0.4.12",
|
||||
|
@ -3725,7 +3724,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6"
|
|||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.42",
|
||||
"syn 2.0.43",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
@ -19,7 +19,7 @@ glib-build-tools = "0.18"
|
|||
|
||||
[dependencies.anime-launcher-sdk]
|
||||
git = "https://github.com/an-anime-team/anime-launcher-sdk"
|
||||
tag = "1.12.4"
|
||||
tag = "1.12.5"
|
||||
features = ["all", "genshin"]
|
||||
|
||||
# path = "../anime-launcher-sdk" # ! for dev purposes only
|
||||
|
|
|
@ -44,26 +44,14 @@ title = Titel
|
|||
description = Beschreibung
|
||||
|
||||
fps-unlocker = FPS Freischalter
|
||||
|
||||
enabled = Aktiviert
|
||||
fps-unlocker-description = Aufhebung der Frames-Rendering-Beschränkung durch Modifizierung des Spielspeichers. Kann von der Anti-Cheat-Funktion erkannt werden
|
||||
|
||||
power-saving = Energiesparen
|
||||
power-saving-description = Automatisches Setzen des FPS-Limits auf 10 und niedrige Prozesspriorität, wenn der Fokus auf das Spiel verloren geht (z. B. beim Verlassen des Spiels)
|
||||
enabled = Aktiviert
|
||||
|
||||
monitor = Monitor
|
||||
monitor-description = Nummer des Monitors, auf dem das Spiel laufen soll
|
||||
fps-unlocker-interval = Overwrite interval
|
||||
fps-unlocker-interval-description = Delay in milliseconds between overwriting the FPS limit value. Periodic overwrites are necessary to prevent it from resetting
|
||||
|
||||
window-mode = Fenster Modus
|
||||
borderless = Randlos
|
||||
popup = Popup
|
||||
fullscreen = Vollbild
|
||||
|
||||
priority = Priorität
|
||||
priority-description = Priorität des Spielprozesses
|
||||
realtime = Echtzeit
|
||||
high = Hoch
|
||||
above-normal = Über Normal
|
||||
normal = Normal
|
||||
below-normal = Unter Normal
|
||||
low = Niedrig
|
||||
|
|
|
@ -44,26 +44,14 @@ title = Title
|
|||
description = Description
|
||||
|
||||
fps-unlocker = FPS Unlocker
|
||||
|
||||
enabled = Enabled
|
||||
fps-unlocker-description = Remove frames rendering limitation by modifying the game's memory. Can be detected by the anti-cheat
|
||||
|
||||
power-saving = Power saving
|
||||
power-saving-description = Automatically set the FPS limit to 10 and low process priority upon losing focus to the game (e.g. tabbing out)
|
||||
enabled = Enabled
|
||||
|
||||
monitor = Monitor
|
||||
monitor-description = Number of monitor you want to run the game on
|
||||
fps-unlocker-interval = Overwrite interval
|
||||
fps-unlocker-interval-description = Delay in milliseconds between overwriting the FPS limit value. Periodic overwrites are necessary to prevent it from resetting
|
||||
|
||||
window-mode = Window Mode
|
||||
borderless = Borderless
|
||||
popup = Popup
|
||||
fullscreen = Fullscreen
|
||||
|
||||
priority = Priority
|
||||
priority-description = Game process priority
|
||||
realtime = Realtime
|
||||
high = High
|
||||
above-normal = Above Normal
|
||||
normal = Normal
|
||||
below-normal = Below Normal
|
||||
low = Low
|
||||
|
|
|
@ -44,26 +44,14 @@ title = Título
|
|||
description = Descripción
|
||||
|
||||
fps-unlocker = Liberar FPS
|
||||
|
||||
enabled = Activado
|
||||
fps-unlocker-description = Elimina la restricción de frames por segundo modificando la memoria del juego. Puede ser detectado por el anti-cheat
|
||||
|
||||
power-saving = Ahorro de energía
|
||||
power-saving-description = Automáticamente establece el límite de FPS en 10 y baja la prioridad del juego cuando queda en segundo plano (por ejemplo cuando usás Alt+Tab)
|
||||
enabled = Activado
|
||||
|
||||
monitor = Monitor
|
||||
monitor-description = Número del monitor en el que quieres correr el juego
|
||||
fps-unlocker-interval = Overwrite interval
|
||||
fps-unlocker-interval-description = Delay in milliseconds between overwriting the FPS limit value. Periodic overwrites are necessary to prevent it from resetting
|
||||
|
||||
window-mode = Modo de ventana
|
||||
borderless = Sin bordes
|
||||
popup = Popup
|
||||
fullscreen = Pantalla completa
|
||||
|
||||
priority = Prioridad
|
||||
priority-description = Prioridad de proceso del juego
|
||||
realtime = En tiempo real
|
||||
high = Alta
|
||||
above-normal = Más de lo normal
|
||||
normal = Normal
|
||||
below-normal = Menos de lo normal
|
||||
low = Baja
|
||||
|
|
|
@ -44,26 +44,14 @@ title = Titre
|
|||
description = Description
|
||||
|
||||
fps-unlocker = Déblocage des FPS
|
||||
|
||||
enabled = Activer
|
||||
fps-unlocker-description = Enlève les limitations de FPS en modifiant la mémoire du jeu. Peut être détecté par l'anticheat
|
||||
|
||||
power-saving = Économie d'énergie
|
||||
power-saving-description = Limite automatiquement les FPS à 10 et baisse la priorité du processus quand le jeu n'est plus focus (lors d'un alt+tab par exemple)
|
||||
enabled = Activer
|
||||
|
||||
monitor = Écran
|
||||
monitor-description = Écran sur lequel le jeu se lancera
|
||||
fps-unlocker-interval = Overwrite interval
|
||||
fps-unlocker-interval-description = Delay in milliseconds between overwriting the FPS limit value. Periodic overwrites are necessary to prevent it from resetting
|
||||
|
||||
window-mode = Type de fenêtre
|
||||
borderless = Sans bordure
|
||||
popup = Popup
|
||||
fullscreen = Plein écran
|
||||
|
||||
priority = Priorité
|
||||
priority-description = Priorité du processus du jeu
|
||||
realtime = Temps réel
|
||||
high = Haut
|
||||
above-normal = Au dessus de la normale
|
||||
normal = Normale
|
||||
below-normal = En dessous de la normal
|
||||
low = Bas
|
||||
|
|
|
@ -44,26 +44,14 @@ title = Title
|
|||
description = Description
|
||||
|
||||
fps-unlocker = FPS Unlocker
|
||||
|
||||
enabled = Bekapcsolva
|
||||
fps-unlocker-description = Eltávolítja az fps limitet. Az anti-cheat észreveheti
|
||||
|
||||
power-saving = Energiatakarékos
|
||||
power-saving-description = Fókuszvesztésnél(pl. alt-tab) az FPS limitet 10-re állítja
|
||||
enabled = Bekapcsolva
|
||||
|
||||
monitor = Monitor
|
||||
monitor-description = Ahány monitoron szeretnéd futtatni a játékot
|
||||
fps-unlocker-interval = Overwrite interval
|
||||
fps-unlocker-interval-description = Delay in milliseconds between overwriting the FPS limit value. Periodic overwrites are necessary to prevent it from resetting
|
||||
|
||||
window-mode = Ablak mód
|
||||
borderless = Keretmentes
|
||||
popup = Popup
|
||||
fullscreen = Teljesképernyő
|
||||
|
||||
priority = Prioritás
|
||||
priority-description = Játékfolyamat prioritás
|
||||
realtime = Legmagasabb
|
||||
high = Magas
|
||||
above-normal = Normál felett
|
||||
normal = Normál
|
||||
below-normal = Normál alatt
|
||||
low = Alacsony
|
||||
|
|
|
@ -44,26 +44,14 @@ title = Judul
|
|||
description = Deskripsi
|
||||
|
||||
fps-unlocker = FPS Unlocker
|
||||
|
||||
enabled = Aktifkan
|
||||
fps-unlocker-description = Meniadakan batas maksimum frame yang dapat dirender oleh game dengan memodifikasi memori game. Dapat terdeteksi oleh anti-cheat
|
||||
|
||||
power-saving = Menghemat daya
|
||||
power-saving-description = Secara otomatis membatasi FPS ke 10 dan menurunkan prioritas proses ketika game sedang tidak dalam fokus (contoh ketika alt-tab)
|
||||
enabled = Aktifkan
|
||||
|
||||
monitor = Monitor
|
||||
monitor-description = Pada monitor mana kau ingin game dijalankan
|
||||
fps-unlocker-interval = Overwrite interval
|
||||
fps-unlocker-interval-description = Delay in milliseconds between overwriting the FPS limit value. Periodic overwrites are necessary to prevent it from resetting
|
||||
|
||||
window-mode = Window Mode
|
||||
borderless = Tanpa border
|
||||
popup = Popup
|
||||
fullscreen = Penuhi layar
|
||||
|
||||
priority = Prioritas
|
||||
priority-description = Prioritas proses game
|
||||
realtime = realtime
|
||||
high = Tinggi
|
||||
above-normal = Di atas Normal
|
||||
normal = Normal
|
||||
below-normal = Di bawah Normal
|
||||
low = Rendah
|
||||
|
|
|
@ -44,26 +44,14 @@ title = Titolo
|
|||
description = Descrizione
|
||||
|
||||
fps-unlocker = Sblocco FPS
|
||||
|
||||
enabled = Abilitato
|
||||
fps-unlocker-description = Rimuovi la limitazione del rendering dei frame modificando la memoria del gioco. Può essere rilevato dall'anti-cheat
|
||||
|
||||
power-saving = Risparmio energetico
|
||||
power-saving-description = Imposta il limite degli FPS automaticamente a 10 e abbassa la priorità del processo quando si perde il focus sul gioco (es. cambiando finestra)
|
||||
enabled = Abilitato
|
||||
|
||||
monitor = Monitor
|
||||
monitor-description = Numero del monitor su cui vuoi venga eseguito il gioco
|
||||
fps-unlocker-interval = Overwrite interval
|
||||
fps-unlocker-interval-description = Delay in milliseconds between overwriting the FPS limit value. Periodic overwrites are necessary to prevent it from resetting
|
||||
|
||||
window-mode = Modalità della finestra
|
||||
borderless = Senza bordi
|
||||
popup = Popup
|
||||
fullscreen = Schermo intero
|
||||
|
||||
priority = Priorità
|
||||
priority-description = Priorità del processo del gioco
|
||||
realtime = In tempo reale
|
||||
high = Alta
|
||||
above-normal = Sopra la norma
|
||||
normal = Normale
|
||||
below-normal = Sotto la norma
|
||||
low = Bassa
|
||||
|
|
|
@ -43,26 +43,14 @@ title = タイトル
|
|||
description = 説明
|
||||
|
||||
fps-unlocker = FPS上限解除
|
||||
|
||||
enabled = 機能を有効にする
|
||||
fps-unlocker-description = ゲーム内のメモリを書き換えてFPSの上限を解除します。アンチチートによって検知されることはありません。
|
||||
|
||||
power-saving = 省電力
|
||||
power-saving-description = タブアウトなどをしたときに、自動的にFPS制限をかけることで省電力化します。
|
||||
enabled = 機能を有効にする
|
||||
|
||||
monitor = モニター
|
||||
monitor-description = このゲームを動かしたいモニターの番号
|
||||
fps-unlocker-interval = Overwrite interval
|
||||
fps-unlocker-interval-description = Delay in milliseconds between overwriting the FPS limit value. Periodic overwrites are necessary to prevent it from resetting
|
||||
|
||||
window-mode = ウィンドウモード
|
||||
borderless = ボーダーレス
|
||||
popup = ポップアップ
|
||||
fullscreen = フルスクリーン
|
||||
|
||||
priority = 優先度
|
||||
priority-description = ゲームプロセスの優先度
|
||||
realtime = リアルタイム
|
||||
high = 高い
|
||||
above-normal = 少し高い
|
||||
normal = 普通
|
||||
below-normal = 少し低い
|
||||
low = 低い
|
||||
|
|
|
@ -44,26 +44,14 @@ title = 타이틀
|
|||
description = 설명
|
||||
|
||||
fps-unlocker = FPS Unlocker
|
||||
|
||||
enabled = Enabled
|
||||
fps-unlocker-description = 게임 메모리를 수정하여 프레임 렌더링 제한을 제거합니다. 안티 치트에 의해 감지 될 수 있습니다
|
||||
|
||||
power-saving = 절전
|
||||
power-saving-description = 게임에 집중하지 않을 때(예: 탭아웃) 자동으로 FPS 제한을 10으로 설정하고 프로세스 우선순위를 낮춥니다
|
||||
enabled = Enabled
|
||||
|
||||
monitor = 모니터
|
||||
monitor-description = 게임을 실행하고자 하는 모니터의 수
|
||||
fps-unlocker-interval = Overwrite interval
|
||||
fps-unlocker-interval-description = Delay in milliseconds between overwriting the FPS limit value. Periodic overwrites are necessary to prevent it from resetting
|
||||
|
||||
window-mode = 창 모드
|
||||
borderless = 테두리 없는 창 모드
|
||||
popup = 팝업
|
||||
fullscreen = 전체 화면
|
||||
|
||||
priority = 우선 순위
|
||||
priority-description = 게임 프로세스 우선 순위
|
||||
realtime = 실시간
|
||||
high = 높음
|
||||
above-normal = 보통 이상
|
||||
normal = 보통
|
||||
below-normal = 보통 이하
|
||||
low = 낮음
|
||||
|
|
|
@ -44,26 +44,14 @@ title = Titel
|
|||
description = Omschrijving
|
||||
|
||||
fps-unlocker = FPS Unlocker
|
||||
|
||||
enabled = Ingeschakeld
|
||||
fps-unlocker-description = Haalt het FPS limit weg van het spel door het geheugen aan te passen. Kan gedetecteerd worden door ant-cheat
|
||||
|
||||
power-saving = Energiebesparing
|
||||
power-saving-description = Zet het FPS limit automatisch op 10 en een lage process prioriteit waneer het spel focus verliest (bijvoorbeeld als je niet op het spel gefocust bent)
|
||||
enabled = Ingeschakeld
|
||||
|
||||
monitor = Monitor
|
||||
monitor-description = Nummer van de monitor waar je het spel op wilt starten
|
||||
fps-unlocker-interval = Overwrite interval
|
||||
fps-unlocker-interval-description = Delay in milliseconds between overwriting the FPS limit value. Periodic overwrites are necessary to prevent it from resetting
|
||||
|
||||
window-mode = Venster Mode
|
||||
borderless = Randloos
|
||||
popup = Popup
|
||||
fullscreen = Volledig scherm
|
||||
|
||||
priority = Prioriteit
|
||||
priority-description = Spel process prioriteit
|
||||
realtime = Realtime
|
||||
high = Hoog
|
||||
above-normal = Boven Normaal
|
||||
normal = Normall
|
||||
below-normal = Onder Normal
|
||||
low = Laag
|
||||
|
|
|
@ -44,26 +44,14 @@ title = Tytuł
|
|||
description = Opis
|
||||
|
||||
fps-unlocker = FPS Unlocker
|
||||
|
||||
enabled = Włączony
|
||||
fps-unlocker-description = Usuwa ograniczenie renderowania klatek poprzez modyfikację pamięci gry. Może być wykrywany przez system antycheatowy
|
||||
|
||||
power-saving = Oszczędzanie energii
|
||||
power-saving-description = Automatyczne ustawienie limitu klatek na 10 oraz niskiego priorytetu procesu po utraceniu skupienia na grze (np. przejście w tło, np. przejście do innego okna)
|
||||
enabled = Włączony
|
||||
|
||||
monitor = Monitor
|
||||
monitor-description = Numer monitora, na którym chcesz uruchomić grę
|
||||
fps-unlocker-interval = Overwrite interval
|
||||
fps-unlocker-interval-description = Delay in milliseconds between overwriting the FPS limit value. Periodic overwrites are necessary to prevent it from resetting
|
||||
|
||||
window-mode = Tryb okna
|
||||
borderless = Okno bezramkowe
|
||||
popup = Wyskakujące okno
|
||||
fullscreen = Pełny ekran
|
||||
|
||||
priority = Priorytet
|
||||
priority-description = Priorytet procesu gry
|
||||
realtime = Czas rzeczywisty
|
||||
high = Wysoki
|
||||
above-normal = Ponad normę
|
||||
normal = Normalny
|
||||
below-normal = Poniżej normy
|
||||
low = Niski
|
||||
|
|
|
@ -44,26 +44,14 @@ title = Título
|
|||
description = Descrição
|
||||
|
||||
fps-unlocker = Desbloqueador de FPS
|
||||
|
||||
enabled = Habilitado
|
||||
fps-unlocker-description = Remove a limitação de renderização de frames modificando a memória do jogo. Pode ser detectado pelo anti-cheat
|
||||
|
||||
power-saving = Economia de energia
|
||||
power-saving-description = Automaticamente seta o FPS limite para 10 e diminui prioridade do processo ao perder o foco do jogo (e.g. trocando janelas)
|
||||
enabled = Habilitado
|
||||
|
||||
monitor = Monitor
|
||||
monitor-description = Número do monitor que tu quer rodar o jogo
|
||||
fps-unlocker-interval = Overwrite interval
|
||||
fps-unlocker-interval-description = Delay in milliseconds between overwriting the FPS limit value. Periodic overwrites are necessary to prevent it from resetting
|
||||
|
||||
window-mode = Modo janela
|
||||
borderless = Sem borda
|
||||
popup = Popup
|
||||
fullscreen = Tela cheia
|
||||
|
||||
priority = Prioridade
|
||||
priority-description = Prioridade do processo do jogo
|
||||
realtime = Tempo real
|
||||
high = Alta
|
||||
above-normal = Acima do normal
|
||||
normal = Normal
|
||||
below-normal = Abaixo do normal
|
||||
low = Baixa
|
||||
|
|
|
@ -44,26 +44,14 @@ title = Заголовок
|
|||
description = Описание
|
||||
|
||||
fps-unlocker = FPS Unlocker
|
||||
fps-unlocker-description = Изменить ограничение частоты кадров путём модификации памяти игры. Может быть обнаружено античитом
|
||||
|
||||
enabled = Включен
|
||||
fps-unlocker-description = Убрать ограничение количества кадров модифицируя память игры. Может быть обнаружено античитом
|
||||
|
||||
power-saving = Энергосбережение
|
||||
power-saving-description = Автоматически устанавливать предел количества кадров до 10 и снижать приоритет процесса игры когда она не находится в фокусе
|
||||
|
||||
monitor = Монитор
|
||||
monitor-description = Номер монитора, на котором стоит запустить игру
|
||||
fps-unlocker-interval = Задержка между перезаписями
|
||||
fps-unlocker-interval-description = Задержка между перезаписями в миллисекундах. Периодическая перезапись значения ограничения необходима для предотвращения его сброса
|
||||
|
||||
window-mode = Режим окна
|
||||
borderless = Безрамочный
|
||||
popup = Всплывающий
|
||||
fullscreen = Полноэкранный
|
||||
|
||||
priority = Приоритет
|
||||
priority-description = Приоритет процесса игры
|
||||
realtime = Реального времени
|
||||
high = Высокий
|
||||
above-normal = Выше среднего
|
||||
normal = Средний
|
||||
below-normal = Ниже среднего
|
||||
low = Низкий
|
||||
|
|
|
@ -44,26 +44,14 @@ title = Titel
|
|||
description = Beskrivning
|
||||
|
||||
fps-unlocker = FPS-upplåsare
|
||||
|
||||
enabled = Aktiverad
|
||||
fps-unlocker-description = Ta bort begränsningen för rendering av bildrutor genom att modifiera spelets minne. Kan upptäckas av anti-cheat
|
||||
|
||||
power-saving = Spara ström
|
||||
power-saving-description = Ställ automatiskt in FPS-gränsen till 10 och sätt låg processprioritet när du tappar fokus på spelet (t.ex. tabbar ut)
|
||||
enabled = Aktiverad
|
||||
|
||||
monitor = Bildskärm
|
||||
monitor-description = Antal bildskärmar som du vill köra spelet på
|
||||
fps-unlocker-interval = Overwrite interval
|
||||
fps-unlocker-interval-description = Delay in milliseconds between overwriting the FPS limit value. Periodic overwrites are necessary to prevent it from resetting
|
||||
|
||||
window-mode = Fönsterläge
|
||||
borderless = Kantlöst
|
||||
popup = Popup
|
||||
fullscreen = Fullskärm
|
||||
|
||||
priority = Prioritet
|
||||
priority-description = Prioritet för spelprocess
|
||||
realtime = Realtid
|
||||
high = Hög
|
||||
above-normal = Över Normal
|
||||
normal = Normal
|
||||
below-normal = Under Normal
|
||||
low = Låg
|
||||
|
|
|
@ -44,26 +44,14 @@ title = Başlık
|
|||
description = Açıklama
|
||||
|
||||
fps-unlocker = FPS kilidi kırıcı
|
||||
|
||||
enabled = Etkin
|
||||
fps-unlocker-description = Kare işleme sınırlamasını kaldırır, fakat oyunun anti-hile sistemi tarafından tespit edilebilir
|
||||
|
||||
power-saving = Güç tasarrufu
|
||||
power-saving-description = Pencere değiştirdiğinizde oyunun kare sınırını 10'a indirir ve oyuna verilen işlem önceliğini azaltır
|
||||
enabled = Etkin
|
||||
|
||||
monitor = Monitör
|
||||
monitor-description = Oyunu çalıştırmak istediğiniz monitör sayısı
|
||||
fps-unlocker-interval = Overwrite interval
|
||||
fps-unlocker-interval-description = Delay in milliseconds between overwriting the FPS limit value. Periodic overwrites are necessary to prevent it from resetting
|
||||
|
||||
window-mode = Pencereli
|
||||
borderless = Köşesiz
|
||||
popup = Popup
|
||||
fullscreen = Tam ekran
|
||||
|
||||
priority = Öncelik
|
||||
priority-description = Oyun işlem önceliği
|
||||
realtime = Gerçek zamanlı
|
||||
high = Yüksek
|
||||
above-normal = Ortalama Üstü
|
||||
normal = Ortalama
|
||||
below-normal = Ortalama altı
|
||||
low = Düşük
|
||||
|
|
|
@ -43,26 +43,14 @@ title = Tiêu đề
|
|||
description = Mô tả
|
||||
|
||||
fps-unlocker = Mở khóa FPS
|
||||
|
||||
enabled = Đã bật
|
||||
fps-unlocker-description = Xóa giới hạn FPS bằng cách sửa đổi trò chơi. Có thể bị phát hiện bởi hệ thống chống gian lận
|
||||
|
||||
power-saving = Tiết kiệm điện
|
||||
power-saving-description = Tự động đặt giới hạn FPS thành 10 và mức độ ưu tiên xử lý thấp khi không chơi (ví dụ: ẩn tab)
|
||||
enabled = Đã bật
|
||||
|
||||
monitor = Màn hình
|
||||
monitor-description = Số lượng màn hình muốn chạy trò chơi trên đó
|
||||
fps-unlocker-interval = Overwrite interval
|
||||
fps-unlocker-interval-description = Delay in milliseconds between overwriting the FPS limit value. Periodic overwrites are necessary to prevent it from resetting
|
||||
|
||||
window-mode = Chế độ cửa sổ
|
||||
borderless = Cửa sổ không viền
|
||||
popup = Popup
|
||||
fullscreen = Toàn màn hình
|
||||
|
||||
priority = Ưu tiên
|
||||
priority-description = Mức độ ưu tiên của tiến trình trò chơi
|
||||
realtime = Thời gian thực
|
||||
high = Cao
|
||||
above-normal = Trên mức bình thường
|
||||
normal = Bình thường
|
||||
below-normal = Dưới mức bình thường
|
||||
low = Thấp
|
||||
|
|
|
@ -44,26 +44,14 @@ title = 标题
|
|||
description = 描述
|
||||
|
||||
fps-unlocker = 解除帧率限制
|
||||
|
||||
enabled = 开启
|
||||
fps-unlocker-description = 修改游戏内存,解除渲染帧率限制。可能会触发反作弊检查
|
||||
|
||||
power-saving = 省电模式
|
||||
power-saving-description = 当游戏失去焦点时 (例如切出游戏) 自动当帧率设为 10, 并降低进程优先级
|
||||
enabled = 开启
|
||||
|
||||
monitor = 显示器
|
||||
monitor-description = 运行游戏的显示器编号
|
||||
fps-unlocker-interval = Overwrite interval
|
||||
fps-unlocker-interval-description = Delay in milliseconds between overwriting the FPS limit value. Periodic overwrites are necessary to prevent it from resetting
|
||||
|
||||
window-mode = 窗口模式
|
||||
borderless = 无边框
|
||||
popup = 弹出窗口
|
||||
fullscreen = 全屏
|
||||
|
||||
priority = 优先级
|
||||
priority-description = 游戏进程的优先级
|
||||
realtime = 实时
|
||||
high = 高
|
||||
above-normal = 较高
|
||||
normal = 正常
|
||||
below-normal = 较低
|
||||
low = 低
|
||||
|
|
|
@ -92,22 +92,10 @@ impl SimpleComponent for AboutDialog {
|
|||
|
||||
set_release_notes_version: &APP_VERSION,
|
||||
set_release_notes: &[
|
||||
"<p>Added</p>",
|
||||
|
||||
"<ul>",
|
||||
"<li>Added `UpdatingPermissions` installation step</li>",
|
||||
"<li>Downloaders now will skip finished files and truncate them if needed</li>",
|
||||
"</ul>",
|
||||
|
||||
"<p>Changed</p>",
|
||||
|
||||
"<ul>",
|
||||
"<li>Increased voiceovers version prediction error</li>",
|
||||
"<li>Updated FPS Unlocker version which fixes new game version integration issue</li>",
|
||||
"<li>Updated Turkish</li>",
|
||||
"<li>Updated German</li>",
|
||||
"<li>Updated Chinese</li>",
|
||||
"<li>Updated Polish</li>",
|
||||
"<li>Replaced FPS unlocker by a custom one</li>",
|
||||
"</ul>"
|
||||
].join("\n"),
|
||||
|
||||
|
|
|
@ -525,7 +525,7 @@ impl SimpleComponent for App {
|
|||
let result = std::process::Command::new("pkill")
|
||||
.arg("-f") // full text search
|
||||
.arg("-i") // case-insensitive
|
||||
.arg("GenshinImpact|YuanShen|unlocker\\.exe")
|
||||
.arg("GenshinImpact|YuanShen|fpsunlock\\.exe")
|
||||
.spawn();
|
||||
|
||||
if let Err(err) = result {
|
||||
|
|
|
@ -603,40 +603,19 @@ impl SimpleAsyncComponent for EnhancementsApp {
|
|||
},
|
||||
|
||||
adw::ActionRow {
|
||||
set_title: &tr!("power-saving"),
|
||||
set_subtitle: &tr!("power-saving-description"),
|
||||
|
||||
add_suffix = >k::Switch {
|
||||
set_valign: gtk::Align::Center,
|
||||
|
||||
set_state: CONFIG.game.enhancements.fps_unlocker.config.power_saving,
|
||||
|
||||
connect_state_notify => |switch| {
|
||||
if is_ready() {
|
||||
if let Ok(mut config) = Config::get() {
|
||||
config.game.enhancements.fps_unlocker.config.power_saving = switch.state();
|
||||
|
||||
Config::update(config);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
adw::ActionRow {
|
||||
set_title: &tr!("monitor"),
|
||||
set_subtitle: &tr!("monitor-description"),
|
||||
set_title: &tr!("fps-unlocker-interval"),
|
||||
set_subtitle: &tr!("fps-unlocker-interval-description"),
|
||||
|
||||
add_suffix = >k::SpinButton {
|
||||
set_valign: gtk::Align::Center,
|
||||
set_adjustment: >k::Adjustment::new(1.0, 1.0, 10.0, 1.0, 1.0, 0.0),
|
||||
set_adjustment: >k::Adjustment::new(1.0, 1000.0, 60000.0, 1000.0, 1.0, 0.0),
|
||||
|
||||
set_value: CONFIG.game.enhancements.fps_unlocker.config.monitor as f64,
|
||||
set_value: CONFIG.game.enhancements.fps_unlocker.config.interval as f64,
|
||||
|
||||
connect_changed => |row| {
|
||||
if is_ready() {
|
||||
if let Ok(mut config) = Config::get() {
|
||||
config.game.enhancements.fps_unlocker.config.monitor = row.value() as u64;
|
||||
config.game.enhancements.fps_unlocker.config.interval = row.value() as u64;
|
||||
|
||||
Config::update(config);
|
||||
}
|
||||
|
@ -644,56 +623,6 @@ impl SimpleAsyncComponent for EnhancementsApp {
|
|||
}
|
||||
}
|
||||
},
|
||||
|
||||
adw::ComboRow {
|
||||
set_title: &tr!("window-mode"),
|
||||
|
||||
#[wrap(Some)]
|
||||
set_model = >k::StringList::new(&[
|
||||
&tr!("default"),
|
||||
&tr!("popup"),
|
||||
&tr!("fullscreen")
|
||||
]),
|
||||
|
||||
set_selected: CONFIG.game.enhancements.fps_unlocker.config.window_mode.ordinal() as u32,
|
||||
|
||||
connect_selected_notify => |row| unsafe {
|
||||
if is_ready() {
|
||||
if let Ok(mut config) = Config::get() {
|
||||
config.game.enhancements.fps_unlocker.config.window_mode = WindowMode::from_ordinal_unsafe(row.selected() as i8);
|
||||
|
||||
Config::update(config);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
adw::ComboRow {
|
||||
set_title: &tr!("priority"),
|
||||
set_subtitle: &tr!("priority-description"),
|
||||
|
||||
#[wrap(Some)]
|
||||
set_model = >k::StringList::new(&[
|
||||
&tr!("realtime"),
|
||||
&tr!("high"),
|
||||
&tr!("above-normal"),
|
||||
&tr!("normal"),
|
||||
&tr!("below-normal"),
|
||||
&tr!("low")
|
||||
]),
|
||||
|
||||
set_selected: CONFIG.game.enhancements.fps_unlocker.config.priority as u32,
|
||||
|
||||
connect_selected_notify => |row| {
|
||||
if is_ready() {
|
||||
if let Ok(mut config) = Config::get() {
|
||||
config.game.enhancements.fps_unlocker.config.priority = row.selected() as u64;
|
||||
|
||||
Config::update(config);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue