WineHQ
Category: Main Games 1st Person Shooter Half-Life 2 Retail (32-bit)

Half-Life 2

Full retail version of the Half-Life 2.


Application Details:

Version: Retail (32-bit)
License: Retail
URL: http://www.half-life2.com/
Votes: 46
Latest Rating: Silver
Latest Wine Version Tested: 4.0.3

Maintainers: About Maintainership

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Installer's first 4 windows.

What does not

The first window installer appear -> Install Half-Life 2 -> window 'Valve's wizard' appear -> Next -> window 'Internet required' -> Next -> window 'STEAM TM SUBSCRIBER AGREEMENT' -> Impossible to click the 'Next button' (greyed out) even after displaying/scrolling the whole text to the bottom.

Only the following buttons are not greyed and does work: Reset, Previous, Cancel.


Seem related to the Wine bug: Bug 2899 - Half Life 2 Installer - cannot accept EULA.


The log :

0031:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0031:err:richedit:ReadStyleSheet missing style number
0031:err:msi:ITERATE_Actions Execution halted, action L"Welcome_Dialog" returned 1602
002a:fixme:shell:SHChangeNotify ignoring unsupported flags: 2001


Tried :

winetricks riched20  ->   Next button greyed
winetricks riched30  ->   Next button greyed
winetricks wininet  ->   Next button greyed
winetricks winhttp  ->   Next button greyed
winetricks xmllite  ->   Next button greyed

Workarounds

What was not tested

Game.

Hardware tested

Graphics:

  • GPU: Intel
  • Driver: open source

Additional Comments

OS : Xubuntu 18.04 x64.

The commands I typed: 

export WINEARCH=win32
export WINEPREFIX="${HOME}/.wine-half-life2"
cd "/media/${USER}/HL2/"
wine setup.exe


Retail DVD used (from the file '/valve.inf'):

[Ident]
Version=1.0.0.0
PatchVersion=1.0.0.0
ShortTitle=HL2_SFR
Title=Half-Life 2 Standard French

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowLinux Mint 5 "Elyssa"Dec 31 20194.0.3Yes Yes NoSilverTristan 
ShowUbuntu 19.04 "Disco" amd64 (+ variants like Kubuntu)Sep 30 20194.0.2Yes Yes YesBronzeFranco 
CurrentUbuntu 18.04 "Bionic" amd64 (+variants like Kubuntu)Jul 31 20194.0.1No Not installable NoGarbageDadu042 
ShowLinux Mint Debian x86_64Jul 01 20141.7.21Yes Yes NoPlatinumPhilipglo Joshua Opulencia 
ShowArch Linux x86_64Jul 24 20131.6Yes Yes NoPlatinumArtur h0m3 

Known Bugs

Bug # Description Status Resolution Other apps affected
5159 Microphone xmit in Half Life and HL:S games very harsh and goes in and out of "focus" REOPENED View
22912 Half Life 2 and Portal subtitles unreadable NEW View
24684 Multiple Source engine based games (Steam): out-of-order rendering, bloom effect and lights are visible through walls when multicore rendering is enabled NEW View
27453 Lag when loading new sound in source games NEW View
34080 Half-life 2 : Ammo doesn't display when loading game UNCONFIRMED View

Show all bugs

HowTo / Notes

HOWTO

Installing

First of all install Steam and make sure it's working properly. It is a simple and fast install. You don't want to go through all CDs installing HL2 to find-out that Steam is foo-bared.

Half-Life 2 can be installed from a) multiple CDs; b) DVD or c) downloaded from Steam. b) and c) should work as-is without any major problems.

For multi-CD install:
- Run winecfg and make sure that your cd-rom drive is mapped to a drive (d: for example).
- Start install from outside mount point ex: open CD-ROM in winefile then double click on hl2.exe

cd ~ && wine explorer d:\\
- When asked to change CD, in the separate terminal run
wine eject d:
- Insert next CD and mount it (browse to it with Window Manager's "file browser"). If CD isn't mounted Wine won't see it

Playing

General

In Steam -> File -> Settings -> In-game disable "Steam Community In-Game". Of left enabled Half-Life 2 will not crash on the startup.

Sound

Half-Life 2 doesn't work well/at all without sound. Use ALSA (recommended) or OSS (problematic on most hardware).

Video

On modern GPUs Half-Life 2 should be able to run in all dx-levels (70, 80, 81, 90). However there are might be some visual problems on higher dx-levels. Some drivers known to have problems:
- nVidia: recommended driver: 1.0-9631. Older 87xx drivers have number of bugs.
- ATI: Appears to have numerous problems with advanced features. Ok for dxlevel 70 & 80. Anything above won't work or will be exactly the same as 80.

For better graphics quality you might want to use "-dxlevel 90" command option (might be much slower then with -dxlevel 81)

To fix number of problems with "water in the sky" and lighting add this to the registry:

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"OffscreenRenderingMode"="fbo"

Starting

You can start Half-Life 2 by double clicking on it in Steam. Also you can start it with:

cd ~/.wine/drive_c/Progam\ Files/Steam
WINEDEBUG=-all wine steam.exe -applaunch 220 -novid -dxlevel 90 -width 1024 -height 768

Known problems

  • Some objects are over-bright or too dark
  • Shadows are broken
  • Several areas with noticeable FPS slowdowns.

Comments

Back