-
Notifications
You must be signed in to change notification settings - Fork 55
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
add: Rocket league umu #197
base: master
Are you sure you want to change the base?
Conversation
In my case the game doesn't seem to launch at all. |
I guessed perhaps I was not adding umu to PATH correctly, but I just removed umu from my config and RL still seems to work without issues, and looks like the path is set correctly. I added WINEPREFIX to umu scripts as well, maybe legendary was not directing to the correct game files. Though I am not confident that was the issue for you. it could be helpful if you shared with which attributes/values you call rocket-league in your config and what the output is when you start rocket-league from the terminal |
Currently testing directly from the repo using this patch diff --git a/pkgs/default.nix b/pkgs/default.nix
index 234bbf5..576a177 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -86,6 +86,7 @@
rocket-league = pkgs.callPackage ./rocket-league {
wine = config.packages.wine-tkg;
inherit (config.packages) umu;
+ useUmu = true;
};
star-citizen = pkgs.callPackage ./star-citizen { Output log is
Removing |
I just noticed we were not adding gamemode to the path correctly, but I don't think that was the issue with your case anyway. Honestly, when I run rocket-league, the output is pretty similar, I don't see any noticeable difference, except the game runs normally. Perhaps we can try looking into umu logs like that; $ UMU_LOG=debug rocket-league |
Sure, here's the log. |
I just compared the output with the output on my end, it looks pretty similar except for the To debug further I would recommend creating a shell with umu-run and legendary-gl, they try to manually run the game directly through umu-run,
With the dry run option, the last command should print the command legendary will run and just exit. Then you can try manually running this command without including gamemode or any other dependencies in the way. Also, it might be worth trying to setup the envvar PROTONPATH=GE-Proton to use a different version of proton. But at this point, it becomes a little too much work and I am not confident that this kind of debugging can get us somewhere, so one option is to leave the PR in this state as a draft and come back to it when there are new releases or improvements from umu project. Honestly, it is a bit sad to see that even nix struggles with the "it works on my machine" problem. |
@emrebicer following your instructions I managed to get it to launch after a |
That is very good to hear, so does the PR also work after the nix flake update by any chance? Or just the dry-run? If it is only the dry run, then perhaps you can try prepending the |
Only the dry-run works. Strangely enough, it also works if I prepend |
I think I found the culprit here. I moved to another (physical) place where I don't have access to the desktop I have developed the changes for this PR, but I have my Nvidia desktop that is mentioned at #186 . On this desktop. I can reproduce the issue you are having, I simply can't run Rocket League with Umu with this PR. I did do some digging and I believe the issue is with the environment variable Again, it was working without issues on my other desktop, but apparently, there is something wrong with it so it doesn't work on my Nvidia machine or your environment... So I suggest for now we focus on making Rocket League work in any environment with umu and ignore bakkesmod case at the moment. Given that, I pushed a commit that removes the line where we set the mentioned env var. With that change, Rocket League Umu works on my Nvidia machine as well without issues. (A side note: there are no performance issues with umu, so this PR might lead to closing #186 as well.) Can you please try with the latest change as well? If it also works for you without issues, then we can focus on how we can support bakkesmod with Umu as well, I guess I can open an issue about it at the Umu project repo and ask for their help/recommendations about it. |
@emrebicer I'm terribly sorry for the delay, the notification must have slipped my view. I've just tested this, seems to work well despite the gamemode errors (which are probably a skill issue on my part). |
No worries, I also get many gamemode errors that go However despite the error, looks like gamemode is being activated, as the output of Update: Looks like there is an issue with the same error message here, but to my understanding, it is also not something to worry about if gamemoded status is returning gamemode is active, which is the case. |
Okay, then hopefully it will be fixed upstream. Thanks for looking into it. |
After seeing the discussion at #151 and PR #193, I wanted to introduce Umu to Rocket League as well. Finally, I had some free time and made Rocket League work with Umu.
However, there is still an issue that I could not find a solution to yet. If I enable umu, I can run bakkesmod alongside rocket-league, however once bakkesmod tries to inject, it fails and gives an error message that goes
Injection failed, please download vc_redist.x86.exe and restart your PC
. A Google search made me believe that the error message is implying I should haveMicrosoft Visual C++ Redistributable
in the prefix, however even after trying to installvcrun2019
with winetricks (umu-run winetricks vcrun2019
) or manually running the installer.exe (VC_redist.x86.exe or x64) in the prefix through umu, I still get the same error message bakkesmod.I have been looking into possible solutions but could not get far. I wonder if anyone here has a suggestion to find a solution for that.
So TLDR; RL works with umu, and bakkesmod runs but does not inject. Any ideas on how can I fix that?