diff --git a/data/manifest.yaml b/data/manifest.yaml index ad6cc308..d937e8ed 100644 --- a/data/manifest.yaml +++ b/data/manifest.yaml @@ -5613,11 +5613,6 @@ $1 Ride: - save when: - os: mac - /Library/Preferences/*: - tags: - - config - when: - - os: mac installDir: 911 Operator: {} launch: @@ -10802,7 +10797,7 @@ ATOM RPG Trudograd: id: 1139940 ATRI -My Dear Moments-: files: - /userdata//1230140/remote/*: + /userdata//1230140/remote: tags: - save when: @@ -13673,7 +13668,7 @@ AdVenture Communist: id: 462930 Adabana Odd Tales: files: - /save/*: + /save: tags: - save when: @@ -29458,7 +29453,7 @@ Another Dawn: id: 1078670 Another Eden: files: - /AnotherEden/*: + /AnotherEden: tags: - config when: @@ -60106,7 +60101,7 @@ BladeShield: id: 554470 Bladed Fury: files: - /AppData/LocalLow/NEXT Studios/Bladed Fury/savedata/*: + /AppData/LocalLow/NEXT Studios/Bladed Fury/savedata: tags: - save when: @@ -73028,7 +73023,7 @@ Buddy Simulator 1984: id: 1269950 Budget Cuts: files: - /AppData/LocalLow/Neat Corporation/Budget Cuts/*: + /AppData/LocalLow/Neat Corporation/Budget Cuts: tags: - save when: @@ -73038,7 +73033,7 @@ Budget Cuts: - config when: - os: windows - /Budget Cuts Save Data/*: + /Budget Cuts Save Data: tags: - save when: @@ -81976,10 +81971,10 @@ Castle Explorer (2017): id: 531780 Castle Fantasia: registry: - HKEY_CURRENT_USER/Software/Ego!/CastleFantasia/Main/*: + HKEY_CURRENT_USER/Software/Ego!/CastleFantasia/Main: tags: - config - HKEY_CURRENT_USER/Software/Ego!/CastleFantasia/Save/*: + HKEY_CURRENT_USER/Software/Ego!/CastleFantasia/Save: tags: - save Castle Flipper: @@ -84043,11 +84038,6 @@ Cave Story+: - save when: - os: linux - /Library/Application Support: - tags: - - config - when: - - os: mac /Library/Application Support/Profile.dat: tags: - save @@ -102821,7 +102811,7 @@ Cook-Out: id: 1523720 Cookie Clicker: files: - /userdata//1454400/*: + /userdata//1454400: tags: - save when: @@ -116933,7 +116923,7 @@ Dandy & Randy: id: 959130 Dandy Ace: files: - /SaveData/*: + /SaveData: tags: - save when: @@ -125939,7 +125929,7 @@ Death to Spies: id: 9800 'Death to Spies: Moment of Truth': files: - /My Games/Smersh_MT/Profiles/*: + /My Games/Smersh_MT/Profiles: tags: - save when: @@ -141627,7 +141617,7 @@ Doodle Farm: id: 947390 Doodle God: files: - /temp/*: + /temp: tags: - save when: @@ -146332,7 +146322,7 @@ DreadEye VR: id: 692930 DreadOut: files: - /cloud//*: + /cloud/: tags: - save when: @@ -153627,7 +153617,7 @@ Dynasty Warriors 7 with Xtreme Legends: - os: windows store: steam registry: - HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 7 DX/*: + HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 7 DX: tags: - config steam: @@ -153656,7 +153646,7 @@ Dynasty Warriors 7 with Xtreme Legends: - os: windows store: steam registry: - HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 8 Empires/*: + HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 8 Empires: tags: - config steam: @@ -153702,7 +153692,7 @@ Dynasty Warriors 9: os: windows store: steam registry: - HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 9 for Steam/*: + HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 9 for Steam: tags: - config steam: @@ -153728,7 +153718,7 @@ Dynasty Warriors 9: os: windows store: steam registry: - HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 9 Empires for Steam /*: + 'HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 9 Empires for Steam ': tags: - config steam: @@ -159549,7 +159539,7 @@ Eliosi's Hunt: id: 576400 Elise the Devil: files: - /www/save/*: + /www/save: tags: - save when: @@ -174991,7 +174981,7 @@ Fallalypse: id: 689520 Fallback: files: - /fallback_Data/Save/*: + /fallback_Data/Save: tags: - save when: @@ -206899,17 +206889,17 @@ Goat Life: id: 860440 Goat Simulator: files: - /Engine/Config/*: + /Engine/Config: tags: - config when: - os: windows - /.steam/steam/steamapps/common/GoatSimulator/GoatGame/Config/*: + /.steam/steam/steamapps/common/GoatSimulator/GoatGame/Config: tags: - config when: - os: linux - /Library/Application Support/Steam/steamapps/common/GoatSimulator/GoatSimulator.app/Contents/Resources/GoatGame/Config/*: + /Library/Application Support/Steam/steamapps/common/GoatSimulator/GoatSimulator.app/Contents/Resources/GoatGame/Config: tags: - config when: @@ -206919,7 +206909,7 @@ Goat Simulator: - save when: - store: steam - /My Games/GoatSim/GoatGame/Config/*: + /My Games/GoatSim/GoatGame/Config: tags: - config when: @@ -226577,7 +226567,7 @@ HenTris: id: 880260 Henchman Story: files: - /game/saves/*: + /game/saves: tags: - save when: @@ -226968,7 +226958,7 @@ Hentai Forest: id: 946550 Hentai Girl: files: - /HentaiGirl_Data/Save/*: + /HentaiGirl_Data/Save: tags: - save when: @@ -227012,7 +227002,7 @@ Hentai Girl Division: id: 1113680 Hentai Girl Fantasy: files: - /HentaiGirl_Data/Save/*: + /HentaiGirl_Data/Save: tags: - save when: @@ -227032,7 +227022,7 @@ Hentai Girl Fantasy: id: 1146950 Hentai Girl Karen: files: - /HentaiGirlKaren_Data/Save/*: + /HentaiGirlKaren_Data/Save: tags: - save when: @@ -227052,7 +227042,7 @@ Hentai Girl Karen: id: 1004240 Hentai Girl Linda: files: - /HentaiGirlLinda_Data/Save/*: + /HentaiGirlLinda_Data/Save: tags: - save when: @@ -275664,7 +275654,7 @@ Legend of Hand: id: 595560 Legend of Himari: files: - /Legend_of_Himari/*: + /Legend_of_Himari: tags: - save when: @@ -286874,7 +286864,7 @@ Love Engine: id: 574170 Love Esquire: files: - /AppData/LocalLow/Yangyang Mobile/Love Esquire/State/*: + /AppData/LocalLow/Yangyang Mobile/Love Esquire/State: tags: - save when: @@ -287153,7 +287143,7 @@ Love Thyself - A Horatio Story: id: 884320 Love Wish: files: - /AppData/LocalLow/wangyibo/lovewishs/data/*: + /AppData/LocalLow/wangyibo/lovewishs/data: tags: - save when: @@ -299371,7 +299361,7 @@ Master Cube: id: 1081350 Master Magistrate: files: - /savedata/*: + /savedata: tags: - save when: @@ -299980,7 +299970,7 @@ MatchyGotchy Z: id: 888220 Material Girl: files: - /www/save/*: + /www/save: tags: - save when: @@ -306102,7 +306092,7 @@ Metro Exodus: - save when: - store: gog - /Library/Application Support/MetroExodus/*: + /Library/Application Support/MetroExodus: tags: - save when: @@ -306488,15 +306478,11 @@ Mevo and The Grooveriders: MewnBase: files: /saves: - tags: - - save - when: - - os: linux - /saves/*: tags: - save when: - os: windows + - os: linux /settings.json: tags: - config @@ -320839,7 +320825,7 @@ Mutant Ops: - config when: - os: windows - /VGDFinal/Saved/SaveGames/*: + /VGDFinal/Saved/SaveGames: tags: - save when: @@ -324409,7 +324395,7 @@ NAL is Alive: id: 485430 NALOGI: files: - /www/save/*: + /www/save: tags: - save when: @@ -326877,27 +326863,27 @@ Narcissu: id: 264380 Narcissu 10th Anniversary Anthology Project: files: - /narci_himeko/savedata/*: + /narci_himeko/savedata: tags: - save when: - os: windows - /narci_iris/savedata/*: + /narci_iris/savedata: tags: - save when: - os: windows - /narci_onetwo/savedata/*: + /narci_onetwo/savedata: tags: - save when: - os: windows - /narci_sumire/savedata/*: + /narci_sumire/savedata: tags: - save when: - os: windows - /narci_zero/savedata/*: + /narci_zero/savedata: tags: - save when: @@ -328065,7 +328051,7 @@ Nebulous: id: 370140 Necesse: files: - /Necesse/saves/*: + /Necesse/saves: tags: - save when: @@ -328599,7 +328585,7 @@ Need for Speed Rivals: when: - os: windows registry: - HKEY_LOCAL_MACHINE/Software/WOW6432Node/Electronic Arts/Need for Speed Carbon/*: + HKEY_LOCAL_MACHINE/Software/WOW6432Node/Electronic Arts/Need for Speed Carbon: tags: - config 'Need for Speed: High Stakes': @@ -328779,7 +328765,7 @@ Need for Speed Rivals: when: - os: windows registry: - HKEY_LOCAL_MACHINE/SOFTWARE/WOW6432Node/EA GAMES/Need For Speed Underground/*: + HKEY_LOCAL_MACHINE/SOFTWARE/WOW6432Node/EA GAMES/Need For Speed Underground: tags: - config 'Need for Speed: Underground 2': @@ -334071,7 +334057,7 @@ Nights of Azure: - os: windows store: steam registry: - HKEY_CURRENT_USER/Software/KoeiTecmo/Nights of Azure/Settings/*: + HKEY_CURRENT_USER/Software/KoeiTecmo/Nights of Azure/Settings: tags: - config steam: @@ -352738,7 +352724,7 @@ Pagans Must Die: id: 1024720 'Pahelika: Revelations HD': files: - /IronCode/PahelikaRv/*: + /IronCode/PahelikaRv: tags: - save when: @@ -372249,7 +372235,7 @@ Pretentious Game: id: 279540 Pretty Angel: files: - /PrettyAngel_Data/Save/*: + /PrettyAngel_Data/Save: tags: - save when: @@ -386912,7 +386898,7 @@ Rain's love memory-雨的恋记: id: 1058000 'Rainbow Billy: The Curse of the Leviathan': files: - /AppData/LocalLow/Manavoid/RainbowBilly/SaveFiles/*: + /AppData/LocalLow/Manavoid/RainbowBilly/SaveFiles: tags: - save when: @@ -389018,12 +389004,12 @@ Re Painter: id: 1096420 Re-Legion: files: - /AppData/LocalLow/Ice Code Games/Re-Legion/Elion Saves/*: + /AppData/LocalLow/Ice Code Games/Re-Legion/Elion Saves: tags: - save when: - os: windows - /AppData/LocalLow/Ice Code Games/Re-Legion/save screens/*: + /AppData/LocalLow/Ice Code Games/Re-Legion/save screens: tags: - save when: @@ -404454,7 +404440,7 @@ Rogue Legacy 2: - save when: - os: windows - /AppData/LocalLow/Cellar Door Games/Rogue Legacy 2/Saves/Steam//*: + /AppData/LocalLow/Cellar Door Games/Rogue Legacy 2/Saves/Steam/: tags: - save when: @@ -412929,7 +412915,7 @@ Sairento VR: - config when: - os: windows - /dataWin/Savedata/*: + /dataWin/Savedata: tags: - save when: @@ -417343,7 +417329,7 @@ School of Intellectual Gamers: id: 1130760 'School of Talent: Suzu-Route': files: - /AppData/LocalLow/MyDearest/School_of_Talent_SUZU-ROUTE/Utage/SaveSchool_of_Talent_SUZU-ROUTE/*: + /AppData/LocalLow/MyDearest/School_of_Talent_SUZU-ROUTE/Utage/SaveSchool_of_Talent_SUZU-ROUTE: tags: - save when: @@ -425045,17 +425031,17 @@ Shan Gui: id: 307050 'Shan Gui II: Sweet Osmanthus II': files: - /ShanGuiDE/game/saves/*: + /ShanGuiDE/game/saves: tags: - save when: - os: windows - /AppData/LocalLow/MagentaFactory/ShanGui2/Utage/Saveshangui2/*: + /AppData/LocalLow/MagentaFactory/ShanGui2/Utage/Saveshangui2: tags: - save when: - os: windows - /AppData/LocalLow/MagentaFactory/ShanGui22/Utage/Saveshangui2/*: + /AppData/LocalLow/MagentaFactory/ShanGui22/Utage/Saveshangui2: tags: - save when: @@ -455903,7 +455889,7 @@ Star Wars Galaxies: - when: - store: steam registry: - HKEY_LOCAL_MACHINE/SOFTWARE/WOW6432Node/SOFTWARE/lucasarts entertainment company llc/star wars starfighter/1.0/*: + HKEY_LOCAL_MACHINE/SOFTWARE/WOW6432Node/SOFTWARE/lucasarts entertainment company llc/star wars starfighter/1.0: tags: - config steam: @@ -465328,11 +465314,6 @@ Sub Chase Online: id: 1077360 Sub Command: files: - /*: - tags: - - save - when: - - os: windows /scenario/*.mcs: tags: - save @@ -466072,7 +466053,7 @@ Succubus Affection: id: 1328890 Succubus Rem: files: - /www/save/*: + /www/save: tags: - save when: @@ -485618,7 +485599,7 @@ Teslagrad: - save when: - os: linux - /AppData/LocalLow/Rain/Teslagrad/*: + /AppData/LocalLow/Rain/Teslagrad: tags: - save when: @@ -485638,7 +485619,7 @@ Teslagrad: - save when: - os: mac - /userdata//249590/remote/*: + /userdata//249590/remote: tags: - save when: @@ -488952,7 +488933,7 @@ The Battle for Wesnoth: - save when: - os: windows - /wesnoth/*: + /wesnoth: tags: - save when: @@ -496621,7 +496602,7 @@ The Floor is Jelly: - save when: - os: windows - /jelly/Local Store/*: + /jelly/Local Store: tags: - save when: @@ -501331,7 +501312,7 @@ The King of Fighters 2002 Unlimited Match: id: 222440 The King of Fighters All Star: registry: - HKEY_CURRENT_USER/Software/Netmarble Corp./KOF ALLSTAR/*: + HKEY_CURRENT_USER/Software/Netmarble Corp./KOF ALLSTAR: tags: - config The King of Fighters XIII: @@ -503681,7 +503662,7 @@ The Leopard Catgirl in Miaoli: id: 1149510 The Letter: files: - /AppData/LocalLow/Yangyang Mobile/The Letter/State/*: + /AppData/LocalLow/Yangyang Mobile/The Letter/State: tags: - save when: @@ -528872,7 +528853,7 @@ Touken Ranbu Warriors: - when: - store: steam registry: - HKEY_CURRENT_USER/Software/dmmgames_KOEITECMO/Touken Ranbu Warriors/Graphic Setting/*: + HKEY_CURRENT_USER/Software/dmmgames_KOEITECMO/Touken Ranbu Warriors/Graphic Setting: tags: - config steam: @@ -529749,7 +529730,7 @@ Townsmen: id: 486540 Townsmen - A Kingdom Rebuilt: files: - /HandyGames/com.hg.townsmen.rebuilt/savegames/*: + /HandyGames/com.hg.townsmen.rebuilt/savegames: tags: - save when: @@ -533851,7 +533832,7 @@ Tricky Towers: id: 437920 Tricolour Lovestory: files: - /savedata/*: + /savedata: tags: - save when: @@ -542736,7 +542717,7 @@ Unexpected Sequence: id: 1199110 Unexplored: files: - /Library/Application Support/Unexplored/save/*: + /Library/Application Support/Unexplored/save: tags: - save when: @@ -542756,7 +542737,7 @@ Unexplored: - config when: - os: windows - /Unexplored/save/*: + /Unexplored/save: tags: - save when: @@ -559963,7 +559944,7 @@ Warriors Orochi 3 Ultimate Definitive Edition: os: windows store: steam registry: - HKEY_CURRENT_USER/Software/KoeiTecmo/WARRIORS OROCHI 3 Ultimate/*: + HKEY_CURRENT_USER/Software/KoeiTecmo/WARRIORS OROCHI 3 Ultimate: tags: - config steam: @@ -566399,7 +566380,7 @@ Wildcat Gun Machine: id: 1288610 Wildermyth: files: - /players/*: + /players: tags: - save when: @@ -573365,7 +573346,7 @@ Wuppo: - config when: - os: windows - /Wuppo/savedata/*: + /Wuppo/savedata: tags: - save when: diff --git a/src/wiki.ts b/src/wiki.ts index 7e353298..f8e90c1e 100644 --- a/src/wiki.ts +++ b/src/wiki.ts @@ -314,14 +314,17 @@ function parsePath(path: string): [string, PathType] { } } - return [ - path - .replace(/\\/g, "/") - .replace(/\/{2,}/g, "/") - .replace(/\/(?=$)/g, "") - .replace(/^~(?=($|\/))/, ""), - pathType, - ]; + path = path + .replace(/\\/g, "/") + .replace(/\/{2,}/g, "/") + .replace(/\/(?=$)/g, "") + .replace(/^~(?=($|\/))/, ""); + + while (path.endsWith("/*")) { + path = path.slice(0, path.length - 2); + } + + return [path, pathType]; } export function pathIsTooBroad(path: string): boolean { @@ -343,6 +346,8 @@ export function pathIsTooBroad(path: string): boolean { "/AppData/Roaming", "/Documents/My Games", "/My Games", + "/Library/Application Support", + "/Library/Preferences", ].includes(path)) { return true; }