Jump to content

Running Mechwarrior Online In Wine 1.5.16


29 replies to this topic

#1 CMDR ZOD

    Rookie

  • 7 posts

Posted 05 November 2012 - 05:53 PM

I followed the instructions from WineHQ for building wine for World of Tanks, which requires using a disable dynamic vertex shaders patch as WoT runs much better. I also got all of the winetricks dlls for world of tanks and also vcrun2010. I could not say for sure as to whether this patch improves framerates on MWO. When configureing wine I used these configure options to (hopefully) improve performance:

./configure CFLAGS="-O3 -pipe -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections -maccumulate-outgoing-args -mno-push-args -freorder-blocks-and-partition" LDFLAGS="-s"

Then I copied the installed game folder from my Win7 partition. There is a workaround to get the MWO installer to work with wine, but right before I was attempting to use wine we lost the old forums, which contained the info on how to get the installer to work in wine.

To run the game I find I have to use nautilus to browse to the game directory which is now in my .wine folder and double click the MechWarriorOnline.exe in order for the launcher to work. Making shortcuts to this launcher in Gnome in Ubuntu 12.10 will just not work for some reason. Oh well, I can make a shortcut in my places to the Bin32 folder so good enough for me.

I then configured my joystick in wine using the command "wine control.exe". Linux uses a few different ways of interacting with joysticks, so you must use the wine control panel to disable all but on stick or else you will find odd things happening in the game, because wine thinks that there are multiple joysticks connected, when in fact there is only one. Setting buttons up in game seems to work fine, but you must set throttle direction and inverse y axis in User.cfg in the base Mechwarrior folder to make your joystick operate the way one would like.
My user.cfg file:

Spoiler


I find these graphics options in my user.cfg very useful. They decrease the visual settings even more than the in game graphics settings. I have a very powerful system (GeForce GTX480 x3 and i7 990x OC to 4GHZ with 12Gb 1600Mhz ram) and leaving settings on minimum isn't enough to make the game playable. With these settings i can get over 20 FPS which is a bit more tolerable. I currently use SLI in Linux so that may have something to do with the weak FPS, will take more experimenting.

Then, when a round is over you MUST NOT click quit game. I found the game freezes in a black screen of doom. You must just end the match. Now when you get back to the desktop, the game launcher will not be in the window properly, and will not work correctly. To play another round you must kill wine with the "wineserver -k" in a terminal and re-open the launcher by double clicking on MechWarriorOnline.exe.

These are my results in wine so far, if anyone has any suggestions or something to add to this please do so. Hope this helps your Mechwarrior-ing in Unix!</p>

#2 nungunz

    Member

  • PipPipPipPipPipPipPip
  • Urban Commando
  • 612 posts

Posted 05 November 2012 - 06:35 PM

What are your exact specs by the way?

I keep seeing people having issues with the FPS, but I've never really dropped below 40 unless the game glitches.

#3 CMDR ZOD

    Rookie

  • 7 posts

Posted 05 November 2012 - 07:13 PM

My specs are:
Ubuntu 12.10 Gnome Remix
Nvidia Driver Version 310.14 in 3 way SLI single frame rendering
Compiz Enabled
Rampage II Extreme
Intel i7 990x OC 4Ghz
3x GTX 480 1536Mb Reflashed to 900Mhz Core 2Ghz Memory from 700Mhz and 1.8Ghz
12Gb 1600Mhz Ram
1200 Watt PS
CPU and all 3 GPU's are water cooled
Using Microsoft Force Feedback Pro 2 Usb. Works well in linux and also in Win 7 for MWO. Seems slugish on the rudder under wine though.

Any suggestions for improving my FPS? I thinking SLI should be turned off that would likely help. I know SLI in Win 7 causes the game to freeze for me.

Edited by CMDR ZOD, 06 November 2012 - 09:47 PM.


#4 Woogoose

    Member

  • PipPip
  • 23 posts

Posted 06 November 2012 - 04:12 AM

This is great Zod! I'm getting frustrated with having to reboot to Windows every time I want a quick drop. By proving that Wine is capable of running MWO, you've confirmed that I will now be spending a disproportionate amount of time playing with configuration :D

#5 CMDR ZOD

    Rookie

  • 7 posts

Posted 06 November 2012 - 09:37 PM

