Source Engine games like Half-life 2, Team Fortress 2, Counter Strike Source and others are based on Valve Software's game engine of the same name. Those games, or better part of those games, can get internally defragmented and can't be optimized using a software that defragments Windows hard drives. It is therefore a good idea to defragment those games regularly to speed them up.
You need a software called GCFScape to do this. It's just a small application that requires the Windows .net Framework 2 to run. Run GFCScape after installing it and click on File > Open in the menu. Navigate to your steamapps folder on your hardrive and select one of the files in the list.
All games benefit from defragmenting files starting with source 2007 while defragmenting the files named like the games benefit only those games. The reason for this is that Source games share libraries with each other, but also make use of individual game files for obvious reasons. GFCScape will load the file and display information about its contents. Click on View > Columns to add the Fragmentation column to the menu.
Every value greater than 0,0 means that the file is fragmented and will benefit from defragmentation. To be able to defragment the files you need to enable Write Access which can be done in Options > Write Access.
I had to load a new file afterwards to be able to defragment it. To start the defragmentation of the files click on Tools > Defragment. This should only take a matter of seconds and display the fragmentation score of 0,0 after loading the game again.
This way you are able to fragment games like Counter Strike Source, Half-life 2 and Team Fortress 2 which most likely will result in a speed up in loading times.
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.