Starcraft (not so) success

Nix N. Nix nix at go-nix.ca
Mon Apr 2 15:43:44 CDT 2001


The story:
I have wine-20010216 with Starcraft installed from within wine.  All 
works well, except, sometimes, in the middle of the game (running as 
root to get DGA), the mouse and keyboard stop responding altogether, 30 
seconds after which the game stops moving (the display freezes 
altogether).  I cannot do anything, not even switch to another tty.  My 
only course is to ssh into the box from another box and reboot it.  This 
is with an NVidia GeForce2 MX.  So, I figured: "Well, 20010216 is not 
the latest release, so maybe I should get the latest."  I have wine 
installed in /usr/wine, so I don't have any problems with wrong versions 
of .so's (I think).  I did this:
mv /usr/wine /usr/bak.wine
Then I configured and compiled wine to go into /usr/wine
When I was done that, I did this as root:
cd ~/.wine
mv config ..
rm -rf *
mv ../config .
to get rid of anything from the old version except the config file.
Then I tried Starcraft, and the display froze before the game even 
started.  I could, however, switch to another terminal and kill all PIDs 
in `ps ax | grep wine`.
This is the output from the old wine, 20010216, (which works fine except 
for the freezing), when I play SC:

Warning: could not find wine config [Drive x] entry for current working 
directory /root; starting in windows directory.
err:psdrv:PSDRV_AFMGetCharMetrics No whitespace found.
err:psdrv:PSDRV_AFMGetCharMetrics No whitespace found.
err:psdrv:PSDRV_AFMGetCharMetrics No whitespace found.
err:psdrv:PSDRV_AFMGetCharMetrics No whitespace found.
fixme:console:SetConsoleCtrlHandler (0x4c7510,1) - no error checking or 
testing yet
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel 
(0x403d2170)->(00000138,00000013)
fixme:dsound:IDirectSoundImpl_SetCooperativeLevel 
(0x403d7724,00000138,2):stub
fixme:dsound:DSOUND_MixCancel prebuffer cancel not implemented yet

The new wine (20010326), on the other hand, says:

Warning: could not find wine config [Drive x] entry for current working 
directory /root; starting in windows directory.
err:win32:PE_FindExportedFunction module not found for forward 
'user32.CharToOemBuffA' used by 'kernel32.dll'
err:win32:fixup_imports No implementation for KERNEL32.dll.11 imported 
from C:\WINDOWS\SYSTEM\ADVAPI32.DLL, setting to 0xdeadbeef
fixme:console:SetConsoleCtrlHandler (0x4c7510,1) - no error checking or 
testing yet
fixme:module:CreateProcessA (C:\WINDOWS\SYSTEM\DDHELP.EXE,...): 
NORMAL_PRIORITY_CLASS ignored
fixme:pthread_kill_other_threads_np
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
modify_ldt: Invalid argument
fixme:dc:GetDeviceCaps (0048,94): DeviceCaps param CAPS1 is 
UNIMPLEMENTED, will yield 0!
fixme:dc:GetDeviceCaps (0048,94): unsupported DeviceCaps capability, 
will yield 0!
err:win32:PE_FindExportedFunction module not found for forward 
'user32.CharToOemBuffA' used by 'kernel32.dll'
err:win32:fixup_imports No implementation for KERNEL32.dll.11 imported 
from C:\WINDOWS\SYSTEM\ADVAPI32.DLL, setting to 0xdeadbeef
err:mmsys:MMDRV_InitPerType Strange: mapper with 8 > 1 devices

and then it freezes, as I mentioned above.
Some of the above messages seem to apply to any program, not just SC, 
because I get this when running notepad:

err:win32:PE_FindExportedFunction module not found for forward 
'user32.CharToOemBuffA' used by 'kernel32.dll'
err:win32:fixup_imports No implementation for KERNEL32.dll.11 imported 
from C:\WINDOWS\SYSTEM\ADVAPI32.DLL, setting to 0xdeadbeef
fixme:edit:EDIT_EM_FmtLines soft break enabled, not implemented
fixme:string:LCMapStringA (0x0800,0x01000100,0x405e61a8,0,0x405e6308,0): 
unimplemented flags: 0x01000000
fixme:string:LCMapStringA (0x0800,0x01000200,0x405e61a4,1,0x405e6308,1): 
unimplemented flags: 0x01000000
fixme:string:LCMapStringA (0x0800,0x01000100,0x405e5e14,7,0x405e6078,7): 
unimplemented flags: 0x01000000
fixme:string:LCMapStringA (0x0800,0x01000200,0x405e5e10,1,0x405e6078,1): 
unimplemented flags: 0x01000000

As you can see, the first 2 error messages are common to both apps. 
Notepad does, however, run perfectly.

Can I get out of this mess with  proper DLL loading specification ?
Is there anything, short of reverting to the old wine, that I can do ?
I'd appreciate any help you can provide.  I'm a real SC nut and I'll go 
into convulsions from withdrawal if I don't play for a long time :o)

Thanks guys, you're doing an awesome job with wine !




More information about the wine-users mailing list