Skip to content

Commit

Permalink
Merge pull request #1232 from ethangreen-dev/votv-fixes
Browse files Browse the repository at this point in the history
Fix invalid VotV game definition and invalid UE4SS-settings link behavior
  • Loading branch information
MythicManiac authored Feb 29, 2024
2 parents c823c70 + a7af39b commit da996d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/model/game/GameManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ export default class GameManager {
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, []),
new Game(
"Voices of the Void", "VotV", "VotV",
"", ["VotV-Win64-Shipping.exe"], "VotV",
"", ["VotV.exe"], "VotV",
"https://thunderstore.io/c/voices-of-the-void/api/v1/package/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.OTHER)], "VotV.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.SHIMLOADER, ["votv"]),
Expand Down
5 changes: 1 addition & 4 deletions src/r2mm/manager/ModLinker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,9 @@ export default class ModLinker {
}

if (game.packageLoader == PackageLoader.SHIMLOADER) {
if (["ue4ss.dll", "dwmapi.dll"].indexOf(lowercased) > -1) {
if (["ue4ss.dll", "dwmapi.dll", "ue4ss-settings.ini"].indexOf(lowercased) > -1) {
return path.join(installDirectory, game.dataFolderName, "Binaries", "Win64");
}
if (lowercased == "ue4ss-settings.ini") {
return installDirectory;
}
return null;
} else {
return installDirectory;
Expand Down

0 comments on commit da996d9

Please sign in to comment.