BroodWar on Slackware64

After making the system multilib, it’s time to compile wine. In my experience, the latest version of wine that let StarCraft work right away is 1.2.2 — let’s use this for now… So, grab the wine.SlackBuild for 13.1. Then, following AlienBob’s instructions for compiling 32-bit programs, do:

. /etc/profile.d/32dev.sh

Then, open the wine.SlackBuild and change the LIBDIRSUFFIX:

if [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX=""
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

After installation, run winecfg before installing the game. The copy I have now is the BestSeller series which has two discs that have to be fed to the installer. Dues to some reason, the installer did not want to see the second disc when I inserted it. So, I just copied StarCraft (Windows).exe, Installer Tome.mpq (Disc 1) and Installer Tome 2.mpq (Disc 2) to a folder on the hard disc and installed from there.

It all works now :)

EDIT (09 May 2015): With the more recent versions of wine.SlackBuild, modifying the SlackBuild is no longer required.

One thought on “BroodWar on Slackware64

  1. Pingback: Removing WINE file associations | slackalaxy

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s