Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Back to the Dawn #1374

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/model/game/GameManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,12 @@ export default class GameManager {
"https://thunderstore.io/c/slipstream-rogue-space/api/v1/package/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.STEAM, "2765860")], "SlipstreamRogueSpace.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["srs"]),

new Game("Back to the Dawn", "BacktotheDawn", "BacktotheDawn",
"MetalHeadGames", ["Back To The Dawn.exe"], "Back To The Dawn_Data",
"https://thunderstore.io/c/back-to-the-dawn/api/v1/package/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.STEAM, "1735700")], "BackToTheDawn.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["bttd"]),
];

static get activeGame(): Game {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export default class InstallationRuleApplicator {
buildBepInExRules("AnotherCrabsTreasure"),
buildBepInExRules("GladioMori"),
buildBepInExRules("SlipstreamRogueSpace"),
buildBepInExRules("BacktotheDawn"),
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ const VARIANTS = {
AnotherCrabsTreasure: MODLOADER_PACKAGES,
GladioMori: MODLOADER_PACKAGES,
SlipstreamRogueSpace: MODLOADER_PACKAGES,
BacktotheDawn: 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(73).stores(store);
this.version(74).stores(store);

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