• 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] Linux Fix for Server Addon
#1
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


Attached Files
.zip   iw5mp_server.1.9.433_linux.zip (Size: 1.84 MB / Downloads: 304)
.rar   iw5mp_server.1.9.441_linux.rar (Size: 1.54 MB / Downloads: 131)
[Image: azuw.jpg]
  Reply
#2
Good release, This will help a lot of people.
Thanks.
Sticked.
  Reply
#3
Yey even though I don't use Linux yey
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
  Reply
#4
5 stars Big Grin
  Reply
#5
Nice work Smile Thanks, but how to install? Confused
[Image: b_560_95_1.png]
[Image: b_560_95_1.png]
[Image: b_560_95_1.png]
  Reply
#6
(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.
[Image: azuw.jpg]
  Reply
#7
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
  Reply
#8
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.
  Reply
#9
Very good one @zxz0O0 . And WOOT im in credits lol Happy cry

Thanks Barata...
Don't worry if things aren't the way you planned, in the end everything will solve itself...
  Reply
#10
Should this still be stickied?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] MW3 Server Addon zxz0O0 194 130,726 08-30-2021, 01:45
Last Post: Miri
  [Release] ADDON + BOXES MW3 v1.9.388 xenio 0 2,537 01-04-2020, 12:39
Last Post: xenio
  How to set up your own modded server with server addon for supernoobs JariZ 133 104,854 03-04-2018, 16:14
Last Post: h1dexyz
  [Tutorial] How to install plugins to your MW3 Server JariZ 24 34,618 07-17-2017, 07:54
Last Post: syrvvp
  Nukems MW3 Addon doesn't exist now what? graphix2004 3 4,163 03-19-2016, 22:17
Last Post: CashMoneyMedia
Video How to compile MW3 server plugins for supernoobs JariZ 57 44,077 07-24-2015, 14:06
Last Post: graphix2004
  Help 'Server rejected our connection request' blxw 0 3,142 02-15-2015, 21:58
Last Post: blxw
  Server cannot conect to service s.j-rez 3 3,771 07-14-2014, 18:54
Last Post: Casper
  Server crash claassic 0 2,355 06-20-2014, 19:54
Last Post: claassic
  Help Server crashes with addon. Reindeer 4 4,345 06-19-2014, 08:55
Last Post: Reindeer

Forum Jump:


Users browsing this thread: 1 Guest(s)