BG3 on steamdeck requests .net

So... I have BG3 on GoG and I have a steamdeck. When I launch it in deck mode, it brings up a window talking about needing .net. When I do the same in desktop mode, it does the same ... but then brings up my browser downloading the .net installer. Help?
113 Replies
like-gold
like-gold•2y ago
use winetricks and install dotnet desktop runtime 6
deep-jade
deep-jadeOP•2y ago
so ... gimme a bit more --- not that I don't know individually what these might be, but do I use the Heroic interface to do this? ... or just on the deck desktop? I think I remember winetricks in Heroic ... but do I need that also installed on the desktop? etc.
like-gold
like-gold•2y ago
It's option inside heroic. It can be both from desktop and game mode ( but doing it from game is bit finicky) inside game page settings you find this button:
like-gold
like-gold•2y ago
No description
like-gold
like-gold•2y ago
in new window you sroll down to the bottom and find winetricks:
like-gold
like-gold•2y ago
No description
like-gold
like-gold•2y ago
new window with many options will pop up:
like-gold
like-gold•2y ago
No description
like-gold
like-gold•2y ago
you select "Select the default wineprefix"->"Install a Windows DLL or component" And from the list of component you select:
like-gold
like-gold•2y ago
No description
like-gold
like-gold•2y ago
once installation finishes you can close this window and game should work
deep-jade
deep-jadeOP•2y ago
so which version of wine/proton should I be doing this with? Didn't work with proton8, for instance.
other-emerald
other-emerald•2y ago
use latest wine-ge from heroic wine manager proton is meant to be run on games from the steam store, where the steam runtime is available and provides various features since you are not using a game from steam, wine-ge is the go to, it has all the same patches as proton-ge
deep-jade
deep-jadeOP•2y ago
So... tried with latest wine-ge and with wine-ge-proton8-13 ... when I press the wine tricks button, it opens a window that then closes and does nothing else (whereas with the protons I was using, the window opened and I could do stuff). although I am watching the wine-ge-download again --- and it doesn't get above 30% or so before stopping and going to unzipping --- so are we having trouble downloading wine-ge ... is there a way a can get a better download? going through settings 'n stuff. What is the "EOS" overlay? Looking at the log, I get 2 INFO: entires from [WineDownloader] ... Start and Finished. No mention of an error --- even though it only got to 20% in this instance. Maybe wait until I get up for a bathroom break in the middle of the night ... and see if the CDN is free enough then?
distinguished-blush
distinguished-blush•2y ago
for dotNet you also have installer already downloaded by Heroic, in __redist directory in game dir you can use Run in Prefix in game settings to run it
deep-jade
deep-jadeOP•2y ago
I'm still somewhat concerned that wine-GE doesn't seem to be running for me at all.
distinguished-blush
distinguished-blush•2y ago
yes, you most likely need proton hotfix or experimental and install dotnetdesktop6 from winetricks or shipped with game in __redist
deep-jade
deep-jadeOP•2y ago
OK... so when I do the above --- to say install latest-GE, I watched it get to 97%-ish before it stopped. Then I go to launch winetricks, and the window just opens and closes. the following is the error that generates in the log: (23:53:10) INFO: [Winetricks]: ------------------------------------------------------ warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/winetricks: line 3159: /home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-latest/bin/wine: No such file or directory" ------------------------------------------------------ I just was futzing with this and I noticed that bg3 was asking for 6.0.18 and the redist directory has 6.0.11. The winetricks method has .18, but it always fails to install with an error.
conscious-sapphire
conscious-sapphire•2y ago
This worked for me 1. Download the dot net sdk for Windows and x64 CPUs manually. This link should work now: https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.412-windows-x64-installer 2. Drag the exe from your download folder on that button "run exe on prefix" 3. This starts the dot net installer, you click "next" when it asks, let it finish and then you can start the game. And yeah, that's the full sdk, not just the runtime.. For some reason I needed the full sdk, installing only the runtime failed.
No description
conscious-sapphire
conscious-sapphire•2y ago
I fixed the link, I had the wrong sdk linked at first And the full sdk isn't huge, luckily, it's 200 MB compared to the runtime only download being like... 70 MB?
deep-jade
deep-jadeOP•2y ago
I'm kinda reachimg rope's end here. I'm on my deck now. I downloaded that file and running it with some versions of proton briefly flashes a window, but mostly nothing.
deep-jade
deep-jadeOP•2y ago
Here"s the Heroic log ... although it just says that it ran the installer... https://nextcloud.towernet.ca/s/qmYJLxrXb3XdAX6
Nextcloud
heroiclog.md
Nextcloud - a safe home for all your data
deep-jade
deep-jadeOP•2y ago
I'm seriously wondering if any of the wine things are running under heroic. I installed Control under epic to see if that worked. It gave the following error... An error has occurred! Try to Logout and Login on your Epic account. [cli] INFO: Using prefix "/home/deck/Games/Heroic/Prefixes/default/Control" [cli] INFO: No Legendary-managed installation found. Traceback (most recent call last): File "legendary/cli.py", line 3061, in <module> File "legendary/cli.py", line 3010, in main File "legendary/cli.py", line 2155, in manage_eos_overlay File "legendary/lfs/eos.py", line 52, in query_registry_entries ValueError: No user.reg file, invalid path [405] Failed to execute script 'cli' due to unhandled exception!
deep-jade
deep-jade•2y ago
your prefix is corrupt
deep-jade
deep-jadeOP•2y ago
ok... so reinstall heroic? or ... ?
other-emerald
other-emerald•2y ago
no you can just delete the prefix if you dont have any save games you want to keep also this log is the heroic log,not the game log read https://discord.com/channels/812703221789097985/1044301598018515105 for instructions
deep-jade
deep-jadeOP•2y ago
ok... scanning that, does the flatpak not take care of the "wine dependancies" ?
other-emerald
other-emerald•2y ago
i dont use flat pak, but iirc it doesnt but to reiterate whats in the link i just gave:
Common issues/things to try (Linux-specific): If you're using the Flatpak version of Heroic (see below on how to find out), please run flatpak update && flatpak install --reinstall com.heroicgameslauncher.hgl. Heroic has a vast number of dependencies, which (for an unknown reason) might get uninstalled when updating either Heroic or them
deep-jade
deep-jadeOP•2y ago
yeah that's a big nothing burger ... I keep it pretty updated with the app --- only texstudio and kde something updated
other-emerald
other-emerald•2y ago
did you do the instruction outlined here or not...
deep-jade
deep-jadeOP•2y ago
I did. It updated texstudio and two kde things.
other-emerald
other-emerald•2y ago
flatpak update && flatpak install --reinstall com.heroicgameslauncher.hgl
deep-jade
deep-jadeOP•2y ago
... ah there. about heroic it actually says "nothing to do" ... but I did run exactly that. ... BTW... maybe this makes me a worst case supportee --- but I'm a software dev and FreeBSD kernel developer.
other-emerald
other-emerald•2y ago
im a game programmer 😛 in any case you probalby need to post the game logs instead of the heroic log (also in that readme first post)
deep-jade
deep-jadeOP•2y ago
I'll get that in a sec. Since I deleted BG3 and it's a 120 gig install, I'm going to try testing evil genius ... 1.3 gig install.
other-emerald
other-emerald•2y ago
in most cases the game data doesnt need to be deleted or reinstalled, most issues stem from misconfigured systems or wine settings which dont really affect game data
deep-jade
deep-jadeOP•2y ago
I did bang in the pacman wine support (which requires making root rw --- but I got that) ... not sure if it'll help. The flatpak should take care of that... but the heading listed arch linux. yeah... maybe I didn't need to delete it... but I deleted everything earlier today in frustration. the wine installs seem shaky, but they're the right size ... so maybe they worked.
other-emerald
other-emerald•2y ago
tbh i rarely have issue, but i just use the aur distributed heroic worst case is needing some direct x shader compiler or some dotnet run time for the game launchers which winetricks solves almost always also fwiw, diff games end up having different needs lots of times, so getting games to work is very case by case.. so evil genius may do fine without any sort of tweaking
deep-jade
deep-jadeOP•2y ago
ok... with evil genius it says ... in a popup... wine ccould not find a wine-mono package
other-emerald
other-emerald•2y ago
post the game log but if its a yes no prompt pick yes
deep-jade
deep-jadeOP•2y ago
cancel/install
other-emerald
other-emerald•2y ago
some games will cause the "install wine mono" prompt - so install it lots of game launchers are c# these days
deep-jade
deep-jadeOP•2y ago
ok. BG3 just brought up the install .net 6 --- but clicking yes just brought up the browser.
other-emerald
other-emerald•2y ago
iirc, if you look in the __redist folder there are usually windows dependencies in there or you can install it via winetricks
deep-jade
deep-jadeOP•2y ago
I did, and there were, but running them on the wine prefix just blinked a window.
other-emerald
other-emerald•2y ago
which should be in heroic's settings page for that game it will do that dotnet installs will flash a ton of windows most of them are outdated warnings 🙃
deep-jade
deep-jadeOP•2y ago
no... just one window,just one flash and still broken asking for .net6 afterwards.
other-emerald
other-emerald•2y ago
does the winetricks window reappear?
deep-jade
deep-jadeOP•2y ago
... now evil genius has brought up a 4:3 black square ... it might also be broken. never goes away.
other-emerald
other-emerald•2y ago
usually what happens: winetricks -> install dotnet -> wait a while -> winetricks reappears post game logs
deep-jade
deep-jadeOP•2y ago
yeah... going to have to reinstall. I'll do that overnight.
other-emerald
other-emerald•2y ago
reinstall what?
deep-jade
deep-jadeOP•2y ago
any idea on evil genius? BG3.
other-emerald
other-emerald•2y ago
i mean for evil genius post the game logs
deep-jade
deep-jadeOP•2y ago
120G, remember? right... sec. ok... found that... window I couldn't click on talking about switching rasterizer.
other-emerald
other-emerald•2y ago
the game log will help understand what went wrong instead of just guessing
other-emerald
other-emerald•2y ago
There arw flags to skip the launcher and stuff Probably that could help if dotnet is needed only for the launcher? Bg3 has also vulkan support
other-emerald
other-emerald•2y ago
Check Essential Improvements
deep-jade
deep-jadeOP•2y ago
when I run it on windows w/ vulkan turned on, it has horrendous frame drop ... but that was before the post-launch driver update.
other-emerald
other-emerald•2y ago
On windows use DirectX On linux use vulkan Also windows does not have the pre shader cache so expect drops the first hour in game Bg3 with steam on linux runs pretty damn well
deep-jade
deep-jadeOP•2y ago
Yeah... I didn't buy on steam (wouldn't be using Heroic on the deck for that). I preordered with GoG. or early-accessed. So... an update. I re-installed Heroic and futzed with it. This got me to the point where Evil Genius worked (as a test). ... then I installed BG3 again (this takes 5 or 6 hours here --- so this is why you haven't heard from me in awhile). now, before, installing the .net 6.x from winetricks didn't work and installing the dev pack from a download didn't work. With the reinstall and the futzing, installing the dev pack works (or appears to). ... which means that running the lanuncher works (seems it is the launcher that requires .net). I will note that installing the dev kit --- it takes a long time to open a window or give any indication that something is afoot. It might be good to have some indication here. hrm. Might be related to length of time to contact GoG servers right at this moment. So scratch that. Being a conversation seems to encourage stream-of-conciousness. Just went back and looked for a location of a game-specific log as the overall Heroic log doesn't contain much. ... reading the above posted FAQ... I don't see it. So... both vulkan and dx11 immediately seem to want to launch dxdiag (which doesn't exist) ... which seems to indicate they crash. ... but the launcher does run.
other-emerald
other-emerald•2y ago
I know that on steam a hotfix was introduced Maybe we need to wait till wine-ge has this aswell
deep-jade
deep-jadeOP•2y ago
that is interesting news. Is there a place I can watch for this information?
other-emerald
other-emerald•2y ago
You could try with the proton hotfix or proton experimental On protondb people report the gog version is still broken. Waiting for a fix
deep-jade
deep-jadeOP•2y ago
rgr. is that were Heroic pulls it's information?
distinguished-blush
distinguished-blush•2y ago
what information
deep-jade
deep-jadeOP•2y ago
on the versions of proton/wine ?
distinguished-blush
distinguished-blush•2y ago
no, protondb is made for users to report Proton compatibility with games
deep-jade
deep-jadeOP•2y ago
sorry... no I was asking about the above URL.
distinguished-blush
distinguished-blush•2y ago
ah, then yes
deep-jade
deep-jadeOP•2y ago
welp. Evil Genius is working. That's not nothing.
distinguished-blush
distinguished-blush•2y ago
BG3 works fine on my Arch PC with Proton Experimental both DX11 and Vulkan check game directory if there aren't any .tmp files that would indicate incomplete download
deep-jade
deep-jadeOP•2y ago
is that bg3/steam or GoG?
distinguished-blush
distinguished-blush•2y ago
gog
deep-jade
deep-jadeOP•2y ago
... so you're using the steam proton experimental? ... which isn't one of the ones that Heroic downloads itself?
distinguished-blush
distinguished-blush•2y ago
yes you have Steam so you can get it from there it's practically impossible for us to download them from Steam depot system
deep-jade
deep-jadeOP•2y ago
yeah... I've seen them as choices ... but earlier in this thread someone warned me off using the steam versions. so I will try that again in a minute (steam deck is updating other things at the moment)
genetic-orange
genetic-orange•2y ago
in general, yes. however, there are sometimes specific exceptions. one example is that Borderlands 3 will not save with Wine-GE. you must use GE-Proton to save data. what's funny is that you're going through all of this work to end up running BG3, which people have already reported runs pretty poorly via Steam, which is a platform actively updating its tools for better Linux performance and compatibility
deep-jade
deep-jadeOP•2y ago
I wasn't entirely aware... and I don't mind futzing. I've been trying to be nice to you guys as well. I suppose I'm joining the community. Later on I'll start the heavy lift of getting Heroic on FreeBSD ... but that's another day. I'm also the go-to modded oblivion on deck post on the steam forums. I don't mind being out in front. here's an interesting datapoint: the proton-experimental wine prefix is rather obviously different than the -GE one. Had to reinstall .net and reauthenticate.
genetic-orange
genetic-orange•2y ago
because Proton uses a slightly different folder path leading up to drive_c and dosdevices
other-emerald
other-emerald•2y ago
yeah always a good practice to clear the prefixes if you are gonna switch between them.. just to minimize noise and extra junk you wont neeed
flat-fuchsia
flat-fuchsia•2y ago
I'm failing to run GOG BG3 via Heroic. I followed the above tips as best I can: using proton experimental (also tried the latest wine-ge), installed .net via "run exe on prefix", added the "--skip-launcher" param and verified I'm running in Win10 compatability mode. Still no go. Any ideas?
flat-fuchsia
flat-fuchsia•2y ago
Latest log attached
distinguished-blush
distinguished-blush•2y ago
did you install dotnet with winetricks like showcased earlier in this thread?
flat-fuchsia
flat-fuchsia•2y ago
No, with "run exe on prefix". Can you point me to the relevant post?
distinguished-blush
distinguished-blush•2y ago
hmm, if you did run exe on prefix there shouldn't be any issues then
other-emerald
other-emerald•2y ago
proton doesnt really log very much, best to use wine-ge to get logging
flat-fuchsia
flat-fuchsia•2y ago
Ok. Will try again with wine-ge and get the log
other-emerald
other-emerald•2y ago
if you havent installed .net in the wine-ge prefix it will need to be installed
flat-fuchsia
flat-fuchsia•2y ago
On it. Thanks.
flat-fuchsia
flat-fuchsia•2y ago
Here's the right log, hopefully.
flat-fuchsia
flat-fuchsia•2y ago
Still no luck, unfortunately.
distinguished-blush
distinguished-blush•2y ago
did you install MSVC2019_x64 too? you can get it from __redist directory
flat-fuchsia
flat-fuchsia•2y ago
Trying. Installed with "run exe on prefix". Still no go.
deep-jade
deep-jade•2y ago
install d3dcompiler_43 and d3dcompiler_47 using winetricks and also set this as an env variable DOTNET_ROOT=""
flat-fuchsia
flat-fuchsia•2y ago
Where to install these from? Also __redist?
distinguished-blush
distinguished-blush•2y ago
winetricks
flat-fuchsia
flat-fuchsia•2y ago
No offense, but I'm not a linux guy. Just a guy with a steam deck. Could you be a little more explicit?
genetic-orange
genetic-orange•2y ago
No description
flat-fuchsia
flat-fuchsia•2y ago
Yes. Found that. How do I install d3dcompiler_43 and d3dcompiler_47 through there?
genetic-orange
genetic-orange•2y ago
click OK until you see "install a Windows DLL" select that line, click OK again, find them there
flat-fuchsia
flat-fuchsia•2y ago
Got it. Thanks. Okay installed. And added the environment variable. Still no luck
rare-sapphire
rare-sapphire•2y ago
first, did you install both 43 and 47? second, will you post a new log?
distinguished-blush
distinguished-blush•2y ago
disable the exe override allow it to launch the launcher
flat-fuchsia
flat-fuchsia•2y ago
Yes I installed both. Trying to remove the exe override and trying again. Will post the log if it fails Okay the launcher works but throws a data mismatch error. The game crashes immediately.
deep-jade
deep-jade•2y ago
could you post another log?
flat-fuchsia
flat-fuchsia•2y ago
Yes. Right away
flat-fuchsia
flat-fuchsia•2y ago
Here.
deep-jade
deep-jade•2y ago
maybe verify game files? if you haven't already everything here looks like it's working I would refresh the wine manager and update your wine-ge if you haven't done that either
flat-fuchsia
flat-fuchsia•2y ago
I'll verifiy the game files. How do I refresh the wine manager? Also when I launch the game: dx11 or vulcan? Hey guys. Thank you for all your help and advice. I'm giving up for now and will try again at a later time.
deep-jade
deep-jade•2y ago
vulkan

Did you find this page helpful?