GCFScape v1.0.0 Beta - NemPosted: Dec 23rd, 2003 - 1:00:44 am

Ok, I think GCFScape is ready for a beta release so here it goes.

GCFScape is written in a mixture of managed and unmanaged C++ which means it requires the .NET framework. (The reason I chose C++ .NET is because of its low level programming capabilities and its high level form design capabilities. I wrote a whole lot of code to simply figure the format out so I didn't want to spend too much time on the GUI.) I will try to re-release GCFScape using pure unmanaged C++ but it's the holidays and I want a break so it might not be for some time. I will also do up what I know of the GCF file format and release that.

Please note that I do not in any way guarantee the correctness of this program or the content it exports. The program was written by studying large .gcf files in a hex editor so it is entirely possible that the format I observed is incorrect. Although I was unable to figure out how to programmatically scan past what I call the sixth section, I believe the code that scans for the data block header is accurate. The data block header contains five fields (including a checksum) and all of which I know which means it is highly unlikely that the program will accidentally mistake incorrect data for the data block header though it is entirely possible.

With all of that said you can D/L GCFScape from here.

Modified: Jul 13th, 2004 - 12:08:02 pm[ 117931 Views ]

[ 1 2 3 4 5 6 ]

31. BluefangPosted: Dec 28th, 2003 - 6:33:19 pm

Very nice. so can we put in feature requests?
the halflife.wad is 36.1 MB. it extracts alright for me.

32. -dgC-AtzeModified: Dec 29th, 2003 - 11:54:23 pm

Nice work ;-)

ist your sourcecode, or some info obout the file format anywhere available?

i am writing a little tool to create map, and mappack zip files witch is autodetecting all needed resources for a map.

for my tool i need to scan/know the contents of the gcf files, to differentiate between hl/cs rersources and custom resources to be included in zip.

33. Alurcard2Posted: Dec 29th, 2003 - 4:51:46 pm

I just wanted to say that i have the same problem as Lucky and i got the english version of windows xp pro

34. NemPosted: Dec 29th, 2003 - 10:16:52 pm

Sparky - Yes you can.

-dgC-Atze - I will release something soon (probably a spec and the C++ class I use to implement it (It basically maps the file to a series of data structures and provides some helper functions).

Alurcard2 - What version of GCFScape do you have? I rewrote the code so It wouldn't use the .NET Folder Browsing Class.

35. steven_m64Posted: Dec 31st, 2003 - 5:32:15 am

verry good tool nem

36. BluefangPosted: Jan 7th, 2004 - 2:57:23 pm

I'd have to sat that an in-house audio/sprite/model viewer would be cool, but not knowing what's involved in doing such things, that could be asking alot.

37. NemPosted: Jan 7th, 2004 - 5:01:47 pm

Not really the point for the extractor and far too much work...


But thanks for the suggestions.

38. NemModified: Jan 8th, 2004 - 10:40:41 pm

I've released build four of GCFScape. Would people who were having problems with incomplete files being extracted please give it a go and see if the problem has been fixed?



39. sNyPrPosted: Jan 8th, 2004 - 10:06:43 pm

Nem, your program works great, i've unpacked all of the files from counterstrike.gcf...so can i install it now and how do i? thanks in advance

40. NemPosted: Jan 9th, 2004 - 9:04:00 pm

Not sure what you mean. I never made an installer for GCFScape because it would bulk up the D/L.

All the installer would do is put it in a folder (say 'Program Files\GCFScape\') and create a shortcut for your start menu and desktop anyways.

41. sNyPrPosted: Jan 9th, 2004 - 11:27:44 pm

i'm sorry for not making this clear. i unzipped all of the files from "counterstrike.gcf", now how do i use these files to actually play counterstrike? or cant i?

42. SlackillerPosted: Jan 11th, 2004 - 9:59:55 am

this tool is for unpacking stuff from gcf files for mappers,modelers,mod makers.
not needed to play counterstrike.

43. NinjaGrinchModified: Jan 13th, 2004 - 2:19:47 pm

Just tried it out and seems to works great, other than the few missing file errors. A couple of suggestions:

1. Allow sorting of files by Type
2. As you mentioned multiple selections via Shift and Ctrl would be great.

Also, that Abort button would be quite handy when you accidentally start extracting the whole valve folder :)

Thank you for making such a usefull tool!

Whoops, maybe I spoke too soon. Looks like the halflife.wad and xeno.wad didn't extract completely:
"Error writing D:\halflife.wad (35,554,800 B / 37,914,096 B written).
Error writing D:\xeno.wad (1,664,864 B / 6,514,528 B written)."

It always stops at the same byte on both files. So far I've tried extracting to different locations, ran a thorough ScanDisk, and am now in the process of a Defrag. If that doesn't work I'll try redownloading the .gcf...

44. NinjaGrinchPosted: Jan 13th, 2004 - 3:32:27 pm

Apparently my halflife.gcf was corrupt, because it extracted fine after I re-downloaded it. So hurray! All is well.

45. NemPosted: Jan 13th, 2004 - 6:11:39 pm

Thanks for the feedback NinjaGrinch. I'll look into adding those features when I get some more spare time.

As for the files only partially extracting, I'm not to sure why this happens. It may something that I missed about the GCF format but at the moment I have no clue...

[ 1 2 3 4 5 6 ]

You must be logged in to post a comment.
New users can register here.
Nem's Tools v2.0 © 2006 Ryan Gregg.
Execution time: 0.028503s; Queries: 17.
dishes served.
Powered by The Wavelength.

Valid XHTML 1.0 Transitional Valid CSS