https://bugs.winehq.org/show_bug.cgi?id=46746
Bug ID: 46746 Summary: King Of The Hat: does not launch Product: Wine Version: 4.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: nocrex@protonmail.com Distribution: ---
Created attachment 63747 --> https://bugs.winehq.org/attachment.cgi?id=63747 Console output when running 'wine KingOfTheHat.exe'
I am using wine-staging on Ubuntu-Budige 18.04 LTS x86-64 but have also tried it with the current development build and both exit with a pagefault before the program opens.
https://bugs.winehq.org/show_bug.cgi?id=46746
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Is there a freely available download for this program?
https://bugs.winehq.org/show_bug.cgi?id=46746
--- Comment #2 from nocrex@protonmail.com --- (In reply to Fabian Maurer from comment #1)
Is there a freely available download for this program?
No. It is currently only available through Discord. But I could provide the game files through a file sharing site, altough I don't know if this qualifies as piracy.
https://bugs.winehq.org/show_bug.cgi?id=46746
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- Yes, that'd be piracy. Guess there's no demo either?
Can you please attach a +relay log? This will get big quick, so compress it and attach it here, please.
https://bugs.winehq.org/show_bug.cgi?id=46746
--- Comment #4 from nocrex@protonmail.com --- Created attachment 63757 --> https://bugs.winehq.org/attachment.cgi?id=63757 +relay log
https://bugs.winehq.org/show_bug.cgi?id=46746
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi, the log shows only few lines before it crashes:
0009:Starting process L"D:\Games\King of the Hat\content\KingOfTheHat.exe" (entryproc=0x4a1914) 0009:Call KERNEL32.LoadLibraryW(004a188c L"advapi32.dll") ret=004a192d 0009:Call PE DLL (proc=0xf7b9d690,module=0xf7b60000 L"advapi32.dll",reason=PROCESS_ATTACH,res=(nil)) 0009:Ret PE DLL (proc=0xf7b9d690,module=0xf7b60000 L"advapi32.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1 0009:Ret KERNEL32.LoadLibraryW() retval=f7b60000 ret=004a192d 0009:Call KERNEL32.GetProcAddress(f7b60000,004a18a6 "RegGetValueW") ret=004a1949 0009:Ret KERNEL32.GetProcAddress() retval=f7b64198 ret=004a1949 0009:Call advapi32.RegGetValueW(80000001,004a18b4 L"Software\Discord\Modules\discord_aegis",004a1902 L"Path_x86",0000ffff,00000000,004a1083,004a1883) ret=004a1988 0009:Ret advapi32.RegGetValueW() retval=00000002 ret=004a1988 0009:Call KERNEL32.LoadLibraryW(004a1083 L"") ret=004a19a1 0009:Ret KERNEL32.LoadLibraryW() retval=00000000 ret=004a19a1 0009:Call KERNEL32.GetProcAddress(00000000,00000001) ret=004a19b5 0009:Ret KERNEL32.GetProcAddress() retval=00412770 ret=004a19b5 wine: Unhandled page fault on execute access to 0x00412770 at address 0x412770 (thread 0009), starting debugger...
Maybe it chokes because the registry entry is missing? "Software\Discord\Modules\discord_aegis") Is that key present when you install/run game in windows?
https://bugs.winehq.org/show_bug.cgi?id=46746
--- Comment #6 from nocrex@protonmail.com --- Yes this key does exist.
After some testing I found out that you can only launch the game on Windows if this key exists and an instance of Discord is running in the background. Sadly I cannot test if this resolves the problem, since the native Discord client for Ubuntu does not support games and the Windows version launched with wine gets stuck on the updater in the beginning. I also tried to install the Windows version of Discord on my Linux drive with wine, but the setup exits saying DllGetClassObject for ieframe.dll returned error 0x80040111.
https://bugs.winehq.org/show_bug.cgi?id=46746
--- Comment #7 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to nocrex from comment #6)
Yes this key does exist.
Sadly I cannot test if this resolves the problem, since the native Discord client for Ubuntu does not support games and the Windows version launched with wine gets stuck on the updater in the beginning. I also tried to install the Windows version of Discord on my Linux drive with wine, but the setup exits saying DllGetClassObject for ieframe.dll returned error 0x80040111.
I have Discord lying here on my disk in an old wineprefix and it seems to run fine
the installer suffers from bug 40613 IIRC. Try wine-staging and after winetricks dotnet472 try start installer like:
/opt/wine-staging/bin/wine runas /trustlevel:0x20000 installer.exe (or whatever the installer for Discord is named)
https://bugs.winehq.org/show_bug.cgi?id=46746
nocrex@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #8 from nocrex@protonmail.com --- Thanks! Installing the windows version of Discord and having it open fixed it for me, so this has nothing to do with wine.
https://bugs.winehq.org/show_bug.cgi?id=46746
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|King Of The Hat: does not |King Of The Hat: does not |launch |launch (crashes if instance | |of Discord is not running) Status|RESOLVED |CLOSED
--- Comment #9 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi, thanks for reporting back, and closing invalid