[Wine] Trying to run Diablo II MapHack

DARKGuy dark.guy.2008 at gmail.com
Fri Sep 28 22:55:17 CDT 2007

Hey people :)

It's my first post/email here so please bear with me, I tried to reach
wine-bugs through nabble and it said it was read-only so I'm posting it
here... I'm actually very confused on what's the --main-- place where to get
help with wine or report bugs or malfunctions or suggestions/improvements,
so if anybody could guide me I would be very glad :).

Anyways, I'm trying to use MapHack 7.2 Beta5 for Diablo II 1.11b, but it
doesn't work and WINE reports some errors, so I hope this's useful to help
fix it!

Also, distro is Ubuntu Feisty Fawn 7.04 x64, WINE 0.9.46-amd64. Same thing
happens with WINE 0.9.45 built from source and 0.9.45 installed by forcing
its architecture (sudo dpkg -i --force-architecture) and WINE 0.9.43-amd64.

-w = window mode.

$wine Diablo\ II.exe -w
fixme:ntdll:NtSetSystemInformation (0x00000026,0x7b7fd764,0x00000008) stub
<-- injection occurrs here
fixme:ntdll:NtSetSystemInformation (0x6acd9c56,0x33ddbc,0x00000118) stub <--
game room creation starts, poof below!
wine: Unhandled page fault on read access to 0x02797c2c at address
0x6ff64621 (thread 0014), starting debugger...
Unhandled exception: page fault on read access to 0x02797c2c in 32-bit code
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:6ff64621 ESP:7b6e97ec EBP:00003167 EFLAGS:00010212(   - 00      - RIA1)
 EAX:00000000 EBX:7bc8443c ECX:00110020 EDX:00110024
 ESI:02797c00 EDI:00000000
Stack dump:
0x7b6e97ec:  00008117 00000000 000186a0 00000000
0x7b6e97fc:  00000514 0000002d 00000001 7b6e9984
0x7b6e980c:  7b6e9828 00000000 7b6e9988 b227c74a
0x7b6e981c:  0000002b 7b6e9838 f7e8f659 00000000
0x7b6e982c:  7c53c348 0000002b 00000008 7b6e9998
0x7b6e983c:  7c534869 00000000 0000002b 7b6e99cc
=>1 0x6ff64621 in fog (+0x14621) (0x00003167)
  2 0x00000000 (0x00000000)
0x6ff64621: movl	0x2c(%esi),%ecx
Module	Address			Debug info	Name (109 modules)
PE	  400000-  40a838	Deferred        diablo ii
PE	  630000-  644000	Deferred        d2lang
PE	  a90000-  a9d000	Deferred        d2net
PE	  bb0000-  cd2000	Deferred        d2game
PE	10000000-1001a000	Deferred        smackw32
PE	60000000-6002e000	Deferred        ijl11
PE	6f870000-6f87e000	Deferred        d2gdi
PE	6f8e0000-6f9ae000	Deferred        d2win
PE	6f9b0000-6f9c9000	Deferred        d2sound
PE	6f9d0000-6fa0f000	Deferred        d2multi
PE	6fa20000-6fa34000	Deferred        d2mcpclient
PE	6fa40000-6fa6d000	Deferred        d2launch
PE	6fa80000-6faa1000	Deferred        d2gfx
PE	6fab0000-6fbe5000	Deferred        d2client
PE	6fbf0000-6fc50000	Deferred        storm
PE	6fd50000-6fdf9000	Deferred        d2common
PE	6fe10000-6ff17000	Deferred        d2cmp
PE	6ff20000-6ff42000	Deferred        bnclient
PE	6ff50000-6ffac000	Export          fog
ELF	7b800000-7b929000	Deferred        kernel32<elf>
  \-PE	7b820000-7b929000	\               kernel32
ELF	7bc00000-7bca0000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bca0000	\               ntdll
ELF	7bf00000-7bf03000	Deferred        <wine-loader>
ELF	7bf7e000-7bf8a000	Deferred        libgcc_s.so.1
ELF	7bf8a000-7bf9f000	Deferred        psapi<elf>
  \-PE	7bf90000-7bf9f000	\               psapi
ELF	7bf9f000-7bfe9000	Deferred        dbghelp<elf>
  \-PE	7bfb0000-7bfe9000	\               dbghelp
ELF	7bfe9000-7c000000	Deferred        imagehlp<elf>
  \-PE	7bff0000-7c000000	\               imagehlp
ELF	7c2d8000-7c2ed000	Deferred        midimap<elf>
  \-PE	7c2e0000-7c2ed000	\               midimap
ELF	7c2ed000-7c313000	Deferred        msacm32<elf>
  \-PE	7c2f0000-7c313000	\               msacm32
ELF	7c313000-7c32b000	Deferred        msacm32<elf>
  \-PE	7c320000-7c32b000	\               msacm32
ELF	7c32b000-7c3f0000	Deferred        libasound.so.2
ELF	7c404000-7c43a000	Deferred        winealsa<elf>
  \-PE	7c410000-7c43a000	\               winealsa
ELF	7c43a000-7c484000	Deferred        dsound<elf>
  \-PE	7c440000-7c484000	\               dsound
ELF	7c484000-7c512000	Deferred        winmm<elf>
  \-PE	7c490000-7c512000	\               winmm
ELF	7c512000-7c53f000	Deferred        ws2_32<elf>
  \-PE	7c520000-7c53f000	\               ws2_32
