ebkr / r2modmanPlus

A simple and easy to use mod manager for several games using Thunderstore
MIT License
1.29k stars 193 forks source link

[BUG] - when start a game it said "Steam now requires user namespaces to be enabled." #1446

Open paras-zomby opened 2 months ago

paras-zomby commented 2 months ago

Describe the bug

When I start Risk of Rain 2 using r2modman, it popped up and said "Steam now requires user namespaces to be enabled." I follow the instructions on "https://github.com/flatpak/flatpak/wiki/User-namespace-requirements" and checked that my bwrap and sysctl's config all work fine.

Additionally, when I start r2modman it told that my GPU process isn't usable and exit, so I start r2modman with "--no-sandbox" param.

I want to know how to fix it, thank u.

To Reproduce

Open the r2modman, select Risk of Rain 2, click "Start modded" or "Start vanilla".

Screenshots

图片

Additional context

My environment is Ubuntu 24.04, using Proton to play RoR2.

flackr commented 2 months ago

I see the same issue with Lethal Company

flackr commented 1 month ago

FYI I found that you can work around this issue by going to Help > Launching the game from outside the mod manager where it will give you the command-line arguments you can add to the steam launch options which will look like this:

--doorstop-enable true --doorstop-target "Z:/home/$USER/.config/r2modmanPlus-local/LethalCompany/profiles/Default/BepInEx/core/BepInEx.Preloader.dll" --r2profile "Default"

Add these to the launch options of the game and you can manage / update the mods from r2modman and launch from steam directly.

paras-zomby commented 1 month ago

FYI I found that you can work around this issue by going to Help > Launching the game from outside the mod manager where it will give you the command-line arguments you can add to the steam launch options which will look like this:

--doorstop-enable true --doorstop-target "Z:/home/$USER/.config/r2modmanPlus-local/LethalCompany/profiles/Default/BepInEx/core/BepInEx.Preloader.dll" --r2profile "Default"

Add these to the launch options of the game and you can manage / update the mods from r2modman and launch from steam directly.

Wow, thks a lot!

micproietti commented 1 month ago

FYI I found that you can work around this issue by going to Help > Launching the game from outside the mod manager where it will give you the command-line arguments you can add to the steam launch options which will look like this:

--doorstop-enable true --doorstop-target "Z:/home/$USER/.config/r2modmanPlus-local/LethalCompany/profiles/Default/BepInEx/core/BepInEx.Preloader.dll" --r2profile "Default"

Add these to the launch options of the game and you can manage / update the mods from r2modman and launch from steam directly.

Hi, im facing the same issue. Im trying to fix it as you said, but even if i set the launch options it gives me the same problem image

image

how can i solve it?

flackr commented 1 month ago

After setting those launch arguments, you run the game normally from steam (i.e. the green "Play" button). In your screenshot it looks like you may have been using the "Start modded" button in r2modman.

micproietti commented 1 month ago

After setting those launch arguments, you run the game normally from steam (i.e. the green "Play" button). In your screenshot it looks like you may have been using the "Start modded" button in r2modman.

I tried to start it from steam as well, but it launches on default mode, not modded

paras-zomby commented 1 month ago

After setting those launch arguments, you run the game normally from steam (i.e. the green "Play" button). In your screenshot it looks like you may have been using the "Start modded" button in r2modman.

I tried to start it from steam as well, but it launches on default mode, not modded

@flackr means that you should copy this cmd options and go to steam->"game settings"->"launch options" and add it to custom start parameters. if you just click "start game" on steam without doing this, it will be not modded.

cmd options looks like:

--doorstop-enable true --doorstop-target "Z:/home/$USER/.config/r2modmanPlus-local/LethalCompany/profiles/Default/BepInEx/core/BepInEx.Preloader.dll" --r2profile "Default"