# Witcher2

The following is a short guide on getting Witcher 2: Assassins of Kings Enhanced Edition to run on Archlinux.

## Installation

From Steam.

## Driver

For AMD_Catalyst users, install the most recent driver using catalyst-total. Make sure that multilib is enable so that 32bit libraries are properly installed.

## Getting the libraries

The folllowing is based on this post [1] in the Steam forum. The step here is to get the correct libraries. First,

     cd "${HOME}/.local/share/Steam/SteamApps/common/the witcher 2"
     ldd witcher2

The objective is not to have anything missing. A list of packages necessary is given below:

     pacman -S gcc-multilib lib32-sdl2 lib32-freetype2 lib32-curl

The following packages are also needed from AUR.

     yaourt -S lib32-sdl2-image lib32-gnutls lib32-libcurl-gnutls

More packages than this may be needed. The point is that whatever library is missing, try either the official repository or AUR to find the corresponding 32-bit library. Once nothing is reported missing. Run the game in Steam.

## Troubleshooting

If the game does not run, try get some error messages:

     cd "${HOME}/.local/share/Steam/SteamApps/common/the witcher 2"
     LIBGL_DEBUG=verbose ./witcher2

If libGL fails to load because "swrast_dri.so" has problems, go back and double check if multilib is enabled and the 32-bit opengl libraries are installed in the driver installation step.

Category:

- Gaming