ELF	7c563000-7c576000	Deferred        libresolv.so.2
ELF	7c576000-7c594000	Deferred        iphlpapi<elf>
  \-PE	7c580000-7c594000	\               iphlpapi
ELF	7c594000-7c5ed000	Deferred        rpcrt4<elf>
  \-PE	7c5a0000-7c5ed000	\               rpcrt4
ELF	7c5ed000-7c68e000	Deferred        ole32<elf>
  \-PE	7c600000-7c68e000	\               ole32
ELF	7c718000-7c74a000	Deferred        uxtheme<elf>
  \-PE	7c720000-7c74a000	\               uxtheme
ELF	7d857000-7d871000	Deferred        wsock32<elf>
  \-PE	7d860000-7d871000	\               wsock32
ELF	7d871000-7d876000	Deferred        libxfixes.so.3
ELF	7d876000-7d87f000	Deferred        libxcursor.so.1
ELF	7d87f000-7d89c000	Deferred        imm32<elf>
  \-PE	7d890000-7d89c000	\               imm32
ELF	7d89c000-7d8a2000	Deferred        libxrandr.so.2
ELF	7d8a2000-7d8a5000	Deferred        libxinerama.so.1
ELF	7dde3000-7dde5000	Deferred        libnvidia-tls.so.1
ELF	7dde5000-7e66b000	Deferred        libglcore.so.1
ELF	7e66b000-7e6f7000	Deferred        libgl.so.1
ELF	7e6f7000-7e6fc000	Deferred        libxdmcp.so.6
ELF	7e6fc000-7e6ff000	Deferred        libxau.so.6
ELF	7e6ff000-7e7f0000	Deferred        libx11.so.6
ELF	7e7f0000-7e7fe000	Deferred        libxext.so.6
ELF	7e801000-7e809000	Deferred        libxrender.so.1
ELF	7e812000-7e8a0000	Deferred        winex11<elf>
  \-PE	7e820000-7e8a0000	\               winex11
ELF	7e933000-7e953000	Deferred        libexpat.so.1
ELF	7e953000-7e97e000	Deferred        libfontconfig.so.1
ELF	7e97e000-7e992000	Deferred        libz.so.1
ELF	7e992000-7e9fc000	Deferred        libfreetype.so.6
ELF	7ea10000-7ea78000	Deferred        msvcrt<elf>
  \-PE	7ea20000-7ea78000	\               msvcrt
ELF	7ea78000-7ea92000	Deferred        version<elf>
  \-PE	7ea80000-7ea92000	\               version
ELF	7ea92000-7eac6000	Deferred        winspool<elf>
  \-PE	7eaa0000-7eac6000	\               winspool
ELF	7eac6000-7eb84000	Deferred        comctl32<elf>
  \-PE	7ead0000-7eb84000	\               comctl32
ELF	7eb84000-7ebdd000	Deferred        shlwapi<elf>
  \-PE	7eb90000-7ebdd000	\               shlwapi
ELF	7ebdd000-7ece0000	Deferred        shell32<elf>
  \-PE	7ebf0000-7ece0000	\               shell32
ELF	7ece0000-7ed81000	Deferred        comdlg32<elf>
  \-PE	7ecf0000-7ed81000	\               comdlg32
ELF	7ed81000-7edca000	Deferred        advapi32<elf>
  \-PE	7ed90000-7edca000	\               advapi32
ELF	7edca000-7ee65000	Deferred        gdi32<elf>
  \-PE	7ede0000-7ee65000	\               gdi32
ELF	7ee65000-7efa3000	Deferred        user32<elf>
  \-PE	7ee80000-7efa3000	\               user32
ELF	7efa3000-7efae000	Deferred        libnss_files.so.2
ELF	7efae000-7efc5000	Deferred        libnsl.so.1
ELF	7efc5000-7efec000	Deferred        libm.so.6
ELF	7eff6000-7f000000	Deferred        libnss_nis.so.2
ELF	f7d33000-f7d3c000	Deferred        libnss_compat.so.2
ELF	f7d3d000-f7d41000	Deferred        libdl.so.2
ELF	f7d41000-f7e82000	Deferred        libc.so.6
ELF	f7e83000-f7e9a000	Deferred        libpthread.so.0
ELF	f7e9a000-f7eae000	Deferred        lz32<elf>
  \-PE	f7ea0000-f7eae000	\               lz32
ELF	f7eae000-f7fc2000	Deferred        libwine.so.1
ELF	f7fc4000-f7fe2000	Deferred        ld-linux.so.2
process  tid      prio (all id:s are in hex)
	0000000e    0
00000008 (D) H:\games\d2\Diablo II.exe
	0000001a    1
	00000014    0 <==
	0000000c    1
	0000000b    0
	0000000a    0
	00000009    0

For MapHack, it's only:

fixme:advapi:SetSecurityInfo stub

That happens with MapHack... with C3PO it's a different story: it says it
can't find the WNDPROC Entrypoint, and WINE output is this:

$wine C3PO.exe 
fixme:class:CLASS_GetClassLong offset -24 (GCLP_WNDPROC) not supported on
other process window 0x10028

I hope this is useful and if I can be helpful in any other way please tell
View this message in context: http://www.nabble.com/Trying-to-run-Diablo-II-MapHack-tf4537962.html#a12951935
Sent from the Wine - Users mailing list archive at Nabble.com.

More information about the wine-users mailing list