HGL
fascinating-indigo
Rocket League crashing before launch
I installed RL through heroic on my system (NixOS + Sway + Nvidia) and when I click
Play Now
it loads and then goes back to Play Now
without any new screen showing up at all.130 Replies
fascinating-indigoOP•2y ago
Sending logs in a min
Here are the logs from start to finish:
fascinating-indigoOP•2y ago
fascinating-indigoOP•2y ago
Seems like it couldn't find Wine :Pikathink:
Oh I have to install Wine separately
subsequent-cyan•2y ago
install Wine-GE-latest from the Wine Manager in Heroic
fascinating-indigoOP•2y ago
I did and then got this error:
subsequent-cyan•2y ago
you may need to install the wine dependencies then: https://github.com/lutris/docs/blob/master/WineDependencies.md
GitHub
docs/WineDependencies.md at master · lutris/docs
Contribute to lutris/docs development by creating an account on GitHub.
fascinating-indigoOP•2y ago
but it exists:
why do I need to install it
subsequent-cyan•2y ago
because it's a quirk of Wine where some dependencies aren't always installed
distinguished-silver•2y ago
I'm getting this issue on my steam deck
It was after the latest update
subsequent-cyan•2y ago
you are likely having a different issue even if the result is the same. create a new post with your game logs #:pushpin: Read Me First | Frequently Asked Questions
fascinating-indigoOP•2y ago
I'm guessing this is entirely unrelated?
https://discord.com/channels/812703221789097985/818939492244258826/1149148722081583195
Ah.
TL;DR: install Wine system-wide?
distinguished-silver•2y ago
Seems sus that multiple people are having the exact same issue on the same game near the same time 🤷♂️
fascinating-indigoOP•2y ago
You could try this solution then
Looks like I already have Wine installed.
winePackages.stagingFull
this one in particular
now what?fascinating-indigoOP•2y ago
distinguished-silver•2y ago
@G you can try resetting your Rocket League prefix
Who is G 💀
@GetPsyched you can try resetting your Rocket League prefix
That seemed to work for me but you might not have the same issue
fascinating-indigoOP•2y ago
how do I do that?
just
rm -rf
the prefix dir so it gets built again?distinguished-silver•2y ago
I guess, just make sure any other games linked to that prefix don't have any saves or anything
Or you can make a new one
fascinating-indigoOP•2y ago
how? sorry I'm new to this.
Got this error on launch of heroic BTW
fascinating-indigoOP•2y ago
distinguished-silver•2y ago
Go into heroic settings for rocket League and set it to a dir you'd want it to make it at
There's like a prefix dir in the settings
fascinating-indigoOP•2y ago
seems like this might be the error
distinguished-silver•2y ago
Interesting
I don't really know much above that
I did use proton ge but I'm not sure that'd change anything
fascinating-indigoOP•2y ago
hmm
@termdisc anything beyond this?
Hmm. So it looks like this is an issue with Heroic on the AppImage version
As switching to the Nix expression that builds heroic from source seems to have worked.
Though I've run into a new issue, RL is just a black screen
I think this might be what @p0wder has faced?
nvm I guess that was just an initial launch delay
adverse-sapphire•2y ago
did you get it working?
from looking at that log above, it looks like you never remade the prefix you deleted earlier
or the path to the prefix is set incorrectly
fascinating-indigoOP•2y ago
well
I got it working by installing through Nix
And the game runs fine now
EXCEPT
I am getting 72 FPS lol
I used to get 400 when I used i3 instead of Sway
Plus I used legendary instead of heroic which idt matters
adverse-sapphire•2y ago
heroic is just a frontend for legendary, so that probly shouldnt matter
fascinating-indigoOP•2y ago
yeah, thought so
likely Sway is having issues with Nvidia
not utilising my card properly
but like
I reduced my video settings and the FPS remained the same
adverse-sapphire•2y ago
you could try rolling back dxvk to see if it is the same bug i was having issues with
fascinating-indigoOP•2y ago
what did your bug do to the game?
I am just having FPS issues nothing more
adverse-sapphire•2y ago
mine made fullscreen and borderless unplayable, but windowed mode ran fine
a quick way to test would be to launch the game with -windowed and then check your fps
🤷♂️
fascinating-indigoOP•2y ago
unplayable in what sense
adverse-sapphire•2y ago
like it just wasnt responsive
but when i rolled back to last version of dxvk it went back to normal
fascinating-indigoOP•2y ago
can't I just change that during runtime
adverse-sapphire•2y ago
yeah, you can set it that way too
i havent really had time to troubleshoot it.. planning on doing it this weekend
fascinating-indigoOP•2y ago
YO
I switched to Windowed mode and got back 400 FPS
distinguished-silver•2y ago
W
fascinating-indigoOP•2y ago
Thanks p0wder
and Worst, termdisc
distinguished-silver•2y ago
No probs
adverse-sapphire•2y ago
nice!
so that means that rolling back dxvk should fix it for you
for me, i used:
WINEPREFIX=/path/to/rl-prefix WINE=/path/to/wine-g/binary winetricks --force dxvk2010
or just play in windowed mode untill dxvk gets fixed lolfascinating-indigoOP•2y ago
Yeah lmao my lazy ass would do just that
Sucks that I can't launch rocket-league through my app browser though
I have to open heroic and then RL
subsequent-cyan•2y ago
at first I read this as a criticism
as in "I leave to do work and get called the worst?!" hah
adverse-sapphire•2y ago
you can actually.. just make a .desktop and use the games launch command from heroic log with
bash -c '*game-launch-command*'
subsequent-cyan•2y ago
why can you not launch it through a browser?
I'm missing something throughout the day. does the command simply not work?
adverse-sapphire•2y ago
i think hes referring to his app menu (start menu) as app browser, so that he can run the game without having to launch heroic first
adverse-sapphire•2y ago
this is the .desktop that i use to do it:
adverse-sapphire•2y ago
you would need to edit the Exec line and the Icon line to reflect your setup
subsequent-cyan•2y ago
heroic can generate those. is there something wrong with the .desktop that it generates?
adverse-sapphire•2y ago
the ones that heroic generates still launches heroic
those use
Exec=xdg-open heroic://launch/Sugar
to launch the gamesubsequent-cyan•2y ago
isn't that expected when there still is some legendary backend stuff that needs to happen?
adverse-sapphire•2y ago
its not required, my command just uses legendary without heroic
subsequent-cyan•2y ago
this should be clarified because I interpret this as manually opening Heroic + RL via Heroic
adverse-sapphire•2y ago
yeah, i thought he meant launch the game without launching heroic first
not sure tho
fascinating-indigoOP•2y ago
Lmao
But I checked the toggle that should've created this automatically.
Yeah, this
It should have but I don't see RL in my app menu
this seems like a more efficient method when you just want the game
since you skip all the UI
subsequent-cyan•2y ago
The standard shortcut generated by Heroic skips the UI as well
It’s just a .desktop shortcut that has
Exec=xdg-open heroic://launch/Sugar
Create one manually if it wasn’t auto created
First try the menu to create oneadverse-sapphire•2y ago
the xdg-open command still opens heroic in the background.. but it does technically skip needing to touch heroic
fascinating-indigoOP•2y ago
Yeah you interpreted it correctly
I launch heroic -> launch RL from the game library
Instead of just opening RL from my app menu through some shortcut
didn't work
I get this output in the terminal:
But I neither have a
~/Desktop
dir, nor a ~/.local/share/applications
dir.subsequent-cyan•2y ago
You don’t have those folders at all?
extended-salmon•2y ago
Weird it works for me on nixos
fascinating-indigoOP•2y ago
Nope
Do you use KDE?
extended-salmon•2y ago
No, gnome
Are you sure lol?
That's weird
Idk
fascinating-indigoOP•2y ago
Yeah, you have a DE, I don't
Nope, those folders are a norm that I don't prefer. It mostly comes from Windows too lol
extended-salmon•2y ago
Oh I see
Well that might be why
Maybe create .local/share/applications and try again?
subsequent-cyan•2y ago
Yeah, just create those folders
Desktop won’t display on gnome anyway
And .local/share/applications is just user space application menu shortcuts
As in anything you add to the desktop folder won’t actually appear on the desktop of the DE
These will appear in your launchpad
fascinating-indigoOP•2y ago
There must be another way to do this on NixOS though
Since I have other apps that don't require this folder
But perhaps they exist in my app menu because they're installed using NixOS' package manager
And RL would be through Heroic
extended-salmon•2y ago
they would be in the system applications
this is in userspace
fascinating-indigoOP•2y ago
I don't have anything in my system applications except for my VPN
Everything else is in the userspace
Base Directories, User Directories, and Desktop Entries are all standardized specifications (Base Directory Spec, xdg-user-dirs, Desktop Entry spec ).
If you don't want to participate in this standard, that's fine, but don't blame applications for relying on them
extended-salmon•2y ago
desktop i dont see being as much of an issue though it could still cause stuff
but .local/share/applications is a good idea to have
im not quite sure how userspace apps work on nix, i have most of mine system, but i assume the desktop entry is in
/nix/store/<(hash)-application/share/applications/<something>.desktop
, just like system nix appsfascinating-indigoOP•2y ago
I didn't mean to blame haha. I was only saying that there must be some alternative method in NixOS that I wanna explore
Because 0 applications use this spec on NixOS and that must be only true for this distro
Meaning that the unwrapped applications would use these specs and NixOS is redirecting them somehow
I just want to figure out that redirection
Regardless, if those folders don't exist, Heroic should either create them OR at least error out saying that the parent folder doesn't exist.
Giving a success message even if there no tangible success is misleading
adverse-sapphire•2y ago
just google where nix puts user .desktops and then creat it yourself 🤷♂️
fascinating-indigoOP•2y ago
Yeah fair.
adverse-sapphire•2y ago
or better yet, i will give you a copy from my system
I would've thought that this was the case, but it seems the code just prints "Success" once the
writeFile
operation is done (regardless of whether it was actually successful)
'nother one for the :yakstack:adverse-sapphire•2y ago
adverse-sapphire•2y ago
you will need to change the 'Icon=' part in the .desktop bcus it points to my home folder
.desktop contents:
[Desktop Entry]
Name=Rocket League
Exec=xdg-open heroic://launch/legendary/Sugar
Terminal=false
Type=Application
Icon=/home/p0wder/.config/heroic/icons/Sugar.jpg
Categories=Game;
adverse-sapphire•2y ago
i use this icon for mine tho (ocd lol):

