Skip to content

Commit 6a6b265

Browse files
authored
Merge pull request #1658 from ebkr/add-dusk-mds-mt2
Add 3 new games: Dusk, Monster Train 2 and My Dream Setup
2 parents e813603 + e91bbba commit 6a6b265

File tree

6 files changed

+24
-0
lines changed

6 files changed

+24
-0
lines changed
98.5 KB
Loading
89.8 KB
Loading
64.6 KB
Loading

src/model/game/GameManager.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,24 @@ export default class GameManager {
895895
"https://thunderstore.io/c/odd-remedy/api/v1/package-listing-index/",
896896
[new StorePlatformMetadata(StorePlatform.STEAM, "1745680")], "OddRemedy.png",
897897
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["or"]),
898+
899+
new Game("DUSK", "DUSK", "DUSK",
900+
"Dusk", ["Dusk.exe"], "Dusk_Data",
901+
"https://thunderstore.io/c/dusk/api/v1/package-listing-index/",
902+
[new StorePlatformMetadata(StorePlatform.STEAM, "519860")], "DUSK.png",
903+
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]),
904+
905+
new Game("My Dream Setup", "MyDreamSetup", "MyDreamSetup",
906+
path.join("My dream setup", "MDS"), ["MDS.exe"], "MDS_Data",
907+
"https://thunderstore.io/c/my-dream-setup/api/v1/package-listing-index/",
908+
[new StorePlatformMetadata(StorePlatform.STEAM, "2200780")], "MyDreamSetup.png",
909+
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["MDS"]),
910+
911+
new Game("Monster Train 2", "MonsterTrain2", "MonsterTrain2",
912+
"Monster Train 2 Demo", ["MonsterTrain2-Demo.exe"], "MonsterTrain2-Demo_Data",
913+
"https://thunderstore.io/c/monster-train-2/api/v1/package-listing-index/",
914+
[new StorePlatformMetadata(StorePlatform.STEAM, "3296150")], "MonsterTrain2.png",
915+
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["mt2"]),
898916
];
899917

900918
static get activeGame(): Game {

src/r2mm/installing/default_installation_rules/InstallationRuleApplicator.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ export default class InstallationRuleApplicator {
163163
buildBepInExRules("Zort"),
164164
buildBepInExRules("DiscoElysium"),
165165
buildBepInExRules("OddRemedy"),
166+
buildBepInExRules("DUSK"),
167+
buildBepInExRules("MyDreamSetup"),
168+
buildBepInExRules("MonsterTrain2"),
166169
]
167170
}
168171
}

src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ const VARIANTS = {
221221
Zort: MODLOADER_PACKAGES,
222222
DiscoElysium: MODLOADER_PACKAGES,
223223
OddRemedy: MODLOADER_PACKAGES,
224+
DUSK: MODLOADER_PACKAGES,
225+
MyDreamSetup: MODLOADER_PACKAGES,
226+
MonsterTrain2: MODLOADER_PACKAGES,
224227
};
225228
// Exported separately from the definition in order to preserve the key names in the type definition.
226229
// Otherwise this would become [key: string] and we couldn't use the game names for type hinting elsewhere.

0 commit comments

Comments
 (0)