Skip to content

Commit

Permalink
Add 3 games
Browse files Browse the repository at this point in the history
Atomicrops
Erenshor
Sunkenland

refs -
  • Loading branch information
Oksamies committed Sep 17, 2023
1 parent df309be commit 9f378ad
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 1 deletion.
Binary file added src/assets/images/game_selection/Atomicrops.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/game_selection/Erenshor.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/game_selection/Sunkenland.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions src/model/game/GameManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,24 @@ export default class GameManager {
"https://thunderstore.io/c/touhou-lost-branch-of-legend/api/v1/package/", "https://raw.githubusercontent.com/ebkr/r2modmanPlus/master/modExclusions.md",
[new StorePlatformMetadata(StorePlatform.STEAM, "1140150")], "TouhouLostBranchOfLegend.jpg",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["lbol"]),

new Game("Sunkenland", "Sunkenland", "Sunkenland",
"Sunkenland", ["Sunkenland.exe"], "Sunkenland_Data",
"https://thunderstore.io/c/sunkenland/api/v1/package/", "https://raw.githubusercontent.com/ebkr/r2modmanPlus/master/modExclusions.md",
[new StorePlatformMetadata(StorePlatform.STEAM, "2080690")], "Sunkenland.jpg",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["sunk"]),

new Game("Atomicrops", "Atomicrops", "Atomicrops",
"Atomicrops", ["Atomicrops.exe"], "Atomicrops_Data",
"https://thunderstore.io/c/atomicrops/api/v1/package/", "https://raw.githubusercontent.com/ebkr/r2modmanPlus/master/modExclusions.md",
[new StorePlatformMetadata(StorePlatform.STEAM, "757320")], "Atomicrops.jpg",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["atom"]),

new Game("Erenshor", "Erenshor", "Erenshor",
"Erenshor", ["Erenshor.exe"], "Erenshor_Data",
"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, ["eren"]),
];

static get activeGame(): Game {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ export default class InstallationRuleApplicator {
buildBepInExRules("WizardOfLegend"),
buildBepInExRules("BombRushCyberfunk"),
buildBepInExRules("TouhouLostBranchOfLegend"),
buildBepInExRules("Sunkenland"),
buildBepInExRules("Atomicrops"),
buildBepInExRules("Erenshor"),
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ const VARIANTS = {
WizardOfLegend: MODLOADER_PACKAGES,
BombRushCyberfunk: MODLOADER_PACKAGES,
TouhouLostBranchOfLegend: MODLOADER_PACKAGES,
Sunkenland: MODLOADER_PACKAGES,
Atomicrops: MODLOADER_PACKAGES,
Erenshor: 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
2 changes: 1 addition & 1 deletion src/r2mm/manager/SettingsDexieStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(60).stores(store);
this.version(61).stores(store);

this.activeGame = game;
this.global = this.table("value");
Expand Down

0 comments on commit 9f378ad

Please sign in to comment.