diff --git a/README.md b/README.md index 7a46bc9f..1560ae6f 100644 --- a/README.md +++ b/README.md @@ -64,23 +64,24 @@ This means: Paths can include these placeholders: -| placeholder | meaning | -|---------------------|---------------------------------------------------------------------------| -| `` | a directory where games are installed (configured in backup tool) | -| `` | an `installDir` (if defined) or the game's canonical name in the manifest | -| `` | shorthand for `/**/` | -| `` | current user's home directory in the OS (`~`) | -| `` | current user's ID in the game store | -| `` | current user's name in the OS | -| `` | `%APPDATA%` on Windows | -| `` | `%LOCALAPPDATA%` on Windows | -| `` | `%PUBLIC%` on Windows | -| `` | `%PROGRAMDATA%` on Windows | -| `` | `%WINDIR%` on Windows | -| `` | `$XDG_DATA_HOME` on Linux | -| `` | `$XDG_CONFIG_HOME` on Linux | -| `` | `HKEY_CURRENT_USER` in the Windows registry | -| `` | `HKEY_LOCAL_MACHINE` in the Windows registry | +| placeholder | meaning | +|---------------------|----------------------------------------------------------------------------------------| +| `` | a directory where games are installed (configured in backup tool) | +| `` | an `installDir` (if defined) or the game's canonical name in the manifest | +| `` | shorthand for `/**/` | +| `` | current user's home directory in the OS (`~`) | +| `` | current user's ID in the game store | +| `` | current user's name in the OS | +| `` | `%APPDATA%` on Windows | +| `` | `%LOCALAPPDATA%` on Windows | +| `` | `/Documents` (f.k.a. `/My Documents`) or a localized equivalent on Windows | +| `` | `%PUBLIC%` on Windows | +| `` | `%PROGRAMDATA%` on Windows | +| `` | `%WINDIR%` on Windows | +| `` | `$XDG_DATA_HOME` on Linux | +| `` | `$XDG_CONFIG_HOME` on Linux | +| `` | `HKEY_CURRENT_USER` in the Windows registry | +| `` | `HKEY_LOCAL_MACHINE` in the Windows registry | ## Implementation Tools must implement the following in addition to respecting the schema: diff --git a/data/manifest.yaml b/data/manifest.yaml index 2124c60c..34cfdf8b 100644 --- a/data/manifest.yaml +++ b/data/manifest.yaml @@ -130,11 +130,6 @@ $1 Ride: id: 525480 0 A.D.: files: - /Documents/My Games/0ad: - tags: - - save - when: - - os: windows /Library/Application/ Support/0ad: tags: - save @@ -145,6 +140,11 @@ $1 Ride: - config when: - os: windows + /My Games/0ad: + tags: + - save + when: + - os: windows /0ad: tags: - config @@ -165,7 +165,7 @@ $1 Ride: id: 639880 007 Legends: files: - /Documents/My Games/Activision/007 Legends: + /My Games/Activision/007 Legends: tags: - save when: @@ -508,18 +508,18 @@ $1 Ride: id: 970890 1001 Spikes: files: - /Documents/My Games/1001 Spikes: - tags: - - config - - save - when: - - os: windows /Library/Application Support/1001 Spikes: tags: - config - save when: - os: mac + /My Games/1001 Spikes: + tags: + - config + - save + when: + - os: windows /1001 spikes: tags: - config @@ -890,12 +890,12 @@ $1 Ride: id: 855320 '18 Wheels of Steel: Across America': files: - /Documents/18 WoS Across America/config.cfg: + /18 WoS Across America/config.cfg: tags: - config when: - os: windows - /Documents/18 WoS Across America/saves: + /18 WoS Across America/saves: tags: - save when: @@ -906,12 +906,12 @@ $1 Ride: id: 514160 '18 Wheels of Steel: American Long Haul': files: - /Documents/18 WoS American Long Haul: + /18 WoS American Long Haul: tags: - config when: - os: windows - /Documents/18 WoS American Long Haul/save: + /18 WoS American Long Haul/save: tags: - save when: @@ -922,12 +922,12 @@ $1 Ride: id: 12520 '18 Wheels of Steel: Convoy': files: - /Documents/18 WoS Convoy: + /18 WoS Convoy: tags: - config when: - os: windows - /Documents/18 WoS Convoy/save: + /18 WoS Convoy/save: tags: - save when: @@ -938,12 +938,12 @@ $1 Ride: id: 514170 '18 Wheels of Steel: Extreme Trucker': files: - /Documents/18 WoS Extreme Trucker: + /18 WoS Extreme Trucker: tags: - config when: - os: windows - /Documents/18 WoS Extreme Trucker/profile##: + /18 WoS Extreme Trucker/profile##: tags: - save when: @@ -954,12 +954,12 @@ $1 Ride: id: 33730 '18 Wheels of Steel: Extreme Trucker 2': files: - /Documents/18 WoS Extreme Trucker 2: + /18 WoS Extreme Trucker 2: tags: - config when: - os: windows - /Documents/18 WoS Extreme Trucker 2/profile##: + /18 WoS Extreme Trucker 2/profile##: tags: - save when: @@ -970,12 +970,12 @@ $1 Ride: id: 362780 '18 Wheels of Steel: Haulin''': files: - /Documents/18 WoS Haulin: + /18 WoS Haulin: tags: - config when: - os: windows - /Documents/18 WoS Haulin/save: + /18 WoS Haulin/save: tags: - save when: @@ -986,12 +986,12 @@ $1 Ride: id: 514180 '18 Wheels of Steel: Pedal to the Metal': files: - /Documents/18 WoS Pedal to the Metal/config.cfg: + /18 WoS Pedal to the Metal/config.cfg: tags: - config when: - os: windows - /Documents/18 WoS Pedal to the Metal/saves: + /18 WoS Pedal to the Metal/saves: tags: - save when: @@ -1279,6 +1279,22 @@ Celeste: Celeste: {} steam: id: 504230 +Dark Souls III: + files: + /DarkSoulsIII/: + tags: + - save + when: + - os: windows + /DarkSoulsIII/GraphicsConfig.xml: + tags: + - config + when: + - os: windows + installDir: + DARK SOULS III: {} + steam: + id: 374320 Lone Survivor: files: /LoneSurvivor/META-INF/AIR: @@ -1317,11 +1333,6 @@ Prey: - save when: - os: linux - /Documents/My Games/PREY/base: - tags: - - save - when: - - os: windows /Library/Application Support/Prey/base: tags: - config @@ -1332,6 +1343,11 @@ Prey: - save when: - os: mac + /My Games/PREY/base: + tags: + - save + when: + - os: windows installDir: Prey 2006: {} steam: @@ -1352,3 +1368,69 @@ Prey (2017): Prey: {} steam: id: 480490 +Stardew Valley: + files: + /.config/StardewValley: + tags: + - config + when: + - os: mac + /.config/StardewValley/Saves: + tags: + - save + when: + - os: mac + /StardewValley: + tags: + - config + when: + - os: windows + /StardewValley/Saves: + tags: + - save + when: + - os: windows + /StardewValley: + tags: + - config + when: + - os: linux + /StardewValley/Saves: + tags: + - save + when: + - os: linux + installDir: + Stardew Valley: {} + steam: + id: 413150 +Undertale: + files: + /.config/UNDERTALE_linux_steamver: + tags: + - config + - save + when: + - os: linux + /Library/Application Support/com.tobyfox.undertale: + tags: + - config + - save + when: + - os: mac + /userdata//391540/remote: + tags: + - config + - save + when: + - store: steam + /UNDERTALE: + tags: + - config + - save + when: + - os: windows + installDir: + Undertale: {} + steam: + id: 391540 diff --git a/data/missing.md b/data/missing.md index 9cc94659..c4354654 100644 --- a/data/missing.md +++ b/data/missing.md @@ -8811,7 +8811,6 @@ * [Dark Snow](https://www.pcgamingwiki.com/wiki/?curid=75526) * [Dark Souls II](https://www.pcgamingwiki.com/wiki/?curid=15753) * [Dark Souls II: Scholar of the First Sin](https://www.pcgamingwiki.com/wiki/?curid=24344) -* [Dark Souls III](https://www.pcgamingwiki.com/wiki/?curid=30153) * [Dark Souls Remastered](https://www.pcgamingwiki.com/wiki/?curid=80167) * [Dark Souls: Prepare to Die Edition](https://www.pcgamingwiki.com/wiki/?curid=3367) * [Dark Space Conqueror](https://www.pcgamingwiki.com/wiki/?curid=136958) @@ -33942,7 +33941,6 @@ * [StarCrawlers](https://www.pcgamingwiki.com/wiki/?curid=34362) * [Starcross Arena](https://www.pcgamingwiki.com/wiki/?curid=122142) * [StarCrossed](https://www.pcgamingwiki.com/wiki/?curid=128722) -* [Stardew Valley](https://www.pcgamingwiki.com/wiki/?curid=31535) * [Stardrift Nomads](https://www.pcgamingwiki.com/wiki/?curid=59093) * [StarDrive](https://www.pcgamingwiki.com/wiki/?curid=6102) * [StarDrive 2](https://www.pcgamingwiki.com/wiki/?curid=24558) @@ -40157,7 +40155,6 @@ * [UnderParty](https://www.pcgamingwiki.com/wiki/?curid=154116) * [Underrail](https://www.pcgamingwiki.com/wiki/?curid=6710) * [Underspace](https://www.pcgamingwiki.com/wiki/?curid=142204) -* [Undertale](https://www.pcgamingwiki.com/wiki/?curid=28770) * [Underture](https://www.pcgamingwiki.com/wiki/?curid=141035) * [UnderWater Adventure](https://www.pcgamingwiki.com/wiki/?curid=42786) * [Underwater Affect](https://www.pcgamingwiki.com/wiki/?curid=123409) diff --git a/data/steam-game-cache.yaml b/data/steam-game-cache.yaml index 50104e37..81c5b9fc 100644 --- a/data/steam-game-cache.yaml +++ b/data/steam-game-cache.yaml @@ -114,10 +114,14 @@ installDir: 18 WoS Extreme Trucker 2 '368000': installDir: 100ft Robot Golf +'374320': + installDir: DARK SOULS III '375460': installDir: 16bittrader '389120': installDir: 10 Minute Barbarian +'391540': + installDir: Undertale '396800': installDir: 12 Labours of Hercules IV Mother Nature '3970': @@ -128,6 +132,8 @@ installDir: 1000 Heads Among the Trees '410110': installDir: 12 is Better Than 6 +'413150': + installDir: Stardew Valley '413480': installDir: 101 Ways to Die '414510': diff --git a/data/wiki-game-cache.yaml b/data/wiki-game-cache.yaml index f23bd964..b38940c2 100644 --- a/data/wiki-game-cache.yaml +++ b/data/wiki-game-cache.yaml @@ -26727,7 +26727,7 @@ Dark Souls II: revId: null Dark Souls III: pageId: 30153 - revId: null + revId: 971498 Dark Souls Remastered: pageId: 80167 revId: null @@ -102064,7 +102064,7 @@ Starcross Arena: revId: null Stardew Valley: pageId: 31535 - revId: null + revId: 962956 Stardrift Nomads: pageId: 59093 revId: null @@ -120634,7 +120634,7 @@ Underspace: revId: null Undertale: pageId: 28770 - revId: null + revId: 971737 Underture: pageId: 141035 revId: null diff --git a/src/importer.ts b/src/importer.ts index af4a8dc5..ae77ce1d 100644 --- a/src/importer.ts +++ b/src/importer.ts @@ -117,7 +117,7 @@ const PATH_ARGS: { [arg: string]: { mapped: string, when?: Constraint, registry? when: { os: "windows" }, }, "userprofile\\documents": { - mapped: "/Documents", + mapped: "", when: { os: "windows" }, }, appdata: {