Add workaround for Nine Sols registry size issue
This commit is contained in:
parent
20e6db809f
commit
9d0d0d2435
3 changed files with 11 additions and 4 deletions
|
@ -17,6 +17,12 @@ Nevsky Run:
|
||||||
# Also, it's been renamed on Steam to "Secret Girl"
|
# Also, it's been renamed on Steam to "Secret Girl"
|
||||||
# and is no longer available for sale.
|
# and is no longer available for sale.
|
||||||
useSteamCloud: false
|
useSteamCloud: false
|
||||||
|
Nine Sols:
|
||||||
|
# The registry.yaml backups can become large (> 100 MB),
|
||||||
|
# causing memory usage in Ludusavi to spike (> 1 GB).
|
||||||
|
# For now, we ignore the registry until there is a proper solution.
|
||||||
|
# https://github.com/mtkennerly/ludusavi/issues/370
|
||||||
|
omitRegistry: true
|
||||||
Overwatch:
|
Overwatch:
|
||||||
# The game is no longer playable at all,
|
# The game is no longer playable at all,
|
||||||
# and its save locations are identical to Overwatch 2,
|
# and its save locations are identical to Overwatch 2,
|
||||||
|
|
|
@ -436730,10 +436730,6 @@ Nine Sols:
|
||||||
- when:
|
- when:
|
||||||
- os: windows
|
- os: windows
|
||||||
store: steam
|
store: steam
|
||||||
registry:
|
|
||||||
HKEY_CURRENT_USER/SOFTWARE/RedCandleGames/NineSols:
|
|
||||||
tags:
|
|
||||||
- config
|
|
||||||
steam:
|
steam:
|
||||||
id: 1809540
|
id: 1809540
|
||||||
"Nine Witches: Family Disruption":
|
"Nine Witches: Family Disruption":
|
||||||
|
|
|
@ -455,6 +455,10 @@ impl Game {
|
||||||
self.id.flatpak = Some(flatpak.clone());
|
self.id.flatpak = Some(flatpak.clone());
|
||||||
}
|
}
|
||||||
self.install_dir.extend(overridden.game.install_dir.clone());
|
self.install_dir.extend(overridden.game.install_dir.clone());
|
||||||
|
|
||||||
|
if overridden.omit_registry {
|
||||||
|
self.registry.clear();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn usable(&self) -> bool {
|
pub fn usable(&self) -> bool {
|
||||||
|
@ -620,6 +624,7 @@ pub struct ManifestOverride(pub BTreeMap<String, OverrideGame>);
|
||||||
#[serde(default, rename_all = "camelCase")]
|
#[serde(default, rename_all = "camelCase")]
|
||||||
pub struct OverrideGame {
|
pub struct OverrideGame {
|
||||||
pub omit: bool,
|
pub omit: bool,
|
||||||
|
pub omit_registry: bool,
|
||||||
pub use_steam_cloud: bool,
|
pub use_steam_cloud: bool,
|
||||||
#[serde(flatten)]
|
#[serde(flatten)]
|
||||||
pub game: Game,
|
pub game: Game,
|
||||||
|
|
Reference in a new issue