Half-Life 2 1.0

Getting old software/games running on older hardware.

Half-Life 2 1.0

Postby silikone » 2017-6-17 @ 23:58

Due to the nature of the DRM that Half-Life 2 leverages, one cannot simply treat Half-Life 2 like any other legacy game and install it conventionally. The game will forcefully update upon being installed, and this is not a trivial update, especially if one plans on matching it with old equipment.
So, long have I been wondering about how to recreate the experience that some hundreds of thousands shared back in 2004. The obvious solution that springs into mind involves performing a certain nefarious act, but resorting to such methods seems absurd when I have my original optical disc right here.
Do not refrain from refusing to stop hindering yourself from the opposite of watching nothing other than that which is by no means porn.
User avatar
silikone
Member
 
Posts: 170
Joined: 2012-3-21 @ 19:53

Re: Half-Life 2 1.0

Postby mrau » 2017-6-18 @ 00:38

what if you blacklist the target address or substitute it?
mrau
Oldbie
 
Posts: 753
Joined: 2015-11-28 @ 12:43

Re: Half-Life 2 1.0

Postby PhilsComputerLab » 2017-6-18 @ 00:42

Isn't there a retail version that doesn't do this? One of my viewers helped me out, but it could be a modded version, I'm not sure.
User avatar
PhilsComputerLab
Hardware Mod
 
Posts: 6180
Joined: 2014-9-28 @ 03:33
Location: Western Australia

Re: Half-Life 2 1.0

Postby DosFreak » 2017-6-18 @ 02:11

If your disc does have GCF files then you should be able to extract them and play the game . Assuming the offline switch works in that old build of the game if not then you may have to use revemu or assuming an old ver of steam still works then you may not have to resort to any tricks (except for configuring steam not to update and not to update the game).

The furthest back you can download from Steam for HL2 is 2014.

My Orange Box files are from 2007. I don't see GCF files just .SID files. Unknown if installer extracts GCF from the .SID or not.

Found this info. Haven't verified for myself:

Builds 2187-4044 - Old Engine (Source Engine)
Builds 4295-5135 - New Engine (OrangeBox Engine)
Builds 5298-latest - Steampipe*


Offline switches:
http://steam.wikia.com/wiki/List_of_DRM-free_games

Found this:

You can install it from the retail discs via this method.

Log in to Steam and click on Library.
Right-click on the game, select Delete local content, and confirm.
Insert the first disc into your computer.
Close Steam (Steam > Exit).
Press Win + R to open Run
In the Run window type:

"C:\Program Files\Steam\Steam.exe" -install E:
Replace E: with the CD/DVD drive you are installing from if is not correct.
Replace C:\Program Files\Steam if your Steam installation is not in the default location.
Press OK. Steam will launch and ask you to sign in if you do not have your password saved. Your installation should continue from the disc.
It's the official Steam method of installing a game from retail discs that would normally install via Steam, so it works for any game in this category, including many Call of Duty games, most Valve games, and other Steam-enabled games like Civilization 5.

However, note that there have been several patches to Modern Warfare 3 since launch, which you will have to download and install via Steam before you can play the game online.

Playing online is also likely to require a fast internet connection and a decent amount of bandwidth towards your cap, so keep that in mind if want to do anything mulitplayer with it.


Dunno if you can abort before it patches. Mabye pull the cable while it's installing? That's assuming all of the files on the CD are enough to run the game and that it doesn't automatically pull down the latest bits at the start of the install.
Game Acronym List
DosBox CVS Builds
DosBox Feature Request Thread
DosBox FAQ
PC Game Compatibility List
"People like coldplay and voted for the nazis, you can't trust people."
User avatar
DosFreak
l33t++
 
Posts: 9391
Joined: 2002-6-30 @ 16:35
Location: Your Head

Re: Half-Life 2 1.0

Postby silikone » 2017-6-18 @ 02:42

The GCFs on the disc are encrypted.

Half-Life 2 uses an old generic Windows installer as opposed to the Steam disc installer used since Episode 1.
Do not refrain from refusing to stop hindering yourself from the opposite of watching nothing other than that which is by no means porn.
User avatar
silikone
Member
 
Posts: 170
Joined: 2012-3-21 @ 19:53

Re: Half-Life 2 1.0

Postby DosFreak » 2017-6-18 @ 12:46

Silkone,

Sent you a PM.

HL2 Retail installs Steam and extracts the GCF files from the installer but does not extract the game content from the GCF.

