Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 08-09-2010, 08:40 PM
mgellan mgellan is offline
Fire Giant

mgellan's Avatar

Join Date: Mar 2010
Location: Winnipeg Canada
Posts: 880
Default Running EQ under LINUX

UPDATED FOR LATEST VERSIONS OF LINUX WINE 08/29/2013

This is a guide to show you how to install Everquest under LINUX and getting it working under WINE. WINE is a Windows execution environment under LINUX, Unix, MacOS etc. While some new games don't run well under WINE, EQ certainly does - previously you had to make one minor change to the WINE code, but now the standard wine that can be installed in Ubuntu can be run with the right settings in eqclient.ini. I prefer run EQ under LINUX, and it was the LAST application that tied me to Windows so I was pretty happy when the day came I could completely delete my Windows partition and go 100% LINUX, on my main system anyways!

The assumption in this guide is you're already running Ubuntu Linux Desktop 12.04 on a multicore PC. If you're running on a different OS or a Mac, you may need to make some adjustments but since I don't have either of those you're on your own. LINUX really runs better on NVidia graphics cards, since there are both Open Source and proprietary drivers available that seem to work well. With ATI cards YMMV so if you have a choice go NVidia. The Noveau open source drivers for Nvidia cards under LINUX didn't work well for on 3D, so install the proprietary drivers via the System Settings/Additional Drivers icon. Note: There is a separate post for anyone running Fedora / Red Hat / Centos here.

Installing WINE

When you first install LINUX WINE is not generally installed, but can be installed with the following command:

sudo apt-get install wine

WINE Configuration

Once you have WINE compiled and installed run

winecfg

And make sure the sound and everything are working properly. Generally I don't even bother doing this on a new LINUX machine unless I have issues.

Installing EQ

Next, you need to install EQ. The absolute easiest thing to do is copy an already installed version of EQ over to LINUX - just take the whole Everquest folder from a Windows install and drop it into the WINE folder - we'll assume this is /home/<user>/.wine/drive_c/Program Files/Sony/Everquest/ from hereon in. If you open up the Home Folder icon on your Ubuntu Desktop, you'll see a Devices section at the top of the left hand menu, one of these will be your Windows partition, so navigate to your EQ folder and cut and paste it to /home/<user>/.wine/drive_c/Program Files/Sony/Everquest/. If you can't see the .wine folder in your home directory hit Control-H to show hidden files since LINUX hides files with a leading period.

Otherwise if you want to install from CD it works fine - if you insert your CD1 in the Titanium set into the drive it'll pop up as a CD icon on the desktop. Doubleclick that to open, then doubleclick on setup.exe to run setup. It gets invoked via WINE automatically. The setup will proceed as normal, with the only wrinkle being you need to type

wine eject d:

from a terminal window (Ctl-Alt-T to pop one up) to get a disk out in the multidisk installer. This is because LINUX tends to want to mount Cds as filesystems and resists unmounting them if they're in use to avoid various problems. Wine eject gets around this.

Once the install is complete you'll get a wineglass icon on your desktop to run EQ. I had some problems getting the Options window to work properly but copying the ini file from an existing eq install worked great, if you have these issues. If you have problems use this ini file (hosted by cadiz thanks man!)

Obviously you need to edit it to not patch, but there's a few other things to add, so the command string (right click on the icon, Properties, Command: ) should be (all on one line!) with <user> replaced by your userid.

env WINEPREFIX="/home/<user>/.wine" taskset -c 0 padsp wine C:\\Program\ Files\\Sony\\EverQuest\\eqgame patchme

You need to proceed with the normal P1999 setup from hereon in, just do it into the folder where WINE installed EQ which is typically

/home/<user>/.wine/drive_c/Program Files/Sony/Everquest/

Again, note that since .wine has a dot in front of it LINUX won't show it in the File Browser unless you select View/Show Hidden Files (Ctl-H toggles).

Another way to set everything up for EQ and run it is in a script (batch) file. This also lets you do other things that I don't mention here but I do on my own system, like playing with Soundfonts and so on. Run Gedit then cut and paste the following into it:

#!/bin/sh
# if you don't have the script's cwd set, you get XML errors
export WINEPREFIX=$HOME/.wine/
cd ~/.wine/drive_c/Program\ Files/Sony/EverQuest

# Bind to one core of the processor and launch.
# The client will spew a lot of errors, especially every time
# you target a mob, hence the stdout/stderr redirect.
# You probably want to leave off the 2>/dev/null until you're satisfied
# everything is working.
taskset -c 0 padsp wine eqgame.exe patchme 2>/dev/null

