EDIT: The issue was caused by my SSD being formatted in exFAT, which doesn’t support symlinks. I backed up my SSD & reformatted it to btrfs, and then I could install .NET without hassle & the game runs!

Original Post:

I’m having an issue running this game on linux, every time I click play in Steam I get the following popup:

“you must install .NET desktop runtime to run this application”

Clicking “yes” takes me to download a Windows .exe which of course can’t run on linux. I manually installed the .NET runtime following linux instructions here: https://learn.microsoft.com/en-us/dotnet/core/install/linux-debian but the game still gives me this error.

Other things I’ve tried:

  • Reinstalling BG3
  • Completely deleting every file from steamapps/common for BG3 & reinstalling
  • Reinstalling Proton
  • Skipping the launcher
  • Tried with proton experimental, 9, 8, 7

My launch args are STEAM_COMPAT_DATA_PATH=/home/user/.local/share/Steam/steamapps/compatdata gamemoderun %command% --skip-launcher

On protondb everybody else seems to be running the game fine, but I don’t understand how to get past this error.

  • twinnie@feddit.uk
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 day ago

    If you’re running on Linux then installing the .NET for Linux won’t do anything because it’s looking for it within the Wine emulation layer, so it actually does need the Windows version and it should install because it should all be emulated. Install Protontricks and see if there’s anything you can do with that, I haven’t used it much by I think it has tools to install stuff like this.

    • imecth@fedia.io
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      1 day ago

      wine doesn’t emulate, it translates api calls.
      Installing dotnet shouldn’t be necessary afaik and might bork the protonprefix further.

      • mox@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 day ago

        wine doesn’t emulate hardware,

        FTFY

        Wine’s very purpose is to emulate the Windows runtime environment. Translating API calls is only part of that.

        So kindly leave people alone when they refer to it emulating, or as an emulator, or something that emulates. They’re not wrong.