PDA

View Full Version : alright, I've managed to get W:A working in wine


Pages : [1] 2

MadEwokHerd
2 Apr 2006, 13:10
If you're looking for instructions, see http://worms2d.info/Installing_WA_on_Linux%2C_using_WINE_(Sold_Out_Sof tware). You will need Wine version 0.9.46 or older.





Thank you Byte for tracking down and telling me the exact line of code that allowed me to do this. See http://bugs.winehq.org/show_bug.cgi?id=4009#c19 for a patch that applies to wine cvs (or probably any wine source).

Edit: For anyone trying this, it seems to work best in Xephyr. And don't minimize. :x

Edit: Doh. Xephyr won't work. It doesn't lock the mouse properly. Probably the best thing is to run it in a new X display. :/

Edit: Aaaand I can't get a new X display to work because ubuntu does something weird. Ok. Wine's virtual desktop thing is ok. Just make sure the WA window is always active. Always.


Edit: See http://www.nanacide.com/wahelp/installguide-original4.php for instructions.

Face
2 Apr 2006, 18:27
So does it works at all?

Muzer
2 Apr 2006, 19:08
what is wine

MadEwokHerd
2 Apr 2006, 19:58
Wine is a free implementation of the windows API in linux. The idea is to let you run windows programs on linux without having windows. I have W:A running under wine.

See http://forum.team17.co.uk/showpost.php?p=492255&postcount=5 for an explanation of why it was broken before. I told Byte about this, and he eventually suggested I make wine's directdraw always render to the desktop window (which will actually render on whatever happens to be in that space, which in this case is NOT the window used to do the drawing). It seems to work, though I don't know if it's correct. Anything that just draws on whatever window happens to be there is probably not a great idea.

How it was done:
The W:A installer (and the beta update installer, which you need) worked fine in wine. I had to tell wine the location of the device for my cd drive so it would stop complaining about not having a cd. I can't find that documented anywhere, but if the letter for your cd drive in wine is m:, you need to make a symlink ~/.wine/dosdevices/m:: pointing to the actual device (the thing mounted, NOT the mount point; the extra : really is needed here). And then I had to build wine from source, changing one line of code, as described in this patch (http://bugs.winehq.org/attachment.cgi?id=2189&action=view), which you can apply to the wine source with the patch command.

The patch is not in official wine, and it probably shouldn't be. It likely breaks other games and may actually slow all fullscreen games down a bit. I have an idea of how it probably should work, but that will take more time, and even then getting a patch in wine is apparently not easy.

What works:
I had this running in virtual desktop (windowed) mode and haven't used any other setups extensively. I think it may not work properly in full screen mode. The menus work. All the game modes work, including wormnet games. The in-game part of it (not the frontend) works great and has for some time.

Edit: Confirmed the normal (non-virtual-desktop) is broken due to an unrelated bug.

What doesn't work:
Minimization. If you select any window other than W:A, it will attempt to minimize, which usually breaks here (which sort of defeats the purpose of using windowed mode). Completing a training, mission or deathmatch game (winning or losing) causes a sound glitch and may actually make the game unstable for the rest of the session. And sometimes the frontend just breaks for no apparent reason. Also, I think the right-click removing worms from a team creates a context menu you can't see that screws things up when clicked.

Edit: The intro also seems to break the sound here. You may need to use /NOINTRO.

Run
2 Apr 2006, 21:54
So now WA works on linux, wormnet and all? (well, not "all")

I might have to stick up a guide on wahelp *saves thread*

MadEwokHerd
2 Apr 2006, 22:10
Well, wormnet works. But it doesn't work on normal wine (involves a patch), and it's not a simple process setting this up.

Lex
3 Apr 2006, 07:07
Perhaps you could share a binary of the patched version of wine, to make things simpler for other wormers to test this. :)

MadEwokHerd
3 Apr 2006, 07:50
I don't have the resources to distribute or support my own wine binaries. And I think it would be premature to do so, since no real wine devs have yet commented on my patch.

Edit: Also, they'll just end up reporting bugs that I already know about. :p

MadEwokHerd
4 Apr 2006, 05:57
Well, it'll probably be a while before this is fixed in real wine. I've started downloading demos of things that may have issues with this sort of thing (looks like grand prix legends, diablo 2, and fallout 2), and, uh, diablo 2 breaks.

Edit: Or not. But apparently it's a hack.

MadEwokHerd
25 Apr 2006, 18:18
Perhaps you could share a binary of the patched version of wine, to make things simpler for other wormers to test this. :)

And it turns out this isn't as impossible as I originally thought, as I only had to modify one file. Run has put it and a guide up at wahelp (http://www.nanacide.com/wahelp/installguide-original4.php). I sure hope it's clear enough, but I won't know until someone tries it.

I'd like to make an automated installer at some point, but I probably won't have time to do it soon.

evilworm2
26 Apr 2006, 18:44
Run has put it and a guide up at wahelp (http://www.nanacide.com/wahelp/installguide-original4.php).

Nice work.
Maybe you should add some words about how to use an iso file via loopback device.

mount -o loop /path/to_iso /mountpoint

You also have to modify the wine config file a bit. (Path + labelling of the cd image)

MadEwokHerd
26 Apr 2006, 20:58
ISO file/loopback is actually how I do it here, but I worry it'll complicate things if I add too much extra stuff. As long as you know how to mount it, you can use it in wine exactly like a cd.

Hmm, do you really need to mess with the label? I was sure I had it working without that..

evilworm2
27 Apr 2006, 06:33
Hmm, do you really need to mess with the label? I was sure I had it working without that..

because you tried it with the original cd, which is labelled correctly.

MadEwokHerd
27 Apr 2006, 16:02
because you tried it with the original cd, which is labelled correctly.

Actually no, I tried it with an iso. I don't have an original cd here.

evilworm2
27 Apr 2006, 16:27
Actually no, I tried it with an iso. I don't have an original cd here.

ok...
i had to set the label. maybe because i ran w:a with cedega, not with wine.

MadEwokHerd
27 Apr 2006, 19:46
Please try it with wine, especially if you have an original cd. At the moment, I'm the only one I know who has tried this and got it to work (and I used an iso), so it may in fact be a bit flawed. I would expect wine to get labels right on real cds but..you never know..

Also, if you've tried it on cedega, I wouldn't mind hearing how that compares to wine.

phil3k
18 May 2006, 23:21
First of all, thanx for your work, MadEwokHerd - finally a working WA under linux! However, I had to apply your patch (the one posted on your wahelp-site) and recompile wine, copying the ddraw.dll to the WA directory didn't help.

As for cedega: On my system, WA basically works (using cedega 5.1.3). Menus, deathmatch mode and training all work flawlessly, but unfortunately, trying to start a multiplayer (hot-seat) or mission game don't - WA just stays in the menu without starting a game. After a quick google search, it turns out I'm apparently not the only one with that problem.

But who cares, thanks to your patch, there's no need anymore to use cedega for playing WA :-)

MadEwokHerd
31 May 2006, 22:06
I've just tried running worms on wine 0.9.14, and apparently it can't detect the cd. This is bad.

It seems to work ok if I use a physical cd, but not with a disk image.

Edit: And now it chooses to work again. Wtf.

Edit2: *sigh* I haven't a clue now what works and what doesn't. Time to try every possible combination of (physical cd/virtual cd), (autodetect type/force type to cdrom), (link d::/don't), (wine 0.9.13/wine 0.9.14). LET TESTING BEGINS.

MadEwokHerd
1 Jun 2006, 00:56
Alright, it's not a wine problem at all. You just need the x:: symlink to the device if you're using an iso file.

Seita
13 Aug 2006, 21:49
Hmm... Some feedback from following Run's Tutorial:
Summary for those who aren't bothered to read all: It didn't work on Suse 10.0 using Wine 0.9.19


Now for the details, here is precisely what I did:
-Getting Wine: http://switch.dl.sourceforge.net/sourceforge/wine/wine-0.9.19-SuSELinux100.i586.rpm
To: /home/emeric/tmp/wine-0.9.19-SuSELinux100.i586.rpm
Size: 7.8 MB (8,176,460 bytes)
Transferred: 7.8 MB (8,176,460 bytes)

-Install it, and check version:
emeric@linux:~> wine --version
Wine 0.9.19

-Run winecfg, select CD drive (/media/dvdrecorder) set as CD-ROM in advanced settings

-Check audio settings, and leave ALSA default

-Insert CD, and install the game:
emeric@linux:~> cd /media/dvdrecorder
emeric@linux:/media/dvdrecorder> ls
00000001.TMP clcd16.dll clokspl.exe dplayerx.dll Setup.exe splsh256.bmp
AUTORUN.INF clcd32.dll Data Install splsh16.bmp
emeric@linux:/media/dvdrecorder> wine ./Setup.exe

Installation process goes without any problem.
-Making sure the game is where it should be:
emeric@linux:/media/dvdrecorder> ls ~/.wine/drive_c/Program\ Files/wa/wa.exe
/home/emeric/.wine/drive_c/Program Files/wa/wa.exe

Patching
emeric@linux:~/tmp> wine WA_Update-3.0.5.0_Beta_2.exe
And updating
emeric@linux:~/tmp> wine WA_Update-3.6.26.5_Beta.exe

Making sure it was successful:
emeric@linux:~/tmp> ls -l ~/.wine/drive_c/Program\ Files/wa/
-rwxr-xr-x 1 emeric users 1095168 2006-01-05 15:26 WA.exe

Getting modified ddraw.dll
emeric@linux:~/tmp> wget http://www.nanacide.com/wahelp/wa_ddraw-0.9.17.tar.bz2
Uncompress
emeric@linux:~/tmp> tar -xvjf wa_ddraw-0.9.17.tar.bz2
And copy to WA folder
emeric@linux:~/tmp> mv ddraw/ddraw.dll /home/emeric/.wine/drive_c/Program\ Files/wa/
Making sure it did it right.
emeric@linux:~/tmp> ls -l /home/emeric/.wine/drive_c/Program\ Files/wa/
-rwxr-xr-x 1 emeric users 296756 2006-08-04 03:08 ddraw.dll

Running the game
emeric@linux:~/.wine/drive_c/Program Files/wa> wine explorer /desktop=wa,640*480 wa.exe /NOINTRO

Results:
fixme:ole:CoRegisterMessageFilter message filter has been registered, but will not be used
fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMe m (0x168a10) : stub, simulating 64MB for now, returning 64MB left
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x168168)->((nil),00000008)
fixme:d3d:IWineD3DStateBlockImpl_Release Releasing primary stateblock
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x168168)->(0x170032,00000011)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel This is a hacked ddraw drawing to the desktop window instead of the window the app requested!
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x168168)->(0x170032,00000011)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel This is a hacked ddraw drawing to the desktop window instead of the window the app requested!
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 16 to 8
fixme:d3d_surface:IWineGDISurfaceImpl_Blt Can't handle DDBLT_WAIT flag right now.
wine: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 0041), starting debugger...
WineDbg starting on pid 0x40
fixme:dbghelp:SymLoadModule Should have successfully loaded debug information for image C:\Program Files\wa\ddraw.dll
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00000000).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
EIP:00000000 ESP:0034c088 EBP:6053ee80 EFLAGS:00210202( - 00 - -RI1)
EAX:0155db80 EBX:00000000 ECX:0156bd78 EDX:0000000c
ESI:0155dfa8 EDI:005efe90
Stack dump:
0x0034c088: 00401e37 0155db80 005efe90 006f2ac0
0x0034c098: 00604ce0 00401dec 00000002 004a1ab1
0x0034c0a8: 006f2ac0 006f2ac0 0034fdd0 ffffffff
0x0034c0b8: 00000070 01542b58 015414a0 00000000
0x0034c0c8: 00000074 00010000 00000000 00000078
0x0034c0d8: 00000007 006f2ac0 01541470 0000007c
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c0000119
Backtrace:
=>1 0x00000000 (0x00000000)
2 0x5d8948ec (0x5d8948ec)
3 0x00000000 (0x00000000)
0x00000000: addb %al,0x0(%eax)
Modules:
Module Address Debug info Name (93 modules)
PE 400000-a0f000 Deferred wa
PE 1ffc0000-1ffe0000 Deferred ltfil10n
PE 1fff0000-2003d000 Deferred ltkrn10n
ELF 60000000-60017000 Deferred ld-linux.so.2
ELF 60017000-60128000 Deferred libwine.so.1
ELF 6012e000-60137000 Deferred libsm.so.6
ELF 60137000-6013c000 Deferred libxxf86dga.so.1
ELF 6013d000-6014f000 Deferred libpthread.so.0
ELF 6014f000-6026e000 Deferred libc.so.6
ELF 6026e000-60272000 Deferred libdl.so.2
ELF 60273000-60299000 Deferred libm.so.6
PE 60301000-6034a000 Deferred ddraw
PE 60310000-6034a000 Deferred ddraw
ELF 6034a000-6034c000 Deferred xlcutf8load.so.2
ELF 6034c000-60355000 Deferred libxcursor.so.1
ELF 60357000-6035b000 Deferred libresmgr.so.1
ELF 6035e000-60376000 Deferred libice.so.6
ELF 60376000-6037b000 Deferred libxxf86vm.so.1
ELF 6037b000-60389000 Deferred libxext.so.6
ELF 60389000-60482000 Deferred libx11.so.6
ELF 60482000-60516000 Deferred ole32<elf>
\-PE 60490000-60516000 \ ole32
ELF 60516000-6055c000 Deferred advapi32<elf>
\-PE 60520000-6055c000 \ advapi32
ELF 6055c000-60696000 Deferred user32<elf>
\-PE 60580000-60696000 \ user32
ELF 60696000-6074d000 Deferred gdi32<elf>
\-PE 606b0000-6074d000 \ gdi32
ELF 60829000-60834000 Deferred libgcc_s.so.1
ELF 60834000-60885000 Deferred rpcrt4<elf>
\-PE 60840000-60885000 \ rpcrt4
ELF 60885000-608a4000 Deferred iphlpapi<elf>
\-PE 60890000-608a4000 \ iphlpapi
ELF 608a4000-608b7000 Deferred libresolv.so.2
ELF 608b7000-608d1000 Deferred wsock32<elf>
\-PE 608c0000-608d1000 \ wsock32
ELF 608d1000-608fc000 Deferred ws2_32<elf>
\-PE 608e0000-608fc000 \ ws2_32
ELF 608fc000-60986000 Deferred winmm<elf>
\-PE 60910000-60986000 \ winmm
ELF 60986000-609d1000 Deferred dsound<elf>
\-PE 60990000-609d1000 \ dsound
ELF 609d1000-60a6e000 Deferred comdlg32<elf>
\-PE 609e0000-60a6e000 \ comdlg32
ELF 60a6e000-60b58000 Deferred shell32<elf>
\-PE 60a80000-60b58000 \ shell32
ELF 60b58000-60bb1000 Deferred shlwapi<elf>
\-PE 60b70000-60bb1000 \ shlwapi
ELF 60bb1000-60c78000 Deferred comctl32<elf>
\-PE 60bc0000-60c78000 \ comctl32
ELF 60c78000-60ca7000 Deferred winspool<elf>
\-PE 60c80000-60ca7000 \ winspool
ELF 60ca7000-60cc1000 Deferred oledlg<elf>
\-PE 60cb0000-60cc1000 \ oledlg
ELF 60cc1000-60d56000 Deferred oleaut32<elf>
\-PE 60cd0000-60d56000 \ oleaut32
ELF 60d56000-60dc4000 Deferred libfreetype.so.6
ELF 60dc4000-60dd7000 Deferred libz.so.1
ELF 60dd7000-60e07000 Deferred libfontconfig.so.1
ELF 60e07000-60e27000 Deferred libexpat.so.0
ELF 60e27000-60eab000 Deferred winex11<elf>
\-PE 60e40000-60eab000 \ winex11
ELF 60eab000-60f12000 Deferred libgl.so.1
ELF 60f12000-60f1a000 Deferred libxrender.so.1
ELF 60f1a000-60f1e000 Deferred libxrandr.so.2
ELF 60f1e000-60f3d000 Deferred ximcp.so.2
ELF 60f8e000-60faa000 Deferred imm32<elf>
\-PE 60fa0000-60faa000 \ imm32
ELF 60faa000-60fd4000 Deferred winealsa<elf>
\-PE 60fb0000-60fd4000 \ winealsa
ELF 60fd4000-61092000 Deferred libasound.so.2
ELF 610c7000-610df000 Deferred msacm32<elf>
\-PE 610d0000-610df000 \ msacm32
ELF 61105000-6111a000 Deferred midimap<elf>
\-PE 61110000-6111a000 \ midimap
ELF 6111a000-6114c000 Deferred uxtheme<elf>
\-PE 61120000-6114c000 \ uxtheme
ELF 6117e000-6119c000 Deferred libcups.so.2
ELF 6119c000-611cc000 Deferred libssl.so.0.9.7
ELF 611cc000-612c6000 Deferred libcrypto.so.0.9.7
ELF 612c6000-612d1000 Deferred libnss_files.so.2
ELF 613de000-613f2000 Deferred riched32<elf>
\-PE 613e0000-613f2000 \ riched32
ELF 613f2000-61437000 Deferred riched20<elf>
\-PE 61400000-61437000 \ riched20
ELF 61437000-614e7000 Deferred wined3d<elf>
\-PE 61440000-614e7000 \ wined3d
ELF 614e7000-61566000 Deferred libglu.so.1
ELF 7b800000-7b907000 Deferred kernel32<elf>
\-PE 7b820000-7b907000 \ kernel32
ELF 7bc00000-7bc83000 Deferred ntdll<elf>
\-PE 7bc10000-7bc83000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
Threads:
process tid prio (all id:s are in hex)
00000040 (D) C:\Program Files\wa\WA.exe
00000042 15
00000041 0 <==
0000003e
0000003f 0
00000010
00000015 0
00000014 0
00000013 0
00000012 0
00000011 0
0000000a
0000000b 0
emeric@linux:~/.wine/drive_c/Program Files/wa>

And I'm back to command prompt, after having seen 3 screens (A darkgreen one, a black one, and a dark green again.)

Note: If I simply call wine Wa.exe /NOINTRO, it crashes the same way, and leaves my desktop with a 640*480 resolution.

Did I do something wrong ?


Would be double post Edit:
However, I had to apply your patch (the one posted on your wahelp-site) and recompile wine, copying the ddraw.dll to the WA directory didn't help.

I'm trying that, and I'll give feedback as soon as possible.

MadEwokHerd
13 Aug 2006, 23:13
I haen't tested WA yet on wine 0.9.19, but I don't think it's because of the patch, as the crash doesn't look ddraw-related (also I do use WA with wine from cvs, so I think I'd know if it broke in exactly that way). You're technically not supposed to use dlls built for one wine version on another, but I don't build them for every new release unless they seem to be needed.

You said you installed the patch and update, but the "patch" is actually called WAPatch.exe. Are you using the UK version? If so, you should have installed the patch from http://wa.team17.com/main.html?page=supp&area=patc before the beta update.

Seita
14 Aug 2006, 09:45
Aw... You're right...

Too used to simply copy my game folder each time I need to "install" the game.
Hmm... I'll try that tonight, thanks.

Seita
14 Aug 2006, 23:51
Whooo ! It works.

Looks like I forgot the patch, in fact. Thanks a lot !

Seita
16 Aug 2006, 19:47
I'll be bothering you again...

Now I want to tell wine to use a CD image.

I've ran as root:
mkdir /mnt/wa
mount -o loop /windows/D/CD/WaPurple.iso /mnt/wa

And it seemed to work perfectly.

Then I went to winecfg, told him that /mnt/wa is a CD-ROM drive and... WA still asks me to insert a CD into the drive. What did I forget ? (Setting CD label to "WA" didn't help)

MadEwokHerd
17 Aug 2006, 03:11
Wine does a bit of automatic configuration of your cd that I didn't mention (because it doesn't apply to most people). In your ~/.wine/dosdevices directory, there are a bunch of x: symlinks that point to the location of each drive. There are also x:: symlinks that point to the device of each drive. If you use a cd image, you'll have to put that x:: link in yourself.

I thought about adding a section about using an iso but never got around to it..

Seita
17 Aug 2006, 18:17
lrwxrwxrwx 1 emeric users 7 2006-08-15 23:33 e: -> /mnt/wa

The image is mounted, and I could even install the game from it;
Wine knows it's a CD-ROM.

But still, it asks me to insert the CD when trying to launch the game.

MadEwokHerd
17 Aug 2006, 20:19
You also need e:: -> /windows/D/CD/WaPurple.iso

Seita
18 Aug 2006, 20:40
Whooo... Now I'm wondering how I can be thankful enough for all that...

Hmm.. One last point then I stop bothering you...

I applied the same process to WWP, and it worked like a charm, except the fact it refuses to connect to wormnet2 99% of the time. I get to hear WN welcome music (And i don't always get that far) but nothing more comes. Except 3 times it worked, which makes it even more weird.

Grrrrrrr
5 Sep 2006, 01:15
I never could run the game with wine
I can't run the game with wine.
I feel that I won't run the f... game with wine coz I tried all

Evil Bunny
13 Oct 2006, 19:37
Well, i'm gettin there thanks to you Ewok. Still one thing left... I've installed all patches and then yer dll. But now it's givin me a no cd message. (and i'm one of the few who actually still has one!) Any thoughts on what i might've done wrong?

MadEwokHerd
13 Oct 2006, 23:07
It usually means you're using an iso and need to make a device symlink, ~/.wine/dosdevices/x:: pointing to your iso.

tajmox
18 Oct 2006, 20:48
Hey I got WA working in Linux as well, using Cedega.
I'm able to play local games and connect to wormnet to chat.
But I can't join any games, It just sits and tries to connect forever.

Curious that it'll connect to wormnet but not any user games.
I've opened ports 6667 and 17010-17012.

Any idea?

MadEwokHerd
18 Oct 2006, 21:04
You're on your own. No one here has gotten the networking part of WA to work properly with cedega.

tajmox
18 Oct 2006, 21:10
well damn.
then what's the point??? :eek: :mad: :p

MadEwokHerd
18 Oct 2006, 21:11
I don't know. We were talking about wine until you got here.

tajmox
18 Oct 2006, 21:13
Cedega is a frontend for wine..
Guess i'll have to use wine the hard way like you did =)

MadEwokHerd
18 Oct 2006, 21:18
You are mistaken. Cedega is a proprietary fork of wine, from a time when the license was more permissive and allowed them to keep their forked code a secret. It's not the same.

Networking has been known to work in wine, but not in cedega.

tajmox
19 Oct 2006, 23:20
I would very much like to get WA working in wine, It installs fine but won't run, and I used the modified ddraw.dll. You're saying I have to recompile wine and modify dlls/ddraw/surface_user.c with the code below? Can you provide your wine binary and config? I'm using wine0.9.23, do I need 0.9.17 for it to work?
Thanks
Index: dlls/ddraw/surface_user.c
================================================== =================
RCS file: /home/wine/wine/dlls/ddraw/surface_user.c,v
retrieving revision 1.2
diff -u -r1.2 surface_user.c
--- dlls/ddraw/surface_user.c 26 Jul 2005 20:10:51 -0000 1.2
+++ dlls/ddraw/surface_user.c 2 Apr 2006 12:03:38 -0000
@@ -385,6 +385,7 @@

if (This->ddraw_owner->cooperative_level & DDSCL_FULLSCREEN)
{
+ return GetDesktopWindow();
#ifdef OWN_WINDOW
USER_PRIV_VAR(priv, This);
#if 1

MadEwokHerd
19 Oct 2006, 23:33
The code that patch applies to has been entirely replaced, and there's a newer patch that applies 0.9.17. As far as I know it also applies to 0.9.23 and works there but I haven't been able to keep up with the new versions lately.

Technically, when you modify wine, you are supposed to rebuild the whole thing and use that version, but I've just been taking the ddraw.dll.so from the build, renaming it to ddraw.dll, and dropping it in the WA directory. That seems to work fine. I have them built for versions 0.9.17-0.9.22; the dll files and the patches used to build them are at http://madewokherd.nfshost.com/worms/

You might be able to get away with using the 0.9.22 version on 0.9.23, usually nothing bad happens, but if you really want to build it yourself you can probably apply the 0.9.22 patch to the 0.9.23 source (to apply it, go to your wine build directory and type "patch -p0 < wa_ddraw-0.9.22.patch").

Otherwise, since I've been reminded of it I'll hopefully get a version for 0.9.23 up today and get the other versions built back to 0.9.15 so Run can update wahelp.

Edit: Also, http://www.nanacide.com/wahelp/installguide-original4.php should be useful even though the links for ddraw.dll are obsolete.

Edit2: The patch didn't apply because of some code reformatting, but the dll for 0.9.23 is up: http://madewokherd.nfshost.com/worms/wa_ddraw-0.9.23.tar.bz2

tajmox
20 Oct 2006, 01:19
rebuild the whole thing and use that version, but I've just been taking the ddraw.dll.so from the build, renaming it to ddraw.dll, and dropping it in the WA directory. That seems to work fine.

Damn, I used the modified ddraw dll and still get a ddraw error. both windowed and fullscreen:

fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x18fb18) : stub
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x18f280)->((nil),00000008)
fixme:d3d:debug_d3dformat Unrecognized 1600942189 (as fourcc: mpl_) WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(1600942189) in the format lookup table
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found! (XRandR)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found! (XRandR)
err:ddraw:IDirectDrawImpl_SetCooperativeLevel IWineD3DDevice::GetHWND failed, hr = 88760078
fixme:d3d:IWineD3DStateBlockImpl_Release Releasing primary stateblock
fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x18fb18) : stub
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x18f280)->(0x10028,00000011)
fixme:d3d:debug_d3dformat Unrecognized 1600942189 (as fourcc: mpl_) WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(1600942189) in the format lookup table
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found! (XRandR)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found! (XRandR)
err:ddraw:IDirectDrawImpl_SetCooperativeLevel IWineD3DDevice::GetHWND failed, hr = 88760078
fixme:win:LockWindowUpdate ((nil)), partial stub!
wine: Unhandled page fault on write access to 0x00000000 at address 0x7c413f8a (thread 0009), starting debugger...
fixme:dbghelp:SymLoadModule Should have successfully loaded debug information for image C:\wa\ddraw.dll
Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x7c413f8a).

MadEwokHerd
20 Oct 2006, 01:22
The modified dll doesn't fix crashes. The only problem it fixes is where you can't see the frontend.

Have you updated? I don't think the earlier versions (the ones on the cds) work.

Run
21 Oct 2006, 18:04
right, i've lost track of this (been very busy and stressed lately, hence not much foruming)

what needs updating on my wahelp page?

MadEwokHerd
21 Oct 2006, 22:17
I'll let you know when I've stopped being so lazy.

Elliott
30 Oct 2006, 10:07
Fullscreen:

ehird@ehird:~/.wine/drive_c/Team17/Worms Armageddon$ wine WA.exe /nointro
fixme:ole:CoRegisterMessageFilter message filter has been registered, but will n
ot be used
fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x167020) : stub
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x166758)->((nil),00000008)
fixme:d3d:debug_d3dformat Unrecognized 1600942189 (as fourcc: mpl_) D3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(1600942189) in the f
ormat lookup table
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found! (XRandR)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found! (XRandR)
err:ddraw:IDirectDrawImpl_SetCooperativeLevel IWineD3DDevice::GetHWND failed, hr
= 88760078
fixme:d3d:IWineD3DStateBlockImpl_Release Releasing primary stateblock
fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x167020) : stub
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x166758)->(0x10028,00000011)
fixme:d3d:debug_d3dformat Unrecognized 1600942189 (as fourcc: mpl_) D3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(1600942189) in the f
ormat lookup table
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found! (XRandR)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found! (XRandR)
err:ddraw:IDirectDrawImpl_SetCooperativeLevel IWineD3DDevice::GetHWND failed, hr
= 88760078
fixme:win:LockWindowUpdate ((nil)), partial stub!
wine: Unhandled page fault on write access to 0x00000000 at address 0x7deaeb80 (
thread 0009), starting debugger...
Modules:
Cannot get info on module while no process is loaded
Threads:
process tid prio (all id:s are in hex)
0000000a
0000000b 0
00000008 (D) (null)
00000009 0

Windowed:

ehird@ehird:~/.wine/drive_c/Team17/Worms Armageddon$ wine explorer /desktop=wa,6
40x480 wa.exe /NOINTRO
fixme:ole:CoRegisterMessageFilter message filter has been registered, but will n
ot be used
fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x165dd0) : stub
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x165508)->((nil),00000008)
fixme:d3d:debug_d3dformat Unrecognized 1600942189 (as fourcc: mpl_) D3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(1600942189) in the f
ormat lookup table
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found! (desktop)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found! (desktop)
err:ddraw:IDirectDrawImpl_SetCooperativeLevel IWineD3DDevice::GetHWND failed, hr = 88760078
fixme:d3d:IWineD3DStateBlockImpl_Release Releasing primary stateblock
fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x165dd0) : stub
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x165508)->(0x10028,00000011)
fixme:d3d:debug_d3dformat Unrecognized 1600942189 (as fourcc: mpl_) D3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(1600942189) in the f ormat lookup table
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found! (desktop)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found! (desktop)
err:ddraw:IDirectDrawImpl_SetCooperativeLevel IWineD3DDevice::GetHWND failed, hr = 88760078
fixme:win:LockWindowUpdate ((nil)), partial stub!
wine: Unhandled page fault on write access to 0x00000000 at address 0x7dea7b80 ( thread 000c), starting debugger...
Modules:
Cannot get info on module while no process is loaded
Threads:
process tid prio (all id:s are in hex)
0000000b (D) (null)
0000000c 0
00000008
00000009 0

Applied both wapatch and the latest update. Any ideas?

MadEwokHerd
30 Oct 2006, 20:54
You know on http://www.nanacide.com/wahelp/installguide-original4.php where it says to get http://www.nanacide.com/wahelp/wa_ddraw-0.9.17.tar.bz2? Yeah, uh, you actually need to get http://madewokherd.nfshost.com/worms/wa_ddraw-0.9.24.tar.bz2 (substituting 0.9.24 for whatever version of wine you happen to be using). That goes for 0.9.16 and above. If anyone actually still uses 0.9.15 and below, the guide is still correct.

Run: You now have the information needed to update that page. Sorry it took so long. :p

Elliott
31 Oct 2006, 18:24
fullscreen = zooms into the corner and messes up weird things, chops of a bit of the bottom, i.e. unusable
windowed = pops up a teal window, flashes black, teal again, then exits.

Elliott
31 Oct 2006, 19:36
alright. got it working perfectly fullscreened. i'll make a video tutorial later.

Run
1 Nov 2006, 14:59
You know on http://www.nanacide.com/wahelp/installguide-original4.php where it says to get http://www.nanacide.com/wahelp/wa_ddraw-0.9.17.tar.bz2? Yeah, uh, you actually need to get http://madewokherd.nfshost.com/worms/wa_ddraw-0.9.24.tar.bz2 (substituting 0.9.24 for whatever version of wine you happen to be using). That goes for 0.9.16 and above. If anyone actually still uses 0.9.15 and below, the guide is still correct.

Run: You now have the information needed to update that page. Sorry it took so long. :p

Wait so lemme get this right... do I need to host only two files? One for 0.9.15 and below and another (which at the moment is 0.9.24) for everything else above?

MadEwokHerd
1 Nov 2006, 17:13
Uh, every version >= 0.9.16 should have its own dll built for that version. Meaning that I have to build a new one every time there's a new wine release. This is much easier than trying to figure out which ddraws work with which wine releases.

Since I have to build a new one every wine release, I'd prefer you link to madewokherd.nfshost.com/worms/wa_ddraw-0.9.XX.tar.bz2 rather than trying to host them all; hopefully the delay will only be up to about 2 days.

Run
1 Nov 2006, 18:15
Ah right! Okay, I'll sort that out.

tajmox
4 Nov 2006, 00:49
Following nanacide's guide exactly, I've successfully got WA to run perfectly. And it was EASY!
In fact, it even out performs Windows XP.
No crashing on alt-tab and windowed mode kicks butt!

Running Ubuntu 6.10

MadEwokHerd
4 Nov 2006, 04:16
I'm glad to hear it out-performs windows xp but....uh...it really doesn't. You can't get a good framerate at high resolutions.

Elliott
4 Nov 2006, 10:55
running it at 1280x1024 with programs in the background and a crowded internet game was fine for me.

tajmox
5 Nov 2006, 23:21
yeah I play at 1280 and the framerate is fine.
Using ATI fglrx drivers

MadEwokHerd
5 Nov 2006, 23:22
Seriously? Did you actually test this (run with WINEDEBUG=+fps)?

franpa
9 Nov 2006, 12:18
I'm trying to get Worms Armageddon working in Wine (version 0.9.24).
I've installed the latest beta patch (3.6.26.5_Beta), the modified
ddraw.dll and some missing DLLs. I can play a quick game against the
computer, but when I go to the options menu, and edit teams, it crashes.
I get this error:

wine: Unhandled page fault on read access to 0x00000000 at address 0
x558b00 (thread 0009), starting debugger...
fixme:dbghelp:SymLoadModule Should have successfully loaded debug in
formation for image C:\Program Files\worms armageddon\ddraw.dll
Unhandled exception: page fault on read access to 0x00000000 in 32-b
it code (0x00558b00).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
EIP:00558b00 ESP:0032a9d4 EBP:0032a9f0 EFLAGS:00010246( - 00
-RIZP1)
EAX:00000000 EBX:00000000 ECX:00000000 EDX:0032aa18
ESI:0154cf78 EDI:003393f0
Stack dump:
0x0032a9d4: 00554200 00000000 003393f0 0154cf78
0x0032a9e4: 00000000 0055379d 00000000 003318e8
0x0032a9f4: 0042d1ce 00000000 00000000 00000000
0x0032aa04: 0032aa18 00000000 00332384 003393f0
0x0032aa14: 0154cf78 2e383638 00706d62 0000f5ac
0x0032aa24: 0032aa28 00000000 00000000 00332c04
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c0000119
Backtrace:
=>1 0x00558b00 in wa (+0x158b00) (0x0032a9f0)
2 0x0042d1ce in wa (+0x2d1ce) (0x003318e8)
3 0x00000001 (0x005b82f8)
4 0x00497790 in wa (+0x97790) (0x005730b5)
5 0x448bc300 (0x5843acb8)
6 0x00000000 (0x00000000)
0x00558b00: movl 0x0(%ecx),%eax
Modules:
Module Address Debug info Name (111 modules)
PE 400000-a0f000 Export wa
PE 1ffc0000-1ffe1000 Deferred ltfil10n
PE 1fff0000-2003d000 Deferred ltkrn10n
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7bfec000-7c000000 Deferred avicap32<elf>
\-PE 7bff0000-7c000000 \ avicap32
ELF 7c16a000-7c189000 Deferred devenum<elf>
\-PE 7c170000-7c189000 \ devenum
ELF 7c189000-7c19d000 Deferred lz32<elf>
\-PE 7c190000-7c19d000 \ lz32
ELF 7c19d000-7c1b6000 Deferred version<elf>
\-PE 7c1a0000-7c1b6000 \ version
ELF 7c1b6000-7c1dd000 Deferred msvfw32<elf>
\-PE 7c1c0000-7c1dd000 \ msvfw32
ELF 7c1dd000-7c237000 Deferred quartz<elf>
\-PE 7c1f0000-7c237000 \ quartz
ELF 7ccf3000-7cd6d000 Deferred libglu.so.1
ELF 7cd8a000-7ce43000 Deferred wined3d<elf>
\-PE 7cda0000-7ce43000 \ wined3d
ELF 7ce43000-7ce88000 Deferred riched20<elf>
\-PE 7ce50000-7ce88000 \ riched20
ELF 7ce88000-7cfbd000 Deferred libcrypto.so.0.9.8
ELF 7cfbd000-7cffb000 Deferred libssl.so.0.9.8
ELF 7cffb000-7d018000 Deferred libcups.so.2
ELF 7d018000-7d021000 Deferred libgcc_s.so.1
ELF 7d021000-7d035000 Deferred riched32<elf>
\-PE 7d030000-7d035000 \ riched32
ELF 7d055000-7d088000 Deferred uxtheme<elf>
\-PE 7d060000-7d088000 \ uxtheme
ELF 7d0ae000-7d16d000 Deferred libasound.so.2
ELF 7d37f000-7d394000 Deferred midimap<elf>
\-PE 7d390000-7d394000 \ midimap
ELF 7d394000-7d3ac000 Deferred msacm32<elf>
\-PE 7d3a0000-7d3ac000 \ msacm32
ELF 7d3ac000-7d3d6000 Deferred winealsa<elf>
\-PE 7d3c0000-7d3d6000 \ winealsa
ELF 7d3d6000-7d3f3000 Deferred imm32<elf>
\-PE 7d3e0000-7d3f3000 \ imm32
ELF 7d3f3000-7d3f6000 Deferred libxinerama.so.1
ELF 7d3fe000-7d408000 Deferred libxcursor.so.1
ELF 7d408000-7d40c000 Deferred iso8859-15.so
ELF 7dab2000-7e275000 Deferred libglcore.so.1
ELF 7e275000-7e2fa000 Deferred libgl.so.1
ELF 7e2fa000-7e387000 Deferred winex11<elf>
\-PE 7e310000-7e387000 \ winex11
ELF 7e387000-7e3ac000 Deferred libexpat.so.0
ELF 7e3ac000-7e3df000 Deferred libfontconfig.so.1
ELF 7e3df000-7e3f0000 Deferred libz.so.1
ELF 7e3f0000-7e46e000 Deferred libfreetype.so.6
ELF 7e470000-7e475000 Deferred libxfixes.so.3
ELF 7e475000-7e479000 Deferred libxrandr.so.2
ELF 7e479000-7e482000 Deferred libxrender.so.1
ELF 7e48b000-7e524000 Deferred oleaut32<elf>
\-PE 7e4a0000-7e524000 \ oleaut32
ELF 7e524000-7e545000 Deferred oledlg<elf>
\-PE 7e530000-7e545000 \ oledlg
ELF 7e545000-7e575000 Deferred winspool<elf>
\-PE 7e550000-7e575000 \ winspool
ELF 7e575000-7e638000 Deferred comctl32<elf>
\-PE 7e580000-7e638000 \ comctl32
ELF 7e638000-7e691000 Deferred shlwapi<elf>
\-PE 7e650000-7e691000 \ shlwapi
ELF 7e691000-7e77d000 Deferred shell32<elf>
\-PE 7e6a0000-7e77d000 \ shell32
ELF 7e77d000-7e819000 Deferred comdlg32<elf>
\-PE 7e790000-7e819000 \ comdlg32
ELF 7e819000-7e864000 Deferred dsound<elf>
\-PE 7e820000-7e864000 \ dsound
ELF 7e864000-7e8ee000 Deferred winmm<elf>
\-PE 7e870000-7e8ee000 \ winmm
ELF 7e8ee000-7e919000 Deferred ws2_32<elf>
\-PE 7e900000-7e919000 \ ws2_32
ELF 7e919000-7e92b000 Deferred libresolv.so.2
ELF 7e92b000-7e949000 Deferred iphlpapi<elf>
\-PE 7e930000-7e949000 \ iphlpapi
ELF 7e949000-7e99c000 Deferred rpcrt4<elf>
\-PE 7e960000-7e99c000 \ rpcrt4
ELF 7e99c000-7ea30000 Deferred gdi32<elf>
\-PE 7e9b0000-7ea30000 \ gdi32
ELF 7ea30000-7eb68000 Deferred user32<elf>
\-PE 7ea50000-7eb68000 \ user32
ELF 7eb68000-7ebad000 Deferred advapi32<elf>
\-PE 7eb70000-7ebad000 \ advapi32
ELF 7ebad000-7ec44000 Deferred ole32<elf>
\-PE 7ebc0000-7ec44000 \ ole32
ELF 7ec44000-7ec49000 Deferred libxdmcp.so.6
ELF 7ec49000-7ed4c000 Deferred libx11.so.6
ELF 7ed4c000-7ed5d000 Deferred libxext.so.6
ELF 7ed5d000-7ed75000 Deferred libice.so.6
ELF 7ed75000-7ed7e000 Deferred libsm.so.6
PE 7ed7e000-7edcb000 Deferred ddraw
PE 7ed90000-7edcb000 Deferred ddraw
ELF 7edf7000-7ef13000 Deferred kernel32<elf>
\-PE 7ee10000-7ef13000 \ kernel32
ELF 7ef13000-7ef1d000 Deferred libnss_files.so.2
ELF 7ef1d000-7ef27000 Deferred libnss_nis.so.2
ELF 7ef27000-7ef3c000 Deferred libnsl.so.1
ELF 7ef3c000-7ef60000 Deferred libm.so.6
ELF 7ef61000-7ef63000 Deferred libnvidia-tls.so.1
ELF 7ef63000-7ef7d000 Deferred wsock32<elf>
\-PE 7ef70000-7ef7d000 \ wsock32
ELF 7ef7d000-7f000000 Deferred ntdll<elf>
\-PE 7ef90000-7f000000 \ ntdll
ELF b7ce1000-b7ce7000 Deferred libxxf86vm.so.1
ELF b7ce9000-b7ced000 Deferred libdl.so.2
ELF b7ced000-b7e0a000 Deferred libc.so.6
ELF b7ced000-b7e0a000 Deferred libc.so.6
ELF b7e1d000-b7e20000 Deferred libxau.so.6
ELF b7e31000-b7e39000 Deferred libnss_compat.so.2
ELF b7e39000-b7f49000 Deferred libwine.so.1
ELF b7f4a000-b7f65000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
0000000a
0000000c 0
0000000b 0
00000008 (D) C:\Program Files\worms armageddon\WA.exe
0000000d 15
00000009 0 <==

This crash occurs when a few trying other things as well. Anybody knows
how to fix this?