Well I got the FPS issue figured out and, as I suspected SLI was to blame for the very low frame rates. I find setting the graphics any higher than absolute minimum will cause cryengine errors. I suppose one could tinker around with the different options and find a workaround. On minimum graphics with SLI disabled I get around 40 fps I would say, which is more than playable. Can't wait for some decent joystick support in this game, namely sensitivity adjustment. Oh yeah, almost forgot, I figured out how to make a link for this game rather than browsing through nautilus all of the time. Here it is:

Spoiler


Just create a text file in your home directory and name it startmechwarrior.sh (or whatever you like) and paste the text from the spoiler into the file. Go into the file properties through your file manager after and make the file executable. Now any link you make to this script will start the mechwarrior launcher. I still have yet to see if updating the game will work in wine though. Don't forget to edit the command in the spoiler to the correct directory that your mechwarrior online installation resides in.

Edited by CMDR ZOD, 06 November 2012 - 09:45 PM.


#6 chomeop

    Member

  • PipPip
  • 48 posts
  • LocationBrisbane, Australia

Posted 09 November 2012 - 07:44 PM

Epic!!

Good work mate, i was toying with the idea of installing *nix on my main machine again, this was going to be the tipping point!

Love ya work!

#7 Ademan

    Rookie

  • 5 posts

Posted 11 November 2012 - 04:28 PM

This is absolutely awesome! I'm running Ubuntu 12.04 and I'll have to give this a go myself. I expect major issues as I'm using the open source ATI drivers and have already experienced odd shader issues with software I consider "known to be good", but as others have said, not having to boot to windows to play a match would be wonderful.

I'd love to hear a definitive comment from PGI that they won't ban users (just for) using Wine though, as Blizzard allegedly was doing.

EDIT: I'd also like to see any *real* solutions make it back into mainline Wine.

Edited by Ademan, 11 November 2012 - 04:29 PM.


#8 Peter Powers

    Member

  • PipPip
  • Elite Founder
  • Elite Founder
  • 39 posts

Posted 18 November 2012 - 03:17 AM

i kinda wish they would at least look into getting the installer run on wine,
even if they don't officially support it.

#9 CMDR ZOD

    Rookie

  • 7 posts

Posted 19 November 2012 - 09:44 PM

I know on the old forums someone had posted a way to run the installer inside of wine. Now that it appears they have integrated the old and new forums you may be able to find out how to do it. I sure hope they consider Linux gaming a bit more seriously as the Steam Beta has shown massive potential with over 60k people signing up in the first week of beta. Windows 8 will also help push users to linux as well. I don't understand how anyone could like such an unproductive, non-intuitive interface. Nvidia is also helping with their new drivers which are really beginning to be promising.

#10 SOIMiMozO

    Member

  • Pip
  • Fire
  • Fire
  • 15 posts

Posted 23 November 2012 - 07:13 AM

Getting this, when pushing "Play" button in launcher:
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x37e38a41
Does anybody know how to fix it?

#11 Sand Lantern

    Member

  • PipPipPip
  • Overlord
  • Overlord
  • 70 posts

Posted 23 November 2012 - 05:46 PM

View PostCMDR ZOD, on 19 November 2012 - 09:44 PM, said:

I know on the old forums someone had posted a way to run the installer inside of wine. Now that it appears they have integrated the old and new forums you may be able to find out how to do it. I sure hope they consider Linux gaming a bit more seriously as the Steam Beta has shown massive potential with over 60k people signing up in the first week of beta. Windows 8 will also help push users to linux as well. I don't understand how anyone could like such an unproductive, non-intuitive interface. Nvidia is also helping with their new drivers which are really beginning to be promising.

The real issue at hand, though, is that MechWarrior, as a license, is owned by Microsoft to my knowledge. That means they probably had to forfeit the rights to make it on any platform except for windows. Don't expect PGI to officially support linux for this game ever, as I'm sure it's in their contract not to.

#12 SOIMiMozO

    Member

  • Pip
  • Fire
  • Fire
  • 15 posts

Posted 29 November 2012 - 07:03 AM

geforce 460. 310.19 drivers with treaded optimization enabled. 8GB RAM. Wine 1.5.18. Running game on high with quite decent FPS.

Upd.: Ultra is quite laggy, but with some tweaks can be playable as well.

Edited by SOIMiMozO, 29 November 2012 - 07:14 AM.


#13 FuzzWig

    Rookie

  • 1 posts

Posted 02 January 2013 - 08:57 AM

