bspzip...?

DoctorGordon

Newbie
Joined
Jul 25, 2004
Messages
799
Reaction score
0
Anyone know how to use bspzip yet? ("allows you to compile custom content directly into a bsp")
 
from the command prompt...
C:\Program Files\Valve\Steam\SteamApps\user\sourcesdk\bin>
bspzip

usage:
bspzip -extract bspfile blah.zip
bspzip -dir bspfile
bspzip -addfile bspfile relativepathname fullpathname newbspfile
bspzip -addlist bspfile listfile newbspfile

-dir is a bit vague... I'd have to assume the only way it could work would be to ZIP the entire working directory (the directory you are in when you run bspZIP)

It looks like it needs a relative for the destination, then a full pathname of the source file. The relative is a bit of a guess. I would guess the root directories are the "Half-Life2" "Half-Life 2 Deathmatch" and "Counterstrike Source" but since there is no game definition maybe it should be relative to "SteamApps\<Steamuser>". You'd have to bspzip somethign then extract it to see.

my guess would be ..

bspzip -addfile "C:\!maps\MyMap.bsp" "Half-Life 2\hl2\materials" "C:\Program Files\Valve\Steam\SteamApps\<SteamUser>\half-life 2\hl2\materials\MyTexture.vmt" "C:\!maps\MyMapDistrib.bsp"

the addlist is probbaly the most convenient. The addlist would just be a textfile of the two file params, one set per line.
 
Back
Top