this is a message from someone who cant register here due to a bug on these forums preventing people from registering... i am posting his message on his behalf.

edit: he cant even view these forums unless he's registered. (this has been addressed)

MadEwokHerd
9 Nov 2006, 20:13
Uh, missing dlls? If you do the whole install/patch/update process right, you should have all the dlls you need. But this is odd because every wrong way I know of to do that causes WA to not work at all.

*checks wahelp for suggestions for windows users that have this problem*

This can be caused by having a custom grave or flag with incorrect colours or dimensions, or having a program with an "All On Top" feature. Try removing all custom flags and graves, and closing other programs, or finding this setting on other programs and disabling it.

This seems familiar. Like someone else had this problem. But I can't remember how that turned out. To stop the "All On Top" thing, you may want to try virtual desktop mode. There's a bug on some systems that causes panels to be on top of the WA frontend (even though you can't see them); a virtual desktop would get around that.

Edit: It turned out the problem was never solved.

halfgaar
10 Nov 2006, 12:46
Hello, halfgaar here, the one Franpa posted for.

The missing DLL's were:

ltfil10N.dll
LTKRN10N.DLL

l10n is localization (10 letters between l and n). The fact that the game started in Dutch mode, with Dutch speaking worms (blugh...), probably has something to do with these DLL's being required. My system is configured as English BTW, only time, paper, numeric, monetary and ctype are configured "nl_NL@euro". I wonder why WA chose to be dutch, as none of these variables is language. Unsetting the LC_* variables has no effect on the crash.

Playing with a virtual desktop doesn't make a difference to full screen. I also don't have problems with this all on top thing.

CyberShadow
10 Nov 2006, 13:30
ltfil10N.dll
LTKRN10N.DLL

l10n is localization (10 letters between l and n).

*cough* No.

LT = Lead Tools
KRN = Kernel module
FIL = Files module
10 = version 10
N = unknown (could be Normal, Non-threaded, etc.)

or something like that.

franpa
10 Nov 2006, 13:31
as pointed out already... you are meant to patch (update to v3.00) your game then update (to 3.2.26.5) it... if you dont then these dll files will be missing plus what ever else... so yea...

aslo take note that halfgaar has v1.05euro not v3.00 :D

halfgaar
10 Nov 2006, 13:58
Hey, what do you know, it works. Without those DLL's.

I didn't know I had to use the WA_Patch (which updates to 3.0) first, because the beta patch said this:

You can update any WA CD version straight to v3.6.26.5 WITHOUT updating to any other version first.

I'll do some detailed investigating and see if the game still poses problems.

MadEwokHerd
10 Nov 2006, 17:13
It depends on what version of WA you have on the CD. If it's 1.0, you need to patch and then update. Otherwise (this is the case for most people), you just need to update.

franpa
10 Nov 2006, 17:17
small mistake on runs site lead him to not patch it prior to updating it... the wine guide on runs site for the original cd does not explain patching or updating the game... only how to install and replace a single dll file.

Run
10 Nov 2006, 17:27
Since I have no familiarity with Wine whatsoever, MadEwokHerd is responsible for the content of that particular page ;) I wouldn't know where to begin with describing how to patch it or update it, since it's probably a different process.

halfgaar
10 Nov 2006, 18:12
Patching and updating goes pretty much the same as in windows, you just run the WA_update.exe and the blabla-beta.exe with wine in that order, and point them to the WA directory.

Anyway, I've been testing some more stuff. Running with /nointro causes most stuff I've tried so far to work, including internet play, but "training disciplines" doesn't. Can you guys run that?

I do have those problems with the program becoming inactive sometimes, even though it stays visible, and I have to fiddle with alt-tab to get it back. I'll test with a virtual desktop, to see if that is a pleasant workaround.

MadEwokHerd
10 Nov 2006, 20:40
Patching and updating goes pretty much the same as in windows, you just run the WA_update.exe and the blabla-beta.exe with wine in that order, and point them to the WA directory.

Um, isn't that what it says? I'm too lazy to actually describe the process in the detail found on the windows guides.

franpa
11 Nov 2006, 05:09
you dont actually say to refer to the windows guide on it... you say that it is similar to the windows guide.

Run
11 Nov 2006, 08:22
It doesn't mention the windows guide at all, it just says "patch and update as you would do on windows"

That's probably enough

franpa
11 Nov 2006, 08:51
This process is identical to the process on Windows 2000/XP, except that you run windows programs differently. Open a terminal, cd to the directory of the executable, and run

this aint saying to follow the windows guide. it says its different but it doesnt explain this different process.

Run
11 Nov 2006, 11:39
Well if someone tells me what it should say I'll change it :rolleyes:

Until then that page aint goin' nowheres

franpa
11 Nov 2006, 13:04
it should simply say that "to patch/update the game please refer to the windows guide."

halfgaar
11 Nov 2006, 13:14
What confused me, was that the beta patch on the team17 website said that it included everything that came before. That's why I thought the 3.0 patch wasn't required. A note about not believing that, with a link to the windows guide will do :)

Anyway, are you guys able to run training disciplines in Wine? It crashes.

MadEwokHerd
11 Nov 2006, 19:34
Works for me. Unless you mean Basic Training, in which case it does crash unless I disable the sound (a lot of things do). Sadly winedbg is broken here so I can't look into it in more detail.

FWIW, do you have debug output from the crash?

halfgaar
12 Nov 2006, 11:15
For some reason, I can't start it al all anymore. It opens a virtual desktop window, shows a smaller window in it (which isn't drawn completely) and it just hangs. It could have something to do with my upgrade to GCC 4.1 and the recompile of my system. I'll see if I can figure it out.

Edit:

It says this:

fixme:ddraw:print_gdi_surface_warning This is a hacked ddraw defaulting to GDI even when opengl surfaces would be used!
fixme:ddraw:print_gdi_surface_warning The normal way to default to GDI surfaces is to set "HKEY_CURRENT_USER\Software\Wine\Direct3D" to "gdi"
fixme:ddraw:print_gdi_surface_warning If that works for you then you shouldn't use this hack.
fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMe m (0x168ca0) : stub, simulating 64MB for now, returning 64MB left
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x1683c0)->((nil),00000008)
fixme:d3d:IWineD3DStateBlockImpl_Release Releasing primary stateblock
fixme:d3d_surface:IWineGDISurfaceImpl_Blt Can't handle DDBLT_WAIT flag right now.

halfgaar
17 Nov 2006, 12:53
OK, I've got WA working again. The reason it didn't work was somewhere between the chair and the keyboard; the CD drive was not mounted. The drive did spin up all the time, which I guess is the reason I thought it didn't need to be mounted.

Anyway, about the crash with training. It indeed only happens with audio enabled. This is what I get:

Unhandled exception: page fault on read access to 0x73647585 in 32-bit code (0x7efb7c00).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:7efb7c00 ESP:7bdafb50 EBP:7bdafb68 EFLAGS:00010206( - 00 - RIP1)
EAX:73647551 EBX:7eff5288 ECX:7eea1b88 EDX:00110020
ESI:73647561 EDI:7efff31c
Stack dump:
0x7bdafb50: 7effcd24 7effcd24 00000000 7eff5288
0x7bdafb60: 7ffd8e0c 7ffd8f10 7bdb0468 7efdb09c
0x7bdafb70: 00000000 00000001 0643d3c0 00000001
0x7bdafb80: 00000000 00000004 00000000 7bdb0458
0x7bdafb90: 00001000 7ee82f10 0643d080 00000000
0x7bdafba0: 7bdafbc0 7bdaffa8 6e697722 67626465
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c0000119
Backtrace:
=>1 0x7efb7c00 MODULE_DllThreadAttach+0x80 in ntdll (0x7bdafb68)
2 0x7efdb09c in ntdll (+0x4b09c) (0x7bdb0468)
fixme:dbghelp:elf_load_debug_info_from_map Alpha-support for Dwarf2 information for libpthread.so.0
3 0xb7e6a264 start_thread+0x84 in libpthread.so.0 (0x7bdb04d8)
4 0xb7e0342e __clone+0x5e in libc.so.6 (0x00000000)
0x7efb7c00 MODULE_DllThreadAttach+0x80 in ntdll: movl 0x34(%eax),%edx
Modules:
Module Address Debug info Name (106 modules)
PE 400000-a0f000 Deferred wa
PE 1ffc0000-1ffe0000 Deferred ltfil10n
PE 1fff0000-2003d000 Deferred ltkrn10n
ELF 7bdb1000-7bdd0000 Deferred devenum<elf>
\-PE 7bdc0000-7bdd0000 \ devenum
ELF 7bdd0000-7be27000 Deferred quartz<elf>
\-PE 7bde0000-7be27000 \ quartz
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7bf08000-7bf1c000 Deferred avicap32<elf>
\-PE 7bf10000-7bf1c000 \ avicap32
ELF 7bf1c000-7bf43000 Deferred msvfw32<elf>
\-PE 7bf20000-7bf43000 \ msvfw32
ELF 7cb77000-7cb81000 Deferred libgcc_s.so.1
ELF 7cc60000-7ccdc000 Deferred libglu.so.1
ELF 7ccf9000-7cdae000 Deferred wined3d<elf>
\-PE 7cd10000-7cdae000 \ wined3d
ELF 7cdae000-7cdf2000 Deferred riched20<elf>
\-PE 7cdc0000-7cdf2000 \ riched20
ELF 7cdf2000-7cf27000 Deferred libcrypto.so.0.9.8
ELF 7cf27000-7cf65000 Deferred libssl.so.0.9.8
ELF 7cf65000-7cf82000 Deferred libcups.so.2
ELF 7cf8b000-7cf9f000 Deferred riched32<elf>
\-PE 7cf90000-7cf9f000 \ riched32
ELF 7cfbf000-7cff1000 Deferred uxtheme<elf>
\-PE 7cfd0000-7cff1000 \ uxtheme
ELF 7cff1000-7d006000 Deferred midimap<elf>
\-PE 7d000000-7d006000 \ midimap
ELF 7d006000-7d0c3000 Deferred libasound.so.2
ELF 7d2fc000-7d325000 Deferred winealsa<elf>
\-PE 7d310000-7d325000 \ winealsa
ELF 7d325000-7d32e000 Deferred libxcursor.so.1
ELF 7d333000-7d34b000 Deferred msacm32<elf>
\-PE 7d340000-7d34b000 \ msacm32
ELF 7d34b000-7d34e000 Deferred libxinerama.so.1
ELF 7d34f000-7d36b000 Deferred imm32<elf>
\-PE 7d360000-7d36b000 \ imm32
ELF 7da0a000-7e1cd000 Deferred libglcore.so.1
ELF 7e1cd000-7e252000 Deferred libgl.so.1
ELF 7e252000-7e2df000 Deferred winex11<elf>
\-PE 7e260000-7e2df000 \ winex11
ELF 7e2df000-7e2fe000 Deferred libexpat.so.0
ELF 7e2fe000-7e32c000 Deferred libfontconfig.so.1
ELF 7e32c000-7e33e000 Deferred libz.so.1
ELF 7e33e000-7e3aa000 Deferred libfreetype.so.6
ELF 7e3ad000-7e3b2000 Deferred libxfixes.so.3
ELF 7e3b2000-7e3b6000 Deferred libxrandr.so.2
ELF 7e3b6000-7e3be000 Deferred libxrender.so.1
ELF 7e3c7000-7e45e000 Deferred oleaut32<elf>
\-PE 7e3e0000-7e45e000 \ oleaut32
ELF 7e45e000-7e47f000 Deferred oledlg<elf>
\-PE 7e460000-7e47f000 \ oledlg
ELF 7e47f000-7e4b0000 Deferred winspool<elf>
\-PE 7e490000-7e4b0000 \ winspool
ELF 7e4b0000-7e570000 Deferred comctl32<elf>
\-PE 7e4c0000-7e570000 \ comctl32
ELF 7e570000-7e5c8000 Deferred shlwapi<elf>
\-PE 7e580000-7e5c8000 \ shlwapi
ELF 7e5c8000-7e6b2000 Deferred shell32<elf>
\-PE 7e5e0000-7e6b2000 \ shell32
ELF 7e6b2000-7e74e000 Deferred comdlg32<elf>
\-PE 7e6c0000-7e74e000 \ comdlg32
ELF 7e74e000-7e797000 Deferred dsound<elf>
\-PE 7e760000-7e797000 \ dsound
ELF 7e797000-7e820000 Deferred winmm<elf>
\-PE 7e7a0000-7e820000 \ winmm
ELF 7e820000-7e84b000 Deferred ws2_32<elf>
\-PE 7e830000-7e84b000 \ ws2_32
ELF 7e84b000-7e85d000 Deferred libresolv.so.2
ELF 7e85d000-7e87b000 Deferred iphlpapi<elf>
\-PE 7e860000-7e87b000 \ iphlpapi
ELF 7e87b000-7e8ce000 Deferred rpcrt4<elf>
\-PE 7e890000-7e8ce000 \ rpcrt4
ELF 7e8ce000-7e960000 Deferred gdi32<elf>
\-PE 7e8e0000-7e960000 \ gdi32
ELF 7e960000-7ea97000 Deferred user32<elf>
\-PE 7e980000-7ea97000 \ user32
ELF 7ea97000-7eadd000 Deferred advapi32<elf>
\-PE 7eaa0000-7eadd000 \ advapi32
ELF 7eadd000-7eb71000 Deferred ole32<elf>
\-PE 7eaf0000-7eb71000 \ ole32
ELF 7eb71000-7eb76000 Deferred libxdmcp.so.6
ELF 7eb76000-7eb79000 Deferred libxau.so.6
ELF 7eb79000-7ec65000 Deferred libx11.so.6
ELF 7ec65000-7ec7c000 Deferred libice.so.6
ELF 7ec7c000-7ec85000 Deferred libsm.so.6
ELF 7ec86000-7ec88000 Deferred libnvidia-tls.so.1
ELF 7ec88000-7eca2000 Deferred wsock32<elf>
\-PE 7ec90000-7eca2000 \ wsock32
PE 7eca2000-7ecef000 Deferred ddraw
PE 7ecb0000-7ecef000 Deferred ddraw
ELF 7edf9000-7ef13000 Deferred kernel32<elf>
\-PE 7ee10000-7ef13000 \ kernel32
ELF 7ef13000-7ef1d000 Deferred libnss_files.so.2
ELF 7ef1d000-7ef27000 Deferred libnss_nis.so.2
ELF 7ef27000-7ef3c000 Deferred libnsl.so.1
ELF 7ef3c000-7ef61000 Deferred libm.so.6
ELF 7ef62000-7ef70000 Deferred libxext.so.6
ELF 7ef70000-7ef75000 Deferred libxxf86vm.so.1
ELF 7ef7e000-7f000000 Export ntdll<elf>
\-PE 7ef90000-7f000000 \ ntdll
ELF b7d45000-b7d49000 Deferred libdl.so.2
ELF b7d49000-b7e65000 Export libc.so.6
ELF b7e65000-b7e78000 Export libpthread.so.0
ELF b7e78000-b7e80000 Deferred libnss_compat.so.2
ELF b7e95000-b7fa6000 Deferred libwine.so.1
ELF b7fa7000-b7fc3000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000029
0000002b 0
0000002a 0
00000027 (D) C:\Program Files\worms armageddon\WA.exe
0000002d 0 <==
0000002c 15
00000028 0


