-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #859 from ebkr/across-the-obelisk
Add game support: Across the Obelisk
- Loading branch information
Showing
8 changed files
with
68 additions
and
7 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
src/r2mm/installing/default_installation_rules/game_rules/InstallRules_BepInex.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import type { CoreRuleType } from '../../InstallationRules'; | ||
import * as path from 'path'; | ||
import { MOD_LOADER_VARIANTS } from '../../profile_installers/ModLoaderVariantRecord'; | ||
|
||
export function buildBepInExRules(gameName: keyof typeof MOD_LOADER_VARIANTS): CoreRuleType { | ||
return { | ||
gameName: gameName, | ||
rules: [ | ||
{ | ||
route: path.join("BepInEx", "plugins"), | ||
isDefaultLocation: true, | ||
defaultFileExtensions: [".dll"], | ||
trackingMethod: "SUBDIR", | ||
subRoutes: [] | ||
}, | ||
{ | ||
route: path.join("BepInEx", "core"), | ||
defaultFileExtensions: [], | ||
trackingMethod: "SUBDIR", | ||
subRoutes: [] | ||
}, | ||
{ | ||
route: path.join("BepInEx", "patchers"), | ||
defaultFileExtensions: [], | ||
trackingMethod: "SUBDIR", | ||
subRoutes: [] | ||
}, | ||
{ | ||
route: path.join("BepInEx", "monomod"), | ||
defaultFileExtensions: [".mm.dll"], | ||
trackingMethod: "SUBDIR", | ||
subRoutes: [] | ||
}, | ||
{ | ||
route: path.join("BepInEx", "config"), | ||
defaultFileExtensions: [], | ||
trackingMethod: "NONE", | ||
subRoutes: [] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters