Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-26-2013, 03:23 AM
Ruien Ruien is offline
Kobold


Join Date: Nov 2009
Posts: 106
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
 


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 12:45 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 - 2025, Jelsoft Enterprises Ltd.