I also still have the focus problem. When trying to play online for example, the mouse clicks aren't registered. Mouse over events on buttons are also ignored. A virtual desktop doesn't solve it. No solution for this exists?

MadEwokHerd
17 Nov 2006, 20:54
No, the focus problem is unsolved. Last I tried (which was a long time ago), it was actually better without a virtual desktop and with the window manager taking care of your windows. I don't know if that's true anymore.

halfgaar
17 Nov 2006, 22:34
When focus is lost BTW, I can get it back by going freaky with alt-tab. At some point, focus is restored sometimes.

halfgaar
18 Nov 2006, 23:42
For the interested, online play works in Wine. The only problem is that the server-select window is especially prone to focus-loss. In virtual desktop mode, I can't get the focus back, but in normal mode I can, by pressing alt-tab, alt-tab, alt-tab-tab, alt-tab-tab-tab, etc. At some point, focus is restored.

The game unfortunately has a tendency to crash between rounds, however.

LiHllsp3c
22 Nov 2006, 11:32
i tested wine for 2 years ago and it worked fine on Linux.
Only problem was the slow screenchanging.
for all!!
Linux Rules!! ;)

bonz
22 Nov 2006, 15:53
Only problem was the slow screenchanging.
If you mean the fading in between the menu screens, that has been removed with the beta updates.

Run
24 Nov 2006, 17:20
I just got this email:

Hey

I need some help with getting WA back to work on wine. It worked fine before but now it just will not start anymore. I have no idea why.
I have tried a different version of wine (0.9.22) with the same result.
I am using your ddraw.dll but currently it does not matter if I use it not.

This is the output with your ddraw.dll (from http://madewokherd.nfshost.com/worms/wa_ddraw-0.9.25.tar.bz2) :
http://pastebin.ca/256763

This is without the ddraw.dll (and windowed, but I also tried it unwindowed):
http://pastebin.ca/256766


I am using wine 0.9.25 on Ubuntu Edgy and Worms Armageddon version 3.6.25.5

can you help me?

Koen

MadEwokHerd
24 Nov 2006, 20:01
Yeah, I have no clue. http://www.nanacide.com/wahelp/faq.php#r1 looks slightly relevant but probably not helpful.

MadEwokHerd
10 Dec 2006, 06:40
Run: CyberShadow's updater means there's now a consistent procedure for installing WA in wine and THAT means the instructions can be clarified. Please make section 3, Installing/Patching/Updating WA, read somewhat like this:


Warning: DO NOT INSTALL WA AS ROOT. Not only is running Wine as root a bad idea, installing WA as root will not work. So don't try it.

First, open a terminal, and go to the the directory where your cdrom drive is mounted (may differ on your system):
cd /media/cdrom/

Run the installer on the cd:
wine install/install.exe

Use the installer to install the program as you would on Windows. Remember the directory where you installed it. If it asks you to reboot or install directx, say no.

Now go back to somewhere where you can create files:
cd

Download the WA updater:
wget http://worms.thecybershadow.net/files/WA_update-3.6.26.5_Beta_Installer.exe

Run the updater:
wine WA_update-3.6.26.5_Beta_Installer.exe

Don't try to run WA; it won't work just yet. Move on to the next step.

franpa
11 Dec 2006, 01:42
Download the WA updater:
wget http://worms.thecybershadow.net/file..._Installer.exe
seems like theres a zget user :)

CyberShadow
11 Dec 2006, 03:02
zget? What is that, and what does it have in common with wget (http://en.wikipedia.org/wiki/Wget)?

Lex
11 Dec 2006, 04:12
Zget is a program written by a ZSNES developer (Nach, I believe) to automatically download and compile the latest ZSNES source from the ZSNES subversion repository.

Edit: Yes, I was right. It is by Nach and it does do that. Here (http://board.zsnes.com/phpBB2/viewtopic.php?t=8121)'s the zget 4 thread, in case you were interested, somehow.

franpa
11 Dec 2006, 06:00
zget uses a program called wget.exe which is what i thought you meant by "wget" xD but i guess you meant "get", ah well.....

CyberShadow
11 Dec 2006, 07:14
No, franpa. Do your research before posting stuff like that :P

Check this article: http://en.wikipedia.org/wiki/Wget
zget simply uses a Windows port of wget to download files.

madewokherd meant wget in the original meaning, as the standard Linux utility to download files.

bonz
14 Dec 2006, 18:29
No, franpa. Do your research before posting stuff like that
Pick one:
http://nsrt.edgeemu.com/images/franpa-alert/

franpa
15 Dec 2006, 03:39
!!!!!!!

anyways... i confused nget for wget xD sorry.

1guess
29 Dec 2006, 09:17
I'm having difficulty getting anything past a popup. I haven't played this game in awhile and I can get everything to work without popup's training, deathmatch.. etc..
but as en example when i return from a training mission and popup shows and then it dies, or when i try to go to the internet page it appears frozen.
Anyone else have this problem ?
I'm using wine 9.27, suse 10.1.
I've attached below the output from when I try to run basic training (popup appears before you start - so this goes green and crashes):

MadEwokHerd
29 Dec 2006, 14:55
Yeah, that's a known bug. For WormNET, you'll need to use the auto-login feature.

canofworms
4 Jan 2007, 21:31
Wine has DirectPlay support?

Wow!

TransGaming need to get their act together... When I try WormNET on it, I get blank stuff.

halfgaar
4 Jan 2007, 21:49
Does Wormnet use DirectPlay? I think that's only the case when playing on a LAN. Direct Play is not meant for internet play.

MadEwokHerd
4 Jan 2007, 22:14
WA doesn't use DirectPlay at all. And Wine's DirectPlay is a stub iirc.

Lex
4 Jan 2007, 22:48
Worms 2 uses DirectPlay, but that's a story for another day.

Pieboy337
5 Jan 2007, 15:34
For me, I dont bother using wine for running worms because I have a subscription to cedega and that runs them all very nicely. The only problem is that the 3d worms games are hardly playable with cedega. Anyone know if they will work under wine?

Muzer
25 Mar 2007, 12:13
Sorry to ressurect, but sorry for the noob question, what command line would you use to load recorded games? I'm using the latest ubuntu (Edgy Eft) and the latest Wine.


EDIT: Oh yeah, and just out of intrest, why do you have to run it /NOINTRO?

halfgaar
25 Mar 2007, 15:19
"wine wa.exe /nointro /play <file.wagame>"

If you open the regeditor (run "regedit"), and search for "wagame", then you find the shell link the installer has made for files with the .wagame extension. Besides /play, there are some other options.

/nointro is necessary because it makes the game crash less. The game is prone to crashing under wine, and skipping the intro makes it a bit more stable.

Edit: BTW, with wine 0.9.33 and madewokherd's ddraw file, the focus issue seems to be solved. I used to have problems clicking anything in the wormnet window, but everything seems to work fine now.

MadEwokHerd
25 Mar 2007, 15:47
I do replays this way. Put a shell script called worms_armageddon in your path that looks like this:

#!/bin/sh

#set up virtual cd here if you can/need to do that
cd ~/.wine/drive_c/path/to/Worms\ Armageddon/
wine wa.exe /NOINTRO "$@"

Then a shell script waplay:

!/bin/sh

worms_armageddon /play "$(winepath --windows "$(abspath "$1")")"

Edit: forgot I needed this one for abspath:

#!/usr/bin/python

import sys
import os.path

print os.path.abspath(sys.argv[1])

Muzer
25 Mar 2007, 17:28
I've made a script already for playing WA, I'll just replace worms_armageddon for the name of that and modify it a bit (ie add the "$@" bit at the end)

Muzer
25 Mar 2007, 17:42
Hmm... for some reason even when I've created the script when I go to open with and browse for it, it's there, I press OK and it says it couldn't find the file :confused:


For now, I'll use halfgaar's method, but if you can get back to me that would be nice!

halfgaar
25 Mar 2007, 17:52
Hmm... for some reason even when I've created the script when I go to open with and browse for it, it's there, I press OK and it says it couldn't find the file

Did you mark it (or them) as executable?

Muzer
25 Mar 2007, 18:16
Yeah.

Hmm... it randomly stopped doing that, now it's doing nothing.

evilworm2
25 Mar 2007, 19:15
You have to run it like this: ./shellsript (Note the "./")
Otherwise Ubuntu can't find it because the current working directory is not in $PATH for security reasons.

MadEwokHerd
25 Mar 2007, 19:21
Looks like there was a bug introduced somewhere between 0.9.31 and 0.9.32 that stops the WA frontend from writing the resolution to the registry. Temporary work-around: set it in the registry.

Muzer
25 Mar 2007, 19:31
Works fine with me :confused:


I mean the resolution.


EDIT: @ the other thing: I was in ubuntu right clicking the replay and open with... waplay. What should I do? If possible I don't want to use command line because replay files have long and boring names :p

EDIT again: OOh, I've got it working, I just had to type the full path for each of the other shell scripts.

evilworm2
25 Mar 2007, 20:08
If possible I don't want to use command line because replay files have long and boring names
There's something called tab-completion.

Imagine a file's calle "long_andBoring_Name-0.02-3.even-longer"
You just need to type "lo" and press TAB twice. Guess what happens?

http://en.wikipedia.org/wiki/Command_line_completion

Muzer
25 Mar 2007, 20:16
Cool, didn't know that :)

But I got it working throught the GUI anyway :)

MadEwokHerd
26 Mar 2007, 01:48
http://bugs.winehq.org/show_bug.cgi?id=7863

Hopefully once this is fixed, I can apply the fix to the versions that were affected.

halfgaar
26 Mar 2007, 11:45
I have the resolution problem as well, I noticed. I thought it was just about the screen not switching from desktop resolution, but I indeed can't set the resolution the game should play in anymore.

MadEwokHerd
12 Apr 2007, 02:34
I've managed to come up with a work-around for the resolution problem. It's not anything like a fix (people have come up with things that are like proper fixes, but they haven't gotten in wine and they wouldn't help me since they involve modifying parts of wine other than ddraw), but it should work. And I've updated wa_ddraw to include that.

So if you have a version of wine between 0.9.32 and 0.9.34, and you have the resolution problem, redownload wa_ddraw. That should make WA's options screen work properly again.

halfgaar
12 Apr 2007, 09:34
The workarounds works, I can set 1400x1050 again.

Why would the proper fix not work because it is done outside ddraw? Your version of ddraw only disables opengl in favor of gdi, right? Why would your ddraw interfere?

BTW, about that gdi. When I set the drawmode to gdi in the registry, replays work fine, but the game itself, the menu I guess, is still not drawn correctly. Does your ddraw do more?

And about the notice your ddraw.dll gives about the key you should change to enable GDI, it's actually a different key. You can either set

HKEY_USERS\S-1-5-4\Software\Wine\AppDefaults\wa.exe\Direct3D\Direct DrawRenderer
or
HKEY_USERS\S-1-5-4\Software\Wine\Direct3D\DirectDrawRenderer
to "gdi" (or the different paths to the same key of course). Unwanted spaces (here, in "DirectDrawRenderer") are generated by the forum, I can't get rid of them

To other things:

1) the loss of focus issue happened to me again, but now in the weapons menu. I configured wine to run wa.exe with the options "allow window manager to manage windows" disabled, and that seems to fix it.

2) My game crashes after a multiplayer game almost each time (when pressing "play again" or "exit"). It's happened to me when hosting, but I believe it also happens when joining. Does anyone else have that problem? Or better, does anyone else know how to fix it?

MadEwokHerd
12 Apr 2007, 12:46
Check the README. There's an explanation of what the patch does.

I needed a fix that can be applied in ddraw because people are already replacing that dll and I don't want to make this process any more complicated. A proper fix will be good for new versions of wine, but I want this to work now.

halfgaar
12 Apr 2007, 22:46
Sorry, should have read the readme :o

