https://bugs.winehq.org/show_bug.cgi?id=38076
Bug ID: 38076 Summary: GameRanger: unimplemented function dnsapi.dll.DnsFlushResolverCacheEntry_A Product: Wine Version: 1.7.34 Hardware: x86 URL: http://www.gameranger.com/download/ OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dnsapi Assignee: wine-bugs@winehq.org Reporter: jhansonxi@gmail.com Distribution: Ubuntu
GameRanger is an advertisement and subscription-based online multiplayer game front-end for many games, especially old titles. Free download link to the installer in the URL.
The client requires mfc42.dll (winetricks -q mfc42) and Adobe Flash. The Flash 12 install option was broken in my version of winetricks but the client opens the default web browser to the Flash download page. I didn't have any problems installing Flash 16.
During installation the client will ask for an email address and new password to create an account (will send verification link to the email account).
When launched, it will park in the system tray. IIRC it then shows the release notes and asks for the login credentials. It gets stuck logging in (animated dialog) due to this missing function.
The workaround is to use a native dnsapi.dll. I used the SP2GDR (Service Pack 2 General Distribution Release) version from the WindowsXP KB945553 security update to get it working. The update hung for some reason when I started it :D so I simply copied the DLL out of the temp directory it created.
I think bug #32204 may the same problem but the reporter never verified it.
https://bugs.winehq.org/show_bug.cgi?id=38076
--- Comment #1 from Hans Leidekker hans@meelstraat.net --- Created attachment 50736 --> https://bugs.winehq.org/attachment.cgi?id=50736 stub
Can you try this patch?
https://bugs.winehq.org/show_bug.cgi?id=38076
--- Comment #2 from Jeff D. Hanson jhansonxi@gmail.com --- (hours later after a tedious biarch build on Xubuntu)...
That seems to have solved the problem. Thanks!
https://bugs.winehq.org/show_bug.cgi?id=38076
--- Comment #3 from Jeff D. Hanson jhansonxi@gmail.com --- Created attachment 50748 --> https://bugs.winehq.org/attachment.cgi?id=50748 +dnsapi,+tid - error log
Maybe I spoke too soon. It developed a tendency to error on exit with the patch. It was a generic message about an error occurring and saving a log (in …/Application Data/GameRanger/GameRanger Prefs/AutoLog/). It was some sort of binary stack dump FWICT but I didn't think to save it (more on that later). I captured the attached log with:
env WINEDEBUG=+dnsapi,+tid WINEPREFIX="/home/jhansonxi/.wine-test" wine C:\windows\command\start.exe /Unix /home/jhansonxi/.wine-test/drive_c/users/jhansonxi/Application\ Data/GameRanger/GameRanger/GameRanger.exe >~/gameranger+dnsapi+tid.log 2>&1
It never occurred with the native dll. I thought it was related to the Flash advertisement as it seem to not error if I exited before it loaded. After some testing it stopped occurring with either, regardless if the ad loaded or not (so I can't get one of its logs). I'll attach a non-error and native dll log for future reference in case of regressions.
https://bugs.winehq.org/show_bug.cgi?id=38076
--- Comment #4 from Jeff D. Hanson jhansonxi@gmail.com --- Created attachment 50749 --> https://bugs.winehq.org/attachment.cgi?id=50749 +dnsapi,+tid - non-error log
https://bugs.winehq.org/show_bug.cgi?id=38076
--- Comment #5 from Jeff D. Hanson jhansonxi@gmail.com --- Created attachment 50750 --> https://bugs.winehq.org/attachment.cgi?id=50750 +dnsapi,+tid - native dll log
https://bugs.winehq.org/show_bug.cgi?id=38076
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=38076
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch CC| |austinenglish@gmail.com
--- Comment #6 from Austin English austinenglish@gmail.com --- That error on exit should probably be a separate issue, since it occurs after this one..
@Hans, any reason you haven't submitted that patch?
https://bugs.winehq.org/show_bug.cgi?id=38076
--- Comment #7 from Hans Leidekker hans@meelstraat.net --- (In reply to Austin English from comment #6)
That error on exit should probably be a separate issue, since it occurs after this one..
@Hans, any reason you haven't submitted that patch?
No, I put it back in my tree ;-)
https://bugs.winehq.org/show_bug.cgi?id=38076
--- Comment #8 from Jeff D. Hanson jhansonxi@gmail.com --- I retested with Wine 1.8 (git), the dnsapi.dll.DnsFlushResolverCacheEntry_A patch, Adobe Flash 20.0.0.235, winetricks mfc42, and the current version of GameRanger. Seems to be working without problems.
https://bugs.winehq.org/show_bug.cgi?id=38076
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e10c48143aadc9fbec7677847d3 | |d9eab66bf441f Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #9 from Austin English austinenglish@gmail.com --- (In reply to Jeff D. Hanson from comment #8)
I retested with Wine 1.8 (git), the dnsapi.dll.DnsFlushResolverCacheEntry_A patch, Adobe Flash 20.0.0.235, winetricks mfc42, and the current version of GameRanger. Seems to be working without problems.
Thanks, the patch was committed: https://source.winehq.org/git/wine.git/commitdiff/e10c48143aadc9fbec7677847d...
https://bugs.winehq.org/show_bug.cgi?id=38076
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=38076
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.0.
https://bugs.winehq.org/show_bug.cgi?id=38076
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #11 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.1.