Stuttering issue SOLVED, need feedback to confirm cause...

  • Thread starter Thread starter ToeCutter
  • Start date Start date
T

ToeCutter

Guest
Okay folks, you've all read similiar posts only to find that the fix prescribed within the post didn't fix a thing, right?

YOU are the target reader for this post.

After spending nearly 50 odd hours formatting, tweaking, defragging, etc, I have FINALLY eliminated any trace of stutter on my PC. Even as recently as last night, my rig stuttered every few seconds or so. I could barely make it through the train station without ending up in a corner due to the stuttering. I've been playing for about an hour and a half, going through those very same areas that once stuttered so horribly in hopes of reproducing even the most insignificant degree of stutter. I'm happy to say that my PC, for now, is 100% stutter-free. I'm playing at 1280 x 1024, everything set to HIGH, vsync enabled at 85 Hz. The game looks beautiful and I can finally get around to playing the damn thing as opposed to tuning it.

To what do I owe this miraculous development? After Googling my 247th time (Subject: "half life 2" stutter autoexec.cfg), I ran across an obscure post on ShackNews that suggested a completely different approach to solving the stutter issue. I tried it, and quite amazingly, it seems to have worked flawlessly.

The post recommended extracting the .GCF files in the Steam directory. The idea here is that the game won't have to extract the files on the fly when it needs to load a new level, or even new sounds, since they'd exist in the HL2 directory in raw, uncompressed form. It seemed to make sense, having done something very similar back in the day with the old WAD and PAK files used by id Software's titles.

I extracted the files and added a line to my 4 line autoexec.cfg and BINGO, it worked PERFECTLY. I was in such a hurry to try the fix, that I completely forgot to defrag before firing up HL2. Nonetheless, the game ran perfectly!

For those who doubt the effectiveness of this fix, I've been meticulously logging EVERY change I make to my system in an effort to eliminate the stutter. Proper troubleshooting technique dictates detailed logging of changes, or you'll never accurately identify the cause of the problem. Having properly logged everything, I can say with 100% certainty that this FIXED the stutter problem.

Why is this important? Because it points to the cause of the problem being associated with the way Steam distributes files and updates. If this truly is the cause of the stutter, Valve has some serious explaining to do!

That's where forum members come in. If you are one of the folks that simply cannot eliminate the stutter, try this fix and provide feedback as to whether or not it works. I can't say with absolute certainty that this will fix everyone's PC, but it is so far, since September of last year, the ONLY solution that has worked for mine.

How to extract .GCF files for Half Life 2:

Disclaimer: Use at your own peril! I take ZERO responsibility if you completely jack your Steam/HL2/whatever install by appling this measure.

1. Download and install GCFScape. Here's the link.

2. Look in this directory for your GCF files: C:\Program Files\Valve\Steam\SteamApps.

Note: Be sure to close Steam before extracting files.

3. Open and extract EACH GCF file to the following directory: C:\Program Files\Valve\Steam\SteamApps\username\half-life 2. Extract the GCFs by opening them in GCFScape, right-clicking the folder described as "root" and selecting "Extract".

Note: Disregard any overwrite warnings. The directory paths are the same, but the files coexist there, nothing will be overwritten. The extracted GCFs are LARGE, nearly 3.5 GB. Ensure you have space available before extracting.

4. Continue this process until ALL GCFs are extracted to the Half life 2 directory.

WARNING: Do NOT delete your existing GCFs after extraction. Steam will see them missing and assume the game has been uninstalled.

5. Add the following line to your autoexec.cfg: ai_norebuildgraph "1"

6. I suggest everyone defrags their HDD before attempting to play HL2. You've just added over 3 GBs of fragmented files, it's prudent!

7. Fire up Half Life 2 and hope for the best.

This fix should work with all Source engine titles. I haven't installed anything besides HL:Source and HL2. Both work just fine now.

I implore everyone who trys this fix to post your results back to this thread. I'm incredibly curious to see if this helps anyone else.

I noticed that Valve released an update to Steam today. Hopefully the update won't break anything. I've not yet applied the Steam update, so your mileage may vary if you've already applied it.

Disclaimer: I did not "discover" this fix, only the post that mentioned it. Kudos to the original poster! :cheers:
 
GonzoBabbleshit said:
People have tried this before without success

Seriously?

Was there any success at all or just a flat out waste of time? I ask because I've got nearly two pages of notes here and this is the only thing that eliminated the problem.

I searched the forum for any mention of GCFs and found zero. Same with Google.

Hmmm....
 
I don't know where I read it to be honest. I've definitely read about people extracting from GCF's to remove the 'pre-loading' elements but with mixed success.

