CrumblyLiquid / BakkesLinux

Guide for running BakkesMod on Linux
36 stars 5 forks source link

No RL installation detected #9

Open zcharo99 opened 7 months ago

zcharo99 commented 7 months ago

When I launch Rocket League from Heroic Games and then running BakkesMod.exe as said in the tutorial, I disable safe mode and I get: No RL installation detected

Command used to launch: WINEPREFIX="/home/giulixx/Games/Heroic/Prefixes/default/Rocket League" "/home/giulixx/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-latest/bin/wine" "/home/giulixx/Games/Heroic/Prefixes/default/Rocket League/drive_c/Program Files/BakkesMod/BakkesMod.exe" img

CrumblyLiquid commented 7 months ago

Hmmm I'm not really sure what could be the problem. I don't use Heroic but I'll give it a try when I have some free time.

zcharo99 commented 7 months ago

Okay. Oh and also I tried using every derivate of wine or proton (and the original ones) but they seem to still not work.

CrumblyLiquid commented 7 months ago

It seems from the path that you're probably using a Flatpak version of Heroic? If that's the case it may be that the sandboxing that Flatpak does prevents the BakkesMod process to see into the sandbox to inject into Rocket League? I'm not sure why.

CrumblyLiquid commented 7 months ago

I found this Reddit post and also this comment on the original BakkesMod Linux issue that mentions simmilar or the same problem that you're having.

After a bit of digging I found the flatpak enter command that could maybe work. The downside is that it has to be run as root. More info in the docs and on this StackExchange question

I don't have either Steam or Heroic in the Flatpak version to test. That's something I might try when I have more time.

zcharo99 commented 7 months ago

But I don't have the flatpak version of Heroic or Steam

scfarley commented 3 months ago

While searching for a reason I can no longer get BakkesMod to inject on FreeBSD, I came across this issue. Here is how I get BakkesMod to be happy which I found by looking at the code for BakkesMod. See https://github.com/bakkesmodorg/BakkesModInjectorCpp/blob/master/BakkesModInjectorC%2B%2B/BakkesModInstallation.cpp#L507

This is part of the script I run to start bakkesmod. You may need to tweak it for Heroic Games.

dot_config=${WINEPREFIX}/drive_c/users/${USER}/.config
mkdir -p ${dot_config}
if [ ! -L ${dot_config}/legendary ]
then
    (cd ${dot_config} && ln -sf ${HOME}/.config/legendary .)
fi
AndrejPatak commented 2 weeks ago

There is no legendary file or directory in my .config/ directory. What is that file anyway?

zcharo99 commented 2 weeks ago

While searching for a reason I can no longer get BakkesMod to inject on FreeBSD, I came across this issue. Here is how I get BakkesMod to be happy which I found by looking at the code for BakkesMod. See https://github.com/bakkesmodorg/BakkesModInjectorCpp/blob/master/BakkesModInjectorC%2B%2B/BakkesModInstallation.cpp#L507

This is part of the script I run to start bakkesmod. You may need to tweak it for Heroic Games.

dot_config=${WINEPREFIX}/drive_c/users/${USER}/.config
mkdir -p ${dot_config}
if [ ! -L ${dot_config}/legendary ]
then
  (cd ${dot_config} && ln -sf ${HOME}/.config/legendary .)
fi

i dont even use linux anymore :sob:

AndrejPatak commented 2 weeks ago

Damn, what did you switch to? Windows or Mac?

scfarley commented 1 week ago

There is no legendary file or directory in my .config/ directory. What is that file anyway?

Sorry about that. I use Legendary directly to launch games. Heroic uses it under the covers to launch games from the Epic Games Store. ~/.config/legendary is the directory for Legendary's configuration. I think Heroic just has it located elsewhere under its own config directory, but I do not know for certain. Hopefully, my script can help with RL.

BTW, BakkesMod will complain about not being able to inject and ask to download a vcrun* to fix it. I just tell it No because BakkesMod is actually successful. Something is confused under the covers.