Unlocked Chapters Not Showing Up

First off, let’s get the flaming over and done with, I know I’ve been lurking for a long time with only 1 post previously, I 've just been sitting in the background, reading everyone else’s threads. I haven’t felt the need to post before, because pretty much everything has already been covered.

Now, however, I have a small problem that I’m hoping all you good people will be able to help me with.

I have completed Half-Life 2 and its episodes, and prior to the big Steam Cloud update, I had made a slight alteration to the .config files for the games. This alteration was to the sv_unlocked chapters setting. I had changed these settings because of having to re-install everything after formatting my PC, so that I could ‘dip into the games’, playing whichever chapter I felt like playing at the time.

Now, however, whenever I try to change these settings, it keeps reverting back to the unlocked chapters corresponding to my save game. (I had forgotten to back-up my save games). My HL2 save game, currently, is at Black Mesa East, just prior to the Combine locating the base. Is there anyway I can unlock the chapters again, without them reverting back to the save game unlocked chapters? Or am I just going to have to play through the games again, to unlock the chapters in my Steam Cloud? I hope this makes sense!

Ok, let’s see there may be different ways to do this:

  1. Disable STEAM cloud thingy: in STEAM goto “Steam” > “Settings” > “Downloads+cloud” Tab > Uncheck “Enable Steam cloud synchronization for games which support it”
    Then change the command sv_unlockedchapters to 15 (those are all including the credits I think) in your config file. Start up HL2 and see if it works.

  2. Force the unlock through the console: append to your launch options “-console” and start the game. You should now see a console window where you can type in “sv_unlockedchapters 15”. Check that the value has changed by calling “sv_unlockedchapters” if not try again by enabling cheats (sv_cheats 1). I don’t remember if it needs cheats enabled and if it gets saved in your config file.

3)autoexec.cfg bruteforce: create a file called “autoexec.cfg” in the same fodler as your “config.cfg”. In it write:

sv_cheats 1
sv_unlockedchapters "15"

The game automatically looks for that file and executes it. The procedure in 2) might only work until the next level load. This file gets executed at each new level load again. Downside with cheats enabled is you are denied achievements though.

  1. oh forgot that one: change the sv_unlockedchapters value to 15 in your config.cfg then right-click it > Properties > check “Read-only” > OK. However, I think the game will go postal on it anyway so…

Well, I hope this can help nonetheless :slight_smile:

Thanks, I’ll try those suggestions and let you know if I have any joy with them :slight_smile:

(Edit) Ok, I tried suggestion number 3, as it seemed to be the most promising and, indeed, it was! I added an autoexec.cfg file like you suggested, but I only put in the sv_unlockedchapters line and left out the sv_cheats line, as I wanted to be able to earn achievements.

I’ve just tried it out and all the chapters are now unlocked, thank you for your help :slight_smile: I’m now going to add the same autoexec.cfg file to the HL2 episodes!

Oh, so it’s not considered a cheat? Good to know and no problem :wink:

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.