Skip to content

Instantly share code, notes, and snippets.

How to build wine2.9 staging which supports Blizzard's Overwatch

Overview

gamax92's wine repo has the DirectX11 overwatch patches already applied. We need to build this version of Wine with WOW64 support. That is, the 64-bit version of wine which also supports 32-bit Windows programs. In so many words: if your CPU is 32-bit only, don't bother and you couldn't run Overwatch anyway.

Building wine with WOW64 support requires boostrapping the final build. The three stages look like:

  1. Build the 64-bit version of wine (pass --enable-win64 to ./configure)
@rsanden
rsanden / build-wine-sc.bash
Last active March 19, 2021 12:00
wine-starcraft WoW64 build
#!bash # For syntax highlighting. This is not a script...
###########################################################
# Part I -- Setting up the 64-bit and 32-bit environments #
# Start this section as: root@Host #
###########################################################
# This is where we want wine-starcraft to live
INSTALLPREFIX=/opt/wine-starcraft
echo "$INSTALLPREFIX" > /tmp/INSTALLPREFIX.txt # recklessly presume this file doesn't already exist