Jump to content

Archived

This topic is now archived and is closed to further replies.

Another Locust

How to Run on Mac/Linux

Recommended Posts

You will need to use wine. It allows one to execute ECMA-CLI based code on a UNIX platform.
Translation: Run M$ windows programs on Mac or Linux

(Note: Wine is a real pain in the ass if you don't know what you're doing, I'm no expert.)

I'll try to explain as best as I can.

Getting it to work
I recommend running WINE through a prefix manager, such as PlayOnLinux (open source) or Crossover (commercial). PlayOnLinux is free, so I will explain how to use it, it's quite simple actually.
For Mac users, use PlayOnMac instead of PlayOnLinux, the instructions are nearly identical

Installing PlayOnLinux

  • Download and install PlayOnLinux: sudo apt-get install playonlinux
  • Launch PlayOnLinux, follow the steps in the initial setup wizard.

Installing PlayOnMac

  • Download the dmg package from here
  • Install it, if you have a Mac you should already know how to do this, I can't remember!
  • Launch PlayOnMac and follow the steps in the initial setup wizard

Setting up WINE - Steam

  • Note: There seems to be a bug with PlayOnMac (4.2.2) where it will get caught in an infinite loop of downloading wine, hopefully not all Macs are affected...
  • Since I find Steam to be very reliable with WINE, we will install Total War: Medieval II with it. Bear with me
  • Launch PlayOnMac/Linux, click on the giant 'INSTALL' button
  • Enter 'steam' into the search bar, and double click (methinks)
  • Follow the directions on the Wizard, may be time consuming
  • When it is done, double click on the Steam icon on the main window
  • If it works, you're done. If not, may the seven save you!

Getting TW: M2 to Launch (This is where the fun begins)

  • Hopefully, when you finish downloading it from Steam, running it will work. In that case, go to the next section.
  • In the event that it does not work, do the following (and don't panic yet)
    • Launcher does not start:
    • You will need to start it manually, likely from the command line...
    • Figure out where PlayOn(whatever) installed Steam. Usually in the properties of the installation from the main window
    • Type the following into your terminal:
      • export WINEPREFIX=... # path to wine prefix from properties, any spaces must be escaped: (' ' -> '\ ')
      • cd $WINEPREFIX/drive_c/Program\ Files\ \(x86\)/Steam/SteamApps/common/Medieval\ II\ Total\ War/
      • cp Launcher.exe Launcher.exe~ # make a backup
      • ln -s medieval2.exe Launcher.exe # replace Launcher.exe with the direct launcher
  • ‚ÄčI can't say I'm the best at this, reply with any questions you might have.

Performance and Reliability:
I got some bad news: If are unlucky and it runs like shit, there isn't really a whole lot you can do about it. But...

  • Visit the winehq page for optimization and tips: link.
  • Consider a hardware upgrade: memory is cheap, can bottleneck WINE
  • Make sure you're not running this as the super user
  • Close all other programs
  • Use a light-weight desktop manager
  • I got nothing...

If you tried to follow my steps and failed, (I don't blame you) please reply to this topic so I can help you with your problem.

- Another Locust, dedicated Linux fanatic

Share this post


Link to post
Share on other sites

×