Baldur's Gate Enhanced Edition (GOG)

Trying to get the Windows version of BGEE working on nixos with 2.8.0 and it just fails to run anything or really leave anything useful in the log..
Heroic Version: 2.8.0 Nico Robin
Legendary Version: 0.20.32 Dark Energy (hotfix #6)
GOGdl Version: 0.7.2
Electron Version: 25.1.1
Chrome Version: 114.0.5735.106
NodeJS Version: 18.15.0
OS: NixOS KERNEL: 6.1.34 ARCH: x64
CPU: AMD Ryzen 7 3700X 8-Core Processor @3.6 GOVERNOR: performance
RAM: Total: 62.74 GiB Available: 60.06 GiB
GRAPHICS:
PROTOCOL: x11
(22:28:27) INFO: [Backend]: Loading Screen Ready
(22:28:27) INFO: [Frontend]: Refreshing undefined Library
(22:28:27) WARNING: [Backend]: listUpdateableGames not implemented on Sideload Library Manager
(22:28:27) INFO: [Backend]: Frontend Ready
(22:28:27) INFO: [Backend]: Checking for new Heroic Updates
(22:28:27) INFO: [Backend]: Checking for current version changelog
(22:28:27) INFO: [Gog]: Found 0 game(s) to update
(22:28:27) INFO: [Gog]: Saved username to config file
(22:28:28) INFO: [Winetricks]: Downloading Winetricks
(22:28:30) INFO: [Backend]: Launching Baldur's Gate: Enhanced Edition (1207666353)
(22:28:30) INFO: [Backend]: Preventing display from sleep
(22:28:30) INFO: [Backend]: Checking if wine version exists: Wine - Wine-GE-latest
(22:28:30) INFO: [Backend]: Preventing machine to sleep
(22:28:30) INFO: [Backend]: Stopping Power Saver Blocker
(22:28:30) INFO: [Backend]: Checking if wine version exists: Wine - Wine-GE-latest
(22:28:30) INFO: [Backend]: Checking if wine version exists: Wine - Wine-GE-latest
(22:28:30) INFO: [Backend]: Checking if wine version exists: Wine - Wine-GE-latest
(22:28:30) DEBUG: [Backend]: Running Wine command: wineboot --init
(22:28:31) INFO: [Gog]: Launching Baldur's Gate: Enhanced Edition: LD_LIBRARY_PATH=/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib64:/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib:/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32 LD_PRELOAD= WINEPREFIX="/home/jonathan/Games/Heroic/Prefixes/Baldurs Gate Enhanced Edition" WINEDLLOVERRIDES=winemenubuilder.exe=d ORIG_LD_LIBRARY_PATH=/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32 GST_PLUGIN_SYSTEM_PATH_1_0=/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib64/gstreamer-1.0:/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib/gstreamer-1.0 WINEDLLPATH=/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib64/wine:/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib/wine /nix/store/n9s8a6rw49xxb175wvgmhbr3vqx06xlk-heroic-unwrapped-2.8.0/share/heroic/build/bin/linux/gogdl --auth-config-path /home/jonathan/.config/heroic/gog_store/auth.json launch "/data/Games/Heroic/Baldur's Gate - Enhanced Edition" 1207666353 --wine /home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/bin/wine --platform windows
(22:28:32) INFO: [Backend]: Starting the Download Queue
(22:28:32) INFO: [Backend]: Stopping Display Power Saver Blocker
(22:28:32) INFO: [Frontend]: Refreshing gog Library
(22:28:32) INFO: [Gog]: Running command: /nix/store/n9s8a6rw49xxb175wvgmhbr3vqx06xlk-heroic-unwrapped-2.8.0/share/heroic/build/bin/linux/gogdl --auth-config-path /home/jonathan/.config/heroic/gog_store/auth.json auth
(22:28:32) INFO: [Gog]: Getting GOG library
(22:28:33) INFO: [Gog]: Number of library pages: 2
(22:28:33) INFO: [Gog]: Getting data for page 2
(22:28:33) INFO: [Gog]: Running command: /nix/store/n9s8a6rw49xxb175wvgmhbr3vqx06xlk-heroic-unwrapped-2.8.0/share/heroic/build/bin/linux/gogdl --auth-config-path /home/jonathan/.config/heroic/gog_store/auth.json auth
(22:28:34) INFO: [Gog]: Saved games data
Heroic Version: 2.8.0 Nico Robin
Legendary Version: 0.20.32 Dark Energy (hotfix #6)
GOGdl Version: 0.7.2
Electron Version: 25.1.1
Chrome Version: 114.0.5735.106
NodeJS Version: 18.15.0
OS: NixOS KERNEL: 6.1.34 ARCH: x64
CPU: AMD Ryzen 7 3700X 8-Core Processor @3.6 GOVERNOR: performance
RAM: Total: 62.74 GiB Available: 60.06 GiB
GRAPHICS:
PROTOCOL: x11
(22:28:27) INFO: [Backend]: Loading Screen Ready
(22:28:27) INFO: [Frontend]: Refreshing undefined Library
(22:28:27) WARNING: [Backend]: listUpdateableGames not implemented on Sideload Library Manager
(22:28:27) INFO: [Backend]: Frontend Ready
(22:28:27) INFO: [Backend]: Checking for new Heroic Updates
(22:28:27) INFO: [Backend]: Checking for current version changelog
(22:28:27) INFO: [Gog]: Found 0 game(s) to update
(22:28:27) INFO: [Gog]: Saved username to config file
(22:28:28) INFO: [Winetricks]: Downloading Winetricks
(22:28:30) INFO: [Backend]: Launching Baldur's Gate: Enhanced Edition (1207666353)
(22:28:30) INFO: [Backend]: Preventing display from sleep
(22:28:30) INFO: [Backend]: Checking if wine version exists: Wine - Wine-GE-latest
(22:28:30) INFO: [Backend]: Preventing machine to sleep
(22:28:30) INFO: [Backend]: Stopping Power Saver Blocker
(22:28:30) INFO: [Backend]: Checking if wine version exists: Wine - Wine-GE-latest
(22:28:30) INFO: [Backend]: Checking if wine version exists: Wine - Wine-GE-latest
(22:28:30) INFO: [Backend]: Checking if wine version exists: Wine - Wine-GE-latest
(22:28:30) DEBUG: [Backend]: Running Wine command: wineboot --init
(22:28:31) INFO: [Gog]: Launching Baldur's Gate: Enhanced Edition: LD_LIBRARY_PATH=/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib64:/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib:/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32 LD_PRELOAD= WINEPREFIX="/home/jonathan/Games/Heroic/Prefixes/Baldurs Gate Enhanced Edition" WINEDLLOVERRIDES=winemenubuilder.exe=d ORIG_LD_LIBRARY_PATH=/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32 GST_PLUGIN_SYSTEM_PATH_1_0=/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib64/gstreamer-1.0:/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib/gstreamer-1.0 WINEDLLPATH=/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib64/wine:/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib/wine /nix/store/n9s8a6rw49xxb175wvgmhbr3vqx06xlk-heroic-unwrapped-2.8.0/share/heroic/build/bin/linux/gogdl --auth-config-path /home/jonathan/.config/heroic/gog_store/auth.json launch "/data/Games/Heroic/Baldur's Gate - Enhanced Edition" 1207666353 --wine /home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/bin/wine --platform windows
(22:28:32) INFO: [Backend]: Starting the Download Queue
(22:28:32) INFO: [Backend]: Stopping Display Power Saver Blocker
(22:28:32) INFO: [Frontend]: Refreshing gog Library
(22:28:32) INFO: [Gog]: Running command: /nix/store/n9s8a6rw49xxb175wvgmhbr3vqx06xlk-heroic-unwrapped-2.8.0/share/heroic/build/bin/linux/gogdl --auth-config-path /home/jonathan/.config/heroic/gog_store/auth.json auth
(22:28:32) INFO: [Gog]: Getting GOG library
(22:28:33) INFO: [Gog]: Number of library pages: 2
(22:28:33) INFO: [Gog]: Getting data for page 2
(22:28:33) INFO: [Gog]: Running command: /nix/store/n9s8a6rw49xxb175wvgmhbr3vqx06xlk-heroic-unwrapped-2.8.0/share/heroic/build/bin/linux/gogdl --auth-config-path /home/jonathan/.config/heroic/gog_store/auth.json auth
(22:28:34) INFO: [Gog]: Saved games data
23 Replies
like-gold
like-gold2y ago
That's not the correct log.
conscious-sapphire
conscious-sapphireOP2y ago
That might be the reason!
like-gold
like-gold2y ago
The correct log can be accessed by clicking on the game card in Heroic and clicking on "Report a problem" at the bottom.
conscious-sapphire
conscious-sapphireOP2y ago
I should've known this since I've done this before... sorry. Posting in the next post.
Game Settings: {
"autoInstallDxvk": false,
"autoInstallVkd3d": false,
"preferSystemLibs": false,
"nvidiaPrime": false,
"enviromentOptions": [],
"wrapperOptions": [],
"showFps": false,
"useGameMode": false,
"language": "",
"wineVersion": {
"bin": "/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/bin/wine",
"name": "Wine - Wine-GE-latest",
"type": "wine",
"lib": "/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib64",
"lib32": "/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib",
"wineserver": "/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/bin/wineserver"
},
"winePrefix": "/home/jonathan/Games/Heroic/Prefixes/Baldurs Gate Enhanced Edition",
"wineCrossoverBottle": "",
"gogSaves": [
{
"name": "saves",
"location": "/home/jonathan/Games/Heroic/Prefixes/Baldurs Gate Enhanced Edition/dosdevices/c:/users/jonathan/Documents/Baldur's Gate - Enhanced Edition"
}
]
}

Game launched at: Sat Jun 17 2023 22:28:30 GMT+0100 (British Summer Time)

System Info:
Heroic Version: 2.8.0 Nico Robin
Legendary Version: 0.20.32 Dark Energy (hotfix #6)
GOGdl Version: 0.7.2

Electron Version: 25.1.1
Chrome Version: 114.0.5735.106
NodeJS Version: 18.15.0

OS: NixOS KERNEL: 6.1.34 ARCH: x64
CPU: AMD Ryzen 7 3700X 8-Core Processor @3.6 GOVERNOR: performance
RAM: Total: 62.74 GiB Available: 60.06 GiB
GRAPHICS:
PROTOCOL: x11

Launch Command: LD_LIBRARY_PATH=/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib64:/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib:/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32 LD_PRELOAD= WINEPREFIX="/home/jonathan/Games/Heroic/Prefixes/Baldurs Gate Enhanced Edition" WINEDLLOVERRIDES=winemenubuilder.exe=d ORIG_LD_LIBRARY_PATH=/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32 GST_PLUGIN_SYSTEM_PATH_1_0=/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib64/gstreamer-1.0:/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib/gstreamer-1.0 WINEDLLPATH=/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib64/wine:/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib/wine /nix/store/n9s8a6rw49xxb175wvgmhbr3vqx06xlk-heroic-unwrapped-2.8.0/share/heroic/build/bin/linux/gogdl launch "/data/Games/Heroic/Baldur's Gate - Enhanced Edition" 1207666353 --wine /home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/bin/wine --platform windows

Game Log:
wineserver: using server-side synchronization.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
002c:fixme:winediag:LdrInitializeThunk wine-staging 8.0 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0078:err:hid:udev_bus_init UDEV monitor creation failed
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00c4:err:module:import_dll Library OpenAL32.dll (which is needed by L"Z:\\data\\Games\\Heroic\\Baldur's Gate - Enhanced Edition\\Baldur.exe") not found
00c4:err:module:LdrInitializeThunk Importing dlls for L"Z:\\data\\Games\\Heroic\\Baldur's Gate - Enhanced Edition\\Baldur.exe" failed, status c0000135
Launch command: ['/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/bin/wine', "/data/Games/Heroic/Baldur's Gate - Enhanced Edition/Baldur.exe"]
All processes exited
Game Settings: {
"autoInstallDxvk": false,
"autoInstallVkd3d": false,
"preferSystemLibs": false,
"nvidiaPrime": false,
"enviromentOptions": [],
"wrapperOptions": [],
"showFps": false,
"useGameMode": false,
"language": "",
"wineVersion": {
"bin": "/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/bin/wine",
"name": "Wine - Wine-GE-latest",
"type": "wine",
"lib": "/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib64",
"lib32": "/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib",
"wineserver": "/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/bin/wineserver"
},
"winePrefix": "/home/jonathan/Games/Heroic/Prefixes/Baldurs Gate Enhanced Edition",
"wineCrossoverBottle": "",
"gogSaves": [
{
"name": "saves",
"location": "/home/jonathan/Games/Heroic/Prefixes/Baldurs Gate Enhanced Edition/dosdevices/c:/users/jonathan/Documents/Baldur's Gate - Enhanced Edition"
}
]
}

Game launched at: Sat Jun 17 2023 22:28:30 GMT+0100 (British Summer Time)

System Info:
Heroic Version: 2.8.0 Nico Robin
Legendary Version: 0.20.32 Dark Energy (hotfix #6)
GOGdl Version: 0.7.2

Electron Version: 25.1.1
Chrome Version: 114.0.5735.106
NodeJS Version: 18.15.0

OS: NixOS KERNEL: 6.1.34 ARCH: x64
CPU: AMD Ryzen 7 3700X 8-Core Processor @3.6 GOVERNOR: performance
RAM: Total: 62.74 GiB Available: 60.06 GiB
GRAPHICS:
PROTOCOL: x11

Launch Command: LD_LIBRARY_PATH=/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib64:/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib:/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32 LD_PRELOAD= WINEPREFIX="/home/jonathan/Games/Heroic/Prefixes/Baldurs Gate Enhanced Edition" WINEDLLOVERRIDES=winemenubuilder.exe=d ORIG_LD_LIBRARY_PATH=/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32 GST_PLUGIN_SYSTEM_PATH_1_0=/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib64/gstreamer-1.0:/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib/gstreamer-1.0 WINEDLLPATH=/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib64/wine:/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/lib/wine /nix/store/n9s8a6rw49xxb175wvgmhbr3vqx06xlk-heroic-unwrapped-2.8.0/share/heroic/build/bin/linux/gogdl launch "/data/Games/Heroic/Baldur's Gate - Enhanced Edition" 1207666353 --wine /home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/bin/wine --platform windows

Game Log:
wineserver: using server-side synchronization.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
002c:fixme:winediag:LdrInitializeThunk wine-staging 8.0 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0078:err:hid:udev_bus_init UDEV monitor creation failed
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00c4:err:module:import_dll Library OpenAL32.dll (which is needed by L"Z:\\data\\Games\\Heroic\\Baldur's Gate - Enhanced Edition\\Baldur.exe") not found
00c4:err:module:LdrInitializeThunk Importing dlls for L"Z:\\data\\Games\\Heroic\\Baldur's Gate - Enhanced Edition\\Baldur.exe" failed, status c0000135
Launch command: ['/home/jonathan/.config/heroic/tools/wine/Wine-GE-latest/bin/wine', "/data/Games/Heroic/Baldur's Gate - Enhanced Edition/Baldur.exe"]
All processes exited
Missing OpenAL32.dll I guess
like-gold
like-gold2y ago
Yeah. Either that's a dependency of the game (see if it has a _redist directory or similar with installers that you can run in the prefix), or it could be a Wine dependency otherwise (see 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.
conscious-sapphire
conscious-sapphireOP2y ago
So in the __redist directory there is a folder called openAL with oalinst.exe inside of it.
like-gold
like-gold2y ago
There you go. Run that in the prefix (there's an option to do so in the settings page of the game), and that should solve it.
conscious-sapphire
conscious-sapphireOP2y ago
That worked! Thanks. Is it worth reporting/writing this down somewhere (other than here)?
passive-yellow
passive-yellow2y ago
nope, it will be done automatically in the future why not using Linux native version of the game (I'm just curious)
conscious-sapphire
conscious-sapphireOP2y ago
Last I checked, the Heroic launcher didn't work installing Linux stuff from GOG.
passive-yellow
passive-yellow2y ago
could you elaborate? Linux native games from GOG work fine
conscious-sapphire
conscious-sapphireOP2y ago
I tried with Pillars of Eternity a few weeks ago via GOG and it didn't. I was told it would be fixed in the "next release" (this was a previous version release) but it still didn't work for me. Can try BG again now I guess now I know how to get it to work.
passive-yellow
passive-yellow2y ago
you are fine with wine version, I'll debug Linux native stuff myself
conscious-sapphire
conscious-sapphireOP2y ago
Just tested again and same result - it thinks it should be running wine by the looks of it during install which of course fails.
like-gold
like-gold2y ago
There was a bug that prevented intalling Linux-native games. It's fixed in the latest version, though.
conscious-sapphire
conscious-sapphireOP2y ago
This is using 2.8.0 Is there a later version?
genetic-orange
genetic-orange2y ago
@Linguin @J. King @AdmiralJonB im having the same issue but ive tried windows and linux Game Settings: { "autoInstallDxvk": true, "autoInstallVkd3d": true, "preferSystemLibs": false, "nvidiaPrime": false, "enviromentOptions": [], "wrapperOptions": [], "showFps": false, "targetExe": "", "useGameMode": false, "language": "", "wineVersion": { "bin": "/run/media/mmcblk0p1/steamapps/common/Proton - Experimental/proton", "name": "Proton - Proton - Experimental", "type": "proton" }, "winePrefix": "/run/media/mmcblk0p1/Heroic/Baldurs Gate Enhanced Edition", "gogSaves": [ { "name": "saves", "location": "/run/media/mmcblk0p1/Heroic/Baldurs Gate Enhanced Edition/pfx/dosdevices/c:/users/steamuser/Documents/Baldur's Gate - Enhanced Edition" } ] } Game launched at: Tue Jun 27 2023 16:51:15 GMT-0400 (Eastern Daylight Time) System Info: Heroic Version: 2.8.0 Nico Robin Legendary Version: 0.20.32 Dark Energy (hotfix #6) GOGdl Version: 0.7.2 Electron Version: 23.1.4 Chrome Version: 110.0.5481.192 NodeJS Version: 18.12.1 OS: Freedesktop SDK KERNEL: 5.13.0-valve36-1-neptune ARCH: x64 CPU: AMD Custom APU 0405 @3.24 GOVERNOR: schedutil RAM: Total: 14.47 GiB Available: 10.66 GiB GRAPHICS: GPU0: VanGogh [AMD Custom GPU 0405] VRAM: 512MB PROTOCOL: x11 Launch Command: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl launch "/run/media/mmcblk0p1/steamapps/common/Baldur's Gate - Enhanced Edition" 1207666353 --platform linux Game Log: Running Baldur's Gate: Enhanced Edition ./BaldursGate: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory Launch command: ["/run/media/mmcblk0p1/steamapps/common/Baldur's Gate - Enhanced Edition/start.sh"] All processes exited
passive-yellow
passive-yellow2y ago
steam runtime should do
like-gold
like-gold2y ago
That log clearly shows you're missing a library, probably 32-bit libssl. It also—damn, Linguin beat me to it.
passive-yellow
passive-yellow2y ago
:sunglase:
like-gold
like-gold2y ago
I was going to say that Steam OS is different enough from most other Linuxes that you probably shouldn't re-use a Linux-tagged topic without spelling out hat you're using Steam OS, to avoid confusion. Because, indeed, in your case using the Steam runtime is the correct course of action because a) it's always available, and b) installing the missing library is not a reliable solution because the root filesystem is read-only. </rant>
genetic-orange
genetic-orange2y ago
Im very sorry about that! I assumed the wrong procedure. Thanks for explaining
like-gold
like-gold2y ago
Sorry, I didn't mean to come off as chiding. Just something to keep in mind. 🙂

Did you find this page helpful?