Project 1999

Project 1999 (/forums/index.php)
-   Technical Discussion (/forums/forumdisplay.php?f=40)
-   -   Ruien's Guide to EQ under Linux (/forums/showthread.php?t=126081)

Ruien 10-26-2013 03:23 AM

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"

Derubael 02-21-2014 02:32 AM

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.

Mazoku 03-09-2014 05:43 PM

Will this run in full screen on mint?
Thanks

wifeaggro 03-31-2014 04:08 PM

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

Unknown Zombie 04-07-2014 03:56 AM

Runs great on Arch Linux with Wine 1.7.16. Only problem is that it won't run fullscreen, but that's trivial.

assazzin 06-01-2015 10:48 AM

I run it in a dedicated drive with PlayOnLinux, install was super simple with it

omegadot 01-08-2016 08:45 PM

That durn dll had me. Thanks!

fibrasek 06-15-2021 02:32 PM

Sorry for being a gravedigger, but the files on line 31 and 32 does not exist anymore :(


All times are GMT -4. The time now is 06:11 PM.

Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.