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: 879
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


Join Date: May 2010
Posts: 956
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: 879
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-09-2010, 11:47 PM
wvdmc wvdmc is offline
Skeleton


Join Date: Jun 2010
Posts: 17
Default

Thank you for this!

If I can get EQ running in WINE, I am going to do the same thing with Eve Online and will need two separate installations. So I am in that boat lol. Do you have any tips for this?
Last edited by wvdmc; 08-09-2010 at 11:49 PM..
Reply With Quote
  #5  
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
  #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: 378
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 08-11-2010, 09:42 AM
mgellan mgellan is offline
Fire Giant

mgellan's Avatar

Join Date: Mar 2010
Location: Winnipeg Canada
Posts: 879
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
  #8  
Old 08-11-2010, 09:51 AM
mgellan mgellan is offline
Fire Giant

mgellan's Avatar

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

Quote:
Originally Posted by wvdmc [You must be logged in to view images. Log in or Register.]
Thank you for this!

If I can get EQ running in WINE, I am going to do the same thing with Eve Online and will need two separate installations. So I am in that boat lol. Do you have any tips for this?
Bah, you're going to make me work now ) You need a seperate instance of WINE. To me it looks like the easiest thing to do is do a base install of wine via

sudo apt-get install wine

to run whatever will run with the default (which has the benefit of getting updated when your system does) then make a special install of WINE per game that needs mods. Easiest way to do that is do the configure run with something like:

configure --prefix=$HOME/wine/wine-1.2eq
configure --prefix=$HOME/wine/wine-1.2eve
etc.

Then in the script that runs the app, set $PATH to $HOME/wine/wine-1.2eq/bin:$PATH and you should be set. As long as the new WINE folder is IN FRONT of the PATH it'll run the custom WINE.

Regards,
Mg
__________________

OMNI Officer (Retired from EQ)
Check out my P99 Hunting Guide!
Reply With Quote
  #9  
Old 09-06-2010, 04:37 PM
Munuc Munuc is offline
Decaying Skeleton


Join Date: Aug 2010
Posts: 1
Default

Trying to install via this method on Ubuntu. I have done everything including copying the old Windows install over to the Ubu desktop, then placing into the Gordtulloch pre-compile. Made it the winecfg. Now I'm at the stage of making the link but am hitting problems as your method doesn't go into much detail - like you, I'm fed up with Windows and have deleted it! Totally new to this (I like the look of it but haven't got my head around Objective C and this is all Matrix numbers at the moment)!

So, to recap...

Folders
Desktop/ wine/ wine-1.2eq
Desktop/ wine/ ClassEQ

What would the shortcut link have to say so it doesn't patch?

Secondly, I tried playing sound (I could hear it fine) but found some error messages - any clues as to what I do? thanks in advance for being a complete godsend to a (N)ubunto...

fixme:system:SetProcessDPIAware stub!
fixme:dwmapi[You must be logged in to view images. Log in or Register.]wmIsCompositionEnabled 0x33cfdc
fixme:iphlpapi:NotifyAddrChange (Handle 0x3fde8d8, overlapped 0x3fde8e0): stub
wine: configuration in '/home/ian/.wine' has been updated.
fixme:mixer:ALSA_MixerInit No master control found on HP Deluxe Webcam KQ246AA, disabling mixer
fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer
fixme:msg[You must be logged in to view images. Log in or Register.]ack_message msg 14 (WM_ERASEBKGND) not supported yet
fixme:mixer:ALSA_MixerInit No master control found on HP Deluxe Webcam KQ246AA, disabling mixer
fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer
fixme:msg[You must be logged in to view images. Log in or Register.]ack_message msg 14 (WM_ERASEBKGND) not supported yet
fixme:msg[You must be logged in to view images. Log in or Register.]ack_message msg 14 (WM_ERASEBKGND) not supported yet

As an aside, if I wanted to play EQ Seeds of Destruction, would that mean I need to compile ANOTHER version of WINE?

Thanks again,

Munuc
Reply With Quote
  #10  
Old 09-09-2010, 03:43 PM
mgellan mgellan is offline
Fire Giant

mgellan's Avatar

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

Quote:
Originally Posted by Munuc [You must be logged in to view images. Log in or Register.]
What would the shortcut link have to say so it doesn't patch?
Assuming you create a script to run the code, then the shortcut link would be to the bash file? The script line that runs eq would be:

taskset -c 0 padsp wine eqgame.exe patchme 2>/dev/null

Just cut and paste the script posted in the OP and into a file named eq.sh, stick it somewhere like /home/munuc/bin, chmod 777 eq.sh to make it executable. Test it by running it from the command line, then make an icon and stick the command /home/munuc/bin/eq.sh as the command line to run the script.

Quote:
Originally Posted by Munuc [You must be logged in to view images. Log in or Register.]
Secondly, I tried playing sound (I could hear it fine) but found some error messages - any clues as to what I do? thanks in advance for being a complete godsend to a (N)ubunto...
It works? Ignore the messages, wine spews tons of messages out all the time. Thats why the script says 2>/dev/null, send all the spam to the bit bucket [You must be logged in to view images. Log in or Register.]

Quote:
Originally Posted by Munuc [You must be logged in to view images. Log in or Register.]
As an aside, if I wanted to play EQ Seeds of Destruction, would that mean I need to compile ANOTHER version of WINE?
I don't have the SoD client so I can't test it but I find it highly unlikely it would work at all... anyone else try it?

Regards,
Mg
__________________

OMNI Officer (Retired from EQ)
Check out my P99 Hunting Guide!
Last edited by mgellan; 09-09-2010 at 03:47 PM..
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 04:00 AM.


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 - 2019, Jelsoft Enterprises Ltd.