#41: Disable Steam Cloud metadata for Nevsky Run
This commit is contained in:
parent
73383693c0
commit
e15a9f3292
4 changed files with 10 additions and 12 deletions
|
@ -12,6 +12,11 @@ BioShock 2 Remastered:
|
||||||
"Death Stranding Director's Cut":
|
"Death Stranding Director's Cut":
|
||||||
installDir:
|
installDir:
|
||||||
DeathStrandingDC: {}
|
DeathStrandingDC: {}
|
||||||
|
Nevsky Run:
|
||||||
|
# This game's Steam Cloud metadata references Kingdom Come Deliverance paths.
|
||||||
|
# Also, it's been renamed on Steam to "Secret Girl"
|
||||||
|
# and is no longer available for sale.
|
||||||
|
useSteamCloud: false
|
||||||
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,
|
||||||
|
|
|
@ -413071,15 +413071,6 @@ Nevski Titbit:
|
||||||
when:
|
when:
|
||||||
- os: windows
|
- os: windows
|
||||||
Nevsky Run:
|
Nevsky Run:
|
||||||
files:
|
|
||||||
"<home>/Saved Games/kingdomcome/kingdomcome/saves/playline0":
|
|
||||||
when:
|
|
||||||
- os: windows
|
|
||||||
store: steam
|
|
||||||
"<home>/Saved Games/kingdomcome/saves/playline0":
|
|
||||||
when:
|
|
||||||
- os: windows
|
|
||||||
store: steam
|
|
||||||
installDir:
|
installDir:
|
||||||
Secret_Girl: {}
|
Secret_Girl: {}
|
||||||
launch:
|
launch:
|
||||||
|
|
|
@ -17202,6 +17202,7 @@
|
||||||
* [Nevrosa: Prelude](https://www.pcgamingwiki.com/wiki/?curid=58431)
|
* [Nevrosa: Prelude](https://www.pcgamingwiki.com/wiki/?curid=58431)
|
||||||
* [Nevrosa: Primal Ritual](https://www.pcgamingwiki.com/wiki/?curid=136930)
|
* [Nevrosa: Primal Ritual](https://www.pcgamingwiki.com/wiki/?curid=136930)
|
||||||
* [Nevrosa: Spider Song](https://www.pcgamingwiki.com/wiki/?curid=136685)
|
* [Nevrosa: Spider Song](https://www.pcgamingwiki.com/wiki/?curid=136685)
|
||||||
|
* [Nevsky Run](https://www.pcgamingwiki.com/wiki/?curid=114666)
|
||||||
* [New Adult Reality](https://www.pcgamingwiki.com/wiki/?curid=125296)
|
* [New Adult Reality](https://www.pcgamingwiki.com/wiki/?curid=125296)
|
||||||
* [New Age](https://www.pcgamingwiki.com/wiki/?curid=134546)
|
* [New Age](https://www.pcgamingwiki.com/wiki/?curid=134546)
|
||||||
* [New Cities](https://www.pcgamingwiki.com/wiki/?curid=135480)
|
* [New Cities](https://www.pcgamingwiki.com/wiki/?curid=135480)
|
||||||
|
|
|
@ -174,7 +174,7 @@ impl Manifest {
|
||||||
}
|
}
|
||||||
if let Some(id) = game.steam.id {
|
if let Some(id) = game.steam.id {
|
||||||
if let Some(info) = steam_cache.0.get(&id) {
|
if let Some(info) = steam_cache.0.get(&id) {
|
||||||
game.integrate_steam(info);
|
game.integrate_steam(info, overrides.0.get(title).map(|x| x.use_steam_cloud).unwrap_or(true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if let Some(overridden) = overrides.0.get(title) {
|
if let Some(overridden) = overrides.0.get(title) {
|
||||||
|
@ -289,7 +289,7 @@ impl Game {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn integrate_steam(&mut self, cache: &SteamCacheEntry) {
|
pub fn integrate_steam(&mut self, cache: &SteamCacheEntry, use_steam_cloud: bool) {
|
||||||
if let Some(install_dir) = &cache.install_dir {
|
if let Some(install_dir) = &cache.install_dir {
|
||||||
self.install_dir.insert(install_dir.to_string(), GameInstallDirEntry {});
|
self.install_dir.insert(install_dir.to_string(), GameInstallDirEntry {});
|
||||||
}
|
}
|
||||||
|
@ -353,7 +353,7 @@ impl Game {
|
||||||
}
|
}
|
||||||
|
|
||||||
// We only integrate cloud saves if there's no other save info.
|
// We only integrate cloud saves if there's no other save info.
|
||||||
let need_cloud = self.files.is_empty() && self.registry.is_empty();
|
let need_cloud = use_steam_cloud && self.files.is_empty() && self.registry.is_empty();
|
||||||
|
|
||||||
for save in &cache.cloud.saves {
|
for save in &cache.cloud.saves {
|
||||||
if !need_cloud {
|
if !need_cloud {
|
||||||
|
@ -570,6 +570,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 use_steam_cloud: bool,
|
||||||
#[serde(flatten)]
|
#[serde(flatten)]
|
||||||
pub game: Game,
|
pub game: Game,
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue