Skip to content

Commit

Permalink
Add Wizard with a Gun (#1077)
Browse files Browse the repository at this point in the history
Add support for Wizard with a Gun
  • Loading branch information
RandomWolf authored Sep 22, 2023
1 parent 1888b8d commit b15a1d1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ log.txt
*.ntvs*
*.njsproj
*.sln
/.vs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion src/model/game/GameManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,11 @@ 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("Wizard With A Gun", "WizardWithAGun", "WizardWithAGun",
"wizardwithagun", ['wizardwithagun.exe'], "wizardwithagun_Data",
"https://thunderstore.io/c/wizard-with-a-gun/api/v1/package/", "https://raw.githubusercontent.com/ebkr/r2modmanPlus/master/modExclusions.md",
[new StorePlatformMetadata(StorePlatform.STEAM, "2312630")], "WizardWithAGun.jpg",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["wizgun"]),
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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export default class InstallationRuleApplicator {
buildBepInExRules("WizardOfLegend"),
buildBepInExRules("BombRushCyberfunk"),
buildBepInExRules("TouhouLostBranchOfLegend"),
buildBepInExRules("WizardWithAGun"),
buildBepInExRules("Sunkenland"),
buildBepInExRules("Atomicrops"),
buildBepInExRules("Erenshor"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ const MODLOADER_PACKAGES = [
new ModLoaderPackageMapping("BepInEx-BepInExPack_IL2CPP", "BepInExPack", PackageLoader.BEPINEX),
new ModLoaderPackageMapping("Modding_Council-BepInExPack_of_Legend", "BepInExPack_of_Legend", PackageLoader.BEPINEX),
new ModLoaderPackageMapping("BepInEx-BepInExPack_Thronefall", "BepInExPack", PackageLoader.BEPINEX),
new ModLoaderPackageMapping("BepInEx-BepInExPack_WizardWithAGun", "BepInExPack", PackageLoader.BEPINEX),
];


Expand Down Expand Up @@ -144,6 +145,7 @@ const VARIANTS = {
WizardOfLegend: MODLOADER_PACKAGES,
BombRushCyberfunk: MODLOADER_PACKAGES,
TouhouLostBranchOfLegend: MODLOADER_PACKAGES,
WizardWithAGun: MODLOADER_PACKAGES,
Sunkenland: MODLOADER_PACKAGES,
Atomicrops: MODLOADER_PACKAGES,
Erenshor: MODLOADER_PACKAGES,
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(61).stores(store);
this.version(62).stores(store);

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

0 comments on commit b15a1d1

Please sign in to comment.