Skip to content

Commit

Permalink
Add game: Disco Elysium
Browse files Browse the repository at this point in the history
  • Loading branch information
VilppeRiskidev committed Feb 18, 2025
1 parent eb4dd72 commit 190865b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Binary file not shown.
6 changes: 6 additions & 0 deletions src/model/game/GameManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,12 @@ export default class GameManager {
"https://thunderstore.io/c/miside/api/v1/package-listing-index/",
[new StorePlatformMetadata(StorePlatform.STEAM, "2527500")], "MiSide.webp",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]),

new Game("Disco Elysium", "DiscoElysium", "Disco Elysium",
"Disco Elysium", ["disco.exe"], "disco_Data",
"https://thunderstore.io/c/disco-elysium/api/v1/package-listing-index/",
[new StorePlatformMetadata(StorePlatform.STEAM, "632470")], "DiscoElysium.webp",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["de"]),
];

static get activeGame(): Game {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ export default class InstallationRuleApplicator {
buildBepInExRules("Subterror"),
buildBepInExRules("IAmYourBeast"),
buildBepInExRules("MiSide"),
buildBepInExRules("DiscoElysium"),
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ const VARIANTS = {
Subterror: MODLOADER_PACKAGES,
IAmYourBeast: MODLOADER_PACKAGES,
MiSide: MODLOADER_PACKAGES,
DiscoElysium: 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.
Expand Down

0 comments on commit 190865b

Please sign in to comment.