Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 10-26-2013, 03:23 AM
Ruien Ruien is online now
Aviak


Join Date: Nov 2009
Posts: 83
Default Ruien's Guide to EQ under Linux

This is a no-nonsense guide to installing EQ under linux, assuming you're pretty experienced with linux.

This guide also assumes you have an EQ installation on a Windows partition (or you have a compressed tarball/zip of the `EverQuest` directory -- no real "installation" is ever needed at all).

It's written as bash, but obviously don't try to run it as a bash script. The comments contain everything you need.

Code:
# This is an arbitrary name. I usually install each program into its own wine prefix. "EQ" is fine.
EQPREFIX=EQ

# Install Wine (I'm using 64-bit Xubuntu 13.10)
sudo apt-get install wine

# Make a new wine prefix
mkdir -p $HOME/WinePrefixes
WINEARCH=win32 WINEPREFIX=$HOME/WinePrefixes/$EQPREFIX wine wineboot

# Now you need to copy the "EverQuest" directory from your Windows drive
# For me, that's located at: "/media/$USER/6AC8A15BC8A12673/Program Files/Sony/EverQuest"
# This is because my NTFS partition has ID "6AC8A15BC8A12673". It'll be different for you.
cd "$HOME/WinePrefixes/$EQPREFIX/drive_c/Program Files"
cp -r "/media/$USER/6AC8A15BC8A12673/Program Files/Sony/EverQuest" .

# ensure permissions are correct, since we're going from NTFS to ext4
chmod 755 EverQuest
cd EverQuest

# this is probably overkill, but it's a great "reset permissions" pattern for future reference.
chmod -R 0755 .
chmod -R g-s .
chmod -R u-s .
chmod -R -t .
setfacl -R -b .
find . -type f -exec chmod 0644 "{}" \;

# get some replacement files, to work on linux. Ensure that you don't see the "*** FAILED DOWNLOAD ***" message.
mv eqclient.ini eqclient.ini.ORIGINAL    # back up the original eqclient.ini
wget 'http://mirror.ryansanden.com/EQ_linux/d3dx9_30.dll' && md5sum d3dx9_30.dll | grep 'df27297cafa361fc8fe6e5c0af5117f1' || echo "*** FAILED DOWNLOAD (d3dx9_30.dll) ***"
wget 'http://mirror.ryansanden.com/EQ_linux/eqclient.ini' && md5sum eqclient.ini | grep 'd065989a20a95d2a714b60e0502eab3f' || echo "*** FAILED DOWNLOAD (eqclient.ini) ***"

# remove specific project1999 files
mkdir -p P99_Removed_Backups
mv arena.eqg P99_Removed_Backups 2>/dev/null
mv arena_EnvironmentEmitters.txt P99_Removed_Backups 2>/dev/null
mv lavastorm.eqg P99_Removed_Backups 2>/dev/null
mv nektulos.eqg P99_Removed_Backups 2>/dev/null
mv Nektulos_EnvironmentEmitters.txt P99_Removed_Backups 2>/dev/null

# P99Files36.zip file contains "dsetup.dll", but the EverQuest directory originally contained "DSETUP.dll", which isn't the same filename (on linux). Move the old one so EQ finds the new one.
mv DSETUP.dll P99_Removed_Backups 2>/dev/null

# perform the project1999 files update. This is an example for "P99Files30.zip" -- the latest might be newer (see "Getting Started" at http://www.project1999.org/)
mkdir -p $HOME/tmp
cd $HOME/tmp
wget 'http://www.project1999.org/files/P99Files36.zip'
unzip -o P99Files36.zip -d "$HOME/WinePrefixes/$EQPREFIX/drive_c/Program Files/EverQuest"


##################
# Setup Complete #
##################

# Should be good to go. This single command launches EverQuest:
EQPREFIX=EQ && (cd "$HOME/WinePrefixes/$EQPREFIX/drive_c/Program Files/EverQuest"; WINEPREFIX="$HOME/WinePrefixes/$EQPREFIX" wine eqgame.exe patchme &>/dev/null)

# I prefer to put the above into a "start_eq.sh" bash script:
cat << "EOF" > "$HOME/Desktop/start_eq.sh"
#!/bin/bash
EQPREFIX=EQ && (cd "$HOME/WinePrefixes/$EQPREFIX/drive_c/Program Files/EverQuest"; WINEPREFIX="$HOME/WinePrefixes/$EQPREFIX" wine eqgame.exe patchme &>/dev/null)
EOF
chmod 755 "$HOME/Desktop/start_eq.sh"

#Then, just double-click the "start_eq.sh" script on your desktop to start EQ.
Hope that helps!

EDIT 2014-12-15: Added the bit about "DSETUP.dll"
Last edited by Ruien; 12-14-2014 at 11:43 PM.. Reason: add the start_eq.sh example
Reply With Quote
  #2  
Old 02-21-2014, 02:32 AM
Derubael Derubael is offline
Retired GM


Join Date: Aug 2013
Location: Cabilis East, in the northwest corner of the zone-in from Field of Bone
Posts: 5,011
Default

Had me up and running in 5 minutes in Mint 16, and I'm a total Linux n00b. Thanks Ruien. I'd assume it works just as well in Ubuntu or any other Debian base distro.
Last edited by Derubael; 02-21-2014 at 02:35 AM..
Reply With Quote
  #3  
Old 03-09-2014, 05:43 PM
Mazoku Mazoku is offline
Sarnak

Mazoku's Avatar

Join Date: Mar 2010
Posts: 300
Default

Will this run in full screen on mint?
Thanks
Reply With Quote
  #4  
Old 03-31-2014, 04:08 PM
wifeaggro wifeaggro is offline
Scrawny Gnoll


Join Date: Jan 2013
Posts: 27
Default

WORKS in ubuntu 13.10! Two thumbs up!
Needed to fix one warning with p11-kit in wine: http://askubuntu.com/questions/37073...blem-with-wine
Reply With Quote
  #5  
Old 04-07-2014, 03:56 AM
Unknown Zombie Unknown Zombie is offline
Large Rat

Unknown Zombie's Avatar

Join Date: Apr 2014
Posts: 7
Default

Runs great on Arch Linux with Wine 1.7.16. Only problem is that it won't run fullscreen, but that's trivial.
__________________
Erani Angreifer - Dark Elf Rogue
Reply With Quote
  #6  
Old 06-01-2015, 10:48 AM
assazzin assazzin is offline
Scrawny Gnoll


Join Date: May 2015
Posts: 27
Default

I run it in a dedicated drive with PlayOnLinux, install was super simple with it
Reply With Quote
  #7  
Old 01-08-2016, 08:45 PM
omegadot omegadot is offline
Large Rat


Join Date: Feb 2011
Posts: 8
Default

That durn dll had me. Thanks!
__________________
Harminster: L10 Bard
Neemish: L3 Necro
Reply With Quote
  #8  
Old 06-15-2021, 02:32 PM
fibrasek fibrasek is offline
Decaying Skeleton


Join Date: May 2021
Posts: 2
Default

Sorry for being a gravedigger, but the files on line 31 and 32 does not exist anymore [You must be logged in to view images. Log in or Register.]
Reply With Quote
Reply


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 03:36 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.