User:Jenkins08/Batch/GCF: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Big Cleanup to Conform to Wiki standards (GeSHi + removed all leading spaces from code aswell))
 
Line 21: Line 21:
This is yet another anal script that logs most of the output to a file (Therefor you wont see much onscreen)
This is yet another anal script that logs most of the output to a file (Therefor you wont see much onscreen)
:
:
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
REM MUST MKDIR FIRST!!!!!!!
REM MUST MKDIR FIRST!!!!!!!
MKDIR Extracted
MKDIR Extracted
 
ECHO ------------------------ > Extracted\extractions.log
ECHO ------------------------ > Extracted\extractions.log
ECHO GCF Utility Extractor © 2008 jenkins_08. All Rights Reserved. >> 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 HLLib is © Ryan "Nemisis" Gregg >> Extracted\extractions.log
ECHO ------------------------ >> 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 C U R R E N T T I M E A N D D A T E
ECHO %TIME% - %DATE%
ECHO %TIME% - %DATE%
ECHO.
ECHO.
ECHO. >> 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 >> 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 %TIME% - %DATE% >> Extracted\extractions.log
ECHO.
ECHO.
ECHO. >> Extracted\extractions.log
ECHO. >> Extracted\extractions.log
ECHO ------------------------ >> Extracted\extractions.log
ECHO ------------------------ >> Extracted\extractions.log
 
ECHO.
ECHO.
ECHO. >> Extracted\extractions.log
ECHO. >> Extracted\extractions.log
ECHO /!\ /!\ /!\ /!\ WARNING /!\ /!\ /!\ /!\ >> Extracted\extractions.log
ECHO /!\ /!\ /!\ /!\ WARNING /!\ /!\ /!\ /!\ >> Extracted\extractions.log
ECHO.
ECHO.
ECHO. >> Extracted\extractions.log
ECHO. >> Extracted\extractions.log
ECHO /!\ /!\ /!\ /!\ WARNING /!\ /!\ /!\ /!\ >> Extracted\extractions.log
ECHO /!\ /!\ /!\ /!\ WARNING /!\ /!\ /!\ /!\ >> Extracted\extractions.log
ECHO.
ECHO.
ECHO. >> Extracted\extractions.log
ECHO. >> Extracted\extractions.log
ECHO ALL OF THESE GAMES EXTRACTED INTO ONE FOLDER WILL CREATE >> Extracted\extractions.log
ECHO ALL OF THESE GAMES EXTRACTED INTO ONE FOLDER WILL CREATE >> Extracted\extractions.log
ECHO.
ECHO.
ECHO. >> Extracted\extractions.log
ECHO. >> Extracted\extractions.log
ECHO APPROXIMATELY 30 TO 35 GIGABYTES OF DATA >> Extracted\extractions.log
ECHO APPROXIMATELY 30 TO 35 GIGABYTES OF DATA >> Extracted\extractions.log
ECHO.
ECHO.
ECHO. >> Extracted\extractions.log
ECHO. >> Extracted\extractions.log
ECHO PROCEED WITH CAUTION >> Extracted\extractions.log
ECHO PROCEED WITH CAUTION >> Extracted\extractions.log
ECHO.
ECHO.
ECHO. >> Extracted\extractions.log
ECHO. >> Extracted\extractions.log
ECHO /!\ /!\ /!\ /!\ WARNING /!\ /!\ /!\ /!\
ECHO /!\ /!\ /!\ /!\ WARNING /!\ /!\ /!\ /!\
ECHO.
ECHO.
ECHO. >> Extracted\extractions.log
ECHO. >> Extracted\extractions.log
ECHO /!\ /!\ /!\ /!\ WARNING /!\ /!\ /!\ /!\
ECHO /!\ /!\ /!\ /!\ WARNING /!\ /!\ /!\ /!\
ECHO.
ECHO.
ECHO. >> Extracted\extractions.log
ECHO. >> Extracted\extractions.log
ECHO ALL OF THESE GAMES EXTRACTED INTO ONE FOLDER WILL CREATE
ECHO ALL OF THESE GAMES EXTRACTED INTO ONE FOLDER WILL CREATE
ECHO.
ECHO.
ECHO. >> Extracted\extractions.log
ECHO. >> Extracted\extractions.log
ECHO APPROXIMATELY 30 TO 35 GIGABYTES OF DATA
ECHO APPROXIMATELY 30 TO 35 GIGABYTES OF DATA
ECHO.
ECHO.
ECHO. >> Extracted\extractions.log
ECHO. >> Extracted\extractions.log
ECHO PROCEED WITH CAUTION
ECHO PROCEED WITH CAUTION
ECHO.
ECHO.
ECHO. >> Extracted\extractions.log
ECHO. >> Extracted\extractions.log
 
SET /p=Press ENTER To Continue
SET /p=Press ENTER To Continue
 
PUSHD Extracted
PUSHD Extracted
 
REM ------------------------
REM ------------------------
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
REM SDK RELATED
REM SDK RELATED
 
REM SDK
REM SDK
call ..\sdk\Extract_SDK.bat >> extractions.log
call ..\sdk\Extract_SDK.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM SDK Base
REM SDK Base
call ..\sdk\Extract_SDKBase.bat >> extractions.log
call ..\sdk\Extract_SDKBase.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM SDK Base 2007
REM SDK Base 2007
call ..\sdk\Extract_SDKBase_07.bat >> extractions.log
call ..\sdk\Extract_SDKBase_07.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM SDK DONE!
REM SDK DONE!
ECHO SDK Extracted....
ECHO SDK Extracted....
REM ------------------------
REM ------------------------
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM ------------------------
REM ------------------------
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
REM GOLDSRC RELATED
REM GOLDSRC RELATED
 
REM Counter-Strike
REM Counter-Strike
call ..\goldsrc\Extract_CS16.bat >> extractions.log
call ..\goldsrc\Extract_CS16.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Condition Zero
REM Condition Zero
call ..\goldsrc\Extract_CZERO.bat >> extractions.log
call ..\goldsrc\Extract_CZERO.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Condition Zer: Deleted Scenes
REM Condition Zer: Deleted Scenes
call ..\goldsrc\Extract_CZEROR.bat >> extractions.log
call ..\goldsrc\Extract_CZEROR.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Deathmatch Classic
REM Deathmatch Classic
call ..\goldsrc\Extract_DMC.bat >> extractions.log
call ..\goldsrc\Extract_DMC.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Day of Defeat
REM Day of Defeat
call ..\goldsrc\Extract_DOD.bat >> extractions.log
call ..\goldsrc\Extract_DOD.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Half-Life
REM Half-Life
call ..\goldsrc\Extract_HL1.bat >> extractions.log
call ..\goldsrc\Extract_HL1.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Half-Life: Blue Shift
REM Half-Life: Blue Shift
call ..\goldsrc\Extract_HLBS.bat >> extractions.log
call ..\goldsrc\Extract_HLBS.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Half-Life High Definition Content
REM Half-Life High Definition Content
call ..\goldsrc\Extract_HLHD.bat >> extractions.log
call ..\goldsrc\Extract_HLHD.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Half-Life: Opposing Force
REM Half-Life: Opposing Force
call ..\goldsrc\Extract_HLOP4.bat >> extractions.log
call ..\goldsrc\Extract_HLOP4.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Ricochet
REM Ricochet
call ..\goldsrc\Extract_RC.bat >> extractions.log
call ..\goldsrc\Extract_RC.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Team Fortress: Classic
REM Team Fortress: Classic
call ..\goldsrc\Extract_TFC.bat >> extractions.log
call ..\goldsrc\Extract_TFC.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM GOLDSRC DONE!
REM GOLDSRC DONE!
ECHO GOLDSRC Extracted....
ECHO GOLDSRC Extracted....
REM ------------------------
REM ------------------------
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM ------------------------
REM ------------------------
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
REM SOURCE RELATED
REM SOURCE RELATED
 
REM Half-Life Deathmatch Source
REM Half-Life Deathmatch Source
call ..\ep1\Extract_HLDMS.bat >> extractions.log
call ..\ep1\Extract_HLDMS.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Half-Life: Source
REM Half-Life: Source
call ..\ep1\Extract_HLS.bat >> extractions.log
call ..\ep1\Extract_HLS.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Counter-Strike:Source
REM Counter-Strike:Source
call ..\ep1\Extract_CSS.bat >> extractions.log
call ..\ep1\Extract_CSS.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Half-Life 2
REM Half-Life 2
call ..\ep1\Extract_HL2.bat >> extractions.log
call ..\ep1\Extract_HL2.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Half -Life 2: Deathmatch
REM Half -Life 2: Deathmatch
call ..\ep1\Extract_HL2DM.bat >> extractions.log
call ..\ep1\Extract_HL2DM.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Half-Life 2: Episode 1
REM Half-Life 2: Episode 1
call ..\ep1\Extract_EP1.bat >> extractions.log
call ..\ep1\Extract_EP1.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Half-Life 2: The Lost Coast
REM Half-Life 2: The Lost Coast
call ..\ep1\Extract_LCOAST.bat >> extractions.log
call ..\ep1\Extract_LCOAST.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM SiN Episodes: Emergance
REM SiN Episodes: Emergance
call ..\ep1\Extract_SE1.bat >> extractions.log
call ..\ep1\Extract_SE1.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM SOURCE DONE!
REM SOURCE DONE!
ECHO SOURCE Extracted....
ECHO SOURCE Extracted....
REM ------------------------
REM ------------------------
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM ------------------------
REM ------------------------
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
REM ORANGEBOX RELATED
REM ORANGEBOX RELATED
 
REM PORTAL!
REM PORTAL!
call ..\ob\Extract_PORTAL.bat >> extractions.log
call ..\ob\Extract_PORTAL.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Team Fortress 2
REM Team Fortress 2
call ..\ob\Extract_TF2.bat >> extractions.log
call ..\ob\Extract_TF2.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Half-Life 2: 2007
REM Half-Life 2: 2007
call ..\ob\Extract_HL2_07.bat >> extractions.log
call ..\ob\Extract_HL2_07.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Half-Life 2: Episode 1 2007
REM Half-Life 2: Episode 1 2007
call ..\ob\Extract_EP1_07.bat >> extractions.log
call ..\ob\Extract_EP1_07.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Half-Life 2: Episode 2
REM Half-Life 2: Episode 2
call ..\ob\Extract_EP2.bat >> extractions.log
call ..\ob\Extract_EP2.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM Day of Defeat: Source
REM Day of Defeat: Source
call ..\ob\Extract_DODS.bat >> extractions.log
call ..\ob\Extract_DODS.bat >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
REM ORANGEBOX DONE!
REM ORANGEBOX DONE!
ECHO ORANGEBOX Extracted....
ECHO ORANGEBOX Extracted....
REM ------------------------
REM ------------------------
ECHO ------------------------ >> extractions.log
ECHO ------------------------ >> extractions.log
 
ECHO ALL Done!!!
ECHO ALL Done!!!
ECHO C U R R E N T   T I M E   A N D   D A T E
ECHO C U R R E N T T I M E A N D D A T E
ECHO %TIME% - %DATE%
ECHO %TIME% - %DATE%
ECHO ALL Done!!! >> extractions.log
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 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
ECHO %TIME% - %DATE% >> extractions.log
 
POPD
POPD
PAUSE
PAUSE
</code>
</source>




= SDK =
= SDK =
==== Extract_SDK.bat ====
==== Extract_SDK.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [SDK] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [SDK] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR SourceSDK
MKDIR SourceSDK
HLExtract.exe -v -p "%SteamAppsDir%\sourcesdk.gcf" -d SourceSDK -e root\
HLExtract.exe -v -p "%SteamAppsDir%\sourcesdk.gcf" -d SourceSDK -e root\
 
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_SDKBase.bat ====
==== Extract_SDKBase.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [SDKB1] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [SDKB1] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR sdk_base
MKDIR sdk_base
HLExtract.exe -v -p "%SteamAppsDir%\source sdk base.gcf" -d sdk_base -e root\sourcetest
HLExtract.exe -v -p "%SteamAppsDir%\source sdk base.gcf" -d sdk_base -e root\sourcetest
 
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_SDKBase_07.bat ====
==== Extract_SDKBase_07.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [SDKB2] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [SDKB2] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR sdk_base_07
MKDIR sdk_base_07
HLExtract.exe -v -p "%SteamAppsDir%\source sdk base 2007.gcf" -d sdk_base_07 -e root\sourcetest
HLExtract.exe -v -p "%SteamAppsDir%\source sdk base 2007.gcf" -d sdk_base_07 -e root\sourcetest
 
REM PAUSE
REM PAUSE
</code>
</source>




Line 322: Line 322:
= GOLDSRC =
= GOLDSRC =
==== Extract_CS16.bat ====
==== Extract_CS16.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [CS1.6] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [CS1.6] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR hl1_cstrike
MKDIR hl1_cstrike
HLExtract.exe -v -p "%SteamAppsDir%\counter-strike.gcf" -d hl1_cstrike -e root\cstrike
HLExtract.exe -v -p "%SteamAppsDir%\counter-strike.gcf" -d hl1_cstrike -e root\cstrike
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_CZERO.bat ====
==== Extract_CZERO.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [CZERO] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [CZERO] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR czero
MKDIR czero
HLExtract.exe -v -p "%SteamAppsDir%\condition zero.gcf" -d czero -e root\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
HLExtract.exe -v -p "%SteamAppsDir%\condition zero models.gcf" -d czero -e root\cstrike
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_CZEROR.bat ====
==== Extract_CZEROR.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [CZERO-R] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [CZERO-R] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR czeroR
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 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 models.gcf" -d czeroR -e root\czeror
HLExtract.exe -v -p "%SteamAppsDir%\condition zero deleted scenes sounds.gcf" -d czeroR -e root\czeror
HLExtract.exe -v -p "%SteamAppsDir%\condition zero deleted scenes sounds.gcf" -d czeroR -e root\czeror
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_DMC.bat ====
==== Extract_DMC.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [DMC] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [DMC] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR dmc
MKDIR dmc
HLExtract.exe -v -p "%SteamAppsDir%\deathmatch classic.gcf.gcf" -d dmc -e root\dmc
HLExtract.exe -v -p "%SteamAppsDir%\deathmatch classic.gcf.gcf" -d dmc -e root\dmc
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_DOD.bat ====
==== Extract_DOD.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [DOD] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [DOD] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR dod
MKDIR dod
HLExtract.exe -v -p "%SteamAppsDir%\day of defeat.gcf" -d dod -e root\dod
HLExtract.exe -v -p "%SteamAppsDir%\day of defeat.gcf" -d dod -e root\dod
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_HL1.bat ====
==== Extract_HL1.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [HL1] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [HL1] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR hl1
MKDIR hl1
HLExtract.exe -v -p "%SteamAppsDir%\half-life.gcf" -d hl1 -e root\
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\
HLExtract.exe -v -p "%SteamAppsDir%\half-life engine.gcf" -d hl1 -e root\
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_HLBS.bat ====
==== Extract_HLBS.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [BSHIFT] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [BSHIFT] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR bshift
MKDIR bshift
HLExtract.exe -v -p "%SteamAppsDir%\half-life blue shift.gcf" -d bshift -e root\bshift
HLExtract.exe -v -p "%SteamAppsDir%\half-life blue shift.gcf" -d bshift -e root\bshift
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_HLHD.bat ====
==== Extract_HLHD.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [HLHD] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [HLHD] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR hlhd
MKDIR hlhd
HLExtract.exe -v -p "%SteamAppsDir%\half-life high definition.gcf" -d hlhd -e root\
HLExtract.exe -v -p "%SteamAppsDir%\half-life high definition.gcf" -d hlhd -e root\
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_HLOP4.bat ====
==== Extract_HLOP4.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [HLOP4] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [HLOP4] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR hlop4
MKDIR hlop4
HLExtract.exe -v -p "%SteamAppsDir%\opposing force.gcf" -d hlop4 -e root\gearbox
HLExtract.exe -v -p "%SteamAppsDir%\opposing force.gcf" -d hlop4 -e root\gearbox
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_RC.bat ====
==== Extract_RC.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [RC] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [RC] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR rc
MKDIR rc
HLExtract.exe -v -p "%SteamAppsDir%\ricochet.gcf" -d rc -e root\ricochet
HLExtract.exe -v -p "%SteamAppsDir%\ricochet.gcf" -d rc -e root\ricochet
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_TFC.bat ====
==== Extract_TFC.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [TFC] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [TFC] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR tfc
MKDIR tfc
HLExtract.exe -v -p "%SteamAppsDir%\team fortress classic.gcf" -d tfc -e root\tfc
HLExtract.exe -v -p "%SteamAppsDir%\team fortress classic.gcf" -d tfc -e root\tfc
REM PAUSE
REM PAUSE
</code>
</source>




= SOURCE =
= SOURCE =
==== Extract_CSS.bat ====
==== Extract_CSS.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [CSS] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [CSS] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR cstrike
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 shared.gcf" -d cstrike -e root\cstrike
HLExtract.exe -v -p "%SteamAppsDir%\counter-strike source client.gcf" -d cstrike -e root\cstrike\bin
HLExtract.exe -v -p "%SteamAppsDir%\counter-strike source client.gcf" -d cstrike -e root\cstrike\bin
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_HL2.bat ====
==== Extract_HL2.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [HL2] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [HL2] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR hl2
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 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 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 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%\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
HLExtract.exe -v -p "%SteamAppsDir%\half-life 2 content.gcf" -d hl2 -e root\hl2\maps
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_HL2DM.bat ====
==== Extract_HL2DM.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [HL2DM] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [HL2DM] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR hl2dm
MKDIR hl2dm
HLExtract.exe -v -p "%SteamAppsDir%\half-life 2 deathmatch.gcf" -d hl2dm -e root\hl2mp
HLExtract.exe -v -p "%SteamAppsDir%\half-life 2 deathmatch.gcf" -d hl2dm -e root\hl2mp
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_EP1.bat ====
==== Extract_EP1.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [EP1] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [EP1] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR episodic
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%\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
HLExtract.exe -v -p "%SteamAppsDir%\half-life 2 episode one.gcf" -d episodic -e root\episodic\maps
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_HLDMS.bat ====
==== Extract_HLDMS.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [HLDMS] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [HLDMS] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR hldms
MKDIR hldms
HLExtract.exe -v -p "%SteamAppsDir%\half-life deathmatch source.gcf" -d hldms -e root\hl1mp
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
HLExtract.exe -v -p "%SteamAppsDir%\half-life source deathmatch client.gcf" -d hldms -e root\hl1mp
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_HLS.bat ====
==== Extract_HLS.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [HLS] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [HLS] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR hls
MKDIR hls
HLExtract.exe -v -p "%SteamAppsDir%\half-life source.gcf" -d hls -e root\hl1
HLExtract.exe -v -p "%SteamAppsDir%\half-life source.gcf" -d hls -e root\hl1
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_LCOAST.bat ====
==== Extract_LCOAST.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [LCOAST] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [LCOAST] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR lcoast
MKDIR lcoast
HLExtract.exe -v -p "%SteamAppsDir%\lostcoast content.gcf" -d lcoast -e root\lostcoast
HLExtract.exe -v -p "%SteamAppsDir%\lostcoast content.gcf" -d lcoast -e root\lostcoast
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_SE1.bat ====
==== Extract_SE1.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [SE1] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [SE1] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR se1
MKDIR se1
HLExtract.exe -v -p "%SteamAppsDir%\sinepisodes arena.gcf" -d se1 -e root\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 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 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 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 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 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 sounds.gcf" -d se1 -e root\se1
HLExtract.exe -v -p "%SteamAppsDir%\sinepisodes unabridged.gcf" -d se1 -e root\se1
HLExtract.exe -v -p "%SteamAppsDir%\sinepisodes unabridged.gcf" -d se1 -e root\se1
REM PAUSE
REM PAUSE
</code>
</source>


= ORANGEBOX =
= ORANGEBOX =
==== Extract_DODS.bat ====
==== Extract_DODS.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [DODS] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [DODS] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR dods
MKDIR dods
HLExtract.exe -v -p "%SteamAppsDir%\day of defeat source.gcf" -d dods -e root\dod
HLExtract.exe -v -p "%SteamAppsDir%\day of defeat source.gcf" -d dods -e root\dod
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_HL2_07.bat ====
==== Extract_HL2_07.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [HL2] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [HL2] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR hl2_ob
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 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 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 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
HLExtract.exe -v -p "%SteamAppsDir%\source 2007 shared sounds.gcf" -d hl2_ob -e root\hl2\sound
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_EP1_07.bat ====
==== Extract_EP1_07.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [EP1] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [EP1] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR episodic_ob
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
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
REM PAUSE
</code>
</source>


==== Extract_EP2.bat ====
==== Extract_EP2.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [EP2] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [EP2] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET Language=english
SET Language=english
 
MKDIR ep2
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%\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 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 maps.gcf" -d ep2 -e root\ep2\maps
HLExtract.exe -v -p "%SteamAppsDir%\episode two materials.gcf" -d ep2 -e root\ep2\materials
HLExtract.exe -v -p "%SteamAppsDir%\episode two materials.gcf" -d ep2 -e root\ep2\materials
RMDIR /S /Q ep2\maps\graphs
RMDIR /S /Q ep2\maps\graphs
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_PORTAL.bat ====
==== Extract_PORTAL.bat ====
<code>
<source lang=dos>
@ECHO OFF
@ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [PORTAL] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [PORTAL] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET Language=english
SET Language=english
 
MKDIR portal
MKDIR portal
HLExtract.exe -v -p "%SteamAppsDir%\portal %Language%.gcf" -d portal -e root\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
HLExtract.exe -v -p "%SteamAppsDir%\portal content.gcf" -d portal -e root\portal
 
REM PAUSE
REM PAUSE
</code>
</source>


==== Extract_TF2.bat ====
==== Extract_TF2.bat ====
<code> @ECHO OFF
<source lang=dos> @ECHO OFF
 
ECHO ------------------------
ECHO ------------------------
ECHO GCF Utility Extractor [TF2] © 2008 jenkins_08. All Rights Reserved.
ECHO GCF Utility Extractor [TF2] © 2008 jenkins_08. All Rights Reserved.
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO HLLib is © Ryan "Nemisis" Gregg
ECHO ------------------------
ECHO ------------------------
 
SET SteamAppsDir=C:\Program Files\Steam\steamapps
SET SteamAppsDir=C:\Program Files\Steam\steamapps
 
MKDIR tf2
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 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 content.gcf" -d tf2 -e root\tf
HLExtract.exe -v -p "%SteamAppsDir%\team fortress 2 materials.gcf" -d tf2 -e root\tf
HLExtract.exe -v -p "%SteamAppsDir%\team fortress 2 materials.gcf" -d tf2 -e root\tf
 
REM PAUSE
REM PAUSE
</code>
</source>


----
----

Latest revision as of 03:33, 19 April 2009

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)