soldat

Pavel S. Khmelinsky hmepas at yauza.ru
Sat Oct 18 17:15:15 CDT 2003


Hi!

I try to run Soldat by wine and failed ( strange isn't it? :) )
U can found this game at http://www.soldat.prv.pl/ .

Thats some listing:
---------------------------------------------------------------
$ winedbg --debugmsg +loaddll Soldat.exe
fixme:win32:PE_CreateModule Unknown directory 15 ignored
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\kernel32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\advapi32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\user32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\rpcrt4.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\ole32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\oleaut32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\comctl32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\shlwapi.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\shell32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\winspool.drv' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\comdlg32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\ddraw.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\d3d8.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\Soldat\D3DX81ab.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\winmm.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\msacm32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\msvcrt.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\Soldat\fmod.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\ws2_32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\winnt\system32\wsock32.dll' : builtin
trace:loaddll:MODULE_LoadModule16 Loaded module 'krnl386.exe' : 
builtin
trace:loaddll:MODULE_LoadModule16 Loaded module 'system' : builtin
trace:loaddll:MODULE_LoadModule16 Loaded module 'wprocs' : builtin
trace:loaddll:MODULE_LoadModule16 Loaded module 'GDI.EXE' : builtin
err:font:AddFontFileToList Unable to load font file 
"/usr/sto/wine/winnt/Fonts/desktop.ini" err = 55
err:font:AddFontFileToList Unable to load font file 
"/usr/sto/wine/winnt/Fonts/modern.fon" err = 2
err:font:AddFontFileToList Unable to load font file 
"/usr/sto/wine/winnt/Fonts/roman.fon" err = 2
err:font:AddFontFileToList Unable to load font file 
"/usr/sto/wine/winnt/Fonts/script.fon" err = 2
trace:loaddll:MODULE_LoadModule16 Loaded module 'USER.EXE' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\WINNT\SYSTEM32\x11drv.dll' : builtin
trace:loaddll:MODULE_LoadModule16 Loaded module 'display' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\WINNT\SYSTEM32\WINEPS.dll' : builtin
fixme:psdrv:PSDRV_BITMAP_SelectObject stub
fixme:psdrv:PSDRV_BITMAP_SelectObject stub
fixme:psdrv:PSDRV_BITMAP_SelectObject stub
trace:loaddll:MODULE_LoadModule16 Loaded module 'commdlg.dll' : 
builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module 
'C:\WINNT\SYSTEM32\d3dgl.dll' : builtin
wine: Unhandled exception, starting debugger...
---------------------------------------------------------------

This is that I cut from listing when try +relay:
---------------------------------------------------------------
08075ee8:Call(1) 
kernel32.VirtualAlloc(019f0000,00010000,00001000,00000004) 
ret=779bd4e5
08075ee8:Ret (1) kernel32.VirtualAlloc() retval=019f0000 ret=779bd4e5
08075ee8:Call(1) kernel32.InitializeCriticalSection(77a39098) 
ret=779bd60a
08075ee8:Ret (1) kernel32.InitializeCriticalSection() 
retval=00000000 ret=779bd60a
08075ee8:Call(1) kernel32.InitializeCriticalSection(77a390c8) 
ret=779bd613
08075ee8:Ret (1) kernel32.InitializeCriticalSection() 
retval=00000000 ret=779bd613
08075ee8:Call(1) kernel32.InitializeCriticalSection(77a390b0) 
ret=779bd61c
08075ee8:Ret (1) kernel32.InitializeCriticalSection() 
retval=00000000 ret=779bd61c
08075ee8:Call(1) kernel32.InitializeCriticalSection(77a39080) 
ret=779bd624
08075ee8:Ret (1) kernel32.InitializeCriticalSection() 
retval=00000000 ret=779bd624
08075ee8:Call(1) kernel32.TlsAlloc() ret=779bd5a3
08075ee8:Ret (1) kernel32.TlsAlloc() retval=00000002 ret=779bd5a3
08075ee8:Call(1) ntdll.RtlEnterCriticalSection(77a390b0) ret=779bcf26
08075ee8:Ret (1) ntdll.RtlEnterCriticalSection() retval=00000000 
ret=779bcf26
08075ee8:Call(1) ntdll.RtlLeaveCriticalSection(77a390b0) ret=779bd059
08075ee8:Ret (1) ntdll.RtlLeaveCriticalSection() retval=00000000 
ret=779bd059
08075ee8:Call(1) kernel32.TlsSetValue(00000002,019f0100) ret=779bd5d4
08075ee8:Ret (1) kernel32.TlsSetValue() retval=00000001 ret=779bd5d4
08075ee8:Call(1) kernel32.GetCurrentThreadId() ret=779bd5eb
wine: Unhandled exception, starting debugger...
---------------------------------------------------------------

Does it mean that expeption is generatated by any command in 
GetCurrentThreadId() or not?

Then I try to debug it I see someting like that:
---------------------------------------------------------------
WineDbg starting on pid 8072568 
 
                    Unhandled exception: page fault on read 
access to 0x00000076 in 32-bit code (0x0021b960). 
                            In 32-bit mode. 
 
                                0x0021b960 
(KERNEL32.DLL.SetComputerNameA+0x2c): arpl   0x75(%edi),%bp 

---------------------------------------------------------------

Is it mean that I should to search problem in SetComputerNameA or 
not?

Can you give me some advice how to gather some more information 
and there I should to search in wine source to solve my problem.

And I want to learn how to debug wine may be 
                         you can advice me some articles, that I 
should to read? 
 
 
 


P.S.: Sorry for my English, I try to state understandable.
 
 
 
 
 
 





More information about the wine-devel mailing list