Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GOG Witcher 2 runs under WineGE, but not ProtonGE with umu #315

Closed
thatLeaflet opened this issue Dec 25, 2024 · 15 comments
Closed

GOG Witcher 2 runs under WineGE, but not ProtonGE with umu #315

thatLeaflet opened this issue Dec 25, 2024 · 15 comments

Comments

@thatLeaflet
Copy link

Describe the bug

Thought I would report this since the intention is to move to ProtonGE and umu in the future. Apologize if this isn't the right place to report.

When installing the Witcher 2's Windows version from GOG, the game will fail to launch when using ProtonGE and umu. In Heroic, it was say the game is running for a few seconds before closing.

However, when using WineGE, the game's launcher will open without issue.

Interestingly, if you create the wine prefix by first launching the game with WineGE then switch to ProtonGE, the game will run.

Add logs

Launching "The Witcher 2: Assassins of Kings Enhanced Edition" (gog)

Native? No

Installed in: /run/media/username/legion/games/heroic/The Witcher 2

System Info:

CPU: 12x AMD Ryzen 5 5600X 6-Core Processor

Memory: 16.68 GB (used: 4.15 GB)

GPUs:

  GPU 0:

    Name: Advanced Micro Devices, Inc. [AMD/ATI] Speedster QICK 319 RX 6700 XT

    IDs: D=73df V=1002 SD=6601 SV=1eae

    Driver: amdgpu

OS: Fedora Linux 41.20241217.0 (Silverblue) (linux)

The current system is not a Steam Deck

We are running inside a Flatpak container

Software Versions:

  Heroic: 2.15.2 Emeth

  Legendary: 0.20.36 Urban Flight (Heroic)

  gogdl: 1.1.2

  comet: comet 0.1.2

  Nile: 1.1.2 Will A. Zeppeli

Game Settings: {

	"autoInstallDxvk": true,

	"autoInstallDxvkNvapi": false,

	"autoInstallVkd3d": true,

	"preferSystemLibs": false,

	"enableEsync": true,

	"enableMsync": false,

	"enableFsync": true,

	"nvidiaPrime": false,

	"enviromentOptions": [],

	"wrapperOptions": [],

	"showFps": false,

	"useGameMode": true,

	"useSteamRuntime": false,

	"battlEyeRuntime": true,

	"eacRuntime": true,

	"language": "",

	"beforeLaunchScriptPath": "",

	"afterLaunchScriptPath": "",

	"wineVersion": {

		"bin": "/var/home/username/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/proton/Proton-GE-latest/proton",

		"name": "Proton - Proton-GE-latest",

		"type": "proton"

	},

	"winePrefix": "/run/media/username/legion/games/heroic/Prefixes/The Witcher 2 Assassins of Kings Enhanced Edition",

	"wineCrossoverBottle": "",

	"gogSaves": [

		{

			"name": "saves",

			"location": "/run/media/username/legion/games/heroic/Prefixes/The Witcher 2 Assassins of Kings Enhanced Edition/pfx/dosdevices/c:/users/steamuser/Documents/Witcher 2/gamesavesCommand exited with status: 0"

		}

	]

}

Game launched at: Thu Dec 19 2024 21:55:42 GMT-0500 (Eastern Standard Time)

Winetricks packages: 

Launch Command: HEROIC_APP_NAME=1207658930 HEROIC_APP_RUNNER=gog GAMEID=umu-20920 HEROIC_APP_SOURCE=gog STORE=gog STEAM_COMPAT_INSTALL_PATH="/run/media/username/legion/games/heroic/The Witcher 2" LD_PRELOAD= STEAM_COMPAT_CLIENT_INSTALL_PATH=/var/home/username/.var/app/com.heroicgameslauncher.hgl/.steam/steam WINEPREFIX="/run/media/username/legion/games/heroic/Prefixes/The Witcher 2 Assassins of Kings Enhanced Edition" STEAM_COMPAT_DATA_PATH="/run/media/username/legion/games/heroic/Prefixes/The Witcher 2 Assassins of Kings Enhanced Edition" PROTONPATH=/var/home/username/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/proton/Proton-GE-latest WINE_FULLSCREEN_FSR=0 PROTON_DISABLE_NVAPI=1 PROTON_EAC_RUNTIME=/var/home/username/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/runtimes/eac_runtime PROTON_BATTLEYE_RUNTIME=/var/home/username/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/runtimes/battleye_runtime STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId="heroic-The Witcher 2" PROTON_LOG_DIR=/var/home/username/.var/app/com.heroicgameslauncher.hgl /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl launch "/run/media/username/legion/games/heroic/The Witcher 2" 1207658930 --no-wine --wrapper "/app/bin/gamemoderun "/var/home/username/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/runtimes/umu/umu_run.py"" --platform windows

Game Log:

gamemodeauto: 

�[1mumu-launcher version 1.1.3 (3.11.11 (main, Nov 10 2011, 15:00:00) [GCC 13.2.0])�[0m

�[1msteamrt is up to date�[0m

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

�[34mProtonFixes[28149] INFO: Running protonfixes�[0m

�[34mProtonFixes[28149] INFO: Running checks�[0m

�[34mProtonFixes[28149] INFO: All checks successful�[0m

�[34mProtonFixes[28149] INFO: Non-steam game The Witcher 2: Assassins of Kings Enhanced Edition (umu-20920)�[0m

�[34mProtonFixes[28149] INFO: GOG store specified, using GOG database�[0m

�[34mProtonFixes[28149] INFO: No global defaults found for The Witcher 2: Assassins of Kings Enhanced Edition (umu-20920)�[0m

�[34mProtonFixes[28149] INFO: Non-steam game The Witcher 2: Assassins of Kings Enhanced Edition (umu-20920)�[0m

�[34mProtonFixes[28149] INFO: GOG store specified, using GOG database�[0m

�[34mProtonFixes[28149] INFO: Using global protonfix for The Witcher 2: Assassins of Kings Enhanced Edition (umu-20920)�[0m

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

Proton: /run/media/username/legion/games/heroic/The Witcher 2/Launcher.exe

Proton: Executable a unix path, launching with /unix option.

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

fsync: up and running.

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

Command exited with status: 0

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

Launch command: ['/app/bin/gamemoderun', '/var/home/username/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/runtimes/umu/umu_run.py', '/run/media/username/legion/games/heroic/The Witcher 2/Launcher.exe']

All processes exited

============= End of log =============

Steps to reproduce

  1. Install Witcher 2 Windows version
  2. Enable umu
  3. Switch game to use ProtonGE
  4. Launch game
  5. Witness game not launching

Expected behavior

Game will launch

Screenshots

No response

Heroic Version

Latest Stable (Flatpak)

System Information

CPU: 12x AMD Ryzen 5 5600X 6-Core Processor
Memory: 16.68 GB (used: 6.75 GB)
GPUs:
GPU 0:
Name: Advanced Micro Devices, Inc. [AMD/ATI] Speedster QICK 319 RX 6700 XT
IDs: D=73df V=1002 SD=6601 SV=1eae
Driver: amdgpu
OS: Fedora Linux 41.20241217.0 (Silverblue) (linux)

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

Software Versions:
Heroic: 2.15.2 Emeth
Legendary: 0.20.36 Urban Flight (Heroic)
gogdl: 1.1.2
comet: comet 0.1.2

Nile: 1.1.2 Will A. Zeppeli

Additional information

No response

@R1kaB3rN
Copy link
Member

In this issue tracker, please use the umu-launcher tool directly to run your game if you're hoping to get any support. For example:

GAMEID=umu-0 PROTONPATH=/var/home/username/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/proton/Proton-GE-latest STEAM_COMPAT_INSTALL_PATH="/run/media/username/legion/games/heroic/The Witcher 2" umu-run '/run/media/username/legion/games/heroic/The Witcher 2/Launcher.exe'

Either build the latest user install of umu-launcher, install it from your distribution, or download the version 1.1.4. For building see the instructions listed in our README for more details.

@R1kaB3rN R1kaB3rN added the question Further information is requested label Dec 25, 2024
@R1kaB3rN
Copy link
Member

In fact, forget about building/installing, you can just copy the one sourced from HGL.

@thatLeaflet
Copy link
Author

This is what I get when launching Witcher 2. The Witcher 2 simply exits, nothing ever appears on screen and I did not see it in my processes.

[📦 com.heroicgameslauncher.hgl ~]$ GAMEID=umu-0 PROTONPATH=/var/home/username/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/proton/Proton-GE-latest STEAM_COMPAT_INSTALL_PATH="/run/media/legion/games/heroic/The Witcher 2" ~/config/heroic/tools/runtimes/umu//umu-run '/run/media/legion/games/heroic/The Witcher 2/Launcher.exe'
umu-launcher version 1.1.3 (3.11.11 (main, Nov 10 2011, 15:00:00) [GCC 13.2.0])
steamrt is up to date
ProtonFixes[83] INFO: Running protonfixes
ProtonFixes[83] INFO: Running checks
ProtonFixes[83] INFO: All checks successful
ProtonFixes[83] WARN: Game title not found in CSV
ProtonFixes[83] INFO: Non-steam game UNKNOWN (umu-0)
ProtonFixes[83] INFO: No store specified, using UMU database
ProtonFixes[83] INFO: Using global defaults for UNKNOWN (umu-0)
ProtonFixes[83] INFO: Non-steam game UNKNOWN (umu-0)
ProtonFixes[83] INFO: No store specified, using UMU database
ProtonFixes[83] INFO: No global protonfix found for UNKNOWN (umu-0)
Proton: /run/media/legion/games/heroic/The Witcher 2/Launcher.exe
Proton: Executable a unix path, launching with /unix option.
fsync: up and running.
Command exited with status: 0

To ensure this was just a Witcher 2 problem, I also tested running Fallout 3, which launched without issue.

[📦 com.heroicgameslauncher.hgl ~]$ GAMEID=umu-0 PROTONPATH=/var/home/username/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/proton/Proton-GE-latest STEAM_COMPAT_INSTALL_PATH="/run/media/legion/games/heroic/Fallout 3/FalloutLauncher.exe" ~/config/heroic/tools/runtimes/umu//umu-run '/run/media/legion/games/heroic/Fallout 3/FalloutLauncher.exe'
umu-launcher version 1.1.3 (3.11.11 (main, Nov 10 2011, 15:00:00) [GCC 13.2.0])
steamrt is up to date
ProtonFixes[219] INFO: Running protonfixes
ProtonFixes[219] INFO: Running checks
ProtonFixes[219] INFO: All checks successful
ProtonFixes[219] WARN: Game title not found in CSV
ProtonFixes[219] INFO: Non-steam game UNKNOWN (umu-0)
ProtonFixes[219] INFO: No store specified, using UMU database
ProtonFixes[219] INFO: Using global defaults for UNKNOWN (umu-0)
ProtonFixes[219] INFO: Non-steam game UNKNOWN (umu-0)
ProtonFixes[219] INFO: No store specified, using UMU database
ProtonFixes[219] INFO: No global protonfix found for UNKNOWN (umu-0)
Proton: /run/media/legion/games/heroic/Fallout 3/FalloutLauncher.exe
Proton: Executable a unix path, launching with /unix option.
fsync: up and running.
Command exited with status: 0
/usr/lib/i386-linux-gnu/GL/default/share/libdrm/amdgpu.ids: No such file or directory

@R1kaB3rN
Copy link
Member

R1kaB3rN commented Dec 25, 2024

Interesting, especially since you said,
“if you create the wine prefix by first launching the game with WineGE then switch to ProtonGE, the game will run.”

So this narrows down the problem scope a bit.

Also, do you mind setting GAMEID=umu-20920 and STORE=gog just like in Heroic’s command line? According to the umu database, there’s a fix for this game so I was incorrect to suggest setting GAMEID=umu-0 as an example. Be sure $HOME/Games/umu/umu-20920 is a new prefix.

If still nada, then we’ll need to see the wine debug logs.

@R1kaB3rN
Copy link
Member

To generate the wine log, set WINEDEBUG=+fixme

Also, setting DXVK_LOG_LEVEL=info and VKD3D_DEBUG=fixme would also be helpful

@R1kaB3rN R1kaB3rN added the bug Something isn't working label Dec 25, 2024
@thatLeaflet
Copy link
Author

thatLeaflet commented Dec 25, 2024

[📦 com.heroicgameslauncher.hgl ~]$ GAMEID=umu-20920 STORE=gog WINEDEBUG=+fixme DXVK_LOG_LEVEL=info VKD3D_DEBUG=fixme PROTONPATH=/var/home/username/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/proton/Proton-GE-latest STEAM_COMPAT_INSTALL_PATH="/run/media/legion/games/heroic/The Witcher 2" ~/config/heroic/tools/runtimes/umu//umu-run '/run/media/legion/games/heroic/The Witcher 2/Launcher.exe'
umu-launcher version 1.1.3 (3.11.11 (main, Nov 10 2011, 15:00:00) [GCC 13.2.0])
steamrt is up to date
Proton: Upgrading prefix from None to GE-Proton9-21 (/var/home/username/Games/umu/umu-20920/)
ProtonFixes[219] INFO: Running protonfixes
ProtonFixes[219] INFO: Running checks
ProtonFixes[219] INFO: All checks successful
ProtonFixes[219] INFO: Non-steam game The Witcher 2: Assassins of Kings Enhanced Edition (umu-20920)
ProtonFixes[219] INFO: GOG store specified, using GOG database
ProtonFixes[219] INFO: No global defaults found for The Witcher 2: Assassins of Kings Enhanced Edition (umu-20920)
ProtonFixes[219] INFO: Non-steam game The Witcher 2: Assassins of Kings Enhanced Edition (umu-20920)
ProtonFixes[219] INFO: GOG store specified, using GOG database
ProtonFixes[219] INFO: Using global protonfix for The Witcher 2: Assassins of Kings Enhanced Edition (umu-20920)
Proton: /run/media/legion/games/heroic/The Witcher 2/Launcher.exe
Proton: Executable a unix path, launching with /unix option.
fsync: up and running.
002c:fixme:winediag:loader_init wine-staging 9.0 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
0070:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0070:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0070:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0070:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
Command exited with status: 0
00e0:err:module:import_dll Library mfc100u.dll (which is needed by L"U:\\legion\\games\\heroic\\The Witcher 2\\Launcher.exe") not found
00e0:err:module:loader_init Importing dlls for L"U:\\legion\\games\\heroic\\The Witcher 2\\Launcher.exe" failed, status c0000135

@R1kaB3rN
Copy link
Member

R1kaB3rN commented Dec 25, 2024

00e0:err:module:import_dll Library mfc100u.dll (which is needed by L"U:\legion\games\heroic\The Witcher 2\Launcher.exe") not found
00e0:err:module:loader_init Importing dlls for L"U:\legion\games\heroic\The Witcher 2\Launcher.exe" failed, status c0000135

The log indicates a Windows dependency is missing for some reason, which are usually installed automatically during the install process by your client.

I believe you can get it by running a winetricks verb. With that same environment variables set, if you run umu-run winetricks vcrun2010 and are able to run the game, then we know it's an HGL issue. Once that's confirmed, I'll close this as resolved.

@thatLeaflet
Copy link
Author

Installing vcrun2010

[📦 com.heroicgameslauncher.hgl ~]$ GAMEID=umu-20920 STORE=gog WINEDEBUG=+fixme DXVK_LOG_LEVEL=info VKD3D_DEBUG=fixme PROTONPATH=/var/home/username/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/proton/Proton-GE-latest STEAM_COMPAT_INSTALL_PATH="/run/media/legion/games/heroic/The Witcher 2" ~/config/heroic/tools/runtimes/umu//umu-run winetricks vcrun2010
umu-launcher version 1.1.3 (3.11.11 (main, Nov 10 2011, 15:00:00) [GCC 13.2.0])
steamrt is up to date
Proton: Running winetricks verbs in prefix: vcrun2010
Downloading https://download.microsoft.com/download/5/B/C/5BC5DBB3-652D-4DCE-B14A-475AB85EEF6E/vcredist_x86.exe to /var/home/username/.var/app/com.heroicgameslauncher.hgl/cache/winetricks/vcrun2010
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4957k  100 4957k    0     0  9974k      0 --:--:-- --:--:-- --:--:-- 9974k
Using native,builtin override for following DLLs: msvcp100 msvcr100 vcomp100 atl100
fsync: up and running.
002c:fixme:winediag:loader_init wine-staging 9.0 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
0070:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0070:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0070:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0070:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
011c:fixme:oleacc:find_class_data unhandled window class: L"#32769"
011c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
011c:fixme:uiautomation:default_uia_provider_callback Default ProviderType_NonClientArea provider unimplemented.
011c:fixme:oleacc:find_class_data unhandled window class: L"#32769"
011c:fixme:uiautomation:base_hwnd_fragment_get_FragmentRoot 000000000135ADB8, 000000000021F9D0: stub!
011c:fixme:uiautomation:base_hwnd_fragment_GetEmbeddedFragmentRoots 000000000135ADB8, 000000000021F9E0: stub!
0128:fixme:oleacc:find_class_data unhandled window class: L"#32770"
0128:fixme:oleacc:Window_get_accState (0000000000825C20)->(0000000001A3FB20 {VT_I4: 0} 0000000001A3FB40)
0128:fixme:oleacc:find_class_data unhandled window class: L"Static"
0128:fixme:uiautomation:msaa_provider_GetPatternProvider Unimplemented patternId 10002
0128:fixme:uiautomation:base_hwnd_provider_GetPatternProvider 000000000139C0E0, 10002, 0000000001A3F8A0: stub
0128:fixme:oleacc:find_class_data unhandled window class: L"Static"
0128:fixme:uiautomation:msaa_provider_GetPatternProvider Unimplemented patternId 10002
0128:fixme:uiautomation:base_hwnd_provider_GetPatternProvider 000000000135DEC0, 10002, 0000000001A3F8A0: stub
00d8:fixme:clusapi:GetNodeClusterState ((null),0042EC64) stub!
0128:fixme:oleacc:find_class_data unhandled window class: L"Static"
0128:fixme:uiautomation:msaa_provider_GetPatternProvider Unimplemented patternId 10002
0128:fixme:uiautomation:base_hwnd_provider_GetPatternProvider 000000000139BAF0, 10002, 0000000001A3F8A0: stub
0128:fixme:oleacc:find_class_data unhandled window class: L"Static"
0128:fixme:uiautomation:msaa_provider_GetPatternProvider Unimplemented patternId 10002
0128:fixme:uiautomation:base_hwnd_provider_GetPatternProvider 000000000139C0E0, 10002, 0000000001A3F8A0: stub
00d8:fixme:advapi:DecryptFileA ("w:\\4d4c4af54c375ec46c650777bdbb\\", 00000000): stub
015c:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
015c:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
015c:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {e2821408-c59d-418f-ad3f-aa4e792aeb79}
015c:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
015c:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
015c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
015c:fixme:security:GetWindowsAccountDomainSid (0071F3E4 001D4734 0071F3E0): semi-stub
015c:fixme:secur32:GetComputerObjectNameW NameFormat 7 not implemented
0160:fixme:cryptasn:CryptDecodeObjectEx Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0160:fixme:cryptasn:CryptDecodeObjectEx Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0160:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0160:fixme:file:NtLockFile I/O completion on lock not implemented yet
0160:fixme:cryptasn:CryptDecodeObjectEx Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0160:fixme:cryptasn:CryptDecodeObjectEx Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0160:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.30"
015c:fixme:security:GetWindowsAccountDomainSid (0071F230 001D4734 0071F22C): semi-stub
015c:fixme:secur32:GetComputerObjectNameW NameFormat 7 not implemented
Downloading https://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe to /var/home/username/.var/app/com.heroicgameslauncher.hgl/cache/winetricks/vcrun2010
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5543k  100 5543k    0     0  11.0M      0 --:--:-- --:--:-- --:--:-- 11.0M
fsync: up and running.
002c:fixme:winediag:loader_init wine-staging 9.0 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
0070:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0070:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0070:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0070:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
010c:fixme:oleacc:find_class_data unhandled window class: L"#32769"
010c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
010c:fixme:uiautomation:default_uia_provider_callback Default ProviderType_NonClientArea provider unimplemented.
010c:fixme:oleacc:find_class_data unhandled window class: L"#32769"
010c:fixme:uiautomation:base_hwnd_fragment_get_FragmentRoot 000000000135ADB8, 000000000021F9D0: stub!
010c:fixme:uiautomation:base_hwnd_fragment_GetEmbeddedFragmentRoots 000000000135ADB8, 000000000021F9E0: stub!
0024:fixme:clusapi:GetNodeClusterState ((null),0042EC64) stub!
011c:fixme:oleacc:find_class_data unhandled window class: L"Static"
011c:fixme:uiautomation:msaa_provider_GetPatternProvider Unimplemented patternId 10002
011c:fixme:uiautomation:base_hwnd_provider_GetPatternProvider 000000000139C080, 10002, 0000000001A3F8A0: stub
011c:fixme:oleacc:find_class_data unhandled window class: L"Static"
011c:fixme:uiautomation:msaa_provider_GetPatternProvider Unimplemented patternId 10002
011c:fixme:uiautomation:base_hwnd_provider_GetPatternProvider 000000000135DE60, 10002, 0000000001A3F8A0: stub
0024:fixme:advapi:DecryptFileA ("w:\\d4a06024f4a3e4184df0b1520b\\", 00000000): stub
0138:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
0138:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
0138:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {e2821408-c59d-418f-ad3f-aa4e792aeb79}
0138:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
0138:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
0138:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0138:fixme:security:GetWindowsAccountDomainSid (0071F3E4 001D4714 0071F3E0): semi-stub
0138:fixme:secur32:GetComputerObjectNameW NameFormat 7 not implemented
013c:fixme:cryptasn:CryptDecodeObjectEx Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
013c:fixme:cryptasn:CryptDecodeObjectEx Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
013c:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
013c:fixme:file:NtLockFile I/O completion on lock not implemented yet
013c:fixme:cryptasn:CryptDecodeObjectEx Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
013c:fixme:cryptasn:CryptDecodeObjectEx Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
013c:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.30"
0138:fixme:security:GetWindowsAccountDomainSid (0071F230 001D4714 0071F22C): semi-stub
0138:fixme:secur32:GetComputerObjectNameW NameFormat 7 not implemented
Command exited with status: 0

Attempting to launch game. Doesn't start, but different errors than before.

[📦 com.heroicgameslauncher.hgl ~]$ GAMEID=umu-20920 STORE=gog WINEDEBUG=+fixme DXVK_LOG_LEVEL=info VKD3D_DEBUG=fixme PROTONPATH=/var/home/username/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/proton/Proton-GE-latest STEAM_COMPAT_INSTALL_PATH="/run/media/legion/games/heroic/The Witcher 2" ~/config/heroic/tools/runtimes/umu//umu-run '/run/media/legion/games/heroic/The Witcher 2/Launcher.exe'
umu-launcher version 1.1.3 (3.11.11 (main, Nov 10 2011, 15:00:00) [GCC 13.2.0])
steamrt is up to date
ProtonFixes[1273] INFO: Running protonfixes
ProtonFixes[1273] INFO: Running checks
ProtonFixes[1273] INFO: All checks successful
ProtonFixes[1273] INFO: Non-steam game The Witcher 2: Assassins of Kings Enhanced Edition (umu-20920)
ProtonFixes[1273] INFO: GOG store specified, using GOG database
ProtonFixes[1273] INFO: No global defaults found for The Witcher 2: Assassins of Kings Enhanced Edition (umu-20920)
ProtonFixes[1273] INFO: Non-steam game The Witcher 2: Assassins of Kings Enhanced Edition (umu-20920)
ProtonFixes[1273] INFO: GOG store specified, using GOG database
ProtonFixes[1273] INFO: Using global protonfix for The Witcher 2: Assassins of Kings Enhanced Edition (umu-20920)
Proton: /run/media/legion/games/heroic/The Witcher 2/Launcher.exe
Proton: Executable a unix path, launching with /unix option.
fsync: up and running.
002c:fixme:winediag:loader_init wine-staging 9.0 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
0070:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0070:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0070:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0070:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
Command exited with status: 0
0124:fixme:oleacc:find_class_data unhandled window class: L"#32769"
0124:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
0124:fixme:uiautomation:default_uia_provider_callback Default ProviderType_NonClientArea provider unimplemented.
0124:fixme:oleacc:find_class_data unhandled window class: L"#32769"
0124:fixme:uiautomation:base_hwnd_fragment_get_FragmentRoot 000000000135A698, 000000000021F9D0: stub!
0124:fixme:uiautomation:base_hwnd_fragment_GetEmbeddedFragmentRoots 000000000135A698, 000000000021F9E0: stub!
00e0:fixme:nls:RtlGetThreadPreferredUILanguages 00000034, 0078F428, 0078F6A4 0078F430
00e0:fixme:nls:get_dummy_preferred_ui_language (0x34 0x409 0078F428 0078F6A4 0078F430) returning a dummy value (current locale)
00e0:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
00e0:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00e0:fixme:nls:RtlGetThreadPreferredUILanguages 00000034, 0078F024, 0078F2A0 0078F02C
00e0:fixme:nls:get_dummy_preferred_ui_language (0x34 0x409 0078F024 0078F2A0 0078F02C) returning a dummy value (current locale)

@R1kaB3rN
Copy link
Member

Perhaps it's not the correct dependency.

For what it's worth, you're not the only one who's running in this issue.

@R1kaB3rN
Copy link
Member

It'd be nice if it was clear what the exact redists that game needs because gogdb and steamdb do not make that clear. If there's a vdf file in that game's directory, I believe it should list them.

@thatLeaflet
Copy link
Author

Couldn't find any vdf files.

@R1kaB3rN
Copy link
Member

R1kaB3rN commented Dec 25, 2024

In any case, I'm convinced this isn't a umu-launcher bug because of missing dep clearly indicated in the wine trace back and the fact that:

  • Only occurs for this title as Fallout works.
  • Multiple user reports of the same issue, indicating an existing issue

If you're able to figure out the dependency, then we can add a proton fix for this title. But I think this should be reported in the HGL issue tracker too, as this could be a bug in the client's install process.

@R1kaB3rN
Copy link
Member

Additionally, there’s actually an open issue for this in upstream Proton as well

ValveSoftware/Proton#2309

Which, again, supports the issue being dependency related.

@GloriousEggroll
Copy link
Member

GloriousEggroll commented Jan 7, 2025

The reason is because this game needs registry entries. Lutris handles this:
https://lutris.net/games/install/25200/view
So does steam:

"installscript"
{
	"Registry"
	{
		"HKEY_LOCAL_MACHINE\\SOFTWARE\\CD Projekt RED\\The Witcher 2"
		{
			"string"
			{
				"InstallFolder"		"%INSTALLDIR%"
				"release"		"DD"
				"english"
				{
					"language"		"EN"
				}
				"french"
				{
					"language"		"FR"
				}
				"german"
				{
					"language"		"DE"
				}
				"italian"
				{
					"language"		"IT"
				}
				"spanish"
				{
					"language"		"ES"
				}
				"russian"
				{
					"language"		"RU"
				}
			}
		}
	}
	"Run Process"
	{
		"DirectX"
		{
			"process 1"		"%INSTALLDIR%\\redist\\DirectX\\DXSETUP.exe"
			"command 1"		"/silent"
		}
		"VCRedist"
		{
			"process 1"		"%INSTALLDIR%\\redist\\vcredist_x86.exe"
			"command 1"		"/q"
			"IgnoreExitCode"		"1"
		}
	}
}
"kvsignatures"
{
	"installscript"		"7d877b789089380de871ade06c5e1b8019dd0720accbc7aab655f29634eec1c81c5919ff4c6285180ebdb5299629f50cf6d03fca0f6674658335f3292abfc24fbad1e949963885cd585b15ba562f3be867c13be0ecd4ec51ea962772e1906af880bfeedc8f4bde5229c6434f3f1784b73b49ab09344a0184cd9e47f750ed023b"
}

Heroic does not.

We need to add a protonfix for non-steam versions that adds the registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\CD Projekt RED\The Witcher 2
string: InstallFolder
value: <Z:\ path containing witcher 2's Launcher.exe>
string: release
value: GOG
string: language
value: EN

note: it also needs vcrun2010

tested and verified (i own both steam and gog versions)

@R1kaB3rN
Copy link
Member

R1kaB3rN commented Jan 8, 2025

Closing. The pull request in Heroic Heroic-Games-Launcher/HeroicGamesLauncher#4251 is confirmed to fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants