[Wine] Mac x86: Diablo II Copy Protection

L. Rahyen research at science.su
Thu Nov 9 11:03:43 CST 2006

> but whiile starting it
> err:aspi:ASPI_GetNumControllers Could not open HKLM\L"HARDWARE\
> wineserver(8097) malloc: *** vm_allocate(size=4286775296) failed
> (error code=3)
> wineserver(8097) malloc: *** error: can't allocate region
> wineserver(8097) malloc: *** set a breakpoint in szone_error to debug
> wine client error:13: partial write 64
> err:ntdll:RtlpWaitForCriticalSection section 0x627d09ac
> "x11drv_main.c: X11DRV_CritSection" wait timed out in thread 000f,
> blocked by 000c, retrying (60 sec

	Maybe this is MacOS specific bug? To be sure, do the following:

	1) Rename your .wine directory to something like ".wine.backup".
	2) Now run winecfg again (all your setting should dissappear - if then return 
to 1) ) and configure your CD/DVD-ROMs, don't forget to set their type to 
	3) Install Diablo II without LoD and without additional patchs first. Try to 
run it with "wine explorer /desktop=Diablo_II,800x600 game.exe".
	4) Theoretically it must work perfectly at this point (and you may try to 
install LoD or additional Diablo II patches). If not, then this is probably 
MacOS specific Wine bug. Please write report about this bug to 
http://bugs.winehq.org/ .
	5) Now you can rename your current .wine with Diablo II to something like 
".wine.diablo" and then rename your old ".wine.backup" to ".wine" again.

	P.S. Under Linux Wine' home directory called .wine and locates 
at /home/yourlogin/.wine; I'm not sure about its name under MacOS, I just 
guess that it is .wine too but this isn't neccessary true for your system.
	Also under Linux it is possible to export WINEPREFIX - if this works under 
MacOS then there is no need in renaming your .wine directories; you may use 
WINEPREFIX environment variable instead. Under Linux it defaults to 
"/home/yourlogin/.wine"; by executing someting like "export 
WINEPREFIX=/home/yourlogin/.wine.diablo" you can change this (under Linux). 
Unfortunately I don't know how to export environment variables under MacOS 
but if you know then there is no need in renaming your .wine directories in 
order to switch between them - just use WINEPREFIX instead.

More information about the wine-users mailing list