diff --git a/src/assets/images/game_selection/Panicore.png b/src/assets/images/game_selection/Panicore.png new file mode 100644 index 00000000..cb0c9fc2 Binary files /dev/null and b/src/assets/images/game_selection/Panicore.png differ diff --git a/src/model/game/GameManager.ts b/src/model/game/GameManager.ts index 105339ad..b3d9cddb 100644 --- a/src/model/game/GameManager.ts +++ b/src/model/game/GameManager.ts @@ -632,6 +632,13 @@ export default class GameManager { "https://thunderstore.io/c/castle-story/api/v1/package/", EXCLUSIONS, [new StorePlatformMetadata(StorePlatform.STEAM_DIRECT, "227860")], "CastleStory.png", GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["cs"]), + + new Game( + "Panicore", "Panicore", "Panicore", + "Panicore", ["Panicore.exe"], "Panicore", + "https://thunderstore.io/c/panicore/api/v1/package/", EXCLUSIONS, + [new StorePlatformMetadata(StorePlatform.STEAM, "2695940")], "Panicore.png", + GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.SHIMLOADER, ["panicore"]), ]; static get activeGame(): Game { diff --git a/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts b/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts index 37017a39..e4cf3042 100644 --- a/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts +++ b/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts @@ -172,6 +172,7 @@ const VARIANTS = { AgainstTheStorm: MODLOADER_PACKAGES, Lycans: MODLOADER_PACKAGES, CastleStory: MODLOADER_PACKAGES, + Panicore: 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 819c3621..20f75af8 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(71).stores(store); + this.version(72).stores(store); this.activeGame = game; this.global = this.table("value");