About that crash after (hosting) multiplayer games; this (http://www.halfgaar.net/posts/2007-04/wa-wine-end.log) is the error I get. Does it work properly for everybody else? What about you, MadEwokHerd?

MadEwokHerd
12 Apr 2007, 23:45
I haven't tried an online game recently, and I can't host at all due to a uni firewall.

Cheese
13 Apr 2007, 01:47
Does it work properly for everybody else?
I can host without a problem and get no crash when I click on "play again" or "exit" :confused:
However when joining a game fails or a host boots me WA's frontend freezes and I have to restart worms.

From your log:
fixme:quartz:MediaPosition_put_CurrentPosition (0x6c4b530)->(0.000000) stub!
err:quartz:BaseMemAllocator_ReleaseBuffer ReleaseSemaphore failed with error 6
wine: Unhandled illegal instruction at address 0x7bb57000 (thread 0023), starting debugger...
Unhandled exception: page fault on write access to 0x00e31e22 in 32-bit code (0x7efa1f86).
Did you try to use the native quartz.dll like described here (http://appdb.winehq.org/appview.php?iVersionId=1744)?

halfgaar
13 Apr 2007, 11:41
Hey, that solved it. I should have read the appDB entry better... I also downloaded the devenum.dll file.

However when joining a game fails or a host boots me WA's frontend freezes and I have to restart worms.

I have this when saving or deleting option schemes sometimes. The on-mouse-over effects still work, but the game doesn't respond to anything.

MadEwokHerd
13 Apr 2007, 13:14
Hmm, that actually fixes crashes? Maybe it needs to be on the wahelp guide.

canofworms
13 Apr 2007, 21:21
For people who use Cedega, the new Cedega 6.0 release runs W:A 3.0 with NO patches almost perfectly to as far as I have tested.

WormNET works to the point of the channel list showing, havent tried any further than that atm, nor have I tried missions (which were broke last time).

Mirux
13 Apr 2007, 23:11
With cedega, can you play worms fullscreened on high resolutions without frames loss?

halfgaar
13 Apr 2007, 23:43
nor have I tried missions (which were broke last time).

Missions and training seems to work here now. It didn't before, so perhaps those DLLs did the trick.

However, whenever the game gives a popup, after it's gone, the game doesn't respond to input anymore. That makes the training and missions impossible to play.

With cedega, can you play worms fullscreened on high resolutions without frames loss?

Frames loss? You mean a low frame rate, i.e. jerky? I don't know about cedega, but in Wine here, it runs just fine full screen at 1400x1050. My machine is an Athlon X2 3800+.

Mirux
16 Apr 2007, 04:56
Well, with this new Wine version it works perfect. Thanks Wine coders, you made my day!

adamantium
27 Apr 2007, 09:14
Ok, I'm not sure if this has been addressed, but when I try to run the installer, terminal starts telling me:

Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.

I get the opening WA install screen and the first progress bar, but before I can start clicking "Next" I get an error box on screen with no message. Just a red X and an "OK" button that closes everything out.

What do I do?

halfgaar
27 Apr 2007, 10:51
What is the L before c:\\bla?

But, this would seem to be a wine misconfiguration. Have you run winecfg? It should make a config profile for you if you don't have one.

MadEwokHerd
27 Apr 2007, 13:26
But, this would seem to be a wine misconfiguration. Have you run winecfg? It should make a config profile for you if you don't have one.

Yep, the wine configuration is very broken. Remove ~/.wine and start over.

Elliott
12 May 2007, 15:32
<bump>

Darwine. Anyone know if it works with this? It isn't exactly a very complete port.

MadEwokHerd
12 May 2007, 16:58
You should be able to use regular Wine on a mac now, though you will need the X server. And you'll need to patch and build Wine from the source yourself.

tajmox
12 May 2007, 23:33
Ok, I'm not sure if this has been addressed, but when I try to run the installer, terminal starts telling me:
Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.

Do you have rw permissions for everything in ~/.wine ?
Have you ran winecfg yet ? [ edit: oops didnt read the rest of the replies =) ]

tajmox
12 May 2007, 23:47
I'm having difficulty getting anything past a popup. I haven't played this game in awhile and I can get everything to work without popup's training, deathmatch.. (clip!)
This is because of the cd copy protection - WA is not locating the CDROM

First make an ISO image:
dd if=/dev/cdrom of=~/wa.iso
Second make the symbolic links to the wine dos devices list:
cd ~/.wine/dosdevices
rm d*
ln -s /media/wa 'd:'
cp -s ~/wa.iso 'd::'
Third make sure the wa iso is mounted on every boot:
sudo mkdir /media/wa
sudo echo "/home/user/wa.iso /media/wa auto loop 0 0" >> /etc/fstab
sudo mount -a
This will append a line to your fstab making the wa iso mount on boot. (Remember to edit '/home/user' to wherever the iso actually is of course)
the mount -a command will mount everything thats in your fstab file.

Hope this helps!

halfgaar
12 May 2007, 23:54
This is because of the cd copy protection - WA is not locating the CDROM

No, this is not because of copy protection. First of all, WA runs fine without hassling with loopback mounts; it works fine with just the CD mounted.

The problem 1guess has, is a focus problem (it doesn't respond to input anymore, but the game itself is still running). It happens as well when you press a mouse button between two screens; if you accidentally click on a button which causes you to go to a new screen, twice, for example.

Luckily, internet play works fine.

tajmox
13 May 2007, 00:36
No, this is not because of copy protection. First of all, WA runs fine without hassling with loopback mounts; it works fine with just the CD mounted.

The problem 1guess has, is a focus problem (it doesn't respond to input anymore, but the game itself is still running). It happens as well when you press a mouse button between two screens; if you accidentally click on a button which causes you to go to a new screen, twice, for example.

Luckily, internet play works fine.

Ah I had to do that to get worms to work at all with my ISO
I got a "popup" and got no game until I set the devices.

halfgaar
13 May 2007, 00:52
Did you install the beta patch?

But, the popups 1guess referred to, where in-game popups, like a dialog which says how bad you performed in the training exercise :)

halfgaar
13 May 2007, 12:15
I discovered a strange problem with WA here. I can host a game just fine, but when that game is finished and I exit to the multiplayer channel menu, hosting another game doesn't work. People report they can't connect to me. When I quit that current game (not WA itself) and host again, it works again.

Any idea what this is?

tajmox
14 May 2007, 03:17
Happens with me too - I assume because the game was not properly disconnected and there might be a waiting period to host a new game

I notice if I wait 60 secs or so before i start another host it most of the time works

Elliott
18 May 2007, 22:00
You should be able to use regular Wine on a mac now, though you will need the X server. And you'll need to patch and build Wine from the source yourself.

grumble X11. I guess I'll stick to bootcamp.

Seita
21 May 2007, 10:35
I'm having issues regarding the utilities hotkey, that just refuses to work. Has anyone experienced / solved it ?

halfgaar
21 May 2007, 11:06
What is the utilities hotkey...?

franpa
21 May 2007, 13:10
the tilda key (the one left of the #1 key)

bonz
21 May 2007, 13:25
What is the utilities hotkey...?
the tilda key (the one left of the #1 key)
Or if you have a none-English keyboard layout (e.g. German) it's the key one left of the backspace.

halfgaar
21 May 2007, 14:42
The tilde key actives utilities just fine here. That is, as long as I have them, because I don't know how to create a multiplayer game with utils...

Seita
21 May 2007, 18:08
Or if you have a none-English keyboard layout (e.g. German) it's the key one left of the backspace.

Hmm... I'm not sure about that. On french layouts, it's the key holding the 7, which also happens to hold the `.

halfgaar
21 May 2007, 18:17
What happens if you press the key below escape, where the tilde sits on US keyboards? I don't know about WA, but for old games like doom, the cheatcodes were different on azerty keyboards, but the key locations were the same. In more technical terms, the game used key codes, not charachters.

bonz
21 May 2007, 20:49
Hmm... I'm not sure about that. On french layouts, it's the key holding the 7, which also happens to hold the `.
I'm am sure about this. I use a German keyboard.
The key left of the backspace holds ´ and ` on those btw.

So I suppose it's always the key that has ` on it somewhere.
http://en.wikipedia.org/wiki/Keyboard_layout

franpa
21 May 2007, 23:39
The tilde key actives utilities just fine here. That is, as long as I have them, because I don't know how to create a multiplayer game with utils...

unlock utilities and special options via completing all the training missions with GOLD status and beating all single player missions with any medal.

halfgaar
21 May 2007, 23:45
unlock utilities and special options via completing all the training missions with GOLD status and beating all single player missions with any medal.

I can remember the first online games I hosted did have utils, and I didn't do any trainings or single player missions.

BTW, why would your single player status influence the multiplayer games you host?

franpa
21 May 2007, 23:56
it just does, there ARE third party programs that can either unlock everything for you, or you can simply use a third party scheme editor, but the options will still be covered (hidden) within w:a if you don't unlock them.

MadEwokHerd
22 May 2007, 03:01
~ works for me.

Seita: I assume you know what you're doing and it's the right key (i.e. you've used it on windows and expect it to be there).

WINEDEBUG=+key should tell you all about the keypress event that WA is getting. This is what it looks like here:

trace:key:X11DRV_KeyEvent type 2, window 4000007, state 0x0000, keycode 0x0031
trace:key:X11DRV_KeyEvent state = 0 nbyte = 1, status 0x4
trace:key:X11DRV_KeyEvent KeyPress : keysym=60 (grave), # of chars=1 / 0x60 / '`'
trace:key:EVENT_event_to_vkey e->keycode = 31
trace:key:X11DRV_KeyEvent keycode 0x31 converted to vkey 0xc0
trace:key:X11DRV_KeyEvent bScan = 0x29.
trace:key:X11DRV_send_keyboard_input wParam=00c0, lParam=00290001, InputKeyState=c1
trace:key:TranslateMessage Translating key VK_OEM_3 (00c0), scancode 29
trace:key:X11DRV_ToUnicodeEx (00C0, 0029) : faked state = 0x0000
trace:key:EVENT_event_to_vkey e->keycode = 31
trace:key:X11DRV_ToUnicodeEx type 2, window 4000007, state 0x0000, keycode 0x0031
trace:key:X11DRV_ToUnicodeEx Translating char 0x60 to unicode
trace:key:X11DRV_ToUnicodeEx ToUnicode about to return 1 with char 60
trace:key:TranslateMessage 1 -> PostMessageW(0x2002c,WM_CHAR,0060,00290001)

Seita
22 May 2007, 18:02
Complete log attached, for 2 presses of ` key, and Alt+F4

Extract:
trace:key:X11DRV_KeyEvent type 3, window 4c00007, state 0x0000, keycode 0x0015
trace:key:X11DRV_KeyEvent state = 0 nbyte = 2, status 0x0
trace:key:X11DRV_KeyEvent KeyRelease : keysym=FE51 (dead_acute), # of chars=2 / 0xc2 / '´'
trace:key:EVENT_event_to_vkey e->keycode = 15
trace:key:X11DRV_KeyEvent keycode 0x15 converted to vkey 0xbb
trace:key:X11DRV_KeyEvent bScan = 0x0d.
trace:key:X11DRV_send_keyboard_input wParam=00bb, lParam=c00d0001, InputKeyState=0

Cheese
22 May 2007, 18:53
I'm using the German keyboard layout and I have the same problem. In addition the + and - keys aren't working either. However the NUM + and - keys work :-/

http://www.privatepaste.com/0718sS52qu

evensteven
22 May 2007, 23:37
I don't know what you guys are doing to not make it work but

http://www.nanacide.com/wahelp/installguide-soldout4.php

That guide worked like a charm for me

MadEwokHerd
23 May 2007, 05:47
Hmm, think you could get a trace with +key,+keyboard? Apparently WA uses VkKeyScan to find the ` key, and +keyboard would show that.

It would also show what layout Wine thinks you're on and by extension exactly what it thinks your keyboard looks like.

luminoso
3 Jun 2007, 21:24
Hi..
I am using wine 0.9.38 and I installed WA just fine. Wine did fine with cd protection.
I am using the respective ddraw.dll and yes, there is some breaks with mouse sometimes...

What about the sound?
On menus it sound so... "metalized" (like inside an iron tube).. on game it sounds a little better..

I added quartz and devenum dlloveride to native on winecfg, but no effect..
am I missing something??

thanks for all :)

MadEwokHerd
3 Jun 2007, 21:28
Did you get a copy of those dlls from a windows machine (or web site that offers them for download.. >_>) and put them in ~/.wine/drive_c/windows/system32 ? That and setting the overrides should be it.

You may also want to play with your sound drivers; oss never worked well for me personally.

luminoso
3 Jun 2007, 21:41
i've downloaded devenum.dll from here (http://www.dlldump.com/download-dll-files_new.php/dllfiles/D/devenum.dll/6.05.2600.21808/download.html)
and quartz.dll from here (http://www.dll-files.com/dllindex/dll-files.shtml?quartz)

wine looks like this:

[Software\\Wine\\DllOverrides] 1180897706
"devenum"="native,builtin"
"quartz"="native,builtin"

winecfg:
Sound Driver: alsa driver
hardware acceleration: full
default sample rate: 44100
default bits: 16

what I tried:
HArdware accell: emulation
check "driver emulation"
default rate: 22050 and default bits: 8

halfgaar
1 Jul 2007, 16:22
A new version of WA has been released, which includes a bugfix for wine:

A compatibility switch for Wine has been added, which works around several Wine issues which may prevent large maps from working. To activate the workaround, import the file NoLandInVram_On.reg (from the Tweaks folder) into Wine's registry using Wine's Regedit tool.

Also, the one having problems with the util key:

The utility selection hotkey, intended to be the key located between Escape, Tab and 1, is now bound to that key regardless of the currently active keyboard layout. To revert to the old behavior, using the current layout's grave accent ( ` ) key for utility selection, import LegacyUtilityKey_On.reg (from the Tweaks folder) into your system registry.

MadEwokHerd
1 Jul 2007, 16:28
A new version of WA has been released, which includes a bugfix for wine:
This work-around was needed in some private builds of WA, but we think Deadcode fixed the problem so it works properly in both Wine and Windows. The work-around was left in just in case.
Also, the one having problems with the util key:

Could you get a log of pressing the ` key in-game with WINEDEBUG=+key,+keyboard ?

halfgaar
1 Jul 2007, 16:33
Could you get a log of pressing the ` key in-game with WINEDEBUG=+key,+keyboard ?

Me? I just mentioned this, because there was someone in this thread who had the util-key problem. It has always worked for me, because I have a US keyboard.

Muzer
1 Jul 2007, 16:46
What's the "extract log" command line for replays?

CyberShadow
1 Jul 2007, 16:54
It's /getlog .

Cheese
1 Jul 2007, 18:02
Also, the one having problems with the util key:The utility selection hotkey, intended to be the key located between Escape, Tab and 1, is now bound to that key regardless of the currently active keyboard layout. To revert to the old behavior, using the current layout's grave accent ( ` ) key for utility selection, import LegacyUtilityKey_On.reg (from the Tweaks folder) into your system registry.
This still doesn't fix it for me.

Could you get a log of pressing the ` key in-game with WINEDEBUG=+key,+keyboard ?
I'll do that for both keys. (` key, which was the key I'd have to use with the older update and ^ key which is the key above TAB)

luminoso
2 Jul 2007, 01:52
humm
I'm having new problems with new beta (3.6.28) and wine wine-0.9.40.
The problem is with sound:
I stop to ear the load (that warning filling up)
and there are echo of some sounds


err:dsound:DSOUND_MixOne Fatal error. Under/Overflow? primary_done=5860, mixpos=1058, primary_mixpos=3812, writepos=30720, playpos=10240
err:dsound:DSOUND_MixOne Fatal error. Under/Overflow? primary_done=5860, mixpos=1058, primary_mixpos=3812, writepos=30720, playpos=10240
err:dsound:DSOUND_MixOne Fatal error. Under/Overflow? primary_done=5860, mixpos=1058, primary_mixpos=3812, writepos=30720, playpos=12288
err:dsound:DSOUND_MixOne Fatal error. Under/Overflow? primary_done=3812, mixpos=1058, primary_mixpos=3812, writepos=0, playpos=12288
err:dsound:DSOUND_MixOne Fatal error. Under/Overflow? primary_done=3812, mixpos=1058, primary_mixpos=3812, writepos=0, playpos=14336
err:dsound:DSOUND_MixOne Fatal error. Under/Overflow? primary_done=1764, mixpos=1058, primary_mixpos=3812, writepos=2048, playpos=14336
err:dsound:DSOUND_MixOne Fatal error. Under/Overflow? primary_done=1764, mixpos=1058, primary_mixpos=3812, writepos=2048, playpos=14336
err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 893, block size = 4


does anyone had the same?
Also, big maps working just fine

MadEwokHerd
2 Jul 2007, 01:56
Yeah, me too. I think that's wine 0.9.40. There are known problems with sound on that version (haven't tried any others with wa 3.6.28.0 though).

luminoso
2 Jul 2007, 01:58
Sorry. Fixed!
Removed Emulation on sound and enabled full alsa 44100 16bit sound.

Cheese
2 Jul 2007, 16:09
I couldn't log it because the debugger outputs this all the time

trace:keyboard:X11DRV_VkKeyScanEx wChar 0x60 -> cChar '`'
trace:keyboard:X11DRV_VkKeyScanEx retrying with | 0xFE00
trace:keyboard:X11DRV_VkKeyScanEx '`'(0x60, 96): got keycode 0x3d (61)
warn:keyboard:X11DRV_VkKeyScanEx Keysym 60 not found while parsing the keycode table

Edit: Is it only me or is the fill tool in the map editor broken under Wine?

MadEwokHerd
2 Jul 2007, 16:15
I don't use the map editor, so could be.

Invoke wine like this:

WINEDEBUG=+key,+keyboard wine wa.exe /NOINTRO &>somefile.log

If necessary, compress it. The important part is at the beginning where it says what layout Wine is using.

Cheese
2 Jul 2007, 19:04
http://privatepaste.com/05tOx6gQgl

Is that the information you were looking for?
trace:keyboard:X11DRV_KEYBOARD_DetectLayout Attempting to match against "German keyboard layout"
trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 94, got <>
trace:keyboard:X11DRV_KEYBOARD_DetectLayout matches=47, mismatches=1, seq=46, score=90
..
warn:keyboard:X11DRV_KEYBOARD_DetectLayout Using closest match (German keyboard layout) for scan/virtual codes mapping.
trace:keyboard:X11DRV_KEYBOARD_DetectLayout detected layout is "German keyboard layout"
Or that what comes after?

luminoso
2 Jul 2007, 19:10
are you using last wine version?

MadEwokHerd
2 Jul 2007, 21:46
Well, this is the German keyboard layout, from the wine source: http://pastebin.ca/600378

So it should be (but isn't) either Ž` or ^°, then?

Edit: Can you get a +key log of pressing ^, like the one you had for pressing ` ?

Edit2: Actually, that's not useful. Can you get a +keyboard log in which you start a game?

Cheese
3 Jul 2007, 00:55
http://privatepaste.com/ee1lPeWBOQ

It should be the ^° key indeed. And before the update it should have been the ´` key, which is next to backspace for me.

Twyrfher
12 Jul 2007, 08:09
can't play on resolutions that not be 640x480 :S even If i change it in the Worms game options menu

it's start and suddenly crash.. then Ubuntu ask me for my user and pass and restart the session :S

?

MadEwokHerd
12 Jul 2007, 13:59
Probably a bug in your video card's drivers (something I can't help with).

HariSeldon
13 Jul 2007, 23:16
Any ideas here? I'm using wine v9.40. With 9.33 I wasn't able to even get to the point of copying files. With 9.40 I get to copying files but it immediately gets this error. I'm using a real CD of the US version (original release). I got the install to start using wine /media/WA/install/install.exe, if I try /WA/SETUP.EXE it just says the CD isn't found. I checked and the winecfg drive says CD-ROM. Any ideas?

http://www.scifi-review.net/xforce/gallery/Misc/WA-WINE-error.jpg

MadEwokHerd
13 Jul 2007, 23:32
I have NO IDEA what to make of that.

I dunno, try unwain (http://madewokherd.nfshost.com/worms/unwain.exe)?

HariSeldon
14 Jul 2007, 02:30
I have NO IDEA what to make of that.

I dunno, try unwain (http://madewokherd.nfshost.com/worms/unwain.exe)?

That did the trick, thanks a lot.

Ag3ntSmith
16 Jul 2007, 20:07
Thank you Byte for tracking down and telling me the exact line of code that allowed me to do this. See http://bugs.winehq.org/show_bug.cgi?id=4009#c19 for a patch that applies to wine cvs (or probably any wine source).

Edit: For anyone trying this, it seems to work best in Xephyr. And don't minimize. :x

Edit: Doh. Xephyr won't work. It doesn't lock the mouse properly. Probably the best thing is to run it in a new X display. :/

Edit: Aaaand I can't get a new X display to work because ubuntu does something weird. Ok. Wine's virtual desktop thing is ok. Just make sure the WA window is always active. Always.


Edit: See http://www.nanacide.com/wahelp/installguide-original4.php for instructions.

??????????????????????

Cheese
16 Jul 2007, 21:10
This is the guide you should follow when you want to try W:A with Wine:

http://www.nanacide.com/wahelp/installguide-original4.php

MadEwokHerd
19 Aug 2007, 15:23
I suppose I should post a link here. I've made an automated installer for Linux based on unwain. It should set things up properly without any user intervention. See this thread (http://forum.team17.co.uk/showthread.php?t=33439).

biacbs
23 Aug 2007, 12:15
WA is such an old game... I imagine if some day it will be open source.... I would "donate" to team 17 centainly ...and running smoothly on linux would be such a pleasure...

PS: I got it working using the guide in my dual core pentium notebook, ubuntu 7.04, wine 9.41 (Vista rejected it ;) ). Next try: My desktop Amd 64, wine 9.43 (no luck yesterdau :( )

Run
23 Aug 2007, 15:43
This is the guide you should follow when you want to try W:A with Wine:

http://www.nanacide.com/wahelp/installguide-original4.php

That page came from this thread

KTamas
22 Oct 2007, 10:27
I'm running W:A with Wine 0.9.17 (Actually, Crossover for Mac 6, but thats just a fancy GUI for it) under OSX .4.10 and either with meh's patched ddraw.dll or with the new registry tweak, the problem is the same: the frontend is totally messed up. It's all white, but when I click on something I can see the frontend (albeit with messed up colors) for a second, then the next screen is either all white or all white with some items in grey (like, showing W:A controls without skinning-ish). Any ideas?

MadEwokHerd
22 Oct 2007, 14:18
The patched dll's I have will only function on a Linux build of Wine. You will need to apply the patch yourself to the Wine (or Crossover) source and build a new ddraw.dll.

I don't know how Crossover affects any of this.

halfgaar
22 Oct 2007, 14:26
BTW, crossover office is not just a fancy GUI for Wine. It's a far more complete implementation and collection of DLL's and fonts and all, specifically made for office applications.

MadEwokHerd
22 Oct 2007, 14:39
*sigh*

[off-topic]
It's not called crossover office anymore just so it won't lead people into thinking it's for office applications.

It's not "far more complete"; it has some extra proprietary things (including, I believe, the fancy gui), but the main difference is that they support some specific applications by including patches/hacks not in the main tree and (unlike wine) testing applications before releasing.
[/off-topic]

fada
10 Nov 2007, 10:06
Hello, i'm using wine also version 0.9.46 .
I've made all your nanacide help.
I used to get this error: http://files-upload.com/files/609534/ERRORLOG.TXT
But somehow (i don't know why) i can now start the game.
But I got others error:
First i can't change worms resolution (I've seen the bug page but i don't know how to access to reg from linux :().
Also and the most important I can't click/press a key once i'm in the game.
I've to press ALT+TAB during the menu to quit and come back to worms to be able to click and once a game start i just can't press anykey :(.
Could someone help me please ? :(
I'm using the lastest WA version on Ubuntu 7.10.
If you need any more information about my pc please ask :)

MadEwokHerd
10 Nov 2007, 15:11
The resolution bug doesn't affect 0.9.46 (and the ddraw replacements for the affected versions have a work-around anyway).

The other problems may be related to your window manager. Try running the game in a window.

fada
10 Nov 2007, 15:14
It does work when i run it in a windows :)
Any idea to make it able to work fullscreen ? :)
By the way i've go an annoying bug, when i try to join a game on wormsnet and can't I can't click anymore in the game i've to quit/restart the game.
Any idea ? :)

MadEwokHerd
10 Nov 2007, 15:20
I have no idea how to make it work in fullscreen mode. I know that it worked at one time with some window managers, but I don't keep track of that.

The wormnet thing is a known bug. It's because of closing the dialog. It doesn't happen if you succeed in joining.

halfgaar
10 Nov 2007, 17:29
It also loses focus when you accidentally click between two screens. So, avoid accidental double clicking.

fada
10 Nov 2007, 23:27
Also one tip:
Disable compiz if you want to rope :)

halfgaar
10 Nov 2007, 23:32
Howso? What happens?

fada
11 Nov 2007, 00:53
compiz make wa laggs a little.
Also do you know how to see wareplay/extract loggs... ?

Muzer
11 Nov 2007, 08:45
That's already posted somewhere.

fada
11 Nov 2007, 13:31
I do replays this way. Put a shell script called worms_armageddon in your path that looks like this:

#!/bin/sh

#set up virtual cd here if you can/need to do that
cd ~/.wine/drive_c/path/to/Worms\ Armageddon/
wine wa.exe /NOINTRO "$@"

Then a shell script waplay:

!/bin/sh

worms_armageddon /play "$(winepath --windows "$(abspath "$1")")"

Edit: forgot I needed this one for abspath:

#!/usr/bin/python

import sys
import os.path

print os.path.abspath(sys.argv[1])

Sorry but i'm newbie with ubuntu, how do I crate a script and execute it ?

Muzer
11 Nov 2007, 14:00
Go into gedit or whatever you use. Make the scripts and save them in your home folder (/home/username) as those filenames. Then go into a terminal, and type:
cd ~
chmod +x worms_armageddon
chmod +x waplay
chmod +x abspath

then type ./worms_armageddon and hopefully it will run!
You can also run them by double-clicking.
And to run replays, select a WAGAME file, select open with, and browse to waplay, and select remember this association. Then every time you double-click a WAGAME file hopefully it will run.

NOTE: Most of the texts may differ because I use kubuntu rather than ubuntu, because it looks much nicer.

MadEwokHerd
11 Nov 2007, 15:53
That won't quite work. They also need to be in your PATH.

Edit (or create, if it doesn't exist) /home/username/.profile, and add
export PATH=/home/username:${PATH}

You can put the scripts anywhere (I use /home/meh/bin), but you must put that path in /home/username/.profile.

Muzer
11 Nov 2007, 17:30
Works fine with me without that.

MadEwokHerd
13 Nov 2007, 01:05
Is it me, or is 0.9.49 + virtual desktop mode borked?

punk2
19 Nov 2007, 16:41
what is wine

wine is basically a windows emulator for linxux. It's what people with linux use when they don't want to dual boot XP like real men.

Muzer
19 Nov 2007, 17:31
I had that question answered ages ago. I have Linux now. Best to read posts.

wanpakboy
3 Dec 2007, 03:08
The patched dll's I have will only function on a Linux build of Wine. You will need to apply the patch yourself to the Wine (or Crossover) source and build a new ddraw.dll.

I don't know how Crossover affects any of this.

I got WA working on crossover mac 6.2 with a special hacked ddraw.dll. seems to work fairly well. some problems on the training missions advancing automaticly. pretty easy fix if you have the dll file. the only thing else to do is install to its own bottle, patch copy dll to the system32 folder in that bottle and set the winecfg to run in an emulated desktop. working pretty well really. haven't tried wormnet yet. props to wine and crossover.

Enty
3 Dec 2007, 08:28
I got WA working on crossover mac 6.2 with a special hacked ddraw.dll. seems to work fairly well. some problems on the training missions advancing automaticly. pretty easy fix if you have the dll file. the only thing else to do is install to its own bottle, patch copy dll to the system32 folder in that bottle and set the winecfg to run in an emulated desktop. working pretty well really. haven't tried wormnet yet. props to wine and crossover.
Hi

Can you attach the dll and/or email it to me (enty@ktamas.com)?

Thanks.

halfgaar
6 Dec 2007, 11:06
After not playing for a while, I decided to play a WA game once again. Unfortunately, it doesn't work anymore. I get this error (http://www.halfgaar.net/posts/2007-12/wa-errorlog.txt) with wine 0.9.50 (with patched ddraw.dll) and WA version 3.6.28.0_Beta. Anybody know how to fix this?

MadEwokHerd
6 Dec 2007, 17:58
Get 0.9.48. It's broken currently.

MadEwokHerd
6 Dec 2007, 21:16
The hack described in http://bugs.winehq.org/show_bug.cgi?id=3023#c3 fixes both the new crash bug in 0.9.49 and 0.9.50 and the old bug where WA would stop responding to input when dialogs are closed. Hopefully I'll get to the bottom of this soon (after finals, which are in 2 weeks) and it'll all just work.

MadEwokHerd
8 Dec 2007, 16:09
Whoops, apparently that fails when a game ends. :o

One step forward, two steps back.

mccdeuce
18 Dec 2007, 20:22
been trying to get this working on Mac Crossover 6.2. Had it working upgraded to Leopard and now I get the same problems as before with the black screen.

wanpakboy: how did you do it (what file did you use) and which version of mac OS were you using?

shrinux
20 Dec 2007, 18:20
This thread is about "W:A" which I don't which game is it :)

What about:
Worms World Party (WWP) My favorite !!!
Worms Armageddon (WA)

I want these two games to run under my Ubuntu Linux box
Please Help !!!

Muzer
22 Dec 2007, 17:59
W:a=wa .

Squiddle
25 Dec 2007, 10:25
Has anyone done a regression test for 0.9.48?
The fact that there's a hack... suggests you have, but...

MadEwokHerd
25 Dec 2007, 17:34
I have. The result is in http://bugs.winehq.org/show_bug.cgi?id=10543

Squiddle
26 Dec 2007, 11:21
Good. Let us hope this gets fixed soon. ;)

kinkdxm
11 Apr 2008, 20:56
Bump!

I'm running Wine 0.9.59
I'm thinking about buying either WA or WWP and was wondering if they work under the currant version of wine.

THANKS!

halfgaar
11 Apr 2008, 21:43
As far as I know, it still doesn't work (it broke some versions of Wine ago). I tried it a week ago or so, and it didn't work. Don't know the details, though.

kinkdxm
11 Apr 2008, 22:54
Thanks for the reply!

That's a shame :(

MadEwokHerd
11 Apr 2008, 23:12
Bump!

I'm running Wine 0.9.59
I'm thinking about buying either WA or WWP and was wondering if they work under the currant version of wine.

THANKS!

The answer is "It depends on whom you talk to."

According to me, it doesn't. Some people have gotten it to work to an extent, but not well enough (imo), and it's not easy to set up.

In any case, if you haven't bought anything yet, I would advise you download the WWP demo and try to run that. If you can run it with no problems, you can probably run WA or WWP. I don't think WWP was ever able to connect to wormnet on wine so if it's a choice between the two I suggest WA.

kinkdxm
12 Apr 2008, 08:36
I've tried downloading both demo's neither would run.

halfgaar
12 Apr 2008, 11:10
Did you read the howto (a link can be found somewhere in this thread)? It's not as easy as click and play.

kinkdxm
14 May 2008, 22:30
The answer is "It depends on whom you talk to."

According to me, it doesn't.
nope didn't for me either.
was hoping this wine 1.0 release would but alas it doesn't seem like it
:(

Did you read the howto (a link can be found somewhere in this thread)? It's not as easy as click and play.
yep I did.
But I didn't have the game then to try it.
I ended up buying it and it didn't work.
:(

Nissen
19 May 2008, 21:12
Use wine version 9.46, it will still make WA work

lookias
22 May 2008, 15:53
to avoid trouble with different wine versions u can use this wine wrapper for worms armageddon:
http://lookias.inventforum.com/viewforum.php?f=5

it wont touch your existing wine installation. so it runs well on my machine, would be good if someone can test it on its own computer.

greetz lookias

kinkdxm
25 May 2008, 20:14
hey lookias

it keeps asking for me to insert the cd. I do have it in. I ran cfg.sh and it autodetected the cdrom. any ideas?

lookias
25 May 2008, 23:37
i think there is still my d:: file ~/.wine/dosdevices/d::
u could try eraesing it.

edit:
i mean ~/wine4wa/windows/dosdevices/d::

lookias
26 May 2008, 02:15
i just tried it on a brandnew opensuse installation, with cd and iso. works fine here. no need to delete d:: i think.

kinkdxm
26 May 2008, 07:05
What cd version are you using? I'm using the sold out version.

lookias
26 May 2008, 14:57
i think i have this cd version out of silicon... lol
u could try to use an image (this is quiet a nice idea, because it makes life easier, wine leads to hassle sometimes with game cds)
i explained it here:
http://forum.team17.co.uk/showpost.php?p=647069&postcount=2

and u can watch here,
http://appdb.winehq.org/objectManager.php?bShowAll=true&bIsQueue=false&bIsRejected=false&sClass=version&sTitle=&sReturnTo=&iId=1744
i saw a cd fix how to there, your problem may be a common one.

kinkdxm
26 May 2008, 17:48
http://forum.team17.co.uk/showpost.php?p=647069&postcount=2


Didn't work for me either :(

kinkdxm
27 May 2008, 04:55
re: Last edited by CyberShadow : Today at 01:41. Reason: crack discussion is forbidden

I just wanted to point out that I own the game.

http://img296.imageshack.us/img296/7943/imag0109zb7.th.jpg (http://img296.imageshack.us/my.php?image=imag0109zb7.jpg)

Muzer
27 May 2008, 09:26
NO-CD counts as a crack. It lets pirates be aware that these exist (like you did), find them and play without ever buying a CD.

lookias
27 May 2008, 15:21
It lets pirates be aware that these exist (like you did), find them and play without ever buying a CD.

what just happens here again.. lol
anyway, lets fresh up this thread, what linux do you use kinkdxm?

kinkdxm
28 May 2008, 11:35
what just happens here again.. lol
anyway, lets fresh up this thread, what linux do you use kinkdxm?

Totally understand.

what just happens here again.. lol
anyway, lets fresh up this thread, what linux do you use kinkdxm?

ubuntu.
:)

lookias
28 May 2008, 15:56
do u have a x68_64 system? because mine is one, but wine is a 32bit, so i compiled it for 32 bit, but that may cause problems, i never thought about.

lookias
28 May 2008, 18:57
i just found this:

http://forum.winehq.org/viewtopic.php?t=774

might be worth of a look.

kinkdxm
29 May 2008, 02:44
do u have a x68_64 system? because mine is one, but wine is a 32bit, so i compiled it for 32 bit, but that may cause problems, i never thought about.

I run ubuntu 8.04 32 bit version.
Even though I could use 64 bit.
Gave up on 64 bit linux awhile ago :(



i just found this:

http://forum.winehq.org/viewtopic.php?t=774

might be worth of a look.

AH HA! that does seem like some of the errors I've been getting.
Will look into that fix.

EDIT: Nope didn't work either :(

This is the error I get. Maybe somebody smart knows what it means.
:D


me:~/wine4wa$ sh wa.sh
fixme:win:EnumDisplayDevicesW ((null),0,0x33ad04,0x00000000), stub!
fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMe m (0x1299c8) : stub, simulating 64MB for now, returning 64MB left
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x11e8c8)->((nil),00000008)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x11e8c8)->(0x10028,00000011)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel This is a hacked ddraw drawing to the desktop window instead of the window the app requested!
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x11e8c8)->(0x10028,00000011)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel This is a hacked ddraw drawing to the desktop window instead of the window the app requested!
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
err:x11drv:X11DRV_CreateWindow invalid window width -146
err:x11drv:X11DRV_CreateWindow invalid window height -10
err:x11drv:X11DRV_CreateWindow invalid window width -146
err:x11drv:X11DRV_CreateWindow invalid window height -10
err:x11drv:X11DRV_CreateWindow invalid window width -146
err:x11drv:X11DRV_CreateWindow invalid window height -10
err:x11drv:X11DRV_CreateWindow invalid window width -244
err:x11drv:X11DRV_CreateWindow invalid window height -53
err:x11drv:X11DRV_CreateWindow invalid window width -215
err:x11drv:X11DRV_CreateWindow invalid window height -30
err:x11drv:X11DRV_CreateWindow invalid window width -215
err:x11drv:X11DRV_CreateWindow invalid window height -29
err:x11drv:X11DRV_CreateWindow invalid window width -152
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -190
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -222
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -258
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -288
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -320
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -348
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -380
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -412
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -444
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:quartz:GraphBuilder_AddSourceFilter Load (80070003)
fixme:winmm:MMDRV_Exit Closing while ll-driver open
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x11e8c8)->((nil),00000008)
me:~/wine4wa$


Trying to launch a game in WA without that fix I get this.
Same but with the dos error.

me:~/wine4wa$ sh wa.sh
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
fixme:win:EnumDisplayDevicesW ((null),0,0x7f22ad04,0x00000000), stub!
fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMe m (0x7f0199c8) : stub, simulating 64MB for now, returning 64MB left
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x7f00e8c8)->((nil),00000008)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x7f00e8c8)->(0x10028,00000011)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel This is a hacked ddraw drawing to the desktop window instead of the window the app requested!
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x7f00e8c8)->(0x10028,00000011)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel This is a hacked ddraw drawing to the desktop window instead of the window the app requested!
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
err:x11drv:X11DRV_CreateWindow invalid window width -146
err:x11drv:X11DRV_CreateWindow invalid window height -10
err:x11drv:X11DRV_CreateWindow invalid window width -146
err:x11drv:X11DRV_CreateWindow invalid window height -10
err:x11drv:X11DRV_CreateWindow invalid window width -146
err:x11drv:X11DRV_CreateWindow invalid window height -10
err:x11drv:X11DRV_CreateWindow invalid window width -244
err:x11drv:X11DRV_CreateWindow invalid window height -53
err:x11drv:X11DRV_CreateWindow invalid window width -215
err:x11drv:X11DRV_CreateWindow invalid window height -30
err:x11drv:X11DRV_CreateWindow invalid window width -215
err:x11drv:X11DRV_CreateWindow invalid window height -29
err:x11drv:X11DRV_CreateWindow invalid window width -152
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -190
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -222
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -258
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -288
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -320
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -348
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -380
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -412
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:x11drv:X11DRV_CreateWindow invalid window width -444
err:x11drv:X11DRV_CreateWindow invalid window height -125
err:quartz:GraphBuilder_AddSourceFilter Load (80070003)
fixme:winmm:MMDRV_Exit Closing while ll-driver open
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x7f00e8c8)->((nil),00000008)
me:~/wine4wa$