I know you guys are all running Linux, but I'm currently trying to get the game to work in OSX Lion through wineskin, all i have managed so far is for it to pop up with an out-line of the patcher screen thing then disappear. Very frustrating!
Been using all the recommended wine tricks and still got nowhere. Any ideas guys?

#14 SOIMiMozO

    Member

  • Pip
  • Fire
  • Fire
  • 15 posts

Posted 26 January 2013 - 12:20 AM

View PostFuzzWig, on 02 January 2013 - 08:57 AM, said:

I know you guys are all running Linux, but I'm currently trying to get the game to work in OSX Lion through wineskin, all i have managed so far is for it to pop up with an out-line of the patcher screen thing then disappear. Very frustrating!
Been using all the recommended wine tricks and still got nowhere. Any ideas guys?

Any terminal output pal? There are no mediums here you know...

So, does anyone know how to improve FPS? I've tried this:
ddr=opengl
multisampling=enabled
Looks like it's stabilizing my FPS a bit, but not much.
Also, tried NVIDIA's multi-threading. Got a significant FPS decline with that.

#15 Evilpaperbag

    Rookie

  • 1 posts

Posted 23 April 2013 - 02:43 PM

FEAR NOT warriors im playing around with the wine configuration in Ubuntu 12.04 LTS to get the Installer working. Im not new but im not old to MWO. Any results ill post.

#16 Firefrog

    Rookie

  • Knight Errant
  • Knight Errant
  • 4 posts

Posted 26 July 2013 - 11:03 AM

View PostEvilpaperbag, on 23 April 2013 - 02:43 PM, said:

FEAR NOT warriors im playing around with the wine configuration in Ubuntu 12.04 LTS to get the Installer working. Im not new but im not old to MWO. Any results ill post.


Any luck?

#17 Byzan

    Member

  • PipPipPipPipPip
  • 111 posts

Posted 31 July 2013 - 01:19 PM

Linux is great, I love Mint, really awesome and ****** all over windows in many ways.

but the lack games is a downer and I really can't be bothered with wine.

I really hope the day comes where Linux is seen as a main platform. Linux has come such a long way I really think it just needs a couple of mainstream games to come out with linux support and the use of linux will explode.

the rise of android and steam for linux is a start... Come on devs!

#18 PanglossMcKayJr

    Rookie

  • Knight Errant
  • 1 posts

Posted 15 August 2013 - 09:13 AM

So... would any one happen to know then how to get the mechwarrioronlineinstaller.exe to work via wine ? I am trying to play around with it right now but ... not much luck yet.

#19 CaptainBoom

    Member

  • Pip
  • Big Brother
  • 11 posts

Posted 09 August 2014 - 12:37 PM

This is exactly the discussion I was hoping to find. Today marks another day of fighting with windows to play mechwarrior, rather than fighting mechs in Mechwarrior. The windows 8 OS is just the latest edition of the typical windows experience. I and after 5 hours of fighting Microsoft to get it to reload again, I'm just shaking my head. The only reason Windows 8 was allowed to survive on this awesome PC is because.... BABA BAAA Mechwarrior. Thats the single and only reason.

My education is in Network and Database. I've worked in a Datacenter that refused to upgrade from windows to Linux... and you know what? ever f-ing second of my working life I wonder how can Microsoft constantly produce such a crappy user experience and get away with it. Well... thanks to MWO... there is a good reason to permit windows to live on a dual boot.

THANK GOD there is a slivers chance that one of the best games in the world, can run on one of THE best OSs of the world. I don't mind front loading the effort to fight linux to make MWO work... rather than having MWO work initially, and then fight microsoft to play my game every week there after.

Sorry for the rant. I got up early to play with my team of friends.... 7 hours ago. I've been battling the Microsoft experience since then. Confounded, catastrophe of a user experience.

Please, for the love of humanity, develop for a real operating system! - I just want to play, that's ALL!! it's not a crime to have an OS preference is there???

#20 FilBot3

    Member

  • Pip
  • Rage
  • Rage
  • 13 posts
  • Facebook: Link
  • LocationUSA (GMT-6)

Posted 22 January 2015 - 01:32 PM

Well, since the beginning of this thread, Wine has had a few updates. Also, my PC is pretty beefy, so I'll be trying this out soon. I'm sure we could get a community effort to help either port or get a native client. Like Captain Boom said, this game is the only reason I have windows.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users