Heroes of Might & Magic 2 troubles with wing32.dll

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, All!

I've got HOMM II, and Wine (20050515-CVS).
Let's try to start:

$ wine HEROES2W.EXE
err:module:import_dll Loading library WING32.dll (which is needed by L"Z:\\mnt\\games\\HOMM II\\HEROES2W.EXE") failed (error c000007b).
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\mnt\\games\\HOMM II\\HEROES2W.EXE" failed, status c0000135
$

Let's find what functions HEROES2W.EXE wants to export from wing32.dll:

$ objdump -x  HEROES2W.EXE | less

...

	DLL Name: WING32.dll
	vma:  Hint/Ord Member-Name Bound-To
	13b160	    2  WinGCreateDC
	13b14c	    1  WinGCreateBitmap
	13b170	    7  WinGRecommendDIBFormat
	13b18a	    8  WinGSetDIBColorTable
	13b1a2	    9  WinGStretchBlt
	13b1b4	    0  WinGBitBlt

...

OK, I know, that wing.dll exists in standart wine tree (symlink to gdi32.dll) and provides these procedures. I created wing32.dll.so as symlink to the same gdi32.dll.so in the standatt wine tree (/usr/local/lib/wine in my case), typed ldconfig and restarted game with the same result.

After that, I tried to start game as follows:

$ WINEDEBUG=+all,-relay,-seh,-snoop,-server,-heap wihe HEROES2W

...........................

0009:trace:module:load_dll looking for L"WING32.dll" in L"Z:\\mnt\\games\\HOMM II;.;c:\\windows\\system;c:\\windows;c:\\windows\\system;c:\\windows"
0009:trace:file:RtlDosPathNameToNtPathName_U (L"Z:\\mnt\\heap\\software\\!00_DVD\\HOMM II\\WING32.dll",0x778cfb48,(nil),(nil))
0009:trace:file:RtlGetFullPathName_U (L"Z:\\mnt\\games\\HOMM II\\WING32.dll" 520 0x778cf8f4 (nil))
0009:warn:file:wine_nt_to_unix_file_name L"WING32.dll" not found in /home/petro/.wine/dosdevices/z:/mnt/games/HOMM II
0009:trace:file:RtlDosPathNameToNtPathName_U (L".\\WING32.dll",0x778cfb48,(nil),(nil))
0009:trace:file:RtlGetFullPathName_U (L".\\WING32.dll" 520 0x778cf8f4 (nil))
0009:warn:file:wine_nt_to_unix_file_name L"WING32.dll" not found in /home/petro/.wine/dosdevices/z:/mnt/heap/software/!00_DVD/HOMM II
0009:trace:file:RtlDosPathNameToNtPathName_U (L"c:\\windows\\system\\WING32.dll",0x778cfb48,(nil),(nil))
0009:trace:file:RtlGetFullPathName_U (L"c:\\windows\\system\\WING32.dll" 520 0x778cf8f4 (nil))
0009:warn:file:wine_nt_to_unix_file_name L"WING32.dll" not found in /home/petro/.wine/dosdevices/c:/windows/system
0009:trace:file:RtlDosPathNameToNtPathName_U (L"c:\\windows\\WING32.dll",0x778cfb48,(nil),(nil))
0009:trace:file:RtlGetFullPathName_U (L"c:\\windows\\WING32.dll" 520 0x778cf8f4 (nil))
0009:warn:file:wine_nt_to_unix_file_name L"WING32.dll" not found in /home/petro/.wine/dosdevices/c:/windows
0009:trace:file:RtlDosPathNameToNtPathName_U (L"c:\\windows\\system\\WING32.dll",0x778cfb48,(nil),(nil))
0009:trace:file:RtlGetFullPathName_U (L"c:\\windows\\system\\WING32.dll" 520 0x778cf8f4 (nil))
0009:warn:file:wine_nt_to_unix_file_name L"WING32.dll" not found in /home/petro/.wine/dosdevices/c:/windows/system
0009:trace:file:RtlDosPathNameToNtPathName_U (L"c:\\windows\\WING32.dll",0x778cfb48,(nil),(nil))
0009:trace:file:RtlGetFullPathName_U (L"c:\\windows\\WING32.dll" 520 0x778cf8f4 (nil))
0009:warn:file:wine_nt_to_unix_file_name L"WING32.dll" not found in /home/petro/.wine/dosdevices/c:/windows
0009:trace:module:MODULE_GetLoadOrderW looking for L"WING32.dll"
0009:trace:module:open_app_key searching L"WING32" in L"Machine\\Software\\Wine\\Wine\\Config\\AppDefaults\\HEROES2W.exe\\DllOverrides"
0009:trace:reg:NtOpenKey ((nil),L"Machine\\Software\\Wine\\Wine\\Config\\AppDefaults\\HEROES2W.exe\\DllOverrides",f003f,0x778cfaf0)
0009:trace:reg:NtOpenKey <- (nil)
0009:trace:reg:NtQueryValueKey (0x14,L"WING32",2,0x778cfab0,80)
0009:trace:reg:NtQueryValueKey (0x14,L"*WING32",2,0x778cfab0,80)
0009:trace:reg:NtQueryValueKey (0x14,L"*",2,0x778cfab0,80)
0009:trace:module:MODULE_GetLoadOrderW got standard wildcard "b,n" for L"WING32.dll"
0009:trace:module:load_dll Trying built-in L"WING32.dll"
0009:warn:module:load_dll Failed to load module L"WING32.dll"; status=c000007b
0009:err:module:import_dll Loading library WING32.dll (which is needed by L"Z:\\mnt\\heap\\games\\HEROES2W.exe") failed (error c000007b).

...........................

What's happens with wine?

_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux