User talk:Nem

From Valve Developer Community
Jump to: navigation, search

You say on the GCFScape FAQ that it's possible to override a file within a GCF by placing it in a certain directory. I'm trying to do this (see Help Desk#Custom voice for why) but haven't had any success yet. The GCF is source engine.gcf and the file is scripts/game_sounds_manifest.txt. So it belongs in Steam\SteamApps\username\source engine\hl2\scripts\game_sounds_manifest.txt? Or Steam\SteamApps\username\source engine.gcf\hl2\scripts\game_sounds_manifest.txt? I've even tried Steam\SteamApps\source engine\hl2\scripts\game_sounds_manifest.txt, but none of these has worked. I'd appreciate any help you might be able to give. —Maven (talk) 11:12, 5 Nov 2005 (PST)

Steam\SteamApps\account\Half-Life 2\hl2\scripts\game_sounds_manifest.txt. It's a relative path. --TomEdwards 11:51, 5 Nov 2005 (PST)
Already tried that. It doesn't work. Sodabus and I think that the manifest in the GFC is overriding the one there. That's why I'm trying to do it this way. (Assuming, of course, that it is a different way.) —Maven (talk) 12:41, 5 Nov 2005 (PST)
Presumably TomEdwards is correct, certainly if you look in the bin folder for that paticular GCF file, the files that are automatically copied go to the Steam\SteamApps\account\Half-Life 2\bin\ folder. I have, however, heard of other people having problems overwriting files in this particular GCF file (skill.cfg comes to mind), and I don't recall anyone ever solving the issue. Perhaps you should ask yourself how the counter-strike source shared.gcf file knows to map to the Steam\SteamApps\account\sounter-strike source\ folder? I have no answer to that question.--Nem 19:35, 6 Nov 2005 (PST)
Thanks for responding. I'll have to find some other way to solve the problem, then. Or I could just live with the kludgey method. <shrug> —Maven (talk) 19:57, 6 Nov 2005 (PST)
btw, because this page googles so high on "steam gcf files override "skill.cfg"" query, i think i'll share it here. an ugly but WORKING solution to the problem with GCF skill.cfg overriding local ones (applies to the others, too, if you get the idea):

  • create a local .cfg with UNUSED name (e.g. 'new-skill.cfg' instead of 'skill.cfg')
  • add, for example (this one is especially for skill.cfg)

alias sk_max_gauss_round "exec new-skill" to the autoexec.cfg,

  • et voila. of course, DON'T INCLUDE THE ALIASED COMMAND IN YOUR .CFG! - the game will fall into an endless loop if you do. also, you won't be able to use the aliased command (sk_max_gauss_round) at all; but the solution is 100% working. cheers.

VTFEdit

I am having problems http://nemesis.thewavelength.net/index.php?c=238#p238 My comment is the latest one. :( It is really giving me trouble this is for Left4Dead2.--Coaster3000 17:49, 5 June 2010 (UTC)