Vpk.exe: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (added commands for vpk.exe)
Line 1: Line 1:
VPK files are used in [[Left 4 Dead]] instead of [[GCF]]s, apparently something closer to [[NCF]]s. Valve has stated these have supplanted GCFs and NCFs.[http://nemesis.thewavelength.net/index.php?c=254&o=0#c3055]
VPK files are used in [[Left 4 Dead]] instead of [[GCF]]s, apparently something closer to [[NCF]]s. Valve has stated these have supplanted GCFs and NCFs.[http://nemesis.thewavelength.net/index.php?c=254&o=0#c3055]. The VPK.exe is a command line tool located in Steam\steamapps\common\left 4 dead\bin\vpk.exe. It's commands are:
 
 
*vpk dirname
:Creates a pack file named <dirname>.vpk located in the parent of the specified directory.
*vpk x vpkfile filename1 filename2 ...
:Extract file(s).
*vpk a vpkfile filename1 filename2 ...
:Add file(s).
*vpk a vpkfile @filename
:Add files listed in a response file.
*vpk k vpkfile keyvalues_filename
:Add files listed in a keyvalues control file.
*vpk l vpkfile
:List contents of VPK.
*vpk L vpkfile
:List contents (detailed) of VPK.
Options:
*-v Verbose.
*-M Produce a multi-chunk pack file


== See also ==
== See also ==

Revision as of 12:08, 28 June 2009

VPK files are used in Left 4 Dead instead of GCFs, apparently something closer to NCFs. Valve has stated these have supplanted GCFs and NCFs.[1]. The VPK.exe is a command line tool located in Steam\steamapps\common\left 4 dead\bin\vpk.exe. It's commands are:


  • vpk dirname
Creates a pack file named <dirname>.vpk located in the parent of the specified directory.
  • vpk x vpkfile filename1 filename2 ...
Extract file(s).
  • vpk a vpkfile filename1 filename2 ...
Add file(s).
  • vpk a vpkfile @filename
Add files listed in a response file.
  • vpk k vpkfile keyvalues_filename
Add files listed in a keyvalues control file.
  • vpk l vpkfile
List contents of VPK.
  • vpk L vpkfile
List contents (detailed) of VPK.

Options:

  • -v Verbose.
  • -M Produce a multi-chunk pack file

See also

Stub

This article or section is a stub. You can help by expanding it.