This is archived copy of currently unavailable Nem's Tools website, restored from Web Archive.
Download section now provides links to both Web Archive and to this unofficial Github mirror.
GCFScape FAQ - NemPosted: Jun 20th, 2004 - 11:37:59 am
Q.

When I launch GCFScape I get the following error message:
"This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."

A.

GCFScape v1.4.0 and up is written in C++ .NET v2.0 and such as requires the .NET runtimes to run. See the downloads page for more information.

Q.

When I launch GCFScape I get the following error message:
"The application failed to initialize properly (0xc0000135). Click ok to terminate the application."

A.

GCFScape is written in C++ .NET and such as requires the .NET runtimes to run. See the downloads page for more information.

Q.

When I launch GCFScape I get the following error message:
"A required .DLL file, MSCOREE.DLL, was not found."

A.

GCFScape is written in C++ .NET and such as requires the .NET runtimes to run. See the downloads page for more information.

Q.

Are GCF files compressed archives?

A.

No.

Q.

What are GCF files then?

A.

GCF (Assumed to stand for Game Cache File) files can best be compared to a virtual file system not unlike FAT or other common file systems. The virtual file system supports meta data, file fragments, checksums and other minor features. GCF files are the backbone of Steam's content delivery system.

Q.

Why do I have to close Steam to open a GCF file?

A.

GCFScape uses a technique called file mapping to directly access data in a GCF file as you would data in memory. This is a useful technique because it means GCFScape doesn't have to read tons of data into memory to read a GCF file and it can read a GCF file without having to seek all over the place.

Because Steam opens GCF files in read/write mode and is liable to change the contents of any GCF file at any time, GCFScape requires that you close Steam. If Steam was open and it changed the contents of a GCF file while it was mapped, GCFScape would become unstable and likely crash.

Q.

When I open a package I get the following error message:
"Failed to open file."

A.

GCFScape requires strict read rights to a package file to maintain stability. Make sure the package file is not open in any other program including Steam. As a work around you can enable Volatile Access from the Options menu. Note: this may cause GCFScape to become unstable if Steam is updating the package you have open.

Q.

When I open a GCF file I get the following error message:
"Invalid GCF version number (vX)."

A.

GCFScape does not know how to read the GCF file version you are attempting to open. This could be because it is an old GCF file version that I haven't yet added support for (due to the fact that I don't know what the format is) or a new GCF file version that a recent Steam update produced. Either way let me know.

Q.

When I open a package I get the following error message:
"Corrupt file."

A.

GCFScape will display this error when it maps a package file to memory only to find there is not enough data in the file for the resulting map. This may or may not mean your file is corrupt but almost certainly means GCFScape would crash it continued to load your package file.

Q.

When I open a package I get the following error message:
"Failed to map view of file."

A.

GCFScape will display this error when the system call MapViewOfFile() fails. This can happen on older operating systems with primitive virtual memory management. As a work around you can disable File Mapping from the Options menu. Note: disabling File Mapping will incur a memory and performance penalty.

Q.

When I press the Extract button, a Browse for Folder dialog appears but there is no directory tree to allow me to select a folder.

A.

There is an unfortunate bug with the .NET framework that causes this dialog to operate incorrectly. This is a pretty rare occurrence, but there is a workaround:

  1. Close GCFScape.
  2. Open the gcfscape.cfg file, located in your GCFScape directory, in notepad.
  3. Set the GCFScape.ExtractDirectory argument to a folder on your hard drive such as C:\.
  4. Open GCFScape and extract your file.
Q.

When I extract a file I get the following error message:
"Error writing [filename] (File contains no physical data to write)."

A.

This error occurs when you attempt to extract a file that has no physical data associated with it. This is a file that exists in the directory tree but which Steam has not yet downloaded. Use Steam to make sure the file is fully acquired.

Q.

How do I create a GCF file?

A.

As of yet, not enough is known about the GCF file format to programmatically create one. There are still plenty of unknown fields that need an understanding before a GCF file can be created. That said there is also no guarantee that creating a GCF file is all that is needed for Steam to recognize and make use of it. Some other registration might be required and may not be possible without hacking Steam. For these reasons I have no plans to add the ability to create a GCF file.

Q.

How do I modify a GCF file?

A.

The purpose of the GCF file is to make it easy for Steam to update Valve's software. When a new version of a program (say CS) is released, all Steam has to do is look in the CS GCF file and compare versions (hashes) of each file to determine if each file needs to be added, updated or removed. Because of this, if you were to modify a file, Steam would interpret this as meaning that the file is out of date and redownload the correct version of the file.

Steam does, however, provide an interface to add or overwrite a file. To add or overwrite a file simply place it in the corresponding directory in the Steam\SteamApps\[EMail]\[GCF File] directory on your hard drive. You might have to create the appropriate subdirectories.

Q.

Will GCFScape be able to create or modify GCF files in the future?

A.

Not likely.

Ask a question...

Modified: Jan 17th, 2006 - 10:33:36 pm[ 85879 Views ]

[ 1 2 ]

61. NemPosted: Jun 13th, 2010 - 12:28:29 pm
No, just the ...\Steam\steamapps\common\left 4 dead 2\left4dead2\pak01_dir.vpk file.

62. riksmofugl84Posted: Jul 27th, 2010 - 7:08:13 am
Hmm, i have a problem with GCFScape .. i wanted to change the files in half-life 2 from the old sounds folder to a more fun vocal soundpack , but i found out that GCFScape only extracts sounds, not inserting them .. what cind of program can i use or how do i go forward to do so in GCFScape?

63. DomIIIPosted: Jul 27th, 2010 - 1:32:52 pm
just put them in the appropriate directory, it is not necessary to put them in the gcf files. example:
C:\Program Files\Steam\Steamapps\<username>\half life 2\hl2\sound

64. adomskyPosted: Nov 6th, 2011 - 8:55:47 pm
I have a question about editing a l4d2 file. I want to edit the clientscheme.res file to remove the player names. However, there is no l4d2 directory in my steamapps\<username> directory, it's in my steamapps\common directory. Should I put it in the appropriate folder in there, or create a steamapps\<username>\left 4 dead 2\etc. folder?

65. Sephiroth582Posted: Jan 15th, 2012 - 11:37:11 am
I've been trying to do some weapons script editing for Half Life 2, but when I open the source engine.gcf file to extract the scripts, ALL of the weapons scripts are grayed out. I tried searching through other GCFs, validating my files, reinstalling HL2, and closing Steam but I still can't get the files to extract. I keep getting the pesky "Have the files been completely acquired?" message. Help please??

66. DomIIIPosted: Jan 15th, 2012 - 3:52:36 pm
adomsky, put it into the common\Left 4 Dead 2 folder.
Sephiroth582, look in source 2007 binaries 2.gcf

67. mc peepantsModified: Feb 12th, 2012 - 8:32:03 pm
How can I extract a custom CSS map using GCFScape? I've looked through the gcf files and all I can find are the official Valve maps.

68. zmanPosted: Jul 16th, 2012 - 10:11:01 pm
I am trying to find the sound files for half life 2.

I dont know where to find them

i looked in the platform folder and got this error


Error writing C:\Users\gamer\AppData\Local\Temp\PlatformMenu.vdf (Error: Unexpected end of GCF stream (0 B of 218 B). Has the GCF file been completely acquired?)
Error writing C:\Users\gamer\AppData\Local\Temp\PlatformMenu.vdf (Error: Unexpected end of GCF stream (0 B of 218 B). Has the GCF file been completely acquired?)

What do i do?

69. DomIIIPosted: Jul 17th, 2012 - 1:12:42 pm
You need to open the right GCF file. Try opening SteamApps\source sounds.gcf

70. zmanModified: Sep 30th, 2012 - 3:17:39 pm
I don't have a steamapps\sourcesounds folder

I'm trying to get the files as an mp3.

Is there somewhere I can just download the voiceovers?

71. BanegueModified: Mar 9th, 2013 - 5:21:28 pm
Hi , i have a problem with GCFScape , i need to extract a weapon physcannon for garry'smod but there is error


Error writing C:\Users\Utilisateur\AppData\Local\Temp\V_physcannon\v_physcannon_mask.vtf (Error: Unexpected end of GCF stream (0 B of 174968 B). Has the GCF file been completely acquired?)
Error writing C:\Users\Utilisateur\AppData\Local\Temp\V_physcannon\v_physcannon_sheet.vmt (Error: Unexpected end of GCF stream (0 B of 268 B). Has the GCF file been completely acquired?)
Error writing C:\Users\Utilisateur\AppData\Local\Temp\V_physcannon\v_physcannon_sheet.vtf (Error: Unexpected end of GCF stream (0 B of 349744 B). Has the GCF file been completely acquired?)
Error writing C:\Users\Utilisateur\AppData\Local\Temp\V_physcannon\v_superphyscannon_sheet.vmt (Error: Unexpected end of GCF stream (0 B of 273 B). Has the GCF file been completely acquired?)
Error writing C:\Users\Utilisateur\AppData\Local\Temp\V_physcannon\v_superphyscannon_sheet.vtf (Error: Unexpected end of GCF stream (0 B of 349744 B). Has the GCF file been completely acquired?)

I have use a tutorial , look , http://www.youtube.com/watch?v=gE4JXFQSiIA

Please help me ...

72. NemPosted: Mar 9th, 2013 - 6:22:48 pm
Try source 2007 shared materials.gcf.

73. BaneguePosted: Mar 11th, 2013 - 10:34:19 am
look this : http://img803.imageshack.us/img803/4924/img1dx.png

74. BaneguePosted: Mar 11th, 2013 - 10:34:34 am

75. NemPosted: Mar 13th, 2013 - 4:56:41 am
I don't know why you're showing me that...

76. Hellsing4682Modified: Jun 7th, 2013 - 9:08:46 am
Whenever I try to extract a large file (say a materials or models folder) the GCFScape freezes and I either have to wait for it to unfreeze (extracts nothing) or forcefully close it. Any solutions?

Edit: Page king.
Edit 2: Nevermind, extracting by dragging and dropping makes it freeze, but right clicking and extracting does the trick.

77. SavantPosted: Dec 18th, 2013 - 12:02:26 am
HOW DO I OPENED GCFSCAPE?shrug

78. TerakuModified: Jan 2nd, 2014 - 5:51:58 pm
I can't open any L4D2 VPK's. All I see is a folder called "root", which I can't expand or extract. Steam and L4D2 are not running. Some help would be greatly appreciated.

EDIT: Never mind, I was opening the wrong file. You need to open the dir VPK.

79. 222222Modified: Jun 26th, 2014 - 6:05:07 pm
I want to open a .VPK file but I only see folders with weird symbols and when I click on them there is nothing. I will also get an error that reads: Illegal character in path. How do i fix this / is this problem known?

80. RBunnyPosted: Jul 6th, 2014 - 3:31:18 am
To 222222
I was having the same issue. Install the latest version of GCFscape and .NET and it should do the trick.

81. spad0urPosted: May 18th, 2016 - 9:14:36 pm
I have the same problem as dark_2004

When i try open valve pack file (dota2) then i receive error :

An unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will be shut down immediatly.

Any solution?

82. Last comradePosted: Dec 5th, 2016 - 12:26:47 pm
When I extract a .vtf file from vpk I get the following error message:Error writing [filename] (Error: Invalid open mode (0x04858270).)

83. dekkerPosted: Jul 1st, 2017 - 2:52:28 pm
Hi there,

I have searched the FAQ, the entire forum for a solution for this. And it seems everyone else with this problem, to this day is yet to get a solution.

I have downloaded the latest .NET framework
I am on windows 7x64

I can open the program fine, but when I try to open a .vpk file, it comes up->

"Unhandled exception has occurred in your application"
"Illegal characters in path"

Please if anyone has a solution to this yet, help me out.

Would really appreciate it.

Cheers





See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.Combine(String path1, String path2)
at GCFScape.CDirectoryItemInfoManager.GetItemTypeInfo(CDirectoryItem* pDirectoryItem)
at GCFScape.CPackageTreeNode..ctor(CPackage* pPackage, CDirectoryItem* pDirectoryItem, CDirectoryItemInfoManager pDirectoryItemInfoManager, CPackageInfo pPackageInfo, Boolean bBuild)
at GCFScape.CPackageTreeNode.BuildNode()
at GCFScape.CGCFScape.trePackage_AfterExpand(Object sender, TreeViewEventArgs e)
at System.Windows.Forms.TreeView.OnAfterExpand(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnExpanded(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
GCFScape
Assembly Version: 1.8.6.0
Win32 Version: 1.8.6
CodeBase: file:///C:/Program%20Files/Nem's%20Tools/GCFScape/GCFScape.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



[ 1 2 ]

Nem's Tools v2.0 © 2006 Ryan Gregg.
Execution time: 0.07963s; Queries: 14.