HGL
correct-apricot

Dosbox game in GOG

Hello I try run Ultima I in my arch linux with heroic 2.11 and proton 8.21 but the game not running. How to debug my launcher to check this error? My report error
System Info:
CPU: 20x 12th Gen Intel(R) Core(TM) i7-12700H
Memory: 33.39 GB (used: 18.41 GB)
GPUs:
GPU 0:
Name: Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics]
IDs: D=46a6 V=8086 SD=1171 SV=1d05
Driver: i915
OS: Arch Linux 6.6.3-arch1-1 (linux)

The current system is not a Steam Deck
We are not running inside a Flatpak container

Software Versions:
Heroic: 2.11.0 Kumachi
Legendary: 0.20.33 Undue Alarm
gogdl: 0.7.3
Nile: 1.0.0 Jonathan Joestar

Game Settings: {
"autoInstallDxvk": true,
"autoInstallVkd3d": false,
"preferSystemLibs": false,
"enableEsync": true,
"enableFsync": true,
"nvidiaPrime": false,
"enviromentOptions": [],
"wrapperOptions": [],
"showFps": false,
"useGameMode": false,
"language": "",
"wineVersion": {
"bin": "/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/bin/wine",
"name": "Wine - Wine-GE-Proton8-20",
"type": "wine",
"lib": "/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/lib64",
"lib32": "/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/lib",
"wineserver": "/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/bin/wineserver"
},
"winePrefix": "/home/feanor/Games/Heroic/Prefixes/default/Ultima I ",
"wineCrossoverBottle": "",
"gogSaves": [
{
"name": "saves",
"location": ""
}
],
"autoInstallDxvkNvapi": true
}

Game launched at: Fri Dec 08 2023 17:53:20 GMT+0100 (Central European Standard Time)

Launch Command: DOTNET_ROOT= DOTNET_BUNDLE_EXTRACT_BASE_DIR= HEROIC_APP_NAME=1207662593 HEROIC_APP_RUNNER=gog HEROIC_APP_SOURCE=gog LD_PRELOAD= WINEPREFIX="/home/feanor/Games/Heroic/Prefixes/default/Ultima I " WINEDLLOVERRIDES=winemenubuilder.exe=d WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 DXVK_ENABLE_NVAPI=1 DXVK_NVAPI_ALLOW_OTHER_DRIVERS=1 ORIG_LD_LIBRARY_PATH= LD_LIBRARY_PATH=/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/lib64:/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/lib GST_PLUGIN_SYSTEM_PATH_1_0=/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/lib64/gstreamer-1.0:/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/lib/gstreamer-1.0 WINEDLLPATH=/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/lib64/wine:/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/lib/wine /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl launch "/home/feanor/Games/Heroic/Ultima 1" 1207662593 --wine /home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/bin/wine --platform windows

Game Log:
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
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.
wine: could not load kernel32.dll, status c0000135
Launch command: ['/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/bin/wine', '/home/feanor/Games/Heroic/Ultima 1/DOSBOX/DOSBox.exe', '-conf', '..\\dosboxULTIMA1.conf', '-conf', '..\\dosboxULTIMA1_single.conf', '-noconsole', '-c', 'exit']
All processes exited
System Info:
CPU: 20x 12th Gen Intel(R) Core(TM) i7-12700H
Memory: 33.39 GB (used: 18.41 GB)
GPUs:
GPU 0:
Name: Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics]
IDs: D=46a6 V=8086 SD=1171 SV=1d05
Driver: i915
OS: Arch Linux 6.6.3-arch1-1 (linux)

The current system is not a Steam Deck
We are not running inside a Flatpak container

Software Versions:
Heroic: 2.11.0 Kumachi
Legendary: 0.20.33 Undue Alarm
gogdl: 0.7.3
Nile: 1.0.0 Jonathan Joestar

Game Settings: {
"autoInstallDxvk": true,
"autoInstallVkd3d": false,
"preferSystemLibs": false,
"enableEsync": true,
"enableFsync": true,
"nvidiaPrime": false,
"enviromentOptions": [],
"wrapperOptions": [],
"showFps": false,
"useGameMode": false,
"language": "",
"wineVersion": {
"bin": "/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/bin/wine",
"name": "Wine - Wine-GE-Proton8-20",
"type": "wine",
"lib": "/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/lib64",
"lib32": "/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/lib",
"wineserver": "/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/bin/wineserver"
},
"winePrefix": "/home/feanor/Games/Heroic/Prefixes/default/Ultima I ",
"wineCrossoverBottle": "",
"gogSaves": [
{
"name": "saves",
"location": ""
}
],
"autoInstallDxvkNvapi": true
}

Game launched at: Fri Dec 08 2023 17:53:20 GMT+0100 (Central European Standard Time)

Launch Command: DOTNET_ROOT= DOTNET_BUNDLE_EXTRACT_BASE_DIR= HEROIC_APP_NAME=1207662593 HEROIC_APP_RUNNER=gog HEROIC_APP_SOURCE=gog LD_PRELOAD= WINEPREFIX="/home/feanor/Games/Heroic/Prefixes/default/Ultima I " WINEDLLOVERRIDES=winemenubuilder.exe=d WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 DXVK_ENABLE_NVAPI=1 DXVK_NVAPI_ALLOW_OTHER_DRIVERS=1 ORIG_LD_LIBRARY_PATH= LD_LIBRARY_PATH=/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/lib64:/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/lib GST_PLUGIN_SYSTEM_PATH_1_0=/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/lib64/gstreamer-1.0:/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/lib/gstreamer-1.0 WINEDLLPATH=/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/lib64/wine:/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/lib/wine /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl launch "/home/feanor/Games/Heroic/Ultima 1" 1207662593 --wine /home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/bin/wine --platform windows

Game Log:
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
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.
wine: could not load kernel32.dll, status c0000135
Launch command: ['/home/feanor/.config/heroic/tools/wine/Wine-GE-Proton8-20/bin/wine', '/home/feanor/Games/Heroic/Ultima 1/DOSBOX/DOSBox.exe', '-conf', '..\\dosboxULTIMA1.conf', '-conf', '..\\dosboxULTIMA1_single.conf', '-noconsole', '-c', 'exit']
All processes exited
8 Replies
harsh-harlequin
harsh-harlequin2y ago
looks like your prefix is broken wine: could not load kernel32.dll, status c0000135 make sure you have all the wine dependencies installed (read https://discord.com/channels/812703221789097985/1044301598018515105), then delete this folder /home/feanor/Games/Heroic/Prefixes/default/Ultima I (if you have save files, copy them somewhere), then change the prefix setting of the game to be /home/feanor/Games/Heroic/Prefixes/Ultima I (without the default part), then run the game again if you still have problems share a new log
other-emerald
other-emerald2y ago
For DOSBox I'd recommend setting up custom script that would use native DOSBox version that would give far better performance than wine
correct-apricot
correct-apricot2y ago
Moreover, the version of DOSBox GOG ships is ancient and still uses SDL 1.x. You're much better off using something like DOSBox Staging or DOSBox-X.
harsh-harlequin
harsh-harlequin2y ago
is there some guide on how to do that?
other-emerald
other-emerald2y ago
I think we have something on our wiki I wrote it when I introduced GOG support
harsh-harlequin
harsh-harlequin2y ago
correct-apricot
correct-apricotOP2y ago
Thank you for your responses, I think I don't understand. I have installed dosbox on my computer but I don´t know how to download the game in Gog. I try to set the game to run offline in heroic and user proton I receive a brick in my default workspace but I change my window to the game run, but I don 't like this form to run the game. In this wiki:
Those are schemes for commands using both tools used when launching games using packaged binary. You can check what arguments are passed exactly in start.sh file.

Dosbox dosbox -conf "${conf_1}" -conf "${conf_2}" -no-console -c exit
Those are schemes for commands using both tools used when launching games using packaged binary. You can check what arguments are passed exactly in start.sh file.

Dosbox dosbox -conf "${conf_1}" -conf "${conf_2}" -no-console -c exit
I don't understante whre stay the start.sh file. This line pass with argument in the game or run in terminal ?
correct-apricot
correct-apricotOP2y ago
Reddit
From the linux_gaming community on Reddit
Explore this post and more from the linux_gaming community

Did you find this page helpful?