View Single Post
  #26  
Old 08-28-2018, 04:37 PM
whiteice217 whiteice217 is offline
Decaying Skeleton


Join Date: Aug 2018
Posts: 2
Default 2018 EQ1999 linux wifi tutorial Clarification

I needed to make the fix to my machine today and figured I would try to help clean up the mess of reposes to just a quick how to.

Step 1 get middlemand
go to https://github.com/Zaela/p99-login-middlemand and download the zip

Step 2 make a bin folder in your home directory "in terminal"
sudo mkdir /home/YOUR USERNAME HERE/bin

Step 3 navigate to downloaded zip file "in terminal"
if like me it should be in your /home/YOUR USERNAME HERE/Downloads

Step 4 Unzip the file "in terminal"
unzip p99

Step 5 navigate into new zip folder "in terminal"
cd p99-login-middlemand-master

Step 6 Make the file "in terminal"
make -f Makefile

Step 7 Move new file to the new bin folder "in terminal"
mv p99-login-middlemand /home/YOUR USERNAME HERE/bin

Step 8 modify eqhost "in terminal"
My location may be different then yours. But you need to go into your everquest folder under your wine directory. Below is an example.
sudo nano /home/YOUR USERNAME HERE/.wine/drive_c/'Program Files'/Everquest/eqhost.txt
Once here you should see

[LoginServer]
Host=login.eqemulator.net:5998

change it to

[LoginServer]
Host=localhost:5998

then save

Step 9 run EQ and then middlemand together
Launch EQ, then before login start middlemand by using terminal and this command ./home/YOUR USERNAME HERE/bin/p99-login-middlemand

Step 9.1 (Easy start mode) Run EQ and Middlemand at the same time with a single click
If like me you have a desktop icon for EQ you can have middlemand launch with it. Just edit your .sh for eq . You simply need to point the first section to middlemand and the second section to your EQ.exe. You can use the same commands just make sure you update your paths correctly

example

#!/bin/bash
/home/YOUR USERNAME HERE/bin/p99-login-middlemand &
echo $! >/tmp/p99middle.pid
cd /home/YOUR USERNAME HERE/.wine/drive_c/'Program Files'/Everquest
taskset -c 0 padsp wine eqgame.exe patchme 2>/dev/null
kill -9 $(cat /tmp/p99middle.pid)


update this part to your middlemand path
/home/YOUR USERNAME HERE/bin/p99-login-middlemand &

update this part to your eqgame.exe patchme path
cd /home/YOUR USERNAME HERE/.wine/drive_c/'Program Files'/Everquest
taskset -c 0 padsp wine eqgame.exe patchme 2>/dev/null


That's it. Now you can double click your EQ Icon and see the project 1999 servers while connected to wifi. I'll see you in Norrath

I want to mention those that helped me figure this out. I based much of this update on there hard work

fb9: Thanks for the expanded version. I did use parts of it in this update
Zaela: Thanks for the middlemand program. without it this wouldn't be possible
mgellan: Thanks for the directions for the .sh update
Reply With Quote