Wine:未找到 wdfldr.sys

Wine:未找到 wdfldr.sys

在摆弄 wine 并学习如何使用它时,我尝试用它开始一个游戏(genshin impact),正如预期的那样,游戏运行得不是很好(它只是崩溃了),但我在日志中发现了一些我想修复的错误。 00c9:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\galyfray\\Temp\\mhyprot2.sys") not found 经过一番研究,它似乎是 Windows 中一个非常重要的库,摆弄它会导致 BSOD,但与 wine 无关。
我正在运行 Ubuntu 20.04 和 wine 5.0.2,它被设置为模拟 Win10。缺少的库在 winetricks 中不可用。

我还有其他几个错误,如果其中一些与我的问题有关,我会把它们列在下面
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.

0030:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0030:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x3161124, 0x4487e40, 0x4487e60) stub.
0030:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x4377370, 43) stub
0035:fixme:ver:GetCurrentPackageId (0x46bfda0 (nil)): stub
0036:fixme:ver:GetCurrentPackageId (0x47cfda0 (nil)): stub
0037:fixme:ver:GetCurrentPackageId (0x48dfda0 (nil)): stub
0038:fixme:ver:GetCurrentPackageId (0x49efda0 (nil)): stub
0030:fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"!
0030:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
0030:fixme:toolhelp:Heap32ListFirst : stub
0030:fixme:font:get_nearest_charset TCI failing on 20000000
0030:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 20000000 file = L"/usr/share/fonts/truetype/fonts-gujr-extra/aakar-medium.ttf"
0030:fixme:nls:get_dummy_preferred_ui_language (0x8 0x22f1f0 0x22f140 0x22f1f8) returning a dummy value (current locale)
0030:fixme:nls:get_dummy_preferred_ui_language (0x8 0x22efd0 0x22ef20 0x22efd8) returning a dummy value (current locale)
0030:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x70b8f00, 0xaf36a10, 0xb086fc8) stub.
0030:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22dab0, (nil) 0x22dab8
0030:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22dab0 (nil) 0x22dab8) returning a dummy value (current locale)
0030:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22dab0, 0x5e7ec40 0x22dab8
0030:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22dab0 0x5e7ec40 0x22dab8) returning a dummy value (current locale)
0030:fixme:winsock:WSALookupServiceBeginW (0x22d7f0 0x00000ff0 0x22d7e8) Stub!
0030:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000022D520 1 C) semi-stub
0030:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000022D1A0 1 C) semi-stub
0030:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000022D0F0 1 C) semi-stub
0030:fixme:iphlpapi:NotifyAddrChange (Handle 0x22da90, overlapped 0x5e7fa50): stub
0030:fixme:win:RegisterDeviceNotificationW (hwnd=0x101f4, filter=0x22d7e0,flags=0x00000000) returns a fake device notification handle!
0030:fixme:win:RegisterDeviceNotificationW (hwnd=0x101f4, filter=0x22d7e0,flags=0x00000000) returns a fake device notification handle!
0030:fixme:font:get_nearest_charset TCI failing on 20000000
0030:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 20000000 file = L"/usr/share/fonts/truetype/fonts-gujr-extra/aakar-medium.ttf"
0030:fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"!
0030:fixme:systray:Shell_NotifyIconGetRect stub (0x22efa0) (0x22ef90)
0030:fixme:msg:ChangeWindowMessageFilterEx 0x10204 c062 1 (nil)
0030:fixme:systray:Shell_NotifyIconGetRect stub (0x22efa0) (0x22ef90)
0044:fixme:file:ReplaceFileW Ignoring flags 2
0049:fixme:wlanapi:WlanEnumInterfaces (0000000000000001, 0000000000000000, 000000000E6DEDF8) semi-stub
0053:fixme:process:CreateProcessInternalW Unsupported attribute 0x20002.
0030:fixme:dwmapi:DwmIsCompositionEnabled 000000000022BEA0
0055:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0055:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0xc28f00, 0x4aa6a10, 0x4bf6fc8) stub.
0055:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000022F020 1 C) semi-stub
0055:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000022ECA0 1 C) semi-stub
0055:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0044:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0043:fixme:file:ReplaceFileW Ignoring flags 2
wine: Read access denied for device L"\\??\\C:\\", FS volume label and serial are not available.
0044:fixme:file:ReplaceFileW Ignoring flags 2
wine: Read access denied for device L"\\??\\C:\\", FS volume label and serial are not available.
0073:fixme:time:QueryThreadCycleTime (0xfffffffffffffffe,0x9c1f060): stub!
00e9:fixme:heap:RtlSetHeapInformation 0x570000 0 0x22da50 4 stub
00e9:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0)
00e9:fixme:heap:RtlSetHeapInformation 0x7a0000 0 0x22f1b0 4 stub
00ea:fixme:ver:GetCurrentPackageId (0x9afb00 (nil)): stub

我希望有人知道如何修复它,我会继续研究,如果发现任何问题,我会更新。编辑:我使用的是 WINEARCH=win64(游戏是 64 位的,据我所知这应该不是问题)和 64 位 WINEPREFIX

编辑 2:下载丢失的文件并将其放置在窗口文件树中应在的位置并不能解决问题

答案1

尝试WDFLDR.SYS从下载dll-found.com并将其添加到~/.wine/drive_c/windows/system32/drivers

这将使 wine 应用程序找到 DLL 并使用它,这可能会解决问题。

相关内容