From c2089798b3f0c0c482ee9b8f2785521126a0dc39 Mon Sep 17 00:00:00 2001 From: d10sfan Date: Tue, 7 Nov 2023 14:46:50 -0600 Subject: [PATCH] metadata - Update cloud save data --- metadata/packagessniper_v2.json | 18 ++++++++++++++++-- webui/src/app/packages/packages.component.html | 18 +++++++++--------- webui/src/app/packages/packages.component.ts | 6 +++++- 3 files changed, 30 insertions(+), 12 deletions(-) diff --git a/metadata/packagessniper_v2.json b/metadata/packagessniper_v2.json index 2a108fa3c..e62e5b68e 100644 --- a/metadata/packagessniper_v2.json +++ b/metadata/packagessniper_v2.json @@ -1088,7 +1088,7 @@ ] } ], - "cloudAvailable": true, + "cloudNotAvailable": true, "controllerSteamDefault": true, "app_id": "2290" }, @@ -3866,7 +3866,7 @@ "label": "Uses wadsmoosh (https://heptapod.host/jp-lebreton/wadsmoosh)" } ], - "cloudAvailable": true, + "cloudNotAvailable": true, "app_id": "9160" }, { @@ -6486,6 +6486,8 @@ "command": "./run-eduke32.sh", "engine_name": "EDuke32", "cloudAvailable": true, + "cloudIssue": true, + "cloudIssueReason": "unworkable_location", "controllerSteamDefault": true, "app_id": "562860" }, @@ -6552,6 +6554,8 @@ "command": "./run-engge.sh", "engine_name": "engge", "cloudAvailable": true, + "cloudIssue": true, + "cloudIssueReason": "unworkable_location", "controllerSteamDefault": true, "app_id": "569860" }, @@ -7102,6 +7106,8 @@ "engine_name": "Doom64EX-Plus", "command": "./run-doom64ex-plus.sh", "cloudAvailable": true, + "cloudIssue": true, + "cloudIssueReason": "unworkable_location", "app_id": "1148590" }, { @@ -7150,6 +7156,8 @@ } ], "cloudAvailable": true, + "cloudIssue": true, + "cloudIssueReason": "unworkable_location", "app_id": "1213210" }, { @@ -7357,6 +7365,8 @@ "command": "./run-ocean-heart.sh", "engine_name": "Solarus", "cloudAvailable": true, + "cloudIssue": true, + "cloudIssueReason": "unworkable_location", "controllerSteamDefault": true, "app_id": "1393750" }, @@ -9872,6 +9882,10 @@ { "key": "steam_achivements", "value": "Supports steam achivements." + }, + { + "key": "unworkable_location", + "value": "Unworkable Location" } ] } diff --git a/webui/src/app/packages/packages.component.html b/webui/src/app/packages/packages.component.html index 329e1d2e5..d3e452bd6 100644 --- a/webui/src/app/packages/packages.component.html +++ b/webui/src/app/packages/packages.component.html @@ -104,25 +104,25 @@ cloud cloud cloud diff --git a/webui/src/app/packages/packages.component.ts b/webui/src/app/packages/packages.component.ts index 2d714a4a5..6a6b55f21 100644 --- a/webui/src/app/packages/packages.component.ts +++ b/webui/src/app/packages/packages.component.ts @@ -38,11 +38,15 @@ export class PackagesComponent implements OnInit { this.titles.engines = finalEngines; } + translate_key(key: string) { + return this.NOTICE_MAP[key]; + } + processTitle(title: any) { const titleId = title.app_id; title.engines = {}; - if(title.cloudAvailable && !title.cloudSupported && !title.cloudIssues) { + if(title.cloudAvailable && !title.cloudSupported && !title.cloudIssue) { console.error(`title of ${title.game_name} has unknown cloud save feature state`); }