From 90e1d25f19b2463f9db7d4e80be85872f26de273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Capelle?= Date: Thu, 6 Aug 2020 12:16:19 +0200 Subject: [PATCH] Update .gitignore and README. --- .gitignore | 3 ++- README.md | 18 +++++++++++++----- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index aff9647..010a591 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .mypy_cache __pycache__ -.tox \ No newline at end of file +.tox +.vscode \ No newline at end of file diff --git a/README.md b/README.md index 87ceaa0..92bb5a2 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,9 @@ git clone https://github.com/ModOrganizer2/modorganizer-basic_games basic_games | [Dungeon Siege II](https://store.steampowered.com/app/39200/Dungeon_Siege_II/) | Holt59 | [game_dungeonsiege2.py](games/game_dungeonsiege2.py) | | | [Mount & Blade II: Bannerlord](https://store.steampowered.com/app/261550/Mount__Blade_II_Bannerlord/) | Holt59 | | | | [S.T.A.L.K.E.R. Anomaly](https://www.stalker-anomaly.com/) | [Qudix](https://github.com/Qudix) | [game_stalkeranomaly.py](games/game_stalkeranomaly.py) | | -| [Stardew Valley](https://store.steampowered.com/app/413150/Stardew_Valley/) | [Syer10](https://github.com/Syer10), Holt59 | [game_stardewvalley.py](games/game_stardewvalley.py) | | +| [Stardew Valley](https://store.steampowered.com/app/413150/Stardew_Valley/) | [Syer10](https://github.com/Syer10), Holt59 | [game_stardewvalley.py](games/game_stardewvalley.py) | | | [The Witcher 3: Wild Hunt](https://store.steampowered.com/app/292030/The_Witcher_3_Wild_Hunt/) | Holt59 | [game_witcher3.py](games/game_witcher3.py) | | +| [Zeus and Poseidon](https://store.steampowered.com/app/566050/Zeus__Poseidon/) | Holt59 | [game_zeusandpoiseidon.py](games/game_zeusandpoiseidon.py) | | ## How to add a new game? @@ -164,7 +165,8 @@ If the column `Ini` is empty, it means it only accepts a basic string. | GameDocumentsDirectory | Documents directory (Optional) | `documentsDirectory` | `str` or `QDir` | | | GameSavesDirectory | Directory containing saves (Optional, default to `GameDocumentsDirectory`) | `savesDirectory` | `str` or `QDir` | | | GameSaveExtension | Save file extension (Optional) `savegameExtension` | `str` | | -| GameSteamId | Steam ID of the game (Optional) | `steamAPPId` | `str` | | +| GameSteamId | Steam ID of the game (Optional) | `steamAPPId` | `List[str]` or `str` or `int` | | +| GameGogId | GOG ID of the game (Optional) | `gogAPPId` | `List[str]` or `str` or `int` | | You can use the following variables for `str`: @@ -176,9 +178,15 @@ You can use the following variables for `str`: The meta-plugin provides some useful extra feature: -1. **Automatic Steam game detection:** If you provide a Steam ID for the game (via `GameSteamId` or by - overriding `steamAPPId()`), the game will be listed in the list of available games when creating a new - MO2 instance (if the game is installed via Steam). +1. **Automatic Steam and GOG game detection:** If you provide Steam or GOG IDs for the game (via + `GameSteamId` or `GameGogId`), the game will be listed in the list of available games when creating a new + MO2 instance (if the game is installed via Steam or GOG). 2. **Basic save game preview:** If you use the Python version, and if you can easily obtain a picture (file) for any saves, you can provide basic save-game preview by using the `BasicGameSaveGameInfo`. See [games/game_witcher3.py](games/game_witcher3.py) for more details. + +Game IDs can be found here: + +- For Steam on [Steam Database](https://steamdb.info/) +- For GOG on [GOG Database](https://www.gogdb.org/) +