Of course if you load Steam (don't do that in this case) then it will perform the installation of the game by extracting the GCF files. (Mabye. Unknown if it would want to update Steam first, ignore the local gcf files and download the updated files from the internet?)

The file I sent you in the PM will extract the files needed to run the game from the installed GCF files for you automatically without having to use GCFscape or the like.

I put a hl2.cmd file in there with the switch to run the game otherwise you'll get the filesystem_stdio error. (Also a steam emulator is being used renamed to "steam.dll" in the bin directory)

The above was all tested in a blank Windows 10 VM with no internet connectivity.

To test the game on my host system I copied all .gcf files to my steamapps directory and just copied HL2 to a user folder under steamapps.


Oops. Made a typo. Change hl1 in the cmd in the .zip to hl2.

The way the above is operating is that it only extracts the bare minimum to run the game everything else is stored in the GCF files. If you want the full extraction (Recommended unless you are low on disk space) then you'll need to extract all of the files yourself using gcfscape and then copy over steam.dll

As for the Orange Box it looks like nowadays if you go to install the game from the CD using Steam, Steam will just skip pulling from the SID and download directly from Steam. I found a SID extractor so I'm pulling the Orange Box files out now.
Attachments
HL2Retail.PNG
Game Acronym List
DosBox CVS Builds
DosBox Feature Request Thread
DosBox FAQ
PC Game Compatibility List
"People like coldplay and voted for the nazis, you can't trust people."
User avatar
DosFreak
l33t++
 
Posts: 9391
Joined: 2002-6-30 @ 16:35
Location: Your Head

Re: Half-Life 2 1.0

Postby silikone » 2017-6-18 @ 16:51

Looks promising, I will give it a try.
I suppose this emulator can also be made to work with Half-Life/Counter-Strike Anthology, which had support for A3D.
Do not refrain from refusing to stop hindering yourself from the opposite of watching nothing other than that which is by no means porn.
User avatar
silikone
Member
 
Posts: 170
Joined: 2012-3-21 @ 19:53

Re: Half-Life 2 1.0

Postby DosFreak » 2017-6-18 @ 18:49

I've never messed with the multiplayer part of Valve games so not sure how that goes. I do know that the steam emulators have functionality in there to either connect to Valve for multiplayer and risk getting banned or to connect to a 3rd party server. I believe the Steam emulator used for these builds does not have the multiplayer functionality but I could be wrong.
Game Acronym List
DosBox CVS Builds
DosBox Feature Request Thread
DosBox FAQ
PC Game Compatibility List
"People like coldplay and voted for the nazis, you can't trust people."
User avatar
DosFreak
l33t++
 
Posts: 9391
Joined: 2002-6-30 @ 16:35
Location: Your Head

Re: Half-Life 2 1.0

Postby silikone » 2017-6-19 @ 14:24

Launching it gives me an error of a texture not loading, and opening the renamed GCFs, I can see that some of the files are still encrypted.
This tool says nothing about this. Is this a quirk on this specific release, an English pan-European release on DVD?
Do not refrain from refusing to stop hindering yourself from the opposite of watching nothing other than that which is by no means porn.
User avatar
silikone
Member
 
Posts: 170
Joined: 2012-3-21 @ 19:53

Re: Half-Life 2 1.0

Postby FFXIhealer » 2017-6-19 @ 15:04

Following this topic, because I have a 2003 Athlon XP retro build I want to try to run Half-Life 2 on - should be powerful enough.

AMD Athlon XP 3200+ "Barton" @2.15GHz
Abit KX7-333 @166MHz FSB
2GB DDR-400 @333Mhz
ATI Radeon 9550xt 256MB AGP (4x Mode)
Creative Labs Sound Blaster Live! 5.1 PCI
80GB WD HDD
Sony DVD-RW
Windows XP SP3

Steam is fully updated - getting the filesystem_stdio error that DosFreak spoke of earlier. Have not been able to rectify this. Steam also updated HL2 and all the other games to the latest versions from Steam. Am I to understand from this thread that the game engines have been changed and may not even run on my system?

NOTE: I have TWO game boxes, one with the original Half-Life 2, the other is the Orange Box. Between the two, I have Episode 1 & 2, Team Fortress 2, and Portal.
Image
Image
Image
Image
FFXIhealer
Member
 
Posts: 386
Joined: 2016-6-22 @ 17:42
Location: Lake Charles, Louisiana (U.S.A.)

Re: Half-Life 2 1.0

Postby DosFreak » 2017-6-19 @ 15:05

I ran it against the HL2 Retail release by Sierra. CAB files on the DVD are dated 11-26-2004. If you don't want to use the tool (which just extracts the gcf files out of the cab files) then:

Not sure what you're seeing encrypted you can either use the Sierra installer or use 7-zip to extract hl2.cab and then use gcfscape to extract the files from the GCF files unless your DVD is different?
Game Acronym List
DosBox CVS Builds
DosBox Feature Request Thread
DosBox FAQ
PC Game Compatibility List
"People like coldplay and voted for the nazis, you can't trust people."
User avatar
DosFreak
l33t++
 
Posts: 9391
Joined: 2002-6-30 @ 16:35
Location: Your Head

Re: Half-Life 2 1.0

Postby silikone » 2017-6-19 @ 15:16

DosFreak wrote:I ran it against the HL2 Retail release by Sierra. CAB files on the DVD are dated 11-26-2004. If you don't want to use the tool (which just extracts the gcf files out of the cab files) then:

Not sure what you're seeing encrypted you can either use the Sierra installer or use 7-zip to extract hl2.cab and then use gcfscape to extract the files from the GCF files unless your DVD is different?

11-26? Intriguing. That's after the release of the game.
The cab files are dated 2004-10-08 on my disc.
Do not refrain from refusing to stop hindering yourself from the opposite of watching nothing other than that which is by no means porn.
User avatar
silikone
Member
 
Posts: 170
Joined: 2012-3-21 @ 19:53

Re: Half-Life 2 1.0

Postby DosFreak » 2017-6-19 @ 15:23

By encryption are you thinking the tool to extract the files from the GCF files isn't working properly?
Can you extract from hl.cab and then use gcfscape on the GCF files?

Yup looks like the cab files were modified. The rest of the files are dated 10-8-2004.

This guy said he could use gcfspace on the files tho:
https://forums.sourceruns.org/index.php ... 1#msg22981

If it turns out that cab files are encrypted and GCFscape doesn't work then you should have everything you need to find the unencrypted version on the Internet.

There's no way you'll be able to connect to Steam and use the orig version of HL2.
Game Acronym List
DosBox CVS Builds
DosBox Feature Request Thread
DosBox FAQ
PC Game Compatibility List
"People like coldplay and voted for the nazis, you can't trust people."
User avatar
DosFreak
l33t++
 
Posts: 9391
Joined: 2002-6-30 @ 16:35
Location: Your Head

Re: Half-Life 2 1.0

Postby silikone » 2017-6-19 @ 15:35

The GCFs in the cabs, as well as the Steam folder, have files that are greyed out in GCFScape, and the data in said files are garbled.
I also still have a vague reminiscence of Steam spending time on decrypting files before agreeing to launch the game back in the day.
Do not refrain from refusing to stop hindering yourself from the opposite of watching nothing other than that which is by no means porn.
User avatar
silikone
Member
 
Posts: 170
Joined: 2012-3-21 @ 19:53

Re: Half-Life 2 1.0

Postby DosFreak » 2017-6-19 @ 15:42

Makes sense. GCFscape doesn't decrypt only Steam does and I don't think I've seen any tool released to decrypt GCF files but I could be wrong.. Probably someone just replaced the encrypted GCF files on the release I have with the decrypted ones.
Game Acronym List
DosBox CVS Builds
DosBox Feature Request Thread
DosBox FAQ
PC Game Compatibility List
"People like coldplay and voted for the nazis, you can't trust people."
User avatar
DosFreak
l33t++
 
Posts: 9391
Joined: 2002-6-30 @ 16:35
Location: Your Head

Re: Half-Life 2 1.0

Postby DosFreak » 2017-6-19 @ 17:57

Didn't have any luck with the Orange Box. SID extractor extracted all of the files and the game launches and then crashes,thinking the SID extractor corrupted some files or mabye it was released on the disc as broken and the only fix is updating from Steam.

Tried pheonix and simpack. Simpack just crashes.
Game Acronym List
DosBox CVS Builds
DosBox Feature Request Thread
DosBox FAQ
PC Game Compatibility List
"People like coldplay and voted for the nazis, you can't trust people."
User avatar
DosFreak
l33t++
 
Posts: 9391
Joined: 2002-6-30 @ 16:35
Location: Your Head


Return to Software

Who is online

Users browsing this forum: No registered users and 1 guest