diff --git a/src/assets/images/game_selection/Dredge.png b/src/assets/images/game_selection/Dredge.png new file mode 100644 index 000000000..dc1128416 Binary files /dev/null and b/src/assets/images/game_selection/Dredge.png differ diff --git a/src/assets/images/game_selection/LastTrainOuttaWormtown.png b/src/assets/images/game_selection/LastTrainOuttaWormtown.png new file mode 100644 index 000000000..aefad9b39 Binary files /dev/null and b/src/assets/images/game_selection/LastTrainOuttaWormtown.png differ diff --git a/src/model/game/GameManager.ts b/src/model/game/GameManager.ts index d91f46ac3..1db383a44 100644 --- a/src/model/game/GameManager.ts +++ b/src/model/game/GameManager.ts @@ -516,6 +516,18 @@ export default class GameManager { "https://thunderstore.io/c/erenshor/api/v1/package/", "https://raw.githubusercontent.com/ebkr/r2modmanPlus/master/modExclusions.md", [new StorePlatformMetadata(StorePlatform.STEAM, "2382520")], "Erenshor.jpg", GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, []), + + new Game("Last Train Outta' Wormtown", "LastTrainOuttaWormtown", "LastTrainOuttaWormtown", + "Last Train Outta' Wormtown", ["Last Train Out Of WormTown.exe"], "Last Train Out Of WormTown_Data", + "https://thunderstore.io/c/last-train-outta-wormtown/api/v1/package/", "https://raw.githubusercontent.com/ebkr/r2modmanPlus/master/modExclusions.md", + [new StorePlatformMetadata(StorePlatform.STEAM, "2318480")], "LastTrainOuttaWormtown.png", + GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, []), + + new Game("DREDGE", "Dredge", "Dredge", + "DREDGE", ["DREDGE.exe"], "DREDGE_Data", + "https://thunderstore.io/c/dredge/api/v1/package/", "https://raw.githubusercontent.com/ebkr/r2modmanPlus/master/modExclusions.md", + [new StorePlatformMetadata(StorePlatform.STEAM, "1562430")], "Dredge.png", + GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, []), ]; 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 3fc1f098e..fba3881d8 100644 --- a/src/r2mm/installing/default_installation_rules/InstallationRuleApplicator.ts +++ b/src/r2mm/installing/default_installation_rules/InstallationRuleApplicator.ts @@ -112,6 +112,8 @@ export default class InstallationRuleApplicator { buildBepInExRules("Sunkenland"), buildBepInExRules("Atomicrops"), buildBepInExRules("Erenshor"), + buildBepInExRules("LastTrainOuttaWormtown"), + buildBepInExRules("Dredge"), ] } } diff --git a/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts b/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts index 0d132a3f5..5c74862ba 100644 --- a/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts +++ b/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts @@ -64,6 +64,7 @@ const MODLOADER_PACKAGES = [ new ModLoaderPackageMapping("BepInEx-BepInExPack_Thronefall", "BepInExPack", PackageLoader.BEPINEX), new ModLoaderPackageMapping("BepInEx-BepInExPack_WizardWithAGun", "BepInExPack", PackageLoader.BEPINEX), new ModLoaderPackageMapping("SunkenlandModding-BepInExPack_Sunkenland", "BepInExPack_Sunkenland", PackageLoader.BEPINEX), + new ModLoaderPackageMapping("BepInEx_Wormtown-BepInExPack", "BepInExPack", PackageLoader.BEPINEX), ]; @@ -151,6 +152,8 @@ const VARIANTS = { Sunkenland: MODLOADER_PACKAGES, Atomicrops: MODLOADER_PACKAGES, Erenshor: MODLOADER_PACKAGES, + LastTrainOuttaWormtown: MODLOADER_PACKAGES, + Dredge: 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 50f4d992e..562cad838 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(62).stores(store); + this.version(63).stores(store); this.activeGame = game; this.global = this.table("value");