lookias
29 May 2008, 18:12
but this is exactly the described error:
preloader: Warning: failed to reserve range 00000000-60000000
in
http://forum.winehq.org/viewtopic.php?t=774

u might have an ubuntu specific problem. hm sadly i cannot help you because i have opensuse, i know nothing about ubuntu :(

u could try opensuse :)

kinkdxm
30 May 2008, 04:31
HAHA it may actually be easier to try suse. May give it a shot this weekend. Thanks for all your help!

lookias
30 May 2008, 15:47
if you r lucky, it will work with a booted live cd.

Morgoth
2 Jul 2008, 16:04
does it work on debian? How?

Muzer
2 Jul 2008, 17:59
of course it works on debian.

lookias
2 Jul 2008, 18:09
http://appdb.winehq.org/objectManager.php?bShowAll=true&bIsQueue=false&bIsRejected=false&sClass=version&sTitle=&sReturnTo=&iId=1744

i recommend using wine 0.9.44, ok this is a bit complicated while having another wine version installed.
a solution would be this:
http://lookias.inventforum.com/viewtopic.php?t=12

im using it that way, having several wine versions running on one user. im still not sure if it runs on all linux distributions, but it does on opensuse 32bit and 64 bit.

if you try it plz tell me if it works.

Morgoth
2 Jul 2008, 20:16
of course it works on debian.

http://appdb.winehq.org/objectManage...rnTo=&iId=1744

i recommend using wine 0.9.44, ok this is a bit complicated while having another wine version installed.
a solution would be this:
http://lookias.inventforum.com/viewtopic.php?t=12

im using it that way, having several wine versions running on one user. im still not sure if it runs on all linux distributions, but it does on opensuse 32bit and 64 bit.

if you try it plz tell me if it works.

Thanks to both I will try it , but it might take a while. I brought my broken PC from the storage room and I'll try to fix it, put debian on it and then I'll post here.

The only experience I have is very little from Kubuntu and Ubuntu.

balver
3 Jul 2008, 17:41
Maybe someone could write installation script for PlayOnLinux (http://www.playonlinux.com/). There is actually script for Worms World Party, so it couldn't be so difficult.

MadEwokHerd
4 Jul 2008, 00:25
Last I checked you need to patch wine yourself on debian because it ships an odd version of glibc.

Morgoth
27 Aug 2008, 01:30
Okay , I am posting through ubuntu hardy. Is there any step by step process to do it ?
=D
For ubuntu newbies ?

halfgaar
27 Aug 2008, 09:26
Find the guide somewhere posted in this thread.

But, does Worms Armageddon even work again in Wine? I haven't tried it for some time.

Muzer
27 Aug 2008, 10:22
no, you still need an archaic version (of Wine, not WA)

Morgoth
30 Aug 2008, 09:28
Hello there chaps. I Have been trying to play W:A again and if you look here
http://ubuntuforums.org/showthread.php?t=904398
you can see my attempts.
Is there any way to get an updated dll or does it not matter? I have a wine 1.0 version.
Alternative solutions include an older wine version (?) Where can I find one ?
PLease help a fellow ubuntu-wormer (in the making)

MadEwokHerd
30 Aug 2008, 15:19
If you're not ambitious enough to build an old version of Wine yourself (and you will get no help doing this from me, sorry), the best thing is probably lookias' package: http://lookias.inventforum.com/viewforum.php?f=5

I haven't tried it and can't vouch for it. The instructions are pretty confusing and it's not as easy as it could be imo (but since I've done nothing myself to address the problem, I'm in no position to criticize).

Morgoth
30 Aug 2008, 15:21
If you're not ambitious enough to build an old version of Wine yourself (and you will get no help doing this from me, sorry), the best thing is probably lookias' package: http://lookias.inventforum.com/viewforum.php?f=5

I haven't tried it and can't vouch for it. The instructions are pretty confusing and it's not as easy as it could be imo (but since I've done nothing myself to address the problem, I'm in no position to criticize).

okay i see
btw It doesnt play.

lookias
30 Aug 2008, 17:02
please post some details. what did you try and what are the error messages with my wine wrapper?