VaultNetwork.netVault Network Boards
Author Topic: DAoC on Ubuntu [Locked]
ezenu
Posts: 41
Registered: 2002-9-12 03:37:42
newsguy99 posted:

I've tried many, many times to get the game to run under Ubuntu.
I actually did get in, ONCE on my bot.. and the lag was so horrible, and I couldn't see a
mouse cursor, I just gave up.
Thats been about 2 years ago.
I've tired it just a few months ago, and couldn't get past the patcher.
Never making it to the login screen. It would always hang, right after entering
your username and password. And then, attempting to connect to login server...
over and over, and then, fail.. try again. same thing.



yep, this problem is easily fixed by running winecfg, go to drives and remove the drive mapping for "/" (root)

 

-----signature-----
Veraction
daoc screenshots: http://ezenu.com/ss/
Movqk and Maulqk in thid
Finglor
Posts: 14
Registered: 2010-2-7 19:56:33
G'day,
thrilled that some are using Linux/Wine to play daoc. Been playing daoc on wine since version 1.1.8 came out and everything just worked. Now I've added that patch to get pixel shading and it runs like it would on Windows. Actually it runs better! Zoning is nearly instantaneous! The only thing I miss is alt/tab - seems about the only thing that doesn't work.... Well as I've ditched Windows it doesn't really matter.

Can't suggest anything with Pulseaudio as I still use the old ALSA modules - playing on old 'puter (6 years old). Perhaps try regressing to version 1.1.42 - which I'm currently using.

Have fun and enjoy the freedom that Linux brings.

Cheers
Finglor

PS. The cursor issue was fixed with version 1.1.8.
newsguy99  1 star
Posts: 85
Registered: 2006-6-22 13:55:54
Finglor posted:

G'day,
thrilled that some are using Linux/Wine to play daoc. Been playing daoc on wine since version 1.1.8 came out and everything just worked. Now I've added that patch to get pixel shading and it runs like it would on Windows. Actually it runs better! Zoning is nearly instantaneous! The only thing I miss is alt/tab - seems about the only thing that doesn't work.... Well as I've ditched Windows it doesn't really matter.

Can't suggest anything with Pulseaudio as I still use the old ALSA modules - playing on old 'puter (6 years old). Perhaps try regressing to version 1.1.42 - which I'm currently using.

Have fun and enjoy the freedom that Linux brings.

Cheers
Finglor

PS. The cursor issue was fixed with version 1.1.8.



Finglor, could you please tell us, which Linux you run, 64 or 32?
any extra add-ons and so forth?

I'm trying, but, I crash now at char login screen..

using Ubuntu 10.04 or 10.10, and the newest Wine.. And removing the '/' drive helped
get past the login / password screen.

 

-----signature-----
therinS  1 star
Title: Camelot Vault Staff
Artist

Posts: 161
Registered: 2006-1-4 04:27:28
Treehugger, I linked the wrong 'WineHQ' link. Here is the correct link, with instructions on how to prevent crashing at the character select screen.

http://appdb.winehq.org/objectManager.php?sClass=version&iId=9368&iTestingId=58115

Sorry I goofed in my original link post.

Fing, I would like to see what patch you applied to allow pixel shading, or do I just set it to allow in Wine config?

 

