Warcraft III on Ubuntu 12.04

Posted on 2012-11-21 20:51

Installing Ubuntu on the MacBook recently, I knew there would be a bunch of OSX programs I would no longer be able to run but I was pretty confident that I'd be able to get some Windows programs going with wine. Having had good luck with Temple of Elemental Evil on the Elitebook last December, it was as simple as copying over my .wine folder to bring that over to the MacBook, and it seems to work well (so far). I was a little worried about WarCraft III since I hadn't ever tried that on the Elitebook - I'd always run it under OSX, but as it turned out, that wasn't anything to worry about either. Hey, I realize this is a 10 year old game, but its one of my favorites and I like to putter around in it from time to time! My notes on getting it set up follow.

I might have chosen to install from the CD, but since I already had an .iso image of the disc (I can't stand playing games that insist on having a spinning CD), I decided to use that. I won't cover creating an iso image of the disc here.

First I created a place to mount the iso:

mkdir /mnt/WarcraftIII

Then I mounted the Warcraft III iso. This can be done once,

sudo mount -o loop -t iso9660 \
/home/[username]/path/to/WarcraftIII.iso /mnt/WarcraftIII 

or it can be added to the fstab so that it will mount at boot time (or so you can just mount it with 'sudo mount /mnt/WarcraftIII' when you need to use it). As it turns out this wasn't really necessary, because the later patch levels from Blizzard allow the installed game to run without a CD in the drive, but here's the line I used in fstab anyway if you're interested:

/home/[username]/path/to/WarcraftIII.iso \
/mnt/WarcraftIII udf,iso9660 user,auto,loop 0 

Then I ran winecfg and made sure I had a drive letter set up as to point to /mnt/WarcraftIII. In my case I used drive letter F. Make sure you select it as Type: CD under advanced.

To install Warcraft III, just issue

wine F:\Install.exe
note: you'll need your serial number from the official CD!

Exit the installer, and rename the Movies directory which you'll find in your

/home/[username]/.wine/drive_c/Program Files/Warcraft III