extended-salmon•2y ago
What is a yakstack lol??
fascinating-indigoOP•2y ago
Yeah I prefer this haha
Can I change Sugar.jpg to this? I guess the art for RL on heroic would become messy since this isn't of the right proportions
adverse-sapphire•2y ago
yup, just edit the .desktop and change the Icon= line to that one
fascinating-indigoOP•2y ago
I meant changing the actual Sugar.jpg and not the icon path
adverse-sapphire•2y ago
that line sets the icon, you can set it to whatever you want it to be
fascinating-indigoOP•2y ago
Oh it's not for the art?
Cool.
adverse-sapphire•2y ago
no, it would be for the icon you see in your app menu/app launcher
fascinating-indigoOP•2y ago
Just so we're on the same page, I am referring to how Heroic uses
/home/p0wder/.config/heroic/icons/Sugar.jpg
Not what the Icon
path in the desktop entry does
Hmm makes sense.adverse-sapphire•2y ago
i meant like change it to
Icon=/home/p0wder/.config/heroic/icons/rocket-league.png
but edit the path to reflect wherever you save the .png to
did you figure out where the .desktops go?
they are basically just text files that you make executable and then they show up in your app menufascinating-indigoOP•2y ago
Yeah, I have the app menu entry now
hmmmmmmmmm
makes my system at an impure state haha
I can do it but if I reinstall, that part won't be reproducible
adverse-sapphire•2y ago
yeah i was thinkin about that lol
fascinating-indigoOP•2y ago
I could put it in a different directory
But for now I'm just using the default Sugar.jpg
Thanks for the help!
adverse-sapphire•2y ago
np :CatYeah:
extended-salmon•2y ago
Ah cool :)
fascinating-indigoOP•2y ago
uh it opens this link in firefox
heroic://launch/legendary/Sugar
🥲extended-salmon•2y ago
@GetPsyched are you maybe using flatpak?
No wait nix
Huh
Very weird
fascinating-indigoOP•2y ago
idt this is a flatpak or nix issue lol
extended-salmon•2y ago
It used to be an issue with flatpak iirc
Idk about nix tho
fascinating-indigoOP•2y ago
I see
I think this is an issue because I don't have heroic installed via nixpkgs
I just have it as a shell alias
extended-salmon•2y ago
oh that would be why
what is your alias to
fascinating-indigoOP•2y ago
extended-salmon•2y ago
oh.
that was merged into master now you know
fascinating-indigoOP•2y ago
yes, but it's not in nixos-unstable yet
extended-salmon•2y ago
yeah
fascinating-indigoOP•2y ago
I have nixpkgs pinned to unstable
extended-salmon•2y ago
thats why i added it as a flake input
fascinating-indigoOP•2y ago
or should I pin it to master 🤔
extended-salmon•2y ago
no
do not
thats not a good idea
fascinating-indigoOP•2y ago
Yeah
as in?
extended-salmon•2y ago
do you use flakes or regular config?
fascinating-indigoOP•2y ago
flakes
extended-salmon•2y ago
add this as an input
nixpkgs-master.url = "github:nixos/nixpkgs";
add this to packages inputs.nixpkgs-master.legacyPackages.x86_64-linux.heroic
fascinating-indigoOP•2y ago
I know there's a way to do it using flake inputs but my lazy ass is just waiting for it to arrive in unstable lol
extended-salmon•2y ago
fair enough
fascinating-indigoOP•2y ago
Oh it's that easy
extended-salmon•2y ago
yeah
fascinating-indigoOP•2y ago
wait why legacyPackages
extended-salmon•2y ago
idk
maybe you can do it differently
this is what ive seen and it works
rival-black•2y ago
Nothing important, but having the same issue with Nobara (Fedora) 38 on KDE Plasma. Game starts windowed though, but crashes seconds afterwards.
Can't find anything in the logs, they seem normal.
@Raphipod Please send in a game log regardless. RL should just work
rival-black•2y ago
Where is this log located or which one do you need?
rival-black•2y ago
rival-black•2y ago
Well, there's a Wine error. But it happened in the past and it worked.
Hmm yup, nothing obvious in there. Have you tried verifying your game files?
rival-black•2y ago
I'll go ahead and do that now. Get back to you when it's finished.
Legendary just seems to straight-up redownload the game as I see R/W access and I am downloading something.
The game also exists on the specified path in Heroic. It's been downloaded before.
There were probably corrupted files then (which are now re-downloaded)
rival-black•2y ago
Ah, that's what it probably is. But it would be nice if it said that there are corrupted files in the log.
(Heroic's progress reporting on repairs isn't the best; so I'm just guessing here)
rival-black•2y ago
Don't really think that's Heroic's fault though
It's finished now.
goddamnit i feel so stupid rn haha
it works
Thanks for your help.
fascinating-indigoOP•2y ago
Oh yeah it worked nicely. Forgot to reply here sorry haha.
Also, it turns out that I can create .desktop files through my nix config as well.
ref: https://github.com/GetPsyched/nix-config/blob/master/getpsyched/games.nix#L12-L21
super neat
extended-salmon•2y ago
yeah ik its cool :)
fascinating-indigoOP•2y ago
Ah nice
Available at nixos-unstable https://nixpk.gs/pr-tracker.html?pr=254075
cc @QuadRadical (Ping on reply)
extended-salmon•2y ago
great
thanks