This wiki has been archived and can only be read.

Half Life 2

From Cedega Wiki
Jump to: navigation, search

Contents

Game Info

Game version Current
Installer Works, with some issues depending on the install method
Game Works, but has some issues described below
Patch Game is automatically patched via Steam
Download patch N/A
Demo works Yes (though see below)
Download demo 3D Gamers - Complete demo, requires a Steam account
Requires no-cd patch No
Multiplayer works No multiplayer
Works with Cedega version(s) 5.1.3 (best), 5.0, 4.4.3
Tested with Cedega version(s) All
Supported by TransGaming Yes
URLs Half Life 2 --Official site
Steampowered
Planet Half Life

Notes

  • You usually need always the latest Cedega version to play this game since it is broken frequently due to (automatically deployed) patches. At the moment, Steam (and hence all games that are run through it) will only run with Cedega 4.4.3 and up.
  • Both the game and the demo need Steam along with a valid Steam account -- no account - no play. You need the Steam accound to register the game even when you purchased the game on CD or DVD and installed it from the disks.
  • The easiest way to install this game is to purchase and download it via Steam, if you have the necessary bandwidth. You must have Transgaming's Mozilla ActiveX package installed, otherwise the vital HTML content will not be shown. This is detailed in the release notes. Note that even with a broadband connection, it can take several hours to install Half Life 2.

To check the status of any downloads Steam is doing, right click the Steam systray icon, and select monitor.

It is possible to install Half Life 2 via Steam even if you have purchased the DVD/CD. With Steam running, right-click Half Life 2, and select purchase. When the new window opens, click 'Register a product I already own', and enter the relevant information. This should add your copy to Steam, as if you had brought online. (Warning: This has not been tested by the author, but *should* work).

Issues

  • The DVD/CD installer may complain about a missing instmsi.exe file. If you see this error, you need to run the instmsi.exe from the DVD/CD first, then run the installer again. Point2Play users need not be left out. Click install again, and select your already created Half Life 2 profile, then select the instmsi.exe file from the DVD/CD. Once that has run, Click install yet again, select your Half Life 2 entry, and run the normal setup program.
  • Make sure sound is available to Cedega before you start Half Life 2. If not, you will see a error that Half Life 2 cannot open sound. You will not be able to get past this error, regardless of which option you select. You must kill all wine processes.
  • Fiddling with the video options whilst playing may crash the game. Make sure you have it setup how you want it beforehand.
  • Fonts look really bad at anything below 1024x768. Play at this resolution or above if possible.
  • Fonts can be "improved" for resolutions below 1024x768 by disabling Freetype in the config and adding the fonts directly into the configuration file. Adding the Tahoma, and valve fonts (use "find $VALVE_DIR -name *.ttf" ) to a fontpath so Xwindows knows them is a must (only do this if you know what you are doing).
  • Give Cedega at least 64MB of AGP Memory, more if possible. This is easiest done in Point2Play, by clicking configure for the Half Life 2 entry. Normal Cedega users should see the release notes.
  • Some users complain of sound stuttering. Running wineserver at a lower priority may solve this issue for some people. Some users report changing Cedega from using OSS to using ALSA may also help. Again Point2Play is the easiest way of doing this. Many Windows users have complained about this issue as well, so it could be a game problem which may be fixed in the future.
  • Users of 64-bit Linux may experience problems getting Half Life 2 to work at all. For some it appears to work, for others not. Use a 32-bit chroot or use a 32-bit distribution until the problem is fixed.
  • If Half-Life 2 claims that the Steam Service is not running, you might want to try and do a search for Steam.dll If it's anywhere but the steam directory, delete it. If it doesn't work, try mv ClientRegistry.blob ClientRegistry.blob.old

Older Issues

The following issues apply to older versions of Cedega, which might not be able to run any Steam games anymore:

  • Since the February Steam update, all Source games (Half-Life 2 and Counter-Strike: Source) tend to freeze after 15-20 minutes of play with the following message: "wineserver: not enough memory for allocation of 3149827 bytes". The bug is actually a handle leak in Valve's code that Cedega was handling less gracefully than Windows does. Gavriel has supplied a patched version of libwineserver.so.1.0 which should handle the problem. For more information, see this post.
  • With kernel versions 2.6.9 and later, support for legacy VA layout is required. Without it, Half-Life 2 will not launch when told to do so from Steam. To enable this support you need to add vm.legacy_va_layout = 1 to your /etc/sysctrl.conf file (note you must be root to edit this file). To change the setting on the fly, type echo 1 > /proc/sys/vm/legacy_va_layout . sudo will not work for this.
  • Some of the newer distros have added support for prelinking and exec-shield. These features will cause errors and must be disabled to run Steam. To disable prelinking please read the Cedega 4.2.1 release notes

Notes on the HL2 Demo

  • The demo available through Steam has been confirmed to work with Cedega 4.4.1. However, if that does not work for you, try also the downloadable version.
  • Even with the downloadable version of the demo, Steam and a Steam account are still required. The demo is actually the Steam installer with the HL2 demo content included - the game executable still needs to be downloaded from Steam, exactly as it is with the retail versions of the full game. If you do not have a Steam account, the installer will allow you to create one.
  • As will the full game, the HL2 Demo needs a lot more video memory and AGP memory than Cedega is given by default - see the notes above on how to increase this.

Pictures/Videos

The three videos below were done on the following:

   - Amd Athlon XP 3000+ standard clock speed.
   - 1024mb/3200 crucial and generic ram.(512x2)
   - Edubuntu 5.40 with patched 2.6.16 kernel.(uname -r 2.6.16-ck3)
   - VIA KT266/333 (I believe) motherboard. (I'll confirm this in the future.)
   - MSI GeForce NX6600 256mb agp 8x, running in 4x.
  • This is HL2 running with WINE 0.9.12.
+ winecfg
   - Pixal Shader allowed if supported by hardware.
   - Windows 98 emulated.
   - Direct X level 7.
   - niced wined. ($ renice 19 "pgrep wineserver")
   - Heapsize 250000.
   - HL2 graphic quality settings default. (basicly medium graphic detail). 
   - 24 seconds to start HL2.
   - About 44 seconds to load a previously saved game.
   - Average frame rate: 12-45fps
Video:[1]
  • This is HL2 running under Cedega 5.1.3.
+ Properties
   - Pixal Shaders 1.4.
   - 256 video ram, 128 vertex.
   - Decreased wineserver.
   - Windows 98 emulated environment.
   - Everything else in Cedega P2P properties default.
   - Heapsize 250000.
   - DirectX level 8.1. (I believe 8.1, corrections will be made in the future.)
   - 40 seconds to start up.
   - 60 seconds to load previously saved game.
   - Average frame rate: 7-65fps.
Videos:[2] [3] 

_____________________________________________________________________________________________ to be downloaded from Steam, exactly as it is with the retail versions of the full game. If you do not have a Steam account, the installer will allow you to create one.

  • As will the full game, the HL2 Demo needs a lot more video memory and AGP memory than Cedega is given by default - see the notes above on how to increase this.

Pictures/Videos

The three videos below were done on the following:

   - Amd Athlon XP 3000+ standard clock speed.
   - 1024mb/3200 crucial and generic ram.(512x2)
   - Edubuntu 5.40 with patched 2.6.16 kernel.(uname -r 2.6.16-ck3)
   - VIA KT266/333 (I believe) motherboard. (I'll confirm this in the future.)
   - MSI GeForce NX6600 256mb agp 8x, running in 4x.
  • This is HL2 running with WINE 0.9.12.
+ winecfg
   - Pixal Shader allowed if supported by hardware.
   - Windows 98 emulated.
   - Direct X level 7.
   - niced wined. ($ renice 19 "pgrep wineserver")
   - Heapsize 250000.
   - HL2 graphic quality settings default. (basicly medium graphic detail). 
   - 24 seconds to start HL2.
   - About 44 seconds to load a previously saved game.
   - Average frame rate: 12-45fps
Video:[http://video.google.com/videoplay?docid=5688902623775777254
Personal tools
Namespaces

Variants
Actions
Navigation
Game lists
Resources
Tools