I know I get a pretty bad stutter since I updated my processor, and it's mostly on autosaves, not loading areas so...
 
That's the thing... I don't want an extra 3GB on my HD. If we could delete the gcf's afterward I might do it, but not otherwise.

Like I said in the concensus thread, it's the way Valve stored the files (.gcf) that makes things slow to access, so extracting them sounds like a reasonable idea. Damn you Valve.
 
I'm definetly going to try this right now. I have always pondered this solution, but I never knew where I would put the extracted GCFs.

EDIT: For clarification, which GCFs do I extract? All of them? Even the HL: Source ones, or no? Because ALL of the GCFs here take up 5gb+, not 3.

EDIT..again: Yeah, nevermind, that was a dumb question, I will obviously be skipping the codename gordons and the sourcesdk ones. Haha :laugh:
 
lets get something straight, we shouldnt really have to fix anything.. valve should be fixing it for us.. other games work perfectley.
 
clarky003 said:
lets get something straight, we shouldnt really have to fix anything.. valve should be fixing it for us.. other games work perfectley.
Damn right.
 
Dumb Dude said:
I'm definetly going to try this right now. I have always pondered this solution, but I never knew where I would put the extracted GCFs.

EDIT: For clarification, which GCFs do I extract? All of them? Even the HL: Source ones, or no? Because ALL of the GCFs here take up 5gb+, not 3.

This is a tough call, as I only had HL2 and HL:S installed. If you have a few Steam apps installed, than obviously, the space requirement will be higher. There will also be additional GCFs for each title. They should be named something recognizable, though. I wish I could offer you a better explanation, but you might have to tinker.

That said, I didn't even consider the extra GBs to be an issue. I have a 400 GB RAID 0 stripe to draw from ;)
 
I don't mind the extra space, hell, if this works and I don't have to buy another 512 RAM stick, then I will consider you a god. Also, yeah, I found out which ones I needed.

EDIT: While on the subject of space, anyone know what those MDMP files are?? They're growing in numbers pretty fast.

EDIT...AGAIN: OH NO! Now Steam doesn't pick up my HL2. It says 0% percent aquired now. And no, I did not delete the GCFs, plus, I ran HL2 with the extracted files already once, but closed it to change some settings. WHAT HAPPENED!

EDIT..Last time: Well, I solved that problem on the second edit. And about the solution, it fixed about 68% of my stutter, all in all, I guess its ok, but not sure if it is worth the 3 extra gigs.
 

Attachments

  • MDMP.GIF
    MDMP.GIF
    70.5 KB · Views: 302
Dumb Dude said:
I don't mind the extra space, hell, if this works and I don't have to buy another 512 RAM stick, then I will consider you a god. Also, yeah, I found out which ones I needed.

EDIT: While on the subject of space, anyone know what those MDMP files are?? They're growing in numbers pretty fast.

EDIT...AGAIN: OH NO! Now Steam doesn't pick up my HL2. It says 0% percent aquired now. And no, I did not delete the GCFs, plus, I ran HL2 with the extracted files already once, but closed it to change some settings. WHAT HAPPENED!

EDIT..Last time: Well, I solved that problem on the second edit. And about the solution, it fixed about 68% of my stutter, all in all, I guess its ok, but not sure if it is worth the 3 extra gigs.

Wow, I have no idea what's going on with those MDMP files.

So, 68% better, huh? How did you arrive at such a nice, round number? ;)
 
Haha, I was going to put a more percise number, like 68.4% but thought that the 68 would do nicley, hehe. Anyways, it did help out sort of, but I think that getting 512 more RAM will eliminate it comepletely. My freind lent me his RAM (1gb XMS RAM) and the game ran without a hitch. So I suppose there was no avoiding it. Thanks anyway though, I'll be sure to do this method to eliviate some "Half-Life 2: Aftermath" stutter. Also, sorry about the quality of that image, it was just never under 100k, I had to re-save it as a GIF like 3 times.
 
Stupid question: Do you extract counter strike and other programs to hl2 address too?
 
Nope, just the stuff with HL2 in it and the Source stuff, like sounds and materials and what-not.
 
Sickmind said:
Where is the autoexec.cfg? I can't find.

You might have to create one, it's an optional file. It should be in your cfg directory, located here: C:\Program Files\Valve\Steam\SteamApps\username\half-life 2\hl2\cfg. Just create a file called "autoexec.cfg" in notepad, add the line mentioned in this post, and drop it in there.

Since it's likely you have not done this, you might want to take a look at some online "tweak guides", as there are all kinds of cool things you can do with autoexec files.

Here's a really good one: http://www.tweakguides.com/HL2_1.html
 
Thanks for the link. Followed all your directions, but I'm afraid I still have a freeze, loop and crash. Let me know if you have any other ideas...thx
 
I done this ages ago and it doesn't eliminate it 100% but it improved it greatly.
 
New to HL2, and loving the game, but my system may be in need of special tricks, as I'm suffering from the stutter too!

I've managed to extract all of the shared sound files from the GCF file into my half-life folder, but where should these be located?

by expanding them using GCFScape, i wound up with a folder under the SteamApps\{username}\half-life 2 folder called 'root'. In this 'root' folder there's yet another 'hl2' folder. Should this be the same 'hl2' folder that's actually up one level?

I just want to make sure that the game is finding these sounds.

Thanks!
 
I tried this once back in the day,, but without the console command,,

I'll try again some day if I erally get desperate...


takes so friggin long
 
Update

After a long week's work, I decided to actually *play* some HL2 tonight. Even though I managed to eliminate the stuttering a few weeks ago, I've been so busy I haven't had time to sit down and play for even a few moments. With the wifey working the late shift, I sat down with the intent of getting in some SERIOUS HL2 time.

Upon firing up Half Life 2, I was horrified to discover that the stuttering returned, worse than before! This made absolutely ZERO sense! I had played for about 90 minutes during my last session and experienced not even a hint of the stutter! NOTHING had changed since the last time I had played (remember from my earlier posts, I have a dedicated WinXP install for HL2 that sits dormant until I decide to play).

After recovering from the initial shock (and irritation) I went back through my settings to determine what might have changed after booting my HL2 partition. The first thing that came to mind were the nVidia driver changes I made during my troubleshooting. I checked everything and compared the existing settings to my notes. I was surprised to see that "Fast Writes" was enabled in the nVidia AGP panel. I was certain that i had disabled FW during my troubleshooting, and my notes reflected this. Perhaps the settings weren't retained after rebooting, I thought. I opened RivaTuner and disabled FW, applied tha changes and rebooted. After rebooting, I double-checked the AGP FW panel. FW were definitely disabled. I fired up HL2 and VIOLA!

ZERO stuttering!

This is an incredibly important development! This was the only time I had made a single change that eliminated the stuttering. To confirm that this setting was the in some way responsible for the stutter, I ENABLED AGP fast writes and fired up HL2 again. Just as suspected, the stutter was back! I could barely navigate the menu to get back out of the game! I then DISABLED AGP fast writes again, and went back into the game. Stuttering GONE.

Even though I tried very hard to keep a running log of changes to my system, those notes might be skewed due to setting not being retained after rebooting. I disabled AGP fast writes early in my troubleshooting, but perhaps wronglly assumed that RivaTuner would apply persistient changes that would carry through the countless reboots that occured during my troubleshooting. Strangely enough, I'm reasonably certain that disabling AGP fast writes alone did not eliminate the stuttering. Perhaps extracting the GCFs *and* disabling AGP FW releived the stuttering? I'm not sure, but I have no intention of gutting this HL2 install to find out!

To summarize: I suggest that everyone at least try disabling AGP FW if you're still experiencing the stutter.
 
So what your infact saying is disabling fast writes was the key, not extracting GCF files. I remember a while back that the pirated version of the game ran better than the retail because the pirated version had all these gcf files extracted so it definately helps but does not eliminate the stuttering completely, HL2 will never be stutter free but mine runs very well and rarely stutters at all and when it does it is only a minor hiccup and looking at your first post your jumps seem way more serious so i think you have a different problem altogether.
 
Flyingbig said:
So what your infact saying is disabling fast writes was the key, not extracting GCF files. I remember a while back that the pirated version of the game ran better than the retail because the pirated version had all these gcf files extracted so it definately helps but does not eliminate the stuttering completely, HL2 will never be stutter free but mine runs very well and rarely stutters at all and when it does it is only a minor hiccup and looking at your first post your jumps seem way more serious so i think you have a different problem altogether.

I suspect the combination of disabling AGP FW and extracting GCFs cured my stutter. I had disabled AGP FW early in my troubleshooting, long before extracting the GCFs and I still experienced the stutter. Shame on me, I thought my notes were tight, but they seem to be somewhat inaccurate now. While I tried, it's been tough to monitor all the changes I've made to my system.

I cannot confirm this, as my GCFs are already extracted and I have no intention of going through and deleting them to find out if the stuttering returns with AGP FW disabled.

I've spent ALOT of time on this. My intent was to eventually play the game (which so far kicks ass) as opposed to finding the exact cause of the stutter.

Valve can't figure it out so who am I to think that I can?! ;)
 
Back
Top