Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No RL installation detected #9

Open
zcharo99 opened this issue Mar 31, 2024 · 15 comments
Open

No RL installation detected #9

zcharo99 opened this issue Mar 31, 2024 · 15 comments

Comments

@zcharo99
Copy link

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
Copy link
Owner

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
Copy link
Author

zcharo99 commented Apr 15, 2024

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
Copy link
Owner

CrumblyLiquid commented Apr 17, 2024

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
Copy link
Owner

CrumblyLiquid commented Apr 17, 2024

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
Copy link
Author

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

@scfarley
Copy link

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
Copy link

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

@zcharo99
Copy link
Author

zcharo99 commented Nov 8, 2024

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 😭

@AndrejPatak
Copy link

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

@scfarley
Copy link

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.

@Tikaanyrl
Copy link

I have the same issue as the original issue, i am using a flatpak version of heroic, but i will try a different one. Maybe it will work, i'll update here

@Tikaanyrl
Copy link

Works now, just have to launch rl and immediatly launch bakkesmod, otherwise the same error persists

@AndrejPatak
Copy link

Works now, just have to launch rl and immediatly launch bakkesmod, otherwise the same error persists

How did you do this? If I launch rocket league, heroic doesn't let me launch exes on that prefix. If I launch an exe first, heroic won't actually start rocket league until the exe closes

@Tikaanyrl
Copy link

WINEFSYNC=1 WINEPREFIX="/home/tikaany/Games/Heroic/Prefixes/default/Rocket League" "/home/tikaany/.config/heroic/tools/wine/Wine-GE-Proton8-26/bin/wine64" "/home/tikaany/Games/Heroic/Prefixes/default/Rocket League/drive_c/Program Files/BakkesMod/BakkesMod.exe"
this is the command i'm running (in a bash script to make it easier, but shouldnt change anything), sorry for the late response, was kinda busy

@Dsummers91
Copy link

Ii resolved it on my end by adding rocketleague.item file in the Manifests
for your case

cd "/home/tikaany/Games/Heroic/Prefixes/default/Rocket League"
mkdir -p Epic/EpicGamesLauncher/Data/Manifests
cd $_

then add rocketleague.item file with this

{
    "LaunchExecutable": "Binaries/Win64/RocketLeague.exe",
    "AppVersionString": "BC2_Update53+468477"
}

(I chose the App version by clicking Help>Show Version Info on bakkedmod menu)

then start rocketleague first, then bakkesmod and it should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants