Home| What is Steam| Community| News| Cyber Cafés| Forums| Support| Stats

Go Back   Steam Users' Forums > Steam Discussions > Suggestions / Ideas
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 10-22-2007, 08:54 PM   #1
wiak
 
Join Date: Oct 2006
Reputation: 0
Posts: 125
Defrag/verify all files option?

is it possible to get a verify all files and defrag all files option
you have to defrag/verify every game and that takes some time
wiak is offline   Reply With Quote
Old 10-23-2007, 12:30 AM   #2
ZeBool
 
Join Date: Jan 2007
Reputation: 37
Posts: 4,082
I'd suggest not using Steam's defrag tool at all.

Grab the latest HLLib here and extract it. Move HLExtract.exe and HLLib.dll to your steamapps folder, and make a text file and put the following lines in it:

Code:
@echo off
for %%F in (*.gcf) do "HLExtract.exe" -f -p "%%F"
pause
Save it as gcfdefrag.bat, then close Steam, and run Task Manager to make sure steam.exe is dead.

Run GCFDefrag.bat, and it'll go through every single GCF and defrag it, and it does a better job than the internal tool.

Thanks to Nem (author of HLLib and GCFscape) for the information.

I'd do that every single time you get a game update, and every time you download a new game.
ZeBool is offline   Reply With Quote
Old 10-23-2007, 01:01 AM   #3
TheRealNem
 
Join Date: Mar 2004
Reputation: 0
Posts: 66
To validate using HLExtract, use the following batch script:

Code:
for %%F in (*.gcf) do "HLExtract.exe" -m -v -s -t root -p "%%F"
pause
You can usually ignore incomplete warnings; if a file is reported as corrupt, just validate it's game in Steam.
TheRealNem is offline   Reply With Quote
Old 06-11-2008, 05:32 PM   #4
noisephoenix
 
Join Date: Aug 2007
Reputation: 0
Posts: 14
Excellent. thanks for these tips
noisephoenix is offline   Reply With Quote
Old 06-11-2008, 08:46 PM   #5
Jesse1234
 
Join Date: Oct 2006
Reputation: 173
Posts: 4,844
Quote:
Originally Posted by ZeBool View Post
I'd suggest not using Steam's defrag tool at all.

Grab the latest HLLib here and extract it. Move HLExtract.exe and HLLib.dll to your steamapps folder, and make a text file and put the following lines in it:

Code:
@echo off
for %%F in (*.gcf) do "HLExtract.exe" -f -p "%%F"
pause
Save it as gcfdefrag.bat, then close Steam, and run Task Manager to make sure steam.exe is dead.

Run GCFDefrag.bat, and it'll go through every single GCF and defrag it, and it does a better job than the internal tool.

Thanks to Nem (author of HLLib and GCFscape) for the information.

I'd do that every single time you get a game update, and every time you download a new game.
Does this look right?
http://i93.photobucket.com/albums/l4...gfgfgfgfgf.jpg
Does gcfdefrag.bat have to be inside my steamapps folder? because it's not....and when i open up gcfdefrag.bat it just goes right to Press Any Key to Continue...

Does it need to defrag? I sort of have OCD and defrag it quite often.

edit: Haha i really have OCD...the only one that needed to be defragmented was the spanish file.
Jesse1234 is online now   Reply With Quote
Old 06-11-2008, 08:55 PM   #6
shackanaw
 
Join Date: Feb 2008
Reputation: 8
Posts: 746
Yes, the .bat file needs to be in the steamapps folder.
shackanaw is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


All times are GMT -8. The time now is 05:14 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Site Content Copyright Valve Corporation 1998-2009, All Rights Reserved.