The short version: I have a Steam AppId number. How do I get the .GCF 
filenames used by that app?

The longer version:
I'm working on a Java tool for automagically packing all the required 
resources for custom content, with a focus on the kinds the dependency 
graphs of custom maps. It's pretty far along, but I'm having some 
problems automatically detecting things about the environment in which 
it has to run.

Here's the problem: If I already have all of the information in the 
gameinfo.txt file, how can I determine the GCF filenames that the game 
ships with? I've written a mostly-working parser for ClientRegistry.blob 
and the "ContentDescriptionRecord" section, but if the data is in there 
I haven't yet found what nook or cranny it lives in.

As an example for the problem, take Team Fortress 2. The app-ID is 440, 
and I know it references |all_source_engine_paths|, but how would I 
discover its GCFs are "team fortress 2 client content.gcf", "team 
fortress 2 content.gcf", and "team fortress 2 materials.gcf" ?

I could soft-code it all in configuration files, but then I'd need to 
make a new config by hand for each game. If there's a C call, I could 
use that from Java provided I get it wrapped in a DLL first.


Thanks in advance,
--Darien A. Hager

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to