PDA

View Full Version : SoD and Wine


cubber
04-02-2010, 03:28 PM
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/objectManager.php?sClass=version&iId=1554

Then install SoD through steam.

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


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.


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


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.

Derision
04-02-2010, 03:38 PM
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.

Taurinus
04-02-2010, 04:00 PM
Also, you do realize that SoD has a DirectX folder right? :grin:

Extract Apr2006_d3dx9_30_x86.cab (winrar, 7zip, whatever) and you have d3dx9_30.dll

cubber
04-02-2010, 04:24 PM
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

cubber
04-02-2010, 04:48 PM
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.

cubber
04-02-2010, 05:16 PM
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:

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.

MNWatchdog
04-06-2010, 03:45 PM
Anyone gotten this to work under latest Debian?

If so, what did ya do? Can ya do a step by step?

Noport
04-06-2010, 05:03 PM
Cedega Works

Seksor
04-08-2010, 05:38 PM
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!

cubber
04-09-2010, 04:29 PM
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

Seksor
04-12-2010, 12:35 PM
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!

cubber
04-12-2010, 05:02 PM
What version of wine are you running? You should be using at least 1.1.41.

Seksor
04-12-2010, 11:08 PM
I'm running 1.1.41 on debian lenny amd64. Maybe the 64 bit is the problem?

cubber
04-13-2010, 10:12 AM
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/objectManager.php?sClass=version&iId=2939

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

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