Upvote Upvoted 7 Downvote Downvoted
cfg file as a vpk
posted in Customization
1
#1
0 Frags +

is it possible to make all of my files like config.cfg and all the class specific cfg files into one .vpk file?

is it possible to make all of my files like config.cfg and all the class specific cfg files into one .vpk file?
2
#2
-4 Frags +

I thinks so but why

I thinks so but why
3
#3
8 Frags +

why not

why not
4
#4
14 Frags +

Team Fortress 2/bin/vpk.exe
there is no reason to do it, load times won't improve it will only complicate editing the files
also if you'd be thinking to doing the same to your hud, tf2 has issues with loading fonts from .vpks

Team Fortress 2/bin/vpk.exe
there is no reason to do it, load times won't improve it will only complicate editing the files
also if you'd be thinking to doing the same to your hud, tf2 has issues with loading fonts from .vpks
5
#5
3 Frags +

mastercoms does it in her releases nowadays

mastercoms does it in her releases nowadays
6
#6
0 Frags +

i tried doing that but it didnt work (settings didnt change when i changed class) so i want to know if i need to like put the graphics config in the same folder that i make a .vpk file out of as config.cfg/class.cfg files.

instead of 9 individual class files + 1 config file i want them all in 1 vpk file, im not doing it for load time, but im doing it so that if i want to put my settings on tf2 i can just drag in 1 folder with a hud + graphics config vpk + what would be in tf/cfg in a vpk, since for me that is nicer.

i tried doing that but it didnt work (settings didnt change when i changed class) so i want to know if i need to like put the graphics config in the same folder that i make a .vpk file out of as config.cfg/class.cfg files.

instead of 9 individual class files + 1 config file i want them all in 1 vpk file, im not doing it for load time, but im doing it so that if i want to put my settings on tf2 i can just drag in 1 folder with a hud + graphics config vpk + what would be in tf/cfg in a vpk, since for me that is nicer.
7
#7
0 Frags +
Vourii tried doing that but it didnt work (settings didnt change when i changed class) so i want to know if i need to like put the graphics config in the same folder that i make a .vpk file out of as config.cfg/class.cfg files.

instead of 9 individual class files + 1 config file i want them all in 1 vpk file, im not doing it for load time, but im doing it so that if i want to put my settings on tf2 i can just drag in 1 folder with a hud + graphics config vpk + what would be in tf/cfg in a vpk, since for me that is nicer.

you've probably forgot a folder (eg files directly in the root of the vpk instead of in root/WHATEVER/cfg)
you can have all your custom files in one folder in custom, since steampipe you don't have to (it's advised not to) have the .cfg files straight in /tf/cfg but in /tf/custom/WHATEVER/cfg
added you on steam to pack your files btw

[quote=Vouri]i tried doing that but it didnt work (settings didnt change when i changed class) so i want to know if i need to like put the graphics config in the same folder that i make a .vpk file out of as config.cfg/class.cfg files.

instead of 9 individual class files + 1 config file i want them all in 1 vpk file, im not doing it for load time, but im doing it so that if i want to put my settings on tf2 i can just drag in 1 folder with a hud + graphics config vpk + what would be in tf/cfg in a vpk, since for me that is nicer.[/quote]
you've probably forgot a folder (eg files directly in the root of the vpk instead of in root/WHATEVER/cfg)
you can have all your custom files in one folder in custom, since steampipe you don't have to (it's advised not to) have the .cfg files straight in /tf/cfg but in /tf/custom/WHATEVER/cfg
added you on steam to pack your files btw
8
#8
0 Frags +
deguthere is no reason to do it, load times won't improve

It's worth mentioning that load times are no different if and only if the cfg files are in tf/cfg.
But if they're in custom/whatever/cfg, that does hurt load times, and turning that into a vpk will speed up loads.

As a rule you should avoid having folders in custom, since even if they're completely empty they will increase the number of system calls to check for files a lot (every single file that gets loaded, which includes all materials twice (which are especially bad, since materials always get reloaded every time you change servers or enter a map) and all models and sounds, needs a check for every single folder you have in custom). And it's not minor either, it's only a few folders before half your load time is just checking the folders in custom for every file. But a vpk doesn't run into these problems (at the cost of being harder to edit, and fonts not working without installing them).

That said I do keep a cfg and a hud folder in custom. One or two isn't going to kill you, but it is a tradeoff for convenience vs load times. And if a vpk is also more convenient too, that's an all around win.

[quote=degu]there is no reason to do it, load times won't improve[/quote]
It's worth mentioning that load times are no different if and only if the cfg files are in tf/cfg.
But if they're in custom/whatever/cfg, that does hurt load times, and turning that into a vpk will speed up loads.

As a rule you should avoid having folders in custom, since even if they're completely empty they will increase the number of system calls to check for files a lot (every single file that gets loaded, which includes all materials twice (which are especially bad, since materials always get reloaded every time you change servers or enter a map) and all models and sounds, needs a check for every single folder you have in custom). And it's not minor either, it's only a few folders before half your load time is just checking the folders in custom for every file. But a vpk doesn't run into these problems (at the cost of being harder to edit, and fonts not working without installing them).

That said I do keep a cfg and a hud folder in custom. One or two isn't going to kill you, but it is a tradeoff for convenience vs load times. And if a vpk is also more convenient too, that's an all around win.
9
#9
0 Frags +
JarateKing

i've had the same idea about a year ago, didn't find a definitive answer on google so did my own testing, don't remember exact numbers but on both HDD and SSD packing stuff into .vpk compared to one folder in custom didn't affect launch times/map load times, it was fluctuating around the same number
maybe it's the fact i have everything in one folder anyway

[quote=JarateKing][/quote]
i've had the same idea about a year ago, didn't find a definitive answer on google so did my own testing, don't remember exact numbers but on both HDD and SSD packing stuff into .vpk compared to one folder in custom didn't affect launch times/map load times, it was fluctuating around the same number
maybe it's the fact i have everything in one folder anyway
Please sign in through STEAM to post a comment.