ItsMods
[Release] Linux Fix for Server Addon - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Call of Duty Franchise (https://www.itsmods.com/Forum-Call-of-Duty-Franchise.html)
+--- Forum: Call of Duty: Modern Warfare 3 (https://www.itsmods.com/Forum-Call-of-Duty-Modern-Warfare-3.html)
+---- Forum: Tools (https://www.itsmods.com/Forum-Tools--127.html)
+----- Forum: MW3 Server Addon (https://www.itsmods.com/Forum-MW3-Server-Addon.html)
+------ Forum: General Discussion (https://www.itsmods.com/Forum-General-Discussion--136.html)
+------ Thread: [Release] Linux Fix for Server Addon (/Thread-Release-Linux-Fix-for-Server-Addon.html)

Pages: 1 2 3 4 5 6


Linux Fix for Server Addon - zxz0O0 - 06-29-2012

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


RE: Linux Fix for Server Addon - JariZ - 06-29-2012

Good release, This will help a lot of people.
Thanks.
Sticked.


RE: Linux Fix for Server Addon - DidUknowiPwn - 06-29-2012

Yey even though I don't use Linux yey


RE: Linux Fix for Server Addon - pollarpart - 06-29-2012

5 stars Big Grin


RE: Linux Fix for Server Addon - Kasperle - 06-29-2012

Nice work Smile Thanks, but how to install? Confused


RE: Linux Fix for Server Addon - zxz0O0 - 06-29-2012

(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.


RE: Linux Fix for Server Addon - msl - 06-30-2012

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


RE: Linux Fix for Server Addon - Cyanide - 06-30-2012

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.


RE: Linux Fix for Server Addon - barata - 06-30-2012

Very good one @zxz0O0 . And WOOT im in credits lol Happy cry

Thanks Barata...


RE: Linux Fix for Server Addon - JariZ - 07-23-2012

Should this still be stickied?