PDA

View Full Version : WormKit in Wine?


Muzer
3 May 2008, 09:28
I've only tried one module (antikeyboard hook - not sure if it matters which), but if I try to use wormkit I get an error message:

Runtime error 216 at 444066AA

The whole wine terminal log:
muzer@muzer-desktop:~/.wine/drive_c/Team17/Worms Armageddon$ wine WormKit
fixme:ntdll:NtQuerySecurityObject (0x10,0x00000004,(nil),0x00000000,0x33f818) stub!
fixme:ntdll:NtQuerySecurityObject (0x10,0x00000004,0x67010c,0x000000b8,0x33f818) stub!
wine: Unhandled page fault on read access to 0x88ba9384 at address 0x7ee5ef84:0x444066aa (thread 000c), starting debugger...
First chance exception: page fault on read access to 0x88ba9384 in 32-bit code (0x444066aa).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:444066aa ESP:7ee5ec88 EBP:7ee5edd4 EFLAGS:00010282( - 00 - RIS1)
EAX:88ba89c8 EBX:7ebf0000 ECX:00000001 EDX:0000026f
ESI:0000026f EDI:00412540
Stack dump:
0x7ee5ec88: 7ee5eddc 44406717 7ee5edd4 6180511c
0x7ee5ec98: 7ebf0000 61805130 00be0a60 43e5ecd4
0x7ee5eca8: 69775c3a 776f646e 79735c73 6d657473
0x7ee5ecb8: 755c3233 33726573 6c642e32 7ee5006c
0x7ee5ecc8: 00000000 7ee5ed08 00001000 00000004
0x7ee5ecd8: 00000000 7ee5ed18 00000000 00000001
Backtrace:
=>1 0x444066aa in madchook (+0x66aa) (0x7ee5edd4)
2 0x44412353 in madchook (+0x12353) (0x7ee5ee10)
3 0x618043bc in wkantikeyboardhook (+0x43bc) (0x7ee5ee2c)
4 0x61805117 in wkantikeyboardhook (+0x5117) (0x7ee5ee84)
5 0x7bc41c25 call_dll_entry_point+0x15() in ntdll (0x7ee5eea4)
6 0x7bc435ed in ntdll (+0x335ed) (0x7ee5ef34)
7 0x7bc43c44 in ntdll (+0x33c44) (0x7ee5ef84)
8 0x7bc459f7 LdrLoadDll+0x87() in ntdll (0x7ee5efb4)
9 0x7b865de0 in kernel32 (+0x45de0) (0x7ee5f214)
10 0x7b865ff0 LoadLibraryExW+0x50() in kernel32 (0x7ee5f244)
11 0x7b866113 LoadLibraryExA+0x43() in kernel32 (0x7ee5f264)
12 0x7b86614d LoadLibraryA+0x2d() in kernel32 (0x7ee5f284)
13 0x608040f2 in hooklib (+0x40f2) (0x7ee5f2d0)
14 0x7bc41c25 call_dll_entry_point+0x15() in ntdll (0x7ee5f2f0)
15 0x7bc435ed in ntdll (+0x335ed) (0x7ee5f380)
16 0x7bc43c44 in ntdll (+0x33c44) (0x7ee5f3d0)
17 0x7bc459f7 LdrLoadDll+0x87() in ntdll (0x7ee5f400)
18 0x7b865de0 in kernel32 (+0x45de0) (0x7ee5f660)
19 0x7b865ff0 LoadLibraryExW+0x50() in kernel32 (0x7ee5f690)
20 0x7b8660bd LoadLibraryW+0x2d() in kernel32 (0x7ee5f6b0)
21 0x716f0076 (0x7ee5fa28)
22 0x7bc6772e call_thread_entry_point+0xe() in ntdll (0x7ee5fa38)
23 0x7bc68402 in ntdll (+0x58402) (0x7ee5fad8)
24 0x7bc686c2 in ntdll (+0x586c2) (0x7ee603d8)
25 0xb7e6d4fb start_thread+0xcb() in libpthread.so.0 (0x7ee604c8)
26 0xb7defe5e __clone+0x5e() in libc.so.6 (0x00000000)
0x444066aa: movl 0x0(%eax,%edx,4),%edi
Modules:
Module Address Debug info Name (58 modules)
PE 400000- acf000 Deferred wa
PE 44400000-44423000 Export madchook
PE 60800000-6080c000 Export hooklib
PE 61800000-6180d000 Export wkantikeyboardhook
ELF 7b800000-7b929000 Export kernel32<elf>
\-PE 7b820000-7b929000 \ kernel32
ELF 7bc00000-7bca0000 Export ntdll<elf>
\-PE 7bc10000-7bca0000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7e5db000-7e5ee000 Deferred libresolv.so.2
ELF 7e600000-7e61e000 Deferred iphlpapi<elf>
\-PE 7e610000-7e61e000 \ iphlpapi
ELF 7e61e000-7e677000 Deferred rpcrt4<elf>
\-PE 7e630000-7e677000 \ rpcrt4
ELF 7e677000-7e718000 Deferred ole32<elf>
\-PE 7e690000-7e718000 \ ole32
ELF 7e718000-7e7b6000 Deferred oleaut32<elf>
\-PE 7e730000-7e7b6000 \ oleaut32
ELF 7e7b6000-7e7bf000 Deferred libxcursor.so.1
ELF 7e7bf000-7e7dc000 Deferred imm32<elf>
\-PE 7e7d0000-7e7dc000 \ imm32
ELF 7e7dc000-7e7e2000 Deferred libxrandr.so.2
ELF 7e7e2000-7e7ea000 Deferred libxrender.so.1
ELF 7e7ea000-7e7f4000 Deferred libdrm.so.2
ELF 7e7f4000-7e7f9000 Deferred libxfixes.so.3
ELF 7e7f9000-7e7fc000 Deferred libxdamage.so.1
ELF 7e7fc000-7e85e000 Deferred libgl.so.1
ELF 7e85e000-7e863000 Deferred libxdmcp.so.6
ELF 7e863000-7e87b000 Deferred libxcb.so.1
ELF 7e87b000-7e87d000 Deferred libxcb-xlib.so.0
ELF 7e87d000-7e880000 Deferred libxau.so.6
ELF 7e880000-7e967000 Deferred libx11.so.6
ELF 7e967000-7e975000 Deferred libxext.so.6
ELF 7e975000-7e97a000 Deferred libxxf86vm.so.1
ELF 7e97a000-7e992000 Deferred libice.so.6
ELF 7e992000-7e99a000 Deferred libsm.so.6
ELF 7e9ac000-7ea37000 Deferred winex11<elf>
\-PE 7e9c0000-7ea37000 \ winex11
ELF 7ea5e000-7ea7f000 Deferred libexpat.so.1
ELF 7ea7f000-7eaa9000 Deferred libfontconfig.so.1
ELF 7eaa9000-7eabe000 Deferred libz.so.1
ELF 7eabe000-7eb2e000 Deferred libfreetype.so.6
ELF 7eb2e000-7ebc9000 Deferred gdi32<elf>
\-PE 7eb40000-7ebc9000 \ gdi32
ELF 7ebc9000-7ed07000 Deferred user32<elf>
\-PE 7ebf0000-7ed07000 \ user32
ELF 7ed07000-7ed50000 Deferred advapi32<elf>
\-PE 7ed10000-7ed50000 \ advapi32
ELF 7ee61000-7ee6c000 Deferred libnss_files.so.2
ELF 7ee6c000-7ee76000 Deferred libnss_nis.so.2
ELF 7ee76000-7ee8e000 Deferred libnsl.so.1
ELF 7ee8e000-7ee97000 Deferred libnss_compat.so.2
ELF 7efc9000-7efee000 Deferred libm.so.6
ELF b7d15000-b7d19000 Deferred libdl.so.2
ELF b7d19000-b7e68000 Export libc.so.6
ELF b7e68000-b7e80000 Export libpthread.so.0
ELF b7e92000-b7fa6000 Deferred libwine.so.1
ELF b7fa8000-b7fc4000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
0000000a (D) C:\Team17\Worms Armageddon\wa.exe
0000000c 0 <==
0000000b 0
00000008
00000009 0
muzer@muzer-desktop:~/.wine/drive_c/Team17/Worms Armageddon$

