Playing UA on Linux

Urban Assault can be played on Linux to an extent. However, some features may not work and graphical performance is usually not as good as it is on Windows.

Wine

Using Wine is a common choice but not all versions of Wine work nicely. Wine is a better choice over a virtual machine because the computer doesn't have to simulate an entire operating system just to play the game. A virtual machine however has the possibility of being more stable and less prone to errors.

Software rendering and hardware (?) rendering via DirectDraw HAL are usually available when playing UA on Wine.

Compatible versions

The following versions of Wine are known to work with UA:

  • 1.3.35 (software rendering only)
  • 1.4.1
  • 1.5.5 (SW and DirectDraw HAL - Kubuntu 13.10 - Radeon 6450)
  • 1.7.28 (DirectDraw HAL works, SW causes problems?)
  • 1.7.55 (DirectDraw HAL works, SW status unknown?)
  • 1.9.1 (DirectDraw HAL only)
  • 1.9.8 (DirectDraw HAL only)

Incompatible versions

The following Wine versions are known to have serious problems with UA or to not work at all:

  • 1.5.6 (unclear; may be driver-related)
  • 1.5.25 (new bug introduced between 1.5.13 and 1.5.14)
  • 1.5.31
  • 1.6

Common problems and solutions

This section contains information about some common problems. When testing UA on Wine, it's recommended to use virtual desktop emulation as it often prevents annoying screen problems which may occur when UA changes the screen resolution but does not start properly.

Changing the graphics rendering mode

If the game does not start properly or the screen is severely distorted, changing the graphics rendering mode may help. This can be done by editing …/env/guid3d.def file. Known possible options are <software> for software rendering and <primary> for hardware rendering/DirectDraw HAL.

Intro videos and startup problems

Intro videos can cause startup problems such as black screen, especially with older Wine versions. In this case, renaming or deleting the DATA/MOV directory or disabling the video player completely by editing NUCLEUS.ini may help.

Wine 1.9.1 does not play the videos because it lacks support for some MPEG-1 streams. However, the non-working videos don't seem to cause any problems either. If the videos are converted into another format (MS-CRAM + PCM audio in AVI container tested), they work but a screen scaling glitch may occur when the video ends. The glitch goes away when the graphics engine gets reloaded, for example, when starting a mission.

General graphics issues

Enabling DrawPrimitive is usually beneficial. If it is disabled, graphical glitches may occur in the mission briefing, for example.

Multiplayer using GameRanger

GameRanger works on Wine provided that Flash Player is installed and some files replaced by their original Windows counterparts. See Wine Application Database for more information. However, UA does not work nicely with GameRanger on Wine, and currently (April 18, 2016), there's no known way to play UA using GameRanger on Wine.

Whether multiplayer without GameRanger works on Wine is currently unknown.

Virtual machines

Installing Windows into a virtual machine is another way to play UA on Linux. It requires more system resources than Wine, and you need a Windows license, but it provides a native Windows environment.

VirtualBox

VirtualBox is free and it should support all NT-based Windows versions. Older versions (ME, 98, 95…) may work but guest additions are not available. Running 64-bit systems or Windows 8/8.1/10 requires a CPU with hardware-assisted virtualization capabilities (VT-x/AMD-V).

Virtualbox allows hardware rendering via its virtual GPU driver which is provided with the guest additions package.

VMWare

QEMU

References

ua_linux.txt · Last modified: 2016/04/29 23:36 by goldstar611
Back to top
CC Attribution-Noncommercial-Share Alike 4.0 International
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0