Open WMan22 opened 1 year ago
Alright, I made a small adjustment to the flatpak. Can you try it now?
Nope, updated, still same issue.
I speculate this is due to x11 dependency. I'm going to try and figure out gamescope
In a bit #49 should build, it has a few shenanigans but it should work hopefully
I'll be keeping an eye out. Thank you for trying to fix this. It's very appreciated. Also, if you don't mind, in the meantime can you copy and paste the contents of that discord post one of the devs mentioned here? I'm curious what it was and not everyone has enough space to join a new channel so it'd be really helpful for people in the meantime while we try to get this done.
Edit: Another thing, Steam Deck's desktop mode allegedly runs in X11, and it not starting when launched as a non steam game is an issue there too it just simply doesn't have a infinite loading bug like in the gaming mode and simply crashes immediately without even bringing up any window; this is a problem for both Desktop mode and the console-like interface mode that is supposedly in Wayland. So it may or may not actually be an X11 thing unless games run inside of gamescope in desktop mode as well by default.
It built now, try it out before it clears out
flatpak install --user https://dl.flathub.org/build-repo/125829/com.atlauncher.ATLauncher.flatpakref
I'll be keeping an eye out. Thank you for trying to fix this. It's very appreciated. Also, if you don't mind, in the meantime can you copy and paste the contents of that discord post one of the devs mentioned here? I'm curious what it was and not everyone has enough space to join a new channel so it'd be really helpful for people in the meantime while we try to get this done.
Joining ATLauncher after using PolyMC? heres a quick Grey Screen Fix in GameScope for SteamDeck
For anyone Stuck like I was here's a fix for the Grey Screen in GameScope.
Download FlatSeal from the discover store.
in FlatSeal add _JAVA_AWT_WM_NONREPARENTING=1 into enviorment/variables. (edit note) you can still use Custom directory command in the variables but the java nonparenting command must be present as well both need to be there own variables.
See Screenshot A down below
-------------------------------------------------------------------------------------------------------------------------------------
Make a shortcut from the side menu to put ATLauncher on the desktop
See Screenshot B down below
-------------------------------------------------------------------------------------------------------------------------------------
Open the newly created shortcut in Kwrite and add =_JAVA_AWT_WM_NONREPARENTING=1 before /usr/bin/flatpack on the line that says Evec everything after = must stay the same just do not add the = following /usr/bin/flatpack...
Lazy Method
copy and paste this and overwrite the text there with this and save it.
[Desktop Entry]
Categories=Game;
Exec=_JAVA_AWT_WM_NONREPARENTING=1 /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=atlauncher.sh com.atlauncher.ATLauncher
Icon=com.atlauncher.ATLauncher
Keywords=game;Minecraft;
Name=ATLauncher
Comment=A launcher for Minecraft which integrates multiple different modpacks to allow you to download and install modpacks easily and quickly.
StartupNotify=true
Type=Application
X-Flatpak=com.atlauncher.ATLauncher
See Screenshot C down below
-------------------------------------------------------------------------------------------------------------------------------------
Add ATLauncher to steam with the dropdown option
See Screenshot D down below
Steam Community Bindings for SteamDeck
If you had a Favorite Community Binding in Steam change the name in Gamescope from properties to PolyMC
the community mappings will be there for that I still don't know if there is a way to download the mappings and set them for ATL yet so this will give access to those mappings for this launcher.
Make a shortcut from the side menu to put ATLauncher on the desktop
See Screenshot B down below
Open the newly created shortcut in Kwrite and add =_JAVA_AWT_WM_NONREPARENTING=1 before /usr/bin/flatpack on the line that says Evec everything after = must stay the same just do not add the = following /usr/bin/flatpack...
Lazy Method copy and paste this and overwrite the text there with this and save it.
[Desktop Entry] Categories=Game; Exec=_JAVA_AWT_WM_NONREPARENTING=1 /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=atlauncher.sh com.atlauncher.ATLauncher Icon=com.atlauncher.ATLauncher Keywords=game;Minecraft; Name=ATLauncher Comment=A launcher for Minecraft which integrates multiple different modpacks to allow you to download and install modpacks easily and quickly. StartupNotify=true Type=Application X-Flatpak=com.atlauncher.ATLauncher
This particular thing of creating the desktop shortcut and adding _JAVA_AWT_WM_NONREPARENTING=1 to the exec thing, possibly with the addition of your updates, fixed it, it's now working on my Steam Deck, even in the gaming mode that boots up with the device. Thank you very much for the help.
From now on, Steamdeck users should use the beta branch
From now on, Steamdeck users should use the beta branch
Does that have the exec line in by default? I fixed the problem on the mainline discover version using that shortcut modification, the command you listed earlier to install a specific version of this didn't work by the time I tried it.
I'm wondering if I could add _JAVA_AWT_WM_NONREPARENTING=1 %command% to a regular flatpak launch in steam's launch options to achieve the same effect as what I did with the shortcut.
From now on, Steamdeck users should use the beta branch
Does that have the exec line in by default? I fixed the problem on the mainline discover version using that shortcut modification, the command you listed earlier to install a specific version of this didn't work by the time I tried it.
I'm wondering if I could add _JAVA_AWT_WM_NONREPARENTING=1 %command% to a regular flatpak launch in steam's launch options to achieve the same effect as what I did with the shortcut.
That is not a "launch" command. Its an environment variable. If you use flatseal, you can see that it is already included. I have no clue why it doesn't have an effect.
Well, in any case, it was my bad for not closing this issue, I solved it with making that desktop shortcut modification listed in my previous post.
Technically the issue still exists, this shall remain open
Oh, my bad then, sorry for closing it. I don't mean to be a bother about this.
Moved here as requested.
Original