VPK tool for Portal 2
Please do correct me if I'm wrong. --Roelof 20:57, 20 April 2011 (UTC)
- Since the SDK is not released yet, there's no official vpk.exe available for Portal 2. I wouldn't change that sentence for now, even though you could also use the vpk.exe from the other SDKs. --Barracuda 21:09, 20 April 2011 (UTC)
Command line options
Are these things even supposed to work? I can't get it to make a multi-chunk one or even do verbose output.
Okay, I figured it out, but it's very weird. You have to add files to an already existing one in order to make a multi-chunk one, and it malforms the filenames (eg. pak01_dir.vpk_089.vpk). Maybe this should be mentioned in the article? PluMGMK 04:27, 8 October 2011 (PDT)
- This definitely should be mentioned in the article. Do you have a detailed example on how to use it? --ThaiGrocer 12:33, 10 October 2011 (PDT)
- Well, I did a bit more poking around, so now I know exactly what to do to make a pak01_dir VPK and set of chunks to go with it. You have to get a list of the files you want in it. The easiest way to do this is "dir /s /b *.vmt >> responsefile" in the root directory, then repeat for each file extension you have and need to VPK. You then have to open "responsefile" in a text editor and make the paths relative, so they won't be "C:\etc\etc..." inside the VPK. Finally, go "vpk -M a pak01 @responsefile". PluMGMK 03:15, 22 October 2011 (PDT)