diff --git a/data/manifest.yaml b/data/manifest.yaml index 602c7b26..eb45190d 100644 --- a/data/manifest.yaml +++ b/data/manifest.yaml @@ -20903,12 +20903,12 @@ Alice Must Find the Key to Escape: id: 816030 Alice Mystery Garden: files: - '%LOCALAPPDATA%/AliceMysteryGarden/Saved/Config/WindowsNoEditor': + /AliceMysteryGarden/Saved/Config/WindowsNoEditor: tags: - config when: - os: windows - '%LOCALAPPDATA%/AliceMysteryGarden/Saved/SaveGames': + /AliceMysteryGarden/Saved/SaveGames: tags: - save when: @@ -23977,7 +23977,7 @@ Alvarok: id: 729270 Alvastia Chronicles: files: - '%LOCALAPPDATA%/Packages/KEMCO.AlvastiaChronicles_f2bp5vqmgh7cp/SystemAppData/wgs/0009E7027027425A_0000000000000000000000006216911F': + /Packages/KEMCO.AlvastiaChronicles_f2bp5vqmgh7cp/SystemAppData/wgs/0009E7027027425A_0000000000000000000000006216911F: tags: - config - save @@ -30876,7 +30876,7 @@ Apez: id: 683210 Apico: files: - '%USERPROFILE%/AppData/Local/APICO': + /APICO: tags: - config - save @@ -45557,12 +45557,12 @@ Bakery Biz Tycoon: id: 1101780 Bakery Simulator: files: - '%USERPROFILE%/AppData/Local/BakerySimulatorFull/Saved/Config': + /BakerySimulatorFull/Saved/Config: tags: - config when: - os: windows - '%USERPROFILE%/AppData/Local/BakerySimulatorFull/Saved/SaveGames': + /BakerySimulatorFull/Saved/SaveGames: tags: - save when: @@ -63025,7 +63025,7 @@ Blood Brothers: id: 1069940 Blood Card: files: - '%userprofile%/AppData/LocalLow/PixelCattleGames/BloodCard': + /AppData/LocalLow/PixelCattleGames/BloodCard: tags: - config - save @@ -65358,7 +65358,7 @@ Bocce VR: id: 1099010 Bode Miller Alpine Skiing: files: - '%LOCALAPPDATA%/VirtualStore/Program Files (x86)/Ski Alpin 2006': + /VirtualStore/Program Files (x86)/Ski Alpin 2006: tags: - save when: @@ -74156,12 +74156,12 @@ Bullyparade - DER Spiel: id: 656780 Bum Simulator: files: - '%LOCALAPPDATA%/BumSim/Saved/Config': + /BumSim/Saved/Config: tags: - config when: - os: windows - '%LOCALAPPDATA%/BumSim/Saved/SaveGames': + /BumSim/Saved/SaveGames: tags: - save when: @@ -83749,7 +83749,7 @@ Catlateral Damage: id: 329860 Catmaze: files: - '%LOCALAPPDATA%/Catmaze/User Data': + /Catmaze/User Data: tags: - config when: @@ -101155,12 +101155,12 @@ Concept Destruction: id: 458730 'Conception PLUS: Maidens of the Twelve Stars': files: - '%USERPROFILE%/Documents/My Games/ConceptionPlus': + /My Games/ConceptionPlus: tags: - config when: - os: windows - '%USERPROFILE%/Documents/My Games/ConceptionPlus/Saves': + /My Games/ConceptionPlus/Saves: tags: - save when: @@ -111506,7 +111506,7 @@ Crystal Reign: id: 662780 Crystal Rift: files: - '%userprofile%/appdata/LocalLow/Psytec Games Ltd/Crystal Rift/SaveGames/CrystalRift': + /appdata/LocalLow/Psytec Games Ltd/Crystal Rift/SaveGames/CrystalRift: tags: - save when: @@ -113004,7 +113004,7 @@ Cuckold Simulator: id: 1196460 'Cuckold Simulator: Life as a Beta Male Cuck': files: - '%LOCALAPPDATA%/LocalLow/Team SNEED/CuckoldSimulator': + /LocalLow/Team SNEED/CuckoldSimulator: tags: - config - save @@ -123399,7 +123399,7 @@ Dead Line: id: 740070 Dead Man's Draw: files: - '%LOCALAPPDATA%/deadmansdraw/savedata.json': + /deadmansdraw/savedata.json: tags: - save when: @@ -130723,14 +130723,10 @@ Demon's Tilt: id: 1117110 DemonCrawl: files: - '%Userprofile%/Appdata/Local/DemonCrawl': - tags: - - save - when: - - os: windows /DemonCrawl: tags: - config + - save when: - os: windows installDir: @@ -130832,7 +130828,7 @@ Demonizer: - save when: - os: linux - '%APPDATA%/Demonizer': + /Demonizer: tags: - config - save @@ -135515,12 +135511,12 @@ Diehard Dungeon: id: 277870 'Dies Irae: Amantes Amentes': files: - '%APPDATA%/light/Dies irae `Amantes amentes`': + '%USERPROFILE/Documents/My Games/light/Dies irae `Amantes amentes`': tags: - save when: - os: windows - '%USERPROFILE/Documents/My Games/light/Dies irae `Amantes amentes`': + /light/Dies irae `Amantes amentes`: tags: - save when: @@ -152549,7 +152545,7 @@ Dungeons 2: - save when: - os: linux - "/savegames/ \nor \n%AppData%/Kalypso Media/Dungeons 2/savegames": + "/savegames/ \nor \n/Kalypso Media/Dungeons 2/savegames": tags: - save when: @@ -154348,7 +154344,7 @@ Dyscourse: id: 337890 Dysmantle: files: - '%userprofile%/AppData/Roaming/10tons/DYSMANTLE/save': + /10tons/DYSMANTLE/save: tags: - save when: @@ -168810,7 +168806,7 @@ Evergarden: id: 576500 Evergate: files: - '%USERPROFILE%/AppData/LocalLow/StoneLantern/Evergate': + /AppData/LocalLow/StoneLantern/Evergate: tags: - save when: @@ -174783,7 +174779,7 @@ Fairtravel Battle: id: 917820 Fairune Collection: files: - '%appdata%/../LocalLow/Flyhigh Works/Fairune Collection': + /../LocalLow/Flyhigh Works/Fairune Collection: tags: - config - save @@ -180482,7 +180478,7 @@ Fermi's Path: id: 342650 Fernbus Simulator: files: - '%LOCALAPPDATA%/Fernbus/Saved': + /Fernbus/Saved: tags: - save when: @@ -190610,7 +190606,7 @@ Fort Meow: id: 1041940 Fort Triumph: files: - '%userprofile%/appdata/locallow/Cookie Byte Entertainment/Fort Triumph': + /appdata/locallow/Cookie Byte Entertainment/Fort Triumph: tags: - save when: @@ -192691,7 +192687,7 @@ Freddy Fazbear's Pizzeria Simulator: id: 738060 Freddy in Space 2: files: - '%APPDATA%/MMFApplications/FIS2': + /MMFApplications/FIS2: tags: - save when: @@ -193391,16 +193387,16 @@ Freemium Way: id: 339610 Freeways: files: - '%appdata%/CaptainGames/Freeways': - tags: - - save - when: - - os: windows /Library/Application Support/CaptainGames/Freeways: tags: - save when: - os: mac + /CaptainGames/Freeways: + tags: + - save + when: + - os: windows installDir: Freeways: {} launch: @@ -194454,7 +194450,7 @@ Frontier - TRS: id: 1429500 Frontier Pilot Simulator: files: - '%APPDATA%/Razar/Frontier Pilot Simulator/Saves': + /Razar/Frontier Pilot Simulator/Saves: tags: - config when: @@ -211061,7 +211057,7 @@ Grand Academy for Future Villains: id: 310470 'Grand Ages: Rome': files: - '%APPDATA%/Reign of Augustus/Saves': + /Reign of Augustus/Saves: tags: - save when: @@ -226159,7 +226155,7 @@ Hell: id: 312420 Hell Architect: files: - '%USERPROFILE%/AppData/LocalLow/Woodland Games/HellArchitect': + /AppData/LocalLow/Woodland Games/HellArchitect: tags: - config - save @@ -236143,7 +236139,7 @@ Honey Comb Home: id: 523680 'Honey, I Joined a Cult': files: - '%LOCALAPPDATA%/Honey_I_Joined_A_Cult': + /Honey_I_Joined_A_Cult: tags: - save when: @@ -249568,7 +249564,7 @@ Infinity Wings - Scout & Grunt: id: 448790 'Infinity: Battlescape': files: - '%USERPROFILE%/Documents/I-Novae Studios/Infinity Battlescape': + /I-Novae Studios/Infinity Battlescape: tags: - config when: @@ -252246,12 +252242,12 @@ Intrusion Protocol: id: 659040 'Inua: A Story in Ice and Time': files: - '%USERPROFILE%/AppData/LocalLow/ARTE France Apps/Inua/SaveFile.json': + /AppData/LocalLow/ARTE France Apps/Inua/SaveFile.json: tags: - save when: - os: windows - '%USERPROFILE%/AppData/LocalLow/ARTE France Apps/Inua/Settings.json': + /AppData/LocalLow/ARTE France Apps/Inua/Settings.json: tags: - config when: @@ -257288,7 +257284,7 @@ Jet Island: id: 587220 Jet Kave Adventure: files: - 'x:/Users/%USERPROFILE%/AppData/LocalLow/7Levels/Jet Kave Adventure': + 'x:/Users//AppData/LocalLow/7Levels/Jet Kave Adventure': tags: - save when: @@ -284041,7 +284037,7 @@ Loading: id: 694970 'Loading Human: Chapter 1': files: - '%userprofile%/AppData/Local/LHChapterOne/Saved': + /LHChapterOne/Saved: tags: - save when: @@ -287330,14 +287326,10 @@ Lost in Purple: id: 688600 Lost in Random: files: - '%USERPROFILE%/AppData/LocalLow/Zoink Games/Lost In Random': - tags: - - save - when: - - os: windows /AppData/LocalLow/Zoink Games/Lost In Random: tags: - config + - save when: - os: windows installDir: @@ -288258,13 +288250,9 @@ Love the game: id: 1200990 Love's Sweet Garnish: files: - '%APPDATA%/CANVAS+GARDEN/koiama_ml': - tags: - - config - when: - - os: windows /CANVAS+GARDEN/koiama_ml: tags: + - config - save when: - os: windows @@ -302363,12 +302351,12 @@ Mech Mechanic Simulator: id: 1044980 Mech Merc Company: files: - '%USERPROFILE%/AppData/LocalLow/MichaelShoots/MechMercCompany/Careers': + /AppData/LocalLow/MichaelShoots/MechMercCompany/Careers: tags: - save when: - os: windows - '%USERPROFILE%/AppData/LocalLow/MichaelShoots/MechMercCompany/Configs': + /AppData/LocalLow/MichaelShoots/MechMercCompany/Configs: tags: - config when: @@ -326776,16 +326764,6 @@ Nadia Was Here: id: 436070 Naev: files: - '%APPDATA%/naev': - tags: - - config - when: - - os: windows - '%APPDATA%/naev/saves': - tags: - - save - when: - - os: windows /.local/share/naev: tags: - config @@ -326796,6 +326774,16 @@ Naev: - save when: - os: linux + /naev: + tags: + - config + when: + - os: windows + /naev/saves: + tags: + - save + when: + - os: windows installDir: Naev: {} launch: @@ -343621,12 +343609,12 @@ OlliOlli: id: 274250 OlliOlli World: files: - '%USERPROFILE%/AppData/LocalLow/Roll7/OlliOlli World/OlliOlli World.dat': + /AppData/LocalLow/Roll7/OlliOlli World/OlliOlli World.dat: tags: - config when: - os: windows - '%USERPROFILE%/AppData/LocalLow/Roll7/OlliOlli World/Save.Mount': + /AppData/LocalLow/Roll7/OlliOlli World/Save.Mount: tags: - save when: @@ -343736,7 +343724,7 @@ Olson's Boxing Challenge: id: 747790 Olympia Rising: files: - '%LOCALAPPDATA%/OlympiaRising/Local Storage': + /OlympiaRising/Local Storage: tags: - save when: @@ -346492,7 +346480,7 @@ Onyx: id: 370620 Ooblets: files: - '%userprofile%/appdata/locallow/Glumberland/Ooblets/SaveData': + /appdata/locallow/Glumberland/Ooblets/SaveData: tags: - config when: @@ -356045,7 +356033,7 @@ Paradigm Shift: id: 299820 Paradise: files: - '%userprofile%/Documents/Paradise': + /Paradise: tags: - config - save @@ -403178,7 +403166,7 @@ Roadside Assistance Simulator: id: 302440 Roadwarden: files: - '%APPDATA%/RenPy/Roadwarden-Saves': + /RenPy/Roadwarden-Saves: tags: - save when: @@ -433428,12 +433416,12 @@ Simulator Hipstera 2k17: id: 699450 Simutrans: files: - '%USERPROFILE%/Documents/Simutrans/save': + /Simutrans/save: tags: - save when: - os: windows - '%USERPROFILE%/Documents/Simutrans/settings.xml': + /Simutrans/settings.xml: tags: - config when: @@ -443158,16 +443146,6 @@ Someone Cloned The President: id: 1136820 Something Ate My Alien: files: - '%USERPROFILE%/Documents/My Games/Something Ate My Alien/GameData': - tags: - - config - when: - - os: windows - '%USERPROFILE%/Documents/My Games/Something Ate My Alien/GameSaves': - tags: - - save - when: - - os: windows /.local/share/Something-Ate-My-Alien/GameData: tags: - config @@ -443188,6 +443166,16 @@ Something Ate My Alien: - save when: - os: mac + /My Games/Something Ate My Alien/GameData: + tags: + - config + when: + - os: windows + /My Games/Something Ate My Alien/GameSaves: + tags: + - save + when: + - os: windows installDir: Something Ate My Alien: {} launch: @@ -447925,7 +447913,7 @@ Space Pirates and Zombies 2: id: 252470 Space Punks: files: - '%LOCALAPPDATA%/K1/Saved/Config/WindowsNoEditor': + /K1/Saved/Config/WindowsNoEditor: tags: - config when: @@ -456000,7 +455988,7 @@ Star Singularity: id: 808800 Star Sky: files: - '%LOCALAPPDATA%/StarSky': + /StarSky: tags: - config - save @@ -456025,7 +456013,7 @@ Star Sky: id: 407020 Star Sky 2: files: - '%LOCALAPPDATA%/StarSky2': + /StarSky2: tags: - config - save @@ -458261,7 +458249,7 @@ Starcats: id: 365850 'Starcom: Nexus': files: - '%UserProfile%/AppData/LocalLow/Wx3 Labs, LLC/Starcom Nexus/saves': + '/AppData/LocalLow/Wx3 Labs, LLC/Starcom Nexus/saves': tags: - save when: @@ -489230,12 +489218,12 @@ The American Dream: - os: windows The Anacrusis: files: - '%localappdata%/Anacrusis/Saved/Config/WindowsNoEditor': + /Anacrusis/Saved/Config/WindowsNoEditor: tags: - config when: - os: windows - '%localappdata%/Packages/StrayBombayCompany.TheAnacrusisGamePreview_wshdcf4tacg46/LocalCache/Local/Anacrusis/Saved/Config/WinGDK': + /Packages/StrayBombayCompany.TheAnacrusisGamePreview_wshdcf4tacg46/LocalCache/Local/Anacrusis/Saved/Config/WinGDK: tags: - config when: @@ -490255,7 +490243,7 @@ The Bard's Tale (2005): - os: dos 'The Bard''s Tale IV: Barrows Deep': files: - '%LOCALAPPDATA%/Packages/181CBCCD.TheBardsTaleIV_9y3t8zad226mc/LocalCache/Local/BardsTale4DC/Saved/Config/WindowsNoEditor': + /Packages/181CBCCD.TheBardsTaleIV_9y3t8zad226mc/LocalCache/Local/BardsTale4DC/Saved/Config/WindowsNoEditor: tags: - config when: @@ -505803,7 +505791,7 @@ The Long Reach: id: 584990 The Long Return: files: - '%appdata%/../LocalLow/Max Nielsen/The Long Return': + /../LocalLow/Max Nielsen/The Long Return: tags: - save when: @@ -522919,7 +522907,7 @@ Tick Tock Isle: id: 790740 Tick's Tales: files: - '%USERPROFILE%/.prefs/ticks-tales-saves': + /.prefs/ticks-tales-saves: tags: - save when: @@ -538563,7 +538551,7 @@ Turbo Golf Racing: id: 1324350 Turbo Overkill: files: - '%USERPROFILE%/AppData/LocalLow/Trigger Happy Interactive/Turbo Overkill/Saves': + /AppData/LocalLow/Trigger Happy Interactive/Turbo Overkill/Saves: tags: - save when: @@ -546389,7 +546377,7 @@ Unsung Kingdom: id: 1344790 Unsung Story: files: - '%appdata%/LocalLow/Little Orbit/Unsung Story': + /LocalLow/Little Orbit/Unsung Story: tags: - save when: @@ -549521,21 +549509,21 @@ Valhalla Chronicles: - os: windows Valhalla Hills: files: - '%localappdata%/ValhallaHills/Saved/Config': - tags: - - config - when: - - os: windows - '%localappdata%/ValhallaHills/Saved/SaveGames': - tags: - - save - when: - - os: windows /.config/Epic/ValhallaHills: tags: - save when: - os: linux + /ValhallaHills/Saved/Config: + tags: + - config + when: + - os: windows + /ValhallaHills/Saved/SaveGames: + tags: + - save + when: + - os: windows installDir: ValhallaHills: {} launch: @@ -550268,7 +550256,7 @@ Vampire of the Sands: id: 1279630 'Vampire: The Masquerade - Swansong': files: - '%localappdata%/Vampire/Saved/Config/WindowsNoEditor': + /Vampire/Saved/Config/WindowsNoEditor: tags: - config when: @@ -560340,7 +560328,7 @@ Warhalla: - os: windows 'Warhammer 40,000: Chaos Gate - Daemonhunters': files: - '%USERPROFILE%/AppData/LocalLow/Complex Games Inc_/GreyKnights/SaveGames': + /AppData/LocalLow/Complex Games Inc_/GreyKnights/SaveGames: tags: - save when: @@ -565622,12 +565610,12 @@ Westwood Shadows: id: 1122360 Westworld Awakening: files: - '%appdata%/Local/LabEscape/Saved/Config': + /Local/LabEscape/Saved/Config: tags: - config when: - os: windows - '%appdata%/Local/LabEscape/Saved/SaveGames': + /Local/LabEscape/Saved/SaveGames: tags: - save when: @@ -568548,7 +568536,7 @@ Will of the Gods: id: 503960 Will to Live Online: files: - '%LOCALAPPDATA%/WTL/Saved/Config/WindowsClient': + /WTL/Saved/Config/WindowsClient: tags: - config when: @@ -577107,7 +577095,7 @@ Xorple: id: 800110 Xotic: files: - '%userprofile%/Documents/Xotic': + /Xotic: tags: - save when: @@ -585953,16 +585941,16 @@ Zzzzz: id: 1031920 'Смешарики: Параллельные миры': files: - '%appdata%/Roaming/Смешарики - Параллельные миры/settings.sav': - tags: - - save - when: - - os: windows /config.info: tags: - config when: - os: windows + /Roaming/Смешарики - Параллельные миры/settings.sav: + tags: + - save + when: + - os: windows Тридевятые земли(Свет или тьма): installDir: ' Тридевятые земли(Свет или тьма)': {} diff --git a/src/wiki.ts b/src/wiki.ts index 9b22e2e9..6e7deedd 100644 --- a/src/wiki.ts +++ b/src/wiki.ts @@ -318,7 +318,13 @@ function parsePath(path: string): [string, PathType] { .replace(/\\/g, "/") .replace(/\/{2,}/g, "/") .replace(/\/(?=$)/g, "") - .replace(/^~(?=($|\/))/, ""); + .replace(/^~(?=($|\/))/, "") + .replace(/%userprofile%[/\\]AppData[/\\]Roaming/i, "") + .replace(/%userprofile%[/\\]AppData[/\\]Local(?!Low)/i, "") + .replace(/%userprofile%[/\\]Documents/i, "") + .replace(/%userprofile%/i, "") + .replace(/%appdata%/i, "") + .replace(/%localappdata%/i, ""); while (path.endsWith("/*")) { path = path.slice(0, path.length - 2);