ItsMods

Full Version: Linux Fix for Server Addon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
First of all I want to thank @Nukem for the Server Addon. Full credits for this fix to him (I just provide the fixed exe and a tutorial).

I tested it on Ubuntu 11.04 32bit and wine-1.2.2. Screenshot:
[Image: linuxfix.png]

Why is there a problem on linux?
The addon is loaded by d3d9.dll. However on linux wine loads his own d3d9.dll and therefore the addon doesn't load.

How to use the Linux Fix?
To fix the above issue you need to use a patched server exe that does not load d3d9.dll but another one. I named it load.dll. So you just rename the d3d9.dll in your MW3 Server directory to load.dll and upload the fixed exe.

How to patch the server exe yourself?
As I may probably not update this thread on every update I include a tutorial so you can do it yourself. However it is very easy to do it.
All you need to have is a hexeditor. I used HxD. So you open the server exe in your hexeditor and search for d3d9 in it. It will look like this:
[Image: d3d9.png]
On the right side (in the ascii view) you then replace d3d9 with load:
[Image: loadt.png]
and finally you save it.

Finally you need to have the following installed:
Code:
winetricks dotnet30
winetricks vcrun2008
winetricks vcrun2010

Again full credits for this fix to @Nukem

Attachement is outdated
Good release, This will help a lot of people.
Thanks.
Sticked.
Yey even though I don't use Linux yey
5 stars Big Grin
Nice work Smile Thanks, but how to install? Confused
(06-29-2012, 22:05)Kasperle Wrote: [ -> ]Nice work Smile Thanks, but how to install? Confused

(06-29-2012, 18:52)zxz0O0 Wrote: [ -> ]How to use the Linux Fix?
To fix the above issue you need to use a patched server exe that does not load d3d9.dll but another one. I named it load.dll. So you just rename the d3d9.dll in your MW3 Server directory to load.dll and upload the fixed exe.

Upload the fixed exe to your server, rename d3d9.dll to load.dll, start server with wine.
Thank you for the release and thank you for the manual how to fix it by ourselves for the future versions!

I really thought there is more magic, but this looks quite simple! Smile
Thanks ZXZ0O0,
I did have the fix done, but just havnt bundled it yet. I will add in the new release which should be in the next few days.
Im hoping the XUID bug has been reduced ( Thanks with help from Nukem) I think the bug is less evident but is still there. This bug isnt new tho and has been around for a long time. Im still not sure the bug can be 100% fixed.
Very good one @zxz0O0 . And WOOT im in credits lol Happy cry

Thanks Barata...
Should this still be stickied?
Pages: 1 2 3 4 5 6