Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-02-2010, 03:28 PM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default SoD and Wine

It works! Tested with wine 1.1.33 and 1.1.41. SoF won't work past 1.1.33, so this is a bonus!

Special Notes:

1. You still need the same d3dx9_30.dll file in your EQ directory that was needed with SoF. The link on the wine page is bad so I uploaded a copy of the file to here
http://rapidshare.com/files/371254163/d3dx9_30.dll.html

2. Just as in SoF you need to start the game in WindowedMode or else your mouse cursor will be stuck in the center. Once your in the game you can change to full screen and the mouse works fine.


How To Install:

Install via steam, which also works under wine.

To install Steam under wine check out this link http://appdb.winehq.org/objectManage...rsion&iId=1554

Then install SoD through steam.

After you have SoD installed do the following in a terminal window.

Code:
cd ~/.wine/drive_c/Program\ Files/Steam/steamapps/common

cp -a everquest ~/.wine/drive_c/Program\ Files/EverQuest-SoD
What you just did is copied the SoD files that were downloaded with steam to a new folder called EverQuest-SoD in your .wine/drive_c/Program\ Files/ directory.

Once this is done you can uninstall the SoD client from steam by right clicking it in the list and selecting to delete the files to free up hard drive space.

Now to get the client working with the eqemu servers.

Code:
cd ~/.wine/drive_c/Program\ Files/EverQuest-SoD

echo "WindowedMode=TRUE" >> eqclient.ini
setup your eqhost.txt file to use eqemulator.net:5999 or your personal login server:5999.

Make sure you have the d3dx9_30.dll file in your EverQuest-SoD directory.

next make a file called start to start the game

Code:
echo "wine eqgame.exe patchme" > start

chmod +x start
You should now be able to start the game by typing ./start in the EverQuest-SoD directory now.
Reply With Quote
  #2  
Old 04-02-2010, 03:38 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Quote:
Originally Posted by cubber View Post
Now to get the client working with the eqemu servers.

setup your eqhost.txt file to use eqemulator.net:5999 or your personal login server:5999.
The public login server (eqemulator.net) doesn't support SoD on port 5999 (or at all) yet, as far as I know.
Reply With Quote
  #3  
Old 04-02-2010, 04:00 PM
Taurinus
Hill Giant
 
Join Date: Jul 2009
Location: Southern United States
Posts: 107
Default

Also, you do realize that SoD has a DirectX folder right?

Extract Apr2006_d3dx9_30_x86.cab (winrar, 7zip, whatever) and you have d3dx9_30.dll
Reply With Quote
  #4  
Old 04-02-2010, 04:24 PM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

Sorry bout that I don't use the public login, so I just popped it in there thinking it was or would be the same.

Also thanks for the info Taurinus
Reply With Quote
  #5  
Old 04-02-2010, 04:48 PM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

Hmm seems that SoF is now working in wine 1.1.41 last I knew it did not work in any version from 1.1.34-1.1.40. So something must have changed.
Reply With Quote
  #6  
Old 04-02-2010, 05:16 PM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

Taurinus,

The more I thought about it the directx file you talk about probably wont work. Since you need a "patched" version of the file. That is the one I uploaded to the link I provided.

From the Everquest listing on the winehq site:

Quote:
File d3dx9_30.dll is part of DirectX dll's, typically you have already put a copy of it in your Linux EQ game directory, if not make a copy from your windows install partition (usually found at /system32 folder with all other DX files) on your Linux game directory and modify the copy.

To patch the file you can use any binary editor (ghex as example -be careful, the program itself is called ghex2 instead-)

patch the file d3dx9_30.dll at offsets:

4c6f9, where there is a '83' replace it for '6a'
4c6fa, where there is a 'fe' replace it for '04'
4c6fb, where there is a '02' replace it for '5e'

save it and it's done.

As a reference the offset list from 4c6f0 before the change should read:
00 00 00 f6 45 f8 50 74 0f 83 fe 02 73 56 b8 57

And the offset list from 4c6f0 after the change should read:
00 00 00 f6 45 f8 50 74 0f 6a 04 5e 73 56 b8 57

Changing d3dx9_30.dll linux EQ local copy won't affect any other application and keeps you from 'patching' wine sorce after each release you want to upgrade to.
Obviously you could take the file you mentioned and "patch" it with the directions in the quote.
Reply With Quote
  #7  
Old 04-06-2010, 03:45 PM
MNWatchdog
Hill Giant
 
Join Date: Feb 2006
Posts: 179
Default

Anyone gotten this to work under latest Debian?

If so, what did ya do? Can ya do a step by step?
Reply With Quote
  #8  
Old 04-06-2010, 05:03 PM
Noport
Opcode Ninja
 
Join Date: Mar 2009
Location: San francisco
Posts: 426
Default

Cedega Works
Reply With Quote
  #9  
Old 04-08-2010, 05:38 PM
Seksor
Fire Beetle
 
Join Date: Jul 2006
Posts: 5
Default

I just tried, and I'm able to log into Project EQ under Debian 5.0 running wine 1.1.41. No character models though, only weapons. Seems to run great other than that!
Reply With Quote
  #10  
Old 04-09-2010, 04:29 PM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

you need the d3dx9_30.dll file from:

http://rapidshare.com/files/371254163/d3dx9_30.dll.html


Put it right in the everquest folder at the root

that should fix you missing models issue
Reply With Quote
  #11  
Old 04-12-2010, 12:35 PM
Seksor
Fire Beetle
 
Join Date: Jul 2006
Posts: 5
Default

I am using the d3dx9_30.dll file in my everquest directory as you said, but I still have no models. Is there something else I should try? Any other locations where wine might look for such a file? Any help is appreciated. Playing with no models isn't horrible, but it would definitely be cooler to have them. :P

Thanks!
Reply With Quote
  #12  
Old 04-12-2010, 05:02 PM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

What version of wine are you running? You should be using at least 1.1.41.
Reply With Quote
  #13  
Old 04-12-2010, 11:08 PM
Seksor
Fire Beetle
 
Join Date: Jul 2006
Posts: 5
Default

I'm running 1.1.41 on debian lenny amd64. Maybe the 64 bit is the problem?
Reply With Quote
  #14  
Old 04-13-2010, 10:12 AM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

Nope, I run it perfectly on 3 gentoo boxes 2 are x86 one is amd64. It could be something with the debian package, did you try compiling wine from source? You may want to check out the winehq.org page on it. There is a source code edit you can make that will fix it. I haven't had to patch the source since titanium to solve the npc model issue.

http://appdb.winehq.org/objectManage...rsion&iId=2939

Pay specific attention to this part of the page, the first method is speaks of is the patched d3dx9_30.dll file.

Quote:
WARNING! Only, use this if the first method does NOT work for you. If you are running an older version of EQ with a non-official server that does not use the exact dll above, then you will have to use this method.

Add this line:
pCaps->MaxVertexBlendMatrices=0x4;
In file:
(your wine source directory)/dlls/d3d9/directx.c
At function:
IDirect3DDevice9Impl_GetDeviceCaps(LPDIRECT3DDEVIC E9 iface, D3DCAPS9* pCaps)
Before returning (return hrc, line 176 (as of 0.9.55)
Build wine as usual and happy Everquestin
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 11:22 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3