[Bug 48229] Regression on Automobilista. A lot of cars and tracks are not shown on Game menu
WineHQ Bugzilla
wine-bugs at winehq.org
Fri Jan 17 10:11:30 CST 2020
https://bugs.winehq.org/show_bug.cgi?id=48229
--- Comment #8 from Paul Gofman <gofmanp at gmail.com> ---
Created attachment 66262
--> https://bugs.winehq.org/attachment.cgi?id=66262
Add stub for LoadPackagedLibrary
(In reply to Alexandre Julliard from comment #6)
> Does the game do things differently if you set version to Win10? Because the
> functions are in kernelbase there, just like in Wine, so the hooking
> wouldn't work.
Indeed, I initially tested the behaviour on Win 7 only but that appears to be
different from Win8+ where such a hooking fails just like with Wine.
I tested the game further. Changing Windows version does not affect anything,
but I found that the game detects Win 8+ by getting proc address of
LoadPackagedLibrary from kernel32.dll (which is available starting from Win8
according to MSDN) and hotpatches differently.
Attached patch adds a stub for LoadPackagedLibrary to kernel32 and fixes the
issue.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list