vpk.exe Packing: Custom Assets can't be loaded (fixed)
Hi interlopers,
i tried to pack my custom folders like "materials" with a small batch file with .bat ending into vpk format.
Placed it in the SteamApps\common\Source SDK Base 2013 Singleplayer\bin folder and started it.
so vpk.exe with -M option created materials_000.vpk, materials001.vpk and materials_dir.vpk
Surprise! It worked! This files could even be extracted with GCFshape.
And i added the pathes in the gameinfo.txt
and i tried
But the content was not regonized by the engine.
Has anyone an idea how to pack custom content properly with vpk so that they can be shipped?
Thank you and have a HAPPY NEW YEAR 2014
i tried to pack my custom folders like "materials" with a small batch file with .bat ending into vpk format.
Placed it in the SteamApps\common\Source SDK Base 2013 Singleplayer\bin folder and started it.
- Code: Select all
@echo off
set DirFileName="X:\path\path\path\SteamApps\sourcemods\STTR\materials"
start vpk.exe -M %DirFileName%
exit
so vpk.exe with -M option created materials_000.vpk, materials001.vpk and materials_dir.vpk
Surprise! It worked! This files could even be extracted with GCFshape.
And i added the pathes in the gameinfo.txt
- Code: Select all
game |gameinfo_path|materials.vpk
and i tried
- Code: Select all
game |gameinfo_path|materials_dir.vpk
But the content was not regonized by the engine.
Has anyone an idea how to pack custom content properly with vpk so that they can be shipped?
Thank you and have a HAPPY NEW YEAR 2014