-----signature-----
Eggi/Sohwyn custom ui download site
BETA http://www.4shared.com/archive/LllGqvhe/eggisohwyn1110dbeta_1_.html
(:^
I will stop procrastinating tomorrow.
DAoC desktop calender collection http://db.tt/GnHh5Sc
ezenu
Posts: 41
Registered: 2002-9-12 03:37:42
therinS posted:

Treehugger, I linked the wrong 'WineHQ' link. Here is the correct link, with instructions on how to prevent crashing at the character select screen.

http://appdb.winehq.org/objectManager.php?sClass=version&iId=9368&iTestingId=58115

Sorry I goofed in my original link post.

Fing, I would like to see what patch you applied to allow pixel shading, or do I just set it to allow in Wine config?



The patch he's referring to is likely the one posted by Karl Vogel in your link (in the comments). I tried it at one time and it worked fine for me. You might have to make some adjustments since the patch was for an older version. I haven't experimented with it much; I don't like the new catacombs models.

 

-----signature-----
Veraction
daoc screenshots: http://ezenu.com/ss/
Movqk and Maulqk in thid
ezenu
Posts: 41
Registered: 2002-9-12 03:37:42
newsguy99 posted:

I'm trying, but, I crash now at char login screen..



sounds like you didn't disable vertex/pixel shaders in winecfg ? http://appdb.winehq.org/objectManager.php?sClass=version&iId=9368&iTestingId=58115

I should probably update that test report to mention the bug in the installer which requires you to pre-create the installation directory.

 

-----signature-----
Veraction
daoc screenshots: http://ezenu.com/ss/
Movqk and Maulqk in thid
ezenu
Posts: 41
Registered: 2002-9-12 03:37:42
Finglor posted:

The only thing I miss is alt/tab - seems about the only thing that doesn't work....


With my wine config, I can easily switch between daoc instances instantaneously (better than Windows XP used to be).

Usually I run 2 accounts, but it works for as many as you want. For two instances, I have 3 Workspaces. Workspace 1 is for my regular stuff: web browser, terminals, etc. Workspace 2 is my main daoc account. Workspace 3 is for my bot. (And so on if you wish.. I've ran 4 accounts easily on a cheap old computer).

To make this setup work well, I go into "winecfg", Graphics tab, then check "Emulate a virtual desktop" and set it to your screen's resolution (1680x1050 for me).

 

-----signature-----
Veraction
daoc screenshots: http://ezenu.com/ss/
Movqk and Maulqk in thid
Finglor
Posts: 14
Registered: 2010-2-7 19:56:33
G'day,
Here's my patch notes I drew up. It took a bit of trial and error on my behalf but the outcome was worth it - I hope this helps you to 'not invent the wheel'... btw it is a bit long!

How to add snoodpatch.patch for DAOC.

Wine is extremely versatile when using Windows based programmes. However, sometimes Wine requires modifications for the programmes to work, or become more functional. First we will look at how to patch.

A patch is a modification of the Source Code. For wine these patches are generally contibuted by the Wine community and posted at:
http://www.winehq.org/ in the AppDB section.

Step 1. Get the patch at the bottom of this reply...
Open a text editor and copy-paste the patch - save this as snoodpatch.patch in your home directory.

Step 2. Update your repository list.
2.1 Open a terminal and type (or copy and middle mouse button)
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
and press enter
this obtains the gpg key.

2.2 then type
sudo gedit /etc/apt/sources.list
this will open up your repository file list

2.3. Add the Wine repository by copy-pasting one of these (determined by your version of Ubuntu):

#Hardy Wine Repository
deb http://wine.budgetdedicated.com/apt hardy main #WineHQ - Ubuntu 8.04 "Hardy Heron"
deb-src http://wine.budgetdedicated.com/apt hardy main #WineHQ - Ubuntu 8.04 "Hardy Heron"

#Intrepid Wine Repository
deb http://wine.budgetdedicated.com/apt intrepid main #WineHQ - Ubuntu 8.10 "Intrepid Ibex"
deb-src http://wine.budgetdedicated.com/apt intrepid main #WineHQ - Ubuntu 8.10 "Intrepid Ibex"

#Jaunty Wine Repository
deb http://wine.budgetdedicated.com/apt jaunty main #WineHQ - Ubuntu 9.04 "Jaunty Jackalope"
deb-src http://wine.budgetdedicated.com/apt jaunty main #WineHQ - Ubuntu 9.04 "Jaunty Jackalope"

Save these changes.

For later versions of Ubuntu go to this website for instructions:
http://www.winehq.org/download/deb

http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/
deb http://ppa.launchpad.net/shutter/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/shutter/ppa/ubuntu karmic main

2.4. from the terminal type: (from now on always keep this terminal open)
sudo apt-get update
and press enter

Step 3. Get the Build Dependencies
From a terminal type:
sudo apt-get build-dep wine
and press enter (this could be a big download 400mbs+)

Step 4. Add an extra module
From a terminal type:
sudo apt-get install fakeroot
and press enter (this may already be installed)

Step 5. Make the build directory and download Source Code
From a terminal type:
mkdir wine-build (press enter)
cd wine-build (press enter)
apt-get source wine (press enter)

5.1. Directory to Code
Have a look in your wine-build directory and there will be a couple of files and a folder. The name of the folder is what we need to enter in the terminal; and will vary depending on versions of Ubuntu and Wine. Ok now you know the name of that folder:
from a terminal type:
cd wine-1.1.42~winehq0~ubuntu~9.04 (this is an example - the name must be the same as the folder)
press enter

Step 6. Adding the Patch
From a terminal type:
patch -p0 < ~/snoodpatch.patch
and press enter
if you get an error try this instead:
patch -p1 < ~/snoodpatch.patch
and press enter
NOTE: if you still get an error it may be that copy-pasting from the WineHQ website was in error - go back there and see if they've made a text file for you to copy-paste.

Step 7. Compiling and Building a Deb Package
From a terminal type:
dpkg-buildpackage -rfakeroot -uc -b
and press enter (this process make take a long time so go make yourself a cuppa)

7.1. Build Errors
Sometimes Ubuntu may not have grabbed all of the build dependencies. The building will stop within 30 seconds if this is the case. It will tell you what's missing.
Example:
Compiling the source code stopped after about 15 seconds. A little way up it tells me that the following dependencies are missing:
libopenal-dev libgsm1-dev
From the terminal type:
sudo apt-get install libopenal-dev (press enter)
then
sudo apt-get install libgsm1-dev (press enter)
(Note the slight difference between a 1 and a l.)

Now go back to step 7 and start the proocess again.

Step 8. Installing
You may have Wine already installed. If this is the case from a terminal type:
sudo apt-get remove wine (press enter)
In the wine-build directory you will have a nice wine deb package. Double click onto this and install your patched version of Wine.


THE PATCH
Open a text editor - such as gedit and copy paste the following
(save it as snoodpatch.patch)

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index f9bc752..04d15a4 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1928,6 +1928,7 @@ static BOOL IWineD3DImpl_FillGLCaps(struct wined3d_driver_info *driver_info, str
gl_info->limits.blends = gl_max;
TRACE_(d3d_caps)("Max blends: %u.\n", gl_info->limits.blends);
}
+ gl_info->limits.blends = 4;
if (gl_info->supported[EXT_TEXTURE3D])
{
glGetIntegerv(GL_MAX_3D_TEXTURE_SIZE_EXT, &gl_max);

Cheers
Finglor
newsguy99  1 star
Posts: 85
Registered: 2006-6-22 13:55:54
Finally! I got it working.. And, you guys are right.. it runs even better than in Windows!

First, I followed the above response to the tee..

2nd, and I think it had to do with this as well.. I stopped trying to use ubuntu.

Linux Mint (which is derived from ubuntu) is what I moved over to.

Done everything and then, downloaded the setup program.
Guess what? It crashes!
Went and grabbed a backup disc of my game from about a year ago..
Unzipped it in the Wine C: drive, creating a folder called Lab.
Added the camelot.exe file to Wine config, and made sure the sheddars and stuff was unchecked.
I did allow DirectX to take control of the mouse pointer.

Once that was done, browsed C drive within Wine, right clicked the camelot.exe and selected
Run this file with Wine loader.
The patcher looks like crap when loading, and updating.. However, it gets to the login server.
I tried to log in, and the blasted thing froze. (I forgot to remove the '/' drive letter)
tried again, and got to the char select screen. made a new toon, and entered the game.
Smooth.... I was impressed!

Thanks for all thats helped...

Linux Mint 10.10 64-bit
AMD x2 4200 x64
4 gigs DDR pc-3200 ram
160 Sata HDD
nVidia 9600

(p.s. The patch file is borked here.. someone has made a new one on WineHQ, and a copy/paste to
notepad works)

 

-----signature-----
Nabdya
Posts: 34
Registered: 2006-12-4 22:15:47
robbie1687 posted:

So far as I know, Mythic has never had a rule against running DAOC on Linux. However they do publish the following warning:


Mythic's Knowledgebase posted:

The Linux environment is not supported under Dark Age of Camelot at this time. Also, please do not attempt to run the game via Linux through Windows emulators. This often results in accounts being terminated for speed hacking due to differences in emulation vs the actual operating system, resulting in speed and timing issues.


Source: http://support.darkageofcamelot.com/kb/article.php?id=348



This seems like a lot of energy put into gaining an edge on your opponent when most likely, you will still die...

P.S. You cant kill anything if all you do is Wilson...


VaultNetwork.net is an independently operated community forum and is not affiliated with, endorsed by, or technically based on IGN, GameSpy, FilePlanet, GameStats, or the former IGN/GameSpy Vault Network.
References to VaultNetwork.net mean this site/domain. VNBoards-style presentation is a visual homage only. By using this site, you agree to the forum rules.