PDA

View Full Version : Installing W:A Into Ubuntu.... help please!


Spilki
7 Dec 2008, 17:44
Hey guys,

Having troubles with Vista and the Intel 945 Graphics Gard so decided to try dual-booting ubuntu and vista and running W:A natively on it through Wine

(FYI I have used Win98 before as a virtual machine and that works)

I have the latest version of Ubuntu (8.10) and have Wine 1.0.1 installed on it so far.

Followed the guides on CyberShadow's knowledge base to get it installed, and struggled to find a ddraw thing (which wasn't there to start off with in the W:A directory) so used the one for wine 0.9.52

But when I try to play W:A this error crops up

"Worms Armageddon has encountered a fatal error
Detailed information about the error can be found in the ERRORLOG.txt file"

(I think this is the same thing I've seen in windows previously... but can't remember)

Does anyone have a custom ddraw for W:A using wine 1.0.1?

And if I'm missing a trick and there's something that i've missed, then any help would be greatly appreciated :D

Thanks guys!

lookias
7 Dec 2008, 17:52
http://lookias.inventforum.com/viewforum.php?f=8

my webspace is actually a bit unstable, if the download doesnt work right now, you must try it later again.

CyberShadow
7 Dec 2008, 18:29
I can take a look at the error log and see what's failing.

Enty
15 Dec 2008, 09:03
Hey guys,

Having troubles with Vista and the Intel 945 Graphics Gard so decided to try dual-booting ubuntu and vista and running W:A natively on it through Wine

(FYI I have used Win98 before as a virtual machine and that works)

I have the latest version of Ubuntu (8.10) and have Wine 1.0.1 installed on it so far.

Followed the guides on CyberShadow's knowledge base to get it installed, and struggled to find a ddraw thing (which wasn't there to start off with in the W:A directory) so used the one for wine 0.9.52

But when I try to play W:A this error crops up

"Worms Armageddon has encountered a fatal error
Detailed information about the error can be found in the ERRORLOG.txt file"

(I think this is the same thing I've seen in windows previously... but can't remember)

Does anyone have a custom ddraw for W:A using wine 1.0.1?

And if I'm missing a trick and there's something that i've missed, then any help would be greatly appreciated :D

Thanks guys!
Do you have all the latest updates installed for Vista, including SP1?

franpa
15 Dec 2008, 09:20
you have to use the specifyed Wine version in Cybershadows FAQ.

lookias
15 Dec 2008, 13:06
you have to use the specifyed Wine version in Cybershadows FAQ.

it happens to me that people dont know what "Play Worms Armageddon on Linux" is, thatswhy i made a description to it on worms2d.

http://worms2d.info/Play_Worms_Armageddon_on_Linux

AlAziz
15 Dec 2008, 16:46
I managed compiling wine (1.1.10) myself with the known hacks. The game was slow as hell for me, it's even impossible to rope slowly. Nah, wine needs much more improvements until this game can be fun on Linux. Here are the patches if somebody is interested:

diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c
index 0589648..2cdbf14 100644
--- a/dlls/ddraw/ddraw.c
+++ b/dlls/ddraw/ddraw.c
@@ -443,7 +443,8 @@ IDirectDrawImpl_SetCooperativeLevel(IDirectDraw7 *iface,
!(This->devicewindow) &&
(hwnd != window) )
{
- This->dest_window = hwnd;
+ This->dest_window = GetDesktopWindow();
+ FIXME("Enabling DirectDraw-Desktop-hack (hwnd=%p)\n", This->dest_wi
}
}
else if(cooplevel & DDSCL_FULLSCREEN)
@@ -471,7 +472,8 @@ IDirectDrawImpl_SetCooperativeLevel(IDirectDraw7 *iface,
!(This->devicewindow) &&
(hwnd != window) )
{
- This->dest_window = hwnd;
+ This->dest_window = GetDesktopWindow();
+ FIXME("Enabling DirectDraw-Desktop-hack (hwnd=%p)\n", This->dest_wi
}
}
else if(cooplevel & DDSCL_EXCLUSIVE)
diff --git a/dlls/user32/dialog.c b/dlls/user32/dialog.c
index 9dd9083..eded506 100644
--- a/dlls/user32/dialog.c
+++ b/dlls/user32/dialog.c
@@ -894,7 +894,7 @@ BOOL WINAPI EndDialog( HWND hwnd, INT_PTR retval )
SetWindowPos(hwnd, NULL, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE
| SWP_NOZORDER | SWP_NOACTIVATE | SWP_HIDEWINDOW);

- if (hwnd == GetActiveWindow()) WINPOS_ActivateOtherWindow( hwnd );
+// if (hwnd == GetActiveWindow()) WINPOS_ActivateOtherWindow( hwnd );

/* unblock dialog loop */
PostMessageA(hwnd, WM_NULL, 0, 0);

Muzer
16 Dec 2008, 07:58
Um, you could've saved a lot of effort if you used play wa on linux

lookias
16 Dec 2008, 14:16
Um, you could've saved a lot of effort if you used play wa on linux

indeed, thx muzer. if my binarys run on your linux, you just spend 5 minutes to get it (W:A) to run.
but if you are not so fluent with compiling, you may want to try it all alone, thats not a problem, but the problem is that newer people will wonder why we talk about compiling and also i wonder why you ignore my posts.

i mean, for example getting all the devel files for wine cannot be done within 5 minutes, thatswhy its not clear why you really want to do it. and you dont need to compile wine because wineappdb offers patched dll files for that purpose. :rolleyes:

and the game doesnt run slow on linux with wine.

X_xViox_X
23 Dec 2009, 08:14
Wow, lookias, gj man. I just got Ubuntu 9.1 (my last OS was WinME :D) and your directions were clear enough that someone with no Linux experience (me) was able to get it working. I ended up using the older version of Wine that was supported with a ddraw (0.9.52). I'll leave the compiling for another day to learn. ;)

The only thing that doesn't work is Intes Keychange. I got the full 1.06. Doesn't seem to do anything tho.. ?
EDIT: Ok now it works. I guess I had to keep the keychange window open and not minimize it? Even though it goes away on it's own when I start worms, it remains active now. It's not active here right now, but I just checked and it's still active for the worms window. Well, whatever is going on, I don't know, but it works now, so thanks again!

I realized I had to adjust my keyboard setting for the key repeat delay,
such as when holding down space, to keep it from firing off the zook too early.

X_xViox_X
23 Dec 2009, 10:56
Ok now Keychange isn't cooperating again. Any tips?