User:Jenkins08/Batch/GCF

From Valve Developer Community
Jump to navigation Jump to search

This page was created to keep the page readable and not as long as a Tom Clancy novel.

Warning.pngWarning:ALL OF THESE GAMES EXTRACTED INTO ONE FOLDER WILL CREATE APPROXIMATELY 30 TO 35 GIGABYTES OF DATA


First of all,

Note.pngNote:HLLib IS required for the following GCF Scripts to work
Second of all, i will explain the HL2_07, EP1_07 files.
These are I THINK the Orangebox ONLY versions of Half-Life 2 and Episode 1. (Xbox360 compatible - check the VTF Versions [7.3])

These are sorted by Engine > Game and the very first script "Extract_ALL.bat" will do as the name says and extract all to a sub directory (in this case a folder called Extracted is created and sub folders such as "hl2", "tf2", "css" etc are created inside that)

I'll go with the sorted order of the extract_all script which is SDK > GOLDSRC > SOURCE > ORANGEBOX

Extract_ALL.bat

First off is the Extract all script and will be used to "call" all the other batches.

This is yet another anal script that logs most of the output to a file (Therefor you wont see much onscreen)

@ECHO OFF

REM MUST MKDIR FIRST!!!!!!!
MKDIR Extracted

ECHO ------------------------ > Extracted\extractions.log
ECHO GCF Utility Extractor © 2008 jenkins_08. All Rights Reserved. >> Extracted\extractions.log
ECHO HLLib is © Ryan "Nemisis" Gregg >> Extracted\extractions.log
ECHO ------------------------ >> Extracted\extractions.log
ECHO C U R R E N T T I M E A N D D A T E
ECHO %TIME% - %DATE%
ECHO.
ECHO. >> Extracted\extractions.log
ECHO C U R R E N T T I M E A N D D A T E >> Extracted\extractions.log
ECHO %TIME% - %DATE% >> Extracted\extractions.log
ECHO.
ECHO. >> Extracted\extractions.log
ECHO ------------------------ >> Extracted\extractions.log

ECHO.
ECHO. >> Extracted\extractions.log
ECHO /!\ /!\ /!\ /!\ WARNING /!\ /!\ /!\ /!\ >> Extracted\extractions.log
ECHO.
ECHO. >> Extracted\extractions.log
ECHO /!\ /!\ /!\ /!\ WARNING /!\ /!\ /!\ /!\ >> Extracted\extractions.log
ECHO.
ECHO. >> Extracted\extractions.log
ECHO ALL OF THESE GAMES EXTRACTED INTO ONE FOLDER WILL CREATE >> Extracted\extractions.log
ECHO.
ECHO. >> Extracted\extractions.log
ECHO APPROXIMATELY 30 TO 35 GIGABYTES OF DATA >> Extracted\extractions.log
ECHO.
ECHO. >> Extracted\extractions.log
ECHO PROCEED WITH CAUTION >> Extracted\extractions.log
ECHO.
ECHO. >> Extracted\extractions.log
ECHO /!\ /!\ /!\ /!\ WARNING /!\ /!\ /!\ /!\
ECHO.
ECHO. >> Extracted\extractions.log
ECHO /!\ /!\ /!\ /!\ WARNING /!\ /!\ /!\ /!\
ECHO.
ECHO. >> Extracted\extractions.log
ECHO ALL OF THESE GAMES EXTRACTED INTO ONE FOLDER WILL CREATE
ECHO.
ECHO. >> Extracted\extractions.log
ECHO APPROXIMATELY 30 TO 35 GIGABYTES OF DATA
ECHO.
ECHO. >> Extracted\extractions.log
ECHO PROCEED WITH CAUTION
ECHO.
ECHO. >> Extracted\extractions.log

SET /p=Press ENTER To Continue

PUSHD Extracted

REM ------------------------
ECHO ------------------------ >> extractions.log
REM SDK RELATED

REM SDK
call ..\sdk\Extract_SDK.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM SDK Base
call ..\sdk\Extract_SDKBase.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM SDK Base 2007
call ..\sdk\Extract_SDKBase_07.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM SDK DONE!
ECHO SDK Extracted....
REM ------------------------
ECHO ------------------------ >> extractions.log

REM ------------------------
ECHO ------------------------ >> extractions.log
REM GOLDSRC RELATED

REM Counter-Strike
call ..\goldsrc\Extract_CS16.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Condition Zero
call ..\goldsrc\Extract_CZERO.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Condition Zer: Deleted Scenes
call ..\goldsrc\Extract_CZEROR.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Deathmatch Classic
call ..\goldsrc\Extract_DMC.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Day of Defeat
call ..\goldsrc\Extract_DOD.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Half-Life
call ..\goldsrc\Extract_HL1.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Half-Life: Blue Shift
call ..\goldsrc\Extract_HLBS.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Half-Life High Definition Content
call ..\goldsrc\Extract_HLHD.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Half-Life: Opposing Force
call ..\goldsrc\Extract_HLOP4.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Ricochet
call ..\goldsrc\Extract_RC.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Team Fortress: Classic
call ..\goldsrc\Extract_TFC.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM GOLDSRC DONE!
ECHO GOLDSRC Extracted....
REM ------------------------
ECHO ------------------------ >> extractions.log

REM ------------------------
ECHO ------------------------ >> extractions.log
REM SOURCE RELATED

REM Half-Life Deathmatch Source
call ..\ep1\Extract_HLDMS.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Half-Life: Source
call ..\ep1\Extract_HLS.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Counter-Strike:Source
call ..\ep1\Extract_CSS.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Half-Life 2
call ..\ep1\Extract_HL2.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Half -Life 2: Deathmatch
call ..\ep1\Extract_HL2DM.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Half-Life 2: Episode 1
call ..\ep1\Extract_EP1.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Half-Life 2: The Lost Coast
call ..\ep1\Extract_LCOAST.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM SiN Episodes: Emergance
call ..\ep1\Extract_SE1.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM SOURCE DONE!
ECHO SOURCE Extracted....
REM ------------------------
ECHO ------------------------ >> extractions.log

REM ------------------------
ECHO ------------------------ >> extractions.log
REM ORANGEBOX RELATED

REM PORTAL!
call ..\ob\Extract_PORTAL.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Team Fortress 2
call ..\ob\Extract_TF2.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Half-Life 2: 2007
call ..\ob\Extract_HL2_07.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Half-Life 2: Episode 1 2007
call ..\ob\Extract_EP1_07.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Half-Life 2: Episode 2
call ..\ob\Extract_EP2.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM Day of Defeat: Source
call ..\ob\Extract_DODS.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log

REM ORANGEBOX DONE!
ECHO ORANGEBOX Extracted....
REM ------------------------
ECHO ------------------------ >> extractions.log

ECHO ALL Done!!!
ECHO C U R R E N T T I M E A N D D A T E
ECHO %TIME% - %DATE%
ECHO ALL Done!!! >> extractions.log
ECHO C U R R E N T T I M E A N D D A T E >> extractions.log
ECHO %TIME% - %DATE% >> extractions.log

POPD
PAUSE


SDK

Extract_SDK.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [SDK] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR SourceSDK
HLExtract.exe -v -p "%SteamAppsDir%\sourcesdk.gcf" -d SourceSDK -e root\

REM PAUSE

Extract_SDKBase.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [SDKB1] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR sdk_base
HLExtract.exe -v -p "%SteamAppsDir%\source sdk base.gcf" -d sdk_base -e root\sourcetest

REM PAUSE

Extract_SDKBase_07.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [SDKB2] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR sdk_base_07
HLExtract.exe -v -p "%SteamAppsDir%\source sdk base 2007.gcf" -d sdk_base_07 -e root\sourcetest

REM PAUSE


GOLDSRC

Extract_CS16.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [CS1.6] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR hl1_cstrike
HLExtract.exe -v -p "%SteamAppsDir%\counter-strike.gcf" -d hl1_cstrike -e root\cstrike
REM PAUSE

Extract_CZERO.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [CZERO] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR czero
HLExtract.exe -v -p "%SteamAppsDir%\condition zero.gcf" -d czero -e root\czero
HLExtract.exe -v -p "%SteamAppsDir%\condition zero models.gcf" -d czero -e root\cstrike
REM PAUSE

Extract_CZEROR.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [CZERO-R] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR czeroR
HLExtract.exe -v -p "%SteamAppsDir%\condition zero deleted scenes base content.gcf" -d czeroR -e root\czeror
HLExtract.exe -v -p "%SteamAppsDir%\condition zero deleted scenes models.gcf" -d czeroR -e root\czeror
HLExtract.exe -v -p "%SteamAppsDir%\condition zero deleted scenes sounds.gcf" -d czeroR -e root\czeror
REM PAUSE

Extract_DMC.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [DMC] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR dmc
HLExtract.exe -v -p "%SteamAppsDir%\deathmatch classic.gcf.gcf" -d dmc -e root\dmc
REM PAUSE

Extract_DOD.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [DOD] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR dod
HLExtract.exe -v -p "%SteamAppsDir%\day of defeat.gcf" -d dod -e root\dod
REM PAUSE

Extract_HL1.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [HL1] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR hl1
HLExtract.exe -v -p "%SteamAppsDir%\half-life.gcf" -d hl1 -e root\
HLExtract.exe -v -p "%SteamAppsDir%\half-life engine.gcf" -d hl1 -e root\
REM PAUSE

Extract_HLBS.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [BSHIFT] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR bshift
HLExtract.exe -v -p "%SteamAppsDir%\half-life blue shift.gcf" -d bshift -e root\bshift
REM PAUSE

Extract_HLHD.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [HLHD] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR hlhd
HLExtract.exe -v -p "%SteamAppsDir%\half-life high definition.gcf" -d hlhd -e root\
REM PAUSE

Extract_HLOP4.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [HLOP4] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR hlop4
HLExtract.exe -v -p "%SteamAppsDir%\opposing force.gcf" -d hlop4 -e root\gearbox
REM PAUSE

Extract_RC.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [RC] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR rc
HLExtract.exe -v -p "%SteamAppsDir%\ricochet.gcf" -d rc -e root\ricochet
REM PAUSE

Extract_TFC.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [TFC] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR tfc
HLExtract.exe -v -p "%SteamAppsDir%\team fortress classic.gcf" -d tfc -e root\tfc
REM PAUSE


SOURCE

Extract_CSS.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [CSS] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR cstrike
HLExtract.exe -v -p "%SteamAppsDir%\counter-strike source shared.gcf" -d cstrike -e root\cstrike
HLExtract.exe -v -p "%SteamAppsDir%\counter-strike source client.gcf" -d cstrike -e root\cstrike\bin
REM PAUSE

Extract_HL2.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [HL2] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR hl2
HLExtract.exe -v -p "%SteamAppsDir%\source engine.gcf" -d hl2 -e root\hl2\cfg -e root\hl2\expressions -e root\hl2\resource -e root\hl2\scripts -e root\hl2\shaders
HLExtract.exe -v -p "%SteamAppsDir%\source materials.gcf" -d hl2 -e root\hl2\materials
HLExtract.exe -v -p "%SteamAppsDir%\source models.gcf" -d hl2 -e root\hl2\models
HLExtract.exe -v -p "%SteamAppsDir%\source sounds.gcf" -d hl2 -e root\hl2\sound
HLExtract.exe -v -p "%SteamAppsDir%\half-life 2 content.gcf" -d hl2 -e root\hl2\maps
REM PAUSE

Extract_HL2DM.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [HL2DM] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR hl2dm
HLExtract.exe -v -p "%SteamAppsDir%\half-life 2 deathmatch.gcf" -d hl2dm -e root\hl2mp
REM PAUSE

Extract_EP1.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [EP1] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR episodic
HLExtract.exe -v -p "%SteamAppsDir%\episode 1 shared.gcf" -d episodic -e root\episodic\cfg -e root\episodic\expressions -e root\episodic\materials -e root\episodic\models -e root\episodic\resource -e root\episodic\scripts -e root\episodic\sound
HLExtract.exe -v -p "%SteamAppsDir%\half-life 2 episode one.gcf" -d episodic -e root\episodic\maps
REM PAUSE

Extract_HLDMS.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [HLDMS] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR hldms
HLExtract.exe -v -p "%SteamAppsDir%\half-life deathmatch source.gcf" -d hldms -e root\hl1mp
HLExtract.exe -v -p "%SteamAppsDir%\half-life source deathmatch client.gcf" -d hldms -e root\hl1mp
REM PAUSE

Extract_HLS.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [HLS] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR hls
HLExtract.exe -v -p "%SteamAppsDir%\half-life source.gcf" -d hls -e root\hl1
REM PAUSE

Extract_LCOAST.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [LCOAST] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR lcoast
HLExtract.exe -v -p "%SteamAppsDir%\lostcoast content.gcf" -d lcoast -e root\lostcoast
REM PAUSE

Extract_SE1.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [SE1] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR se1
HLExtract.exe -v -p "%SteamAppsDir%\sinepisodes arena.gcf" -d se1 -e root\se1
HLExtract.exe -v -p "%SteamAppsDir%\sinepisodes core.gcf" -d se1 -e root\se1
HLExtract.exe -v -p "%SteamAppsDir%\sinepisodes emergence.gcf" -d se1 -e root\se1
HLExtract.exe -v -p "%SteamAppsDir%\sinepisodes materials.gcf" -d se1 -e root\se1
HLExtract.exe -v -p "%SteamAppsDir%\sinepisodes models.gcf" -d se1 -e root\se1
HLExtract.exe -v -p "%SteamAppsDir%\sinepisodes sdk.gcf" -d se1 -e root\se1
HLExtract.exe -v -p "%SteamAppsDir%\sinepisodes sounds.gcf" -d se1 -e root\se1
HLExtract.exe -v -p "%SteamAppsDir%\sinepisodes unabridged.gcf" -d se1 -e root\se1
REM PAUSE

ORANGEBOX

Extract_DODS.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [DODS] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR dods
HLExtract.exe -v -p "%SteamAppsDir%\day of defeat source.gcf" -d dods -e root\dod
REM PAUSE

Extract_HL2_07.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [HL2] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR hl2_ob
HLExtract.exe -v -p "%SteamAppsDir%\source 2007 binaries.gcf" -d hl2_ob -e root\hl2\cfg -e root\hl2\expressions -e root\hl2\resource -e root\hl2\scripts -e root\hl2\shaders
HLExtract.exe -v -p "%SteamAppsDir%\source 2007 shared materials.gcf" -d hl2_ob -e root\hl2\materials -e root\hl2\particles
HLExtract.exe -v -p "%SteamAppsDir%\source 2007 shared models.gcf" -d hl2_ob -e root\hl2\models
HLExtract.exe -v -p "%SteamAppsDir%\source 2007 shared sounds.gcf" -d hl2_ob -e root\hl2\sound
REM PAUSE

Extract_EP1_07.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [EP1] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR episodic_ob
HLExtract.exe -v -p "%SteamAppsDir%\episodic 2007 shared.gcf" -d episodic_ob -e root\episodic\expressions -e root\episodic\materials -e root\episodic\models -e root\episodic\particles -e root\episodic\resource -e root\episodic\scripts -e root\episodic\sound
REM PAUSE

Extract_EP2.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [EP2] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET Language=english

MKDIR ep2
HLExtract.exe -v -p "%SteamAppsDir%\half-life 2 episode two %Language%.gcf" -d ep2 -e root\ep2\sound
HLExtract.exe -v -p "%SteamAppsDir%\episode two content.gcf" -d ep2 -e root\ep2\cfg -e root\ep2\models -e root\ep2\particles -e root\ep2\resources -e root\ep2\scripts -e root\ep2\sound
HLExtract.exe -v -p "%SteamAppsDir%\episode two maps.gcf" -d ep2 -e root\ep2\maps
HLExtract.exe -v -p "%SteamAppsDir%\episode two materials.gcf" -d ep2 -e root\ep2\materials
RMDIR /S /Q ep2\maps\graphs
REM PAUSE

Extract_PORTAL.bat

@ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [PORTAL] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET Language=english

MKDIR portal
HLExtract.exe -v -p "%SteamAppsDir%\portal %Language%.gcf" -d portal -e root\portal
HLExtract.exe -v -p "%SteamAppsDir%\portal content.gcf" -d portal -e root\portal

REM PAUSE

Extract_TF2.bat

 @ECHO OFF

ECHO ------------------------
ECHO GCF Utility Extractor [TF2] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------

SET SteamAppsDir=C:\Program Files\Steam\steamapps

MKDIR tf2
HLExtract.exe -v -p "%SteamAppsDir%\team fortress 2 client content.gcf" -d tf2 -e root\tf
HLExtract.exe -v -p "%SteamAppsDir%\team fortress 2 content.gcf" -d tf2 -e root\tf
HLExtract.exe -v -p "%SteamAppsDir%\team fortress 2 materials.gcf" -d tf2 -e root\tf

REM PAUSE

Well that about wraps up another long batch page from me.

Enjoy and i should say any damage or misuse/mistreatment of these batch scripts are Sole responsibility of the user running it. I do not take responsibility for any of the above situations.

--Jenkins08 09:11, 17 April 2009 (UTC)