You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Game fails to start with mods, instead instantly closes.
To Reproduce
Steps to reproduce the behavior:
Create a profile for Risk of Rain 2.
Install BepInEx.
Launch Game modded.
Expected behavior
Game starts with all installed and enabled Mods.
Additional context
This bug occurs because r2modman tries to inject BepInEx via the method used for unix-native games, which in the case of Risk of Rain 2, is not applicable. r2modman thinks the game is native even though it's using Proton.
r2modman's checks for proton by reading the game's manifest file and looking for the line platform_override_source and checking, if it has the value windows. If it does, it uses Proton, if not then it assumes it is a native application.
Risk of Rain 2's manifest file, does not contain this line, which leads to r2modman defaulting to the injection method used for unix-native games, which fails.
This issue has been reported by other users as well. I was able to reproduce this issue on three different machines and two different virtual machines. However, not all users encounter this issue.
The text was updated successfully, but these errors were encountered:
Current work around I have found is don't add the launch arguments to ror2 and use https://thunderstore.io/package/Foldex/r2mod_cli/ and run it once letting it install bepinexpack, R2API, and HookGenPatcher. Then just use r2modman normally and everything should work. Might need to check updates every once in a while with r2cli too.
Describe the bug
Game fails to start with mods, instead instantly closes.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Game starts with all installed and enabled Mods.
Additional context
This bug occurs because r2modman tries to inject BepInEx via the method used for unix-native games, which in the case of Risk of Rain 2, is not applicable. r2modman thinks the game is native even though it's using Proton.
r2modman's checks for proton by reading the game's manifest file and looking for the line
platform_override_source
and checking, if it has the valuewindows
. If it does, it uses Proton, if not then it assumes it is a native application.Risk of Rain 2's manifest file, does not contain this line, which leads to r2modman defaulting to the injection method used for unix-native games, which fails.
This issue has been reported by other users as well. I was able to reproduce this issue on three different machines and two different virtual machines. However, not all users encounter this issue.
The text was updated successfully, but these errors were encountered: