diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 13e1907d..3c24afb7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,7 +28,7 @@ There are some lower-level commands for finer control or full imports: * Games that had an unusable path: `npm run manifest -- --unsupportedPath` * Games with paths that are too broad and are tagged as such in the wiki cache: `npm run manifest -- --tooBroad` * Games with paths that are too broad and aren't already tagged as such in the wiki cache: `npm run manifest -- --tooBroadUntagged` - * Games with paths that look invalid are tagged as such in the wiki cache: `npm run manifest -- --irregularPath` + * Games with paths that look invalid and are tagged as such in the wiki cache: `npm run manifest -- --irregularPath` * Games with paths that look invalid and aren't already tagged as such in the wiki cache: `npm run manifest -- --irregularPathUntagged` * A specific game: `npm run manifest -- "Game 1" "Game 2"` diff --git a/data/manifest.yaml b/data/manifest.yaml index f974bc2e..5fa446aa 100644 --- a/data/manifest.yaml +++ b/data/manifest.yaml @@ -189558,7 +189558,7 @@ Ruzh Delta Z: HKEY_CURRENT_USER/SOFTWARE/Pribumi/RUZH DELTA Z: tags: - config - 'HKEY_CURRENT_USER/SOFTWARE/Pribumi/RUZH DELTA Z/HighScore{{code|*}}': + HKEY_CURRENT_USER/SOFTWARE/Pribumi/RUZH DELTA Z/HighScore*: tags: - save steam: diff --git a/data/wiki-game-cache.yaml b/data/wiki-game-cache.yaml index b518ab48..420b6b72 100644 --- a/data/wiki-game-cache.yaml +++ b/data/wiki-game-cache.yaml @@ -1653,6 +1653,7 @@ A Rite from the Stars: pageId: 103285 revId: 841573 A Robot Named Fight!: + irregularPath: true pageId: 66273 revId: 934101 A Roll-Back Story: @@ -21838,7 +21839,6 @@ Coin Commander: pageId: 156234 revId: 931401 Coin Crypt: - irregularPath: true pageId: 26839 revId: 982667 Coin Pickers: @@ -92302,6 +92302,7 @@ Ruzar - The Life Stone: pageId: 45427 revId: 868025 Ruzh Delta Z: + irregularPath: true pageId: 47954 revId: 868026 Ryan Black: diff --git a/src/manifest.ts b/src/manifest.ts index b823f4b2..e1c8f487 100644 --- a/src/manifest.ts +++ b/src/manifest.ts @@ -85,7 +85,14 @@ export class ManifestFile extends YamlFile { if (filter.irregularPath && wikiCache[title].irregularPath) { check = true; } - if (filter.irregularPathUntagged && !wikiCache[title].irregularPath && Object.keys(this.data[title]?.files ?? []).some(x => x.includes("{{") || x.includes("") || x.includes("
"))) { + if ( + filter.irregularPathUntagged && + !wikiCache[title].irregularPath && + ( + Object.keys(this.data[title]?.files ?? []).some(x => x.includes("{{") || x.includes("") || x.includes("
")) || + Object.keys(this.data[title]?.registry ?? []).some(x => x.includes("{{") || x.includes("") || x.includes("
")) + ) + ) { check = true; } if (filter.games && filter.games.includes(title)) {