WineHQ

Half-Life 2

Half-Life 2: Episode Two is the second installment in Valve Corporation's series of episodes for the computer game Half-Life 2. It introduce new kind of gameplay, new backgrounds and improve the Source engine from previous versions.

Application Details:

Version: Episode Two
License: Retail
URL: http://www.half-life2.com/
Votes: 6
Latest Rating: Gold
Latest Wine Version Tested: 1.3.23

Maintainers: About Maintainership

Test Results

Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results

What works

Playing the game works fine; 800x512 resolution, all video options maximum level; audio perfect.

What does not

When playing game can stop and exit suddenly

Workarounds

What was not tested

Multiplayer, mods, top graphics settings with higher resolutions

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

nvidia 8400 GS 3 GB RAM AMD Athlon 64 x2 3800+ Using Nvidia graphic drivers NVIDIA-Linux-x86_64-275.09.07 if you launch hl2.exe to play ep2: To avoid this problem and gain a better perfomance, run: hl2.exe with parameters -win98 -dexlevel 81

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentUbuntu 11.04 "Natty" amd64 (+ variants like Kubuntu)Jun 25 20111.3.23Yes Yes Goldrafa 
ShowUbuntu 11.04 "Natty" amd64 (+ variants like Kubuntu)Jun 16 20111.3.22Yes Yes Platinumrafa 
ShowUbuntu 11.04 "Natty" amd64 (+ variants like Kubuntu)Jun 16 20111.3.18Yes Yes Platinumrafa 
ShowUbuntu 10.04 "Lucid" amd64 (+ variants like Kubuntu)Aug 16 20101.2Yes Yes SilverJayesh 
ShowUbuntu 9.10 "Karmic" amd64 (+ variants like Kubuntu)Nov 11 20091.1.32Yes Yes BronzeArtem Vorotnikov 

Known Bugs

Bug # Description Status Resolution Other apps affected
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

Show all bugs

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Bug assignment
by quaker on Friday May 20th 2011, 9:23
Can some maintainer here assign this bug to the application? It's not only TF2 specific.
bugs.winehq.org/show_bug.cgi?id=19522
HL2EP2 won't start up
by Roland Haeder on Wednesday July 7th 2010, 3:30
I have trouble starting EP2 up. When I hit "Start Game" the window with the startup messages comes but remains. Usually the "Cancel" button must be grayed out and the three dots right of the start-up message should start displaying. But it simply freezes there. I have already tried many settings, especially without any parameter and different sizes for the heap-parameter.

This behavior showed up in recent 1.2-RCx releases (I have GIT) but the game did work in 1.1.xx versions. Sorry not to be more specific, but I cannot recall the exact last working version number.

As suggested somewhere here at winehq.org I have already checked the cached game data and defragmented it, but it doesn't help.

Can someone confirm this?
RE: HL2EP2 won't start up
by Roland Haeder on Wednesday July 7th 2010, 3:31
BTW: I can still hit that X in the upper right corner or press cancel to abort launching it, so wether Steam nor Wine freezes.
RE: HL2EP2 won't start up
by Alexey Loukianov on Wednesday July 7th 2010, 7:22
I can't confirm this at least with the wine-1.2-rc4. HL2:EP2 starts up normally on my workstation without any noticable hangs during "Start Game" window step.
RE: HL2EP2 won't start up
by Roland Haeder on Wednesday July 7th 2010, 7:25
Oh, then it was that last working release. But can you confirm it is no longer starting up with RC6?
RE: HL2EP2 won't start up
by Alexey Loukianov on Wednesday July 7th 2010, 9:30
Will test as soon as I'll get a minute to compile a new release candidate. Hope I'll do it tomorrow morning.
RE: HL2EP2 won't start up
by Alexey Loukianov on Wednesday July 7th 2010, 17:48
I had compiled 1.2-rc6 and gave it a try. The answer is still negative: it took about 30 seconds for Steam to finish with "Preparing the launch of the HL2:EP2..." window and actually start up a game.
RE: HL2EP2 won't start up
by Roland Haeder on Thursday July 8th 2010, 5:33
Okay, then I didn't wait long enough. But still I can recall with older version of Wine, EP2 never took 30 seconds to get up (I mean that the games launches and start loading).
RE: HL2EP2 won't start up
by Alexey Loukianov on Thursday July 8th 2010, 15:17
I can't test this with the wine versions prior to 1.2-rc1 as the new Steam client version works incorrectly - windows are not visible at all.

As for 1.2-rc1 it takes just the same long time to start HL2:EP2 as with 1.2-rc6. I've been suspecting that the cause for this is the Steam Cloud synchronizing the saves but turning it off for HL2:EP2 makes no difference. Have to say that HL2:EP2 really takes significantly more time to start up comparing with HL2:EP1, HL2 and HL:Source.

On the other hand I can't tell for sure that this long-starting behavior was introduced in the latest versions of wine, and even more - I'm not sure that this is wine-specific. We need someone to test this on windows to be sure.
Gameplay video
by Jake ward on Monday March 29th 2010, 9:45
www.youtube.com/watch?v=I_rHTd5Tduk

The game seem to runs fine other then the hud not displaying..
Second screen?
by Samuel Sarette on Sunday November 8th 2009, 13:53
Theres a small screen that duplicates the 3d layer (not hud) in the lower right corner.

AMD64 Kubuntu 9.10 wine 1.0.1-0ubuntu8
Control issues.
by Steve on Saturday October 17th 2009, 13:35
I think this is actually across the board with Wine lately.

Outside of the mouse escaping the window, causing lack of pointer control, I seem to have this ongoing issue with moving the mouse + a combination of keys... I can't quite figure out whether it is just a mouse and a single keypress, or two and the mouse. I know it tends to screw up with sprint, but also forward-strafing. What happens is that everything just shuts down and I have to often push the movement buttons one or two times to get it to work again.

It is actually causing me to die repeatedly in the hunter-strider battle at White Forest, and is getting frustrating. Anybody know of a workaround for this?
Ingame status bar and gun pointer absents
by vago on Sunday August 16th 2009, 16:45
Hello, is anybody experiencing the following problem? During game the health status bar all the usual in game bars and the gun pointer are absents; everything runs fine in Episode 1 and in HL2 classic.

Wine version i the defaul debian lenny one 1.0.1 and the latest drivers from Nvidia.

Thanks in advance for any hint.
RE: Ingame status bar and gun pointer absents
by vago on Sunday August 16th 2009, 16:47
Ops sorry, I just understand that the bars are called HUDs and there is another post. I apologize. Anyway problem persists even changing video setting related to textures.
RE: Ingame status bar and gun pointer absents
by John Nelson on Wednesday August 19th 2009, 12:48
I found the same thing happening to me -- status bar and weapons selection console not visible -- but it began when I upgraded my graphics driver.

I was using the NVIDIA binary driver v180 that ships with Ubuntu 9.04, but then upgraded using PPA-packaged drivers to either v185 or v190 and saw this problem in both.

Note that even with the old driver, I occasionally get missing textures (shows up as a black instead of a face/poster/sign/etc), so even for me the older driver isn't a complete solution.
RE: Ingame status bar and gun pointer absents
by vago on Thursday August 20th 2009, 18:42
Hello John, thanks a lot for the hint; it has pointed me to the solution. I get the HUD with the nvidia driver version 180.44 downloaded directly from the nvidia driver archive. The 173.14 [default lenny one] and the latest 185.18 were not suitable for having the HUD.
Ciao
RE: Ingame status bar and gun pointer absents
by vago on Thursday August 20th 2009, 18:43
for completeness the graphic card is nVidia Corporation G80 [GeForce 8800 GTS]
black textures...
by Ty on Sunday May 10th 2009, 2:24
in anything based on the new source engine, gmod, tf2, ep2... After playing for a bit. I got odly colored textures. black and rainbow and stuff like that.
texture settings slowdown, and no menu's
by Ty on Wednesday April 22nd 2009, 15:38
If I set the textures at all, it removes the menu... and it removed the hud too! Any known fix?...
HL2 with Intel 3100 (965 chipset)
by Bryan Duff on Wednesday April 15th 2009, 9:16
I've been attempting to get this working under wine with the Intel 965 chipset.

I get an error (from the game - not wine) that pixel shader 1.1 is required. I know that technically this card supports shader 3.0 (or 4.0), so I wonder if I'm overlooking some sort of setting.

I'm running mesa/Xorg from git head, and 2.6.30-rc2 kernel. UT2004 works well (with the Linux binaries). As well as openarena. Not sure if those are comparable, but that's what works. Under Wine, Steam works just fine.
RE: HL2 with Intel 3100 (965 chipset)
by Kevin Dupree on Thursday November 26th 2009, 18:58
Not sure if you got this fixed, but adding a command line option of "-dxlevel 90" fixed this error for me. You get to this through the Properties for the game and "Set launch options.." button.
Black UI sprites
by Rob Whalley on Thursday September 25th 2008, 6:38
I have experienced the black UI sprites reported by other users on both HL2:EP2 and Portal. For me, the issue resolved itself when I added -dxlevel 81 to the launch properties and loaded the game. This is probably not news to many people. What is useful to know though, is that when I removed -dxlevel 81 from the launch properties, the UI sprites appeared properly when using the default (DX9) settings. It's almost as though the sprites have to load successfully once under DX8 and then will work properly under DX9. The behaviour occured for me on both HL2:EP2 and Portal.

For reference, am using Wine 1.1.5 from the WineHQ APT Repository on Ubuntu 8.04 64-bit. Graphics card is an Nvidia 8600GT, CPU is an AMD Athlon 64 X2 dual core 5600+, 4GB RAM. Wine is set to use Vista as the Windows version.
RE: Black UI sprites
by PhilArmstrong on Friday November 21st 2008, 16:52
That's because the -dxlevel option is "sticky": Once you've set it once, it stays at that setting until you change it again. If you keep setting it on the command line, then it resets the video settings every time which can be annoying.
Possible Regression with Wine 1.1.1
by Alexey Mitronin on Friday July 11th 2008, 22:22
So areas of skin become invisible thus making Alyx look odder than one of the Zombies.

Happens in DX9.0 mode. Haven't tested other modes yet.

System:
Ubuntu 8.04 32bit
GF8800GT
Wine 1.1.1

If anyone else can confirm it?
RE: Possible Regression with Wine 1.1.1
by Shawn Vega on Saturday July 12th 2008, 3:17
didn't see the invisible skin but i did see that the hud was all black so i couldn't see my health or ammo. is that a known bug?

used -dxlevel 90

system:
Ubuntu 8.04 32bit
nVidia Corporation GeForce 8400M GS
Wine 1.1.1
RE: Possible Regression with Wine 1.1.1
by Davide on Tuesday August 5th 2008, 13:38
Please: How did you get dx9 working on wine?
Really thanks.
RE: Possible Regression with Wine 1.1.1
by David Drahos on Wednesday September 17th 2008, 20:20
I've confirmed this too!
does anyone else have this problem???
by Shawn Vega on Wednesday July 2nd 2008, 19:25
after I quit out of halflife 2 episode 2 hl2.exe stays running. and if I try to restart hl2:e2 it says you can only have one instance of the game running at a time.
RE: does anyone else have this problem???
by Shawn Vega on Wednesday July 2nd 2008, 21:55
I just filed a bug if some one can please confirm bugs.winehq.org/show_bug.cgi?id=14256
RE: does anyone else have this problem???
by hawake on Thursday July 3rd 2008, 3:27
Workaround: kill the process of Wine and hl2.exe with a simple killall command, or using kill and the process UID.
RE: does anyone else have this problem???
by Shawn Vega on Thursday July 3rd 2008, 10:06
the problem is that after I kill the game won't start up again until i verify the game cache.
RE: does anyone else have this problem???
by SheeEttin on Thursday July 3rd 2008, 9:10
Does it do this in Windows?
If it does, this isn't a problem in Wine.

Please check, if you can.
RE: does anyone else have this problem???
by Shawn Vega on Thursday July 3rd 2008, 19:54
I don't get the problem at all in windows on the same computer.
RE: does anyone else have this problem???
by hawake on Thursday July 3rd 2008, 9:45
Hmmm some times this problem occur also in Windows... nut i don't know HOW and WHY! Maybe is a problem of the game... anyone knows if Valve released a patch to this problem?
RE: does anyone else have this problem???
by Shawn Vega on Thursday July 3rd 2008, 19:58
It dosn't happin in windows for me but even if it only happened in linux once in a while i wouln't complain but it happens every time I run the game.
HDR mode speed improvements
by FeepingCreature on Sunday April 27th 2008, 15:57
In dlls/wined3d/texture.c; if you comment out line 111 - 115 (the one that starts with "else if (GL_SUPPORT(EXT_TEXTURE_SRGB)", HDR speed goes up to nicely playable levels.

Graphics look a bit gray, so I presume that code is something important :) but it still looks nicer than DX8 mode, imnsho.
Black squares instead of translucent sprites.
by Brett on Wednesday April 16th 2008, 15:59
This would be the only thing holding me back from delicious Linux-based HL2ep2 action. Basically, anywhere there are 2D graphics overlays (eg, the HUD when selecting weapons, etc), I get black boxes. The same happens in Portal, incidentally... very annoying. I've tried using the dxlevel flag, but since both Portal and hl2ep2 are DX9 games, I didn't expect it to do much, and it lived up to those expectations.

Any thoughts? Or, at least a bug number (so I don't duplicate an existing bug, should I opt to submit one)?
RE: Black squares instead of translucent sprites.
by Brett on Thursday April 17th 2008, 19:07
And now the solution: I had to disable UseGLSL in the registry.

BTW, this was on an nvidia NVS 140M.
New wine allows HDR!
by Gavin on Sunday December 2nd 2007, 11:47
In the newest version of wine [whatever].50, Half life 2 episode 2 supports full HDR! It works great. The problem is only one fixme and one error that slow down the game to about 7 fps on my computer:

fixme:d3d_texture:IWineD3DTextureImpl_PreLoad Texture (0x2578e1f0) has been reloaded at least 20 times due to WINED3DSAMP_SRGBTEXTURE changes on it's sampler

err:d3d_surface:fb_copy_to_texture_direct Texture filtering not supported in direct blit

I'll see if I can fool around and get it even better, but this is what happens in directx 9 mode (8 still works fine, but no HDR).
Gutsy latest wine
by Gavin on Saturday December 1st 2007, 0:05
I have played through the entire game in direct x 8 mode and everything works fine. No problems whatsoever.

Switching to direct x 9 slows it down a lot, and doesn't seem worth it (yet). I believe it is certain areas that slow the game down in 9 mode, probably due to new graphics that aren't supported yet.

Going to try again when the ubuntu version of wine [...]50 is available in the wine ubuntu repos (tomorrow?)

We'll see how it goes, but it works terrificly.

I have an NVIDIA geforce 7600+ ... highest settings work perfectly.
RE: Gutsy latest wine
by Gavin on Saturday December 1st 2007, 13:03
running command:

wine steam -applaunch 420 -dxlevel 80 -novid -width 1680 -height 1050

it works!
vtf error
by Brent Bowman on Monday November 12th 2007, 9:53
I got this strange error when I tried to run it.

a wine popup popped up with:

"Can't find background image materials/console/startup_loading.vtf"

I had purchased and installed ep2 through Steam. I also purchased Team Fortress 2 through Steam and it works properly.

I did a search in my steamapps directory and there are no *.vtf's
RE: vtf error
by Blitz moo on Thursday January 3rd 2008, 15:09
I have this same error.
use winecfg on hl2.exe
by JD Powell on Monday October 29th 2007, 0:10
Just to clarify, do not set steam or all of wine to use win98. Only setup an override for hl2.exe for win98.


------- Comment #86 From Milan Troller 2007-06-22 09:51:47 -------

The ending usability of Win98 on steam is no problem. Just use winecfg and set
win98 in the settings for hl2.exe. You can set windows XP as default. Steam will
boot, and work normally. When you start any vale game as Counter Strike or
half-life2, it will run under imaginar win98 :)
RE: Unstable in 0.9.47
by Dave Seff on Thursday October 25th 2007, 21:15
Sorry for breaking the rule. Just getting over a cold and my head is still a bit cloudy.
No more crashes
by Taras on Sunday October 21st 2007, 3:11
It was posted that changing windows version to 98 prevents from crashing(In comments for bug 10033)
It's working! No more crashes in ep2 or portal in dx8 or dx9 mode(but it doesn't fix the color problem)
PS.I'm not playing Steam version

by Nikolay Kukushkin on Thursday October 18th 2007, 10:44
Yesterday I've playing about three hours with dxlevel80 and GLSL enabled on Gentoo,wine 0.9.47. But now the X-server crashes after 1-2 minute of working application (even in loading process). Something strange...
Game runs fine on Ubuntu 7.10
by Dan O'Connell on Tuesday October 16th 2007, 21:09
I played for roughly 1-2 hours without a hitch.

It was a little sluggish, especially when dealing with a pack of striders and other guys blowing up stuff all around, but not bad for a 6800GT. :-P

Oh, and btw, Tahoma fonts are no longer an issue with the latest release (0.9.47) (Oct. 12 2007).

I'm running Ubuntu-64 Gutsy Gibbon 7.10. (yes, 64bit)
6800GT
HL2 Ran in DX8.1 hardware and DX9 Software.
Bloom enabled, motion blur was not an available (likely due to software DX9). HDR was also not available.

I played the last 2 levels, as I had already finished the earlier ones in another OS and just copied them over to Ubuntu.

Easiest setup ever!

Dan
Back