From 91d1ebff0c44d071934b005ec048d038c8e3f9ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20M=C3=A4ki?= Date: Tue, 28 May 2024 14:40:16 +0300 Subject: [PATCH] Fix Lethal Company and Content Warning data folders Update the documentation about where the setting is currently used. --- docs/Adding a game.md | 3 ++- src/model/game/GameManager.ts | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/Adding a game.md b/docs/Adding a game.md index 2e5310be8..b07fa7d7f 100644 --- a/docs/Adding a game.md +++ b/docs/Adding a game.md @@ -34,7 +34,8 @@ - **ExeName** - An array of different executable names (for all platforms). For `StorePlatform` types such as `OTHER` and `STEAM_DIRECT` then the first found executable is used and called when the game is launched. - **DataFolderName** - - Only relevant for Mono (C#) Unity games. Only used for the `Preloader Fix` in the manager settings. + - Required for Unreal games relying on unreal-shimloader. + - Relevant for Mono (C#) Unity games, which use it for the `Preloader Fix` in the manager settings. - **TsUrl** - The Thunderstore API endpoint for the listing. - **ExclusionsUrl** diff --git a/src/model/game/GameManager.ts b/src/model/game/GameManager.ts index 105339ad0..e92ddec96 100644 --- a/src/model/game/GameManager.ts +++ b/src/model/game/GameManager.ts @@ -547,7 +547,7 @@ export default class GameManager { GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["cs2"]), new Game("Lethal Company", "LethalCompany", "LethalCompany", - "Lethal Company", ["Lethal Company.exe"], "LethalCompany_Data", + "Lethal Company", ["Lethal Company.exe"], "Lethal Company_Data", "https://thunderstore.io/c/lethal-company/api/v1/package/", EXCLUSIONS, [new StorePlatformMetadata(StorePlatform.STEAM, "1966720")], "LethalCompany.png", GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["lc"]), @@ -591,7 +591,7 @@ export default class GameManager { GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, []), new Game("Content Warning", "ContentWarning", "ContentWarning", - "Content Warning", ["Content Warning.exe"], "ContentWarning_Data", + "Content Warning", ["Content Warning.exe"], "Content Warning_Data", "https://thunderstore.io/c/content-warning/api/v1/package/", EXCLUSIONS, [new StorePlatformMetadata(StorePlatform.STEAM, "2881650")], "ContentWarning.png", GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["cw"]),