Props to Zallarenya for the script! Once you have the script working (it's always a good idea to try it via command line until you work out all the issues) you can stick it in an icon. Under the new Unity desktop this is a little harder than in older versions but you can install a few things and achieve the objective.

sudo apt-get install --no-install-recommends gnome-panel

Will install some tools, then every time you want a new icon run:

gnome-desktop-item-edit --create-new ~/Desktop

A dialog pops up where you can point it to the EQ shell script. And thats it!

Enjoy EQ on LINUX!
__________________

OMNI Officer (Retired from EQ)
Check out my P99 Hunting Guide!
Last edited by mgellan; 08-30-2013 at 03:32 PM.. Reason: Updated for Ubuntu 12.04 Wine 1.4
Reply With Quote
  #2  
Old 08-09-2010, 08:44 PM
Savok Savok is offline
Fire Giant

Savok's Avatar

Join Date: May 2010
Posts: 971
Default

Nice find - I had it working except for the models.
__________________
Reply With Quote
  #3  
Old 08-09-2010, 09:20 PM
mgellan mgellan is offline
Fire Giant

mgellan's Avatar

Join Date: Mar 2010
Location: Winnipeg Canada
Posts: 880
Default

Find? I wrote that from scratch LOL [You must be logged in to view images. Log in or Register.]

Regards.
Mg
__________________

OMNI Officer (Retired from EQ)
Check out my P99 Hunting Guide!
Reply With Quote
  #4  
Old 08-11-2010, 08:55 AM
Zallarenya Zallarenya is offline
Aviak

Zallarenya's Avatar

Join Date: Jul 2010
Location: Dallas
Posts: 51
Default

Quote:
Originally Posted by mgellan [You must be logged in to view images. Log in or Register.]
Find? I wrote that from scratch LOL [You must be logged in to view images. Log in or Register.]

Regards.
Mg
Funny, since the comments in your start up script are the ones I wrote, verbatim [You must be logged in to view images. Log in or Register.] hehehe

I don't mind at all, and am happy you found it useful.
__________________
Baryon Cleric
Ailean Warrior
Reply With Quote
  #5  
Old 08-11-2010, 09:42 AM
mgellan mgellan is offline
Fire Giant

mgellan's Avatar

Join Date: Mar 2010
Location: Winnipeg Canada
Posts: 880
Default

Quote:
Originally Posted by Zallarenya [You must be logged in to view images. Log in or Register.]
Funny, since the comments in your start up script are the ones I wrote, verbatim [You must be logged in to view images. Log in or Register.] hehehe

I don't mind at all, and am happy you found it useful.
Ok, except for the startup script, and thanks, I did find it useful [You must be logged in to view images. Log in or Register.] I stand on the shoulders of giants and all that (although Newton, when he said that, was making a snide remark about Hooke's diminutive size!)

Regards,
Mg
__________________

OMNI Officer (Retired from EQ)
Check out my P99 Hunting Guide!
Reply With Quote
  #6  
Old 08-11-2010, 09:04 AM
Overcast Overcast is offline
Sarnak

Overcast's Avatar

Join Date: Jun 2010
Location: Cincinnati OH Area
Posts: 375
Default

Quote:
Originally Posted by mgellan [You must be logged in to view images. Log in or Register.]
Find? I wrote that from scratch LOL [You must be logged in to view images. Log in or Register.]

Regards.
Mg
Thanks [You must be logged in to view images. Log in or Register.]

Maybe I'll give it a try. I'd like to get Linux loaded up on my main PC to see how it would run, gives me an excuse~
__________________
Reply With Quote
  #7  
Old 09-23-2011, 04:52 PM
DoucLangur DoucLangur is offline
Fire Giant


Join Date: Jan 2011
Posts: 564
Default

Quote:
Originally Posted by mgellan [You must be logged in to view images. Log in or Register.]
Find? I wrote that from scratch LOL [You must be logged in to view images. Log in or Register.]
And from the AppDB [You must be logged in to view images. Log in or Register.] The vertex setting in source code was described there, luckily - or I wouldn't have been playing for months [You must be logged in to view images. Log in or Register.]

Thanks for the write-up though!

Cheers,

Slozem
Reply With Quote
  #8  
Old 11-04-2011, 08:59 PM
Lohlyfe Lohlyfe is offline
Large Rat


Join Date: Jun 2010
Posts: 5
Default

Is anybody currently running EQ in Linux via Wine?

Not only do I have the "no models" problem, even after modifying the source and compiling myself, but when I login, it tells me that I don't have the latest spell files. I have checked and re-checked to make sure I actually have the latest files... permissions look fine, as well.

The link to download the eqclient.ini in the original post is broken, so I don't know if there are crucial settings in there that I'm missing to get the models to show. I did turn off all pixelshader options in the ini file, but still no luck.

Any help would be greatly appreciated!

My config:
Kubuntu 11.10
ATI Radeon HD 5770 x2 (crossfire) w/proprietary drivers
Everquest Titanium
Reply With Quote
  #9  
Old 11-05-2011, 03:44 PM
charkis charkis is offline
Skeleton


Join Date: May 2011
Posts: 15
Default

Check to see if you have both a DSETUP.dll and dsetup.dll in your default folder. If so, try backing up/deleting the DSETUP.dll file.

http://www.project1999.org/forums/sh...ad.php?t=48157
Last edited by charkis; 11-05-2011 at 03:44 PM.. Reason: can't spell
Reply With Quote
  #10  
Old 11-07-2011, 03:10 PM
Lohlyfe Lohlyfe is offline
Large Rat


Join Date: Jun 2010
Posts: 5
Default

Quote:
Originally Posted by charkis [You must be logged in to view images. Log in or Register.]
Check to see if you have both a DSETUP.dll and dsetup.dll in your default folder. If so, try backing up/deleting the DSETUP.dll file.

http://www.project1999.org/forums/sh...ad.php?t=48157
That was the case -- I haven't seen that before. I no longer get the "outdated error". Thanks.

I am still having the issue with the invisible char models. Am I doomed with the ATI cards? (5770 x 2)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:43 PM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.