diff --git a/src/assets/images/game_selection/BackToTheDawn.png b/src/assets/images/game_selection/BackToTheDawn.png new file mode 100644 index 000000000..3b008e814 Binary files /dev/null and b/src/assets/images/game_selection/BackToTheDawn.png differ diff --git a/src/model/game/GameManager.ts b/src/model/game/GameManager.ts index 5a3d22359..fdf4c6f97 100644 --- a/src/model/game/GameManager.ts +++ b/src/model/game/GameManager.ts @@ -670,6 +670,12 @@ export default class GameManager { "https://thunderstore.io/c/slipstream-rogue-space/api/v1/package/", EXCLUSIONS, [new StorePlatformMetadata(StorePlatform.STEAM, "2765860")], "SlipstreamRogueSpace.png", GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["srs"]), + + new Game("Back to the Dawn", "BacktotheDawn", "BacktotheDawn", + "MetalHeadGames", ["Back To The Dawn.exe"], "Back To The Dawn_Data", + "https://thunderstore.io/c/back-to-the-dawn/api/v1/package/", EXCLUSIONS, + [new StorePlatformMetadata(StorePlatform.STEAM, "1735700")], "BackToTheDawn.png", + GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["bttd"]), ]; static get activeGame(): Game { diff --git a/src/r2mm/installing/default_installation_rules/InstallationRuleApplicator.ts b/src/r2mm/installing/default_installation_rules/InstallationRuleApplicator.ts index edd17a224..3702e95b1 100644 --- a/src/r2mm/installing/default_installation_rules/InstallationRuleApplicator.ts +++ b/src/r2mm/installing/default_installation_rules/InstallationRuleApplicator.ts @@ -132,6 +132,7 @@ export default class InstallationRuleApplicator { buildBepInExRules("AnotherCrabsTreasure"), buildBepInExRules("GladioMori"), buildBepInExRules("SlipstreamRogueSpace"), + buildBepInExRules("BacktotheDawn"), ] } } diff --git a/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts b/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts index 4f6c3a7ea..a79d6eb7d 100644 --- a/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts +++ b/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts @@ -179,6 +179,7 @@ const VARIANTS = { AnotherCrabsTreasure: MODLOADER_PACKAGES, GladioMori: MODLOADER_PACKAGES, SlipstreamRogueSpace: MODLOADER_PACKAGES, + BacktotheDawn: MODLOADER_PACKAGES, }; // Exported separately from the definition in order to preserve the key names in the type definition. // Otherwise this would become [key: string] and we couldn't use the game names for type hinting elsewhere. diff --git a/src/r2mm/manager/SettingsDexieStore.ts b/src/r2mm/manager/SettingsDexieStore.ts index 4c0f2dc89..0c2e5d741 100644 --- a/src/r2mm/manager/SettingsDexieStore.ts +++ b/src/r2mm/manager/SettingsDexieStore.ts @@ -34,7 +34,7 @@ export default class SettingsDexieStore extends Dexie { // Add all games to store. Borked v2-3 locally // Increment per game or change to settings. - this.version(73).stores(store); + this.version(74).stores(store); this.activeGame = game; this.global = this.table("value");