Muzer
3 May 2008, 09:36
OK, it must be the module that does it, if I load it with another module the log goes like this:
muzer@muzer-desktop:~/.wine/drive_c/Team17/Worms Armageddon$ wine WormKit
fixme:ntdll:NtQuerySecurityObject (0x10,0x00000004,(nil),0x00000000,0x33f818) stub!
fixme:ntdll:NtQuerySecurityObject (0x10,0x00000004,0x67010c,0x000000b8,0x33f818) stub!
muzer@muzer-desktop:~/.wine/drive_c/Team17/Worms Armageddon$

But then the screen flashes and the ERRORLOG.TXT message comes up.

Will compress and upload now.

lookias
3 May 2008, 12:28
when i try wormkit with wine 0.9.60, a messagebox appears:
failed to start W:A +wormkit.
check that you have administrator priviledges, and that all dlls are in place.

console says this:

wine: Unhandled page fault on write access to 0x89ffff9a at address 0x7ee5ded0 (thread 0017), starting debugger...
Unhandled exception: page fault on write access to 0x89ffff9a in 32-bit code (0x7ee5ded0).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:7ee5ded0 ESP:7e7b26b8 EBP:7e7b2a28 EFLAGS:00210246( - 00 -RIZP1)
EAX:00000000 EBX:716e0000 ECX:00000000 EDX:00000000
ESI:716e032e EDI:7e7b29f9
Stack dump:
0x7e7b26b8: 716f002b 716f0000 716e0000 7efe3ff4
0x7e7b26c8: 01000000 6b6f6f48 2e62694c 006c6c64
0x7e7b26d8: fbebda7e 0000057e 32fa9c00 00004000
0x7e7b26e8: 00004000 32f9a800 32f93800 fd800000
0x7e7b26f8: fe3ff47f 0000007e 32f8b000 32f96c00
0x7e7b2708: fbee7800 0000027e 32f8b000 00000000
Backtrace:
=>1 0x7ee5ded0 in kernel32 (+0x4ded0) (0x7e7b2a28)
2 0x7efc609e (0x7e7b2a38)
3 0x7efc6732 (0x7e7b2ad8)
4 0x7efc6932 (0x7e7b33c8)
5 0xb7e0d192 (0x7e7b34b8)
6 0xb7d9802e (0x00000000)
0x7ee5ded0: andl $68,0x89ffff9a(%ecx)
Modules:
Module Address Debug info Name (15 modules)
PE 400000- acf000 Deferred wa
PE 1ffc0000-1ffe0000 Deferred ltfil10n
PE 1fff0000-2003d000 Deferred ltkrn10n
PE 7e7c0000-7e821000 Deferred dsound
PE 7e810000-7e858000 Deferred winmm
PE 7e890000-7e894000 Deferred ws2_32
PE 7e900000-7e904000 Deferred rpcrt4
PE 7e960000-7e964000 Deferred gdi32
PE 7ea00000-7ea15000 Deferred user32
PE 7eb40000-7eb44000 Deferred advapi32
PE 7eb90000-7eb94000 Deferred ole32
PE 7ec30000-7ec80000 Deferred ddraw
PE 7ecc0000-7ecc4000 Deferred wsock32
PE 7ee10000-7ee7c000 Export kernel32
PE 7ef70000-7ef74000 Deferred ntdll
Threads:
process tid prio (all id:s are in hex)
00000008
00000009 0
0000000c
00000014 0
00000013 0
0000000e 0
0000000d 0
0000000f
00000012 0
00000011 0
00000010 0
00000015 (D) F:\looki\winprogs\wa\wa.exe
00000017 0 <==
00000016 0
Backtrace:
=>1 0x7ee5ded0 in kernel32 (+0x4ded0) (0x7e7b2a28)
2 0x7efc609e (0x7e7b2a38)
3 0x7efc6732 (0x7e7b2ad8)
4 0x7efc6932 (0x7e7b33c8)
5 0xb7e0d192 (0x7e7b34b8)
6 0xb7d9802e (0x00000000)

DexterLB
20 Aug 2009, 14:41
Same thing happens here, too. Please post if you find a solution :(

b1llygo4t
30 Sep 2009, 01:39
has anyone gotten wormkit working in wine yet? i decided to give ubuntu a spin and i admit i have no idea what im doing. i need to find a noob friendly forum i think

CyberShadow
30 Sep 2009, 08:28
WormKit will most likely never work in Wine.

b1llygo4t
30 Sep 2009, 11:51
are there any other options? i know there are 2 other pay programs based on wine...

CyberShadow
30 Sep 2009, 12:05
The only other option is full virtualization (http://worms2d.info/Emulating_Worms_Armageddon).

b1llygo4t
30 Sep 2009, 12:14
im dual booting with vista which im having issues playing on (ill post in the appropriate thread). shame ubuntu has let me down in a couple areas. windows makes me ill and full of rage.


thanks btw

pisto
30 Sep 2009, 13:05
at some time someone said "if you can do [...] wormkit modules will work in wine". What was that? I can spend some time implementing that workaround.

MihaiS_v2
30 Sep 2009, 13:09
windows makes me ill and full of rage.

If you can't handle Windows, do not try retarded alternatives.

pisto
30 Sep 2009, 13:17
I suggest you try Windows 7. Sort of Vista++. Up to now, no problems of anger.

b1llygo4t
30 Sep 2009, 13:27
lol i was just in a thread with a troll in it, mihais you rarely contribute anything please go away. point blank vista sux, i am stuck with it, im looking for alternatives for playing W:A.

pisto i would be very grateful if you would, i dont know how much help i could be other than lurking past threads for info. its awesome that you (cs, dc, and others) have contributed so much to this game.

is 7 out yet? i wanted to get the beta but i heard it was not update-able once it was released.

MihaiS_v2
30 Sep 2009, 13:31
Adding to pisto's comment, I want to say that Windows 7 is the real deal. I installed a wide variety of software on it and I'm stressing it with over 150 processes running in the background, keeping virtual computers on and editing across 2 screens @1920x1200, running all types of server software on it and didn't experience a single crash. I'm running the 64-bit version, which adds to the complexity of the OS having to emulate 32-bit applications. Little to no compatibility issues and you can do stuff on it better than on any other OS. (I hope rebo-retards are not going to jump in and say that 9999% of the web servers run Linux and ****... because that is a sad noob fanboy's excuse). If you have problems running it, blame it on your cheap system and extreme lack of knowledge.

mihais you rarely contribute anything please go away.

I won't start uploading soundbanks, if that's what you mean.

pisto
30 Sep 2009, 15:16
is 7 out yet? i wanted to get the beta but i heard it was not update-able once it was released.The RTM is available on msdn network for some membership kinds. And somewhere else.

CyberShadow
30 Sep 2009, 15:21
WormKit itself can be trivially reimplemented as a Wine patch, however that doesn't solve the real problem - most WormKit modules rely on madCodeHook for code and API hooks. So, you'd need to either get madshi to implement Wine support in madCodeHook (I already asked him about it; he wasn't very interested), or write a drop-in replacement for madCodeHook with the same API that will work on Wine (which is non-trivial).

Muzer
6 Oct 2009, 19:56
I swear other people have that lib working (google if you don't beleive me).

Just ask him to add more verbose error reporting, then it might actually say which DLL isn't there.

b1llygo4t
26 Oct 2009, 09:42
if deadcode adds rubber worm options into the next beta this wont be an issue for WA will it?

GranPC
26 Oct 2009, 17:10
if deadcode adds rubber worm options into the next beta this wont be an issue for WA will it?

Sorry, it will still be. RubberWorm isn't the only WormKit module.

b1llygo4t
26 Oct 2009, 18:13
i was asking if WA would inherit that issue if rubberworm options where added to it. i could do without wormkit. but i dont think it would

franpa
27 Oct 2009, 05:22
It would just be a new scheme format (already planned afaik) and would have no bearing on whether the program works in Wine or not.