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 support for 5 new games #980

Merged
merged 1 commit into from
Feb 27, 2023
Merged

Add support for 5 new games #980

merged 1 commit into from
Feb 27, 2023

Conversation

MythicManiac
Copy link
Collaborator

Add support for the following games:

  • RUMBLE
  • Dome Keeper
  • Skul: The Hero Slayer
  • Sons Of The Forest
  • The Ouroboros King

Additionally, include support for installing the godot mod loader package, as dome keeper needs it and it wasn't implemented yet.

import Game from 'src/model/game/Game';
import { Depot } from '../../depots/loader/Depot';
import R2Error from '../../model/errors/R2Error';
import Game from '../../model/game/Game';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah thanks, it's annoying that I can't configure webstorm to resolve to relative imports

"Dome Keeper", ["domekeeper.exe"], "",
"https://thunderstore.io/c/dome-keeper/api/v1/package/", "https://raw.githubusercontent.com/ebkr/r2modmanPlus/master/modExclusions.md",
[new StorePlatformMetadata(StorePlatform.STEAM, "1637320")], "dome-keeper.jpg",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.GODOT_ML, []),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: "dk" is probably alright for a shorthand in the last array.

"Skul", ["Skul.exe"], "Skul_Data",
"https://thunderstore.io/c/skul-the-hero-slayer/api/v1/package/", "https://raw.githubusercontent.com/ebkr/r2modmanPlus/master/modExclusions.md",
[new StorePlatformMetadata(StorePlatform.STEAM, "1147560")], "skul-the-hero-slayer.jpg",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, []),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likewise - "sths" is probably fine

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about this but I'm pretty sure the actual shorthand for the game is just "skul", which is already discoverable

@@ -181,10 +181,24 @@ export default class GenericProfileInstaller extends ProfileInstallerProvider {
}
}

private async installGodotML(mlLocation: string, modLoaderMapping: ModLoaderPackageMapping, profile: Profile) {
const copyFrom = path.join(mlLocation, "addons", "mod_loader");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we not want to copy the addons folder entirely?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was considering this from the perspective of cleanup (if cleanup would be necessary), so I figured it's more appropriate to be explicit about the structure as it makes cleanup at least possible if it becomes necessary. Otherwise we'd have to delete all the addons or implement some state tracking.

Brotato: [
// TODO: Add godot mod loader support
],
Brotato: [],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there no GodotModding-GodotModLoader package for Brotato?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brotato has it built in

Add support for the following games:
- RUMBLE
- Dome Keeper
- Skul: The Hero Slayer
- Sons Of The Forest
- The Ouroboros King

Additionally, include support for installing the godot mod loader
package, as dome keeper needs it and it wasn't implemented yet.
@MythicManiac MythicManiac merged commit 5d1bfa6 into develop Feb 27, 2023
@MythicManiac MythicManiac deleted the new-games branch February 27, 2023 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants