Performance packed vs not packed?

Pinsplash

bad bad bad
May 8, 2016
156
71
Has anyone ever tested if packing the contents of a map into it instead of having them in the custom folder would make a visible difference in performance?
 

fubarFX

The "raw" in "nodraw"
aa
Jun 1, 2009
1,720
1,978
I have not tested no. But as a general game development rule, it's usually better to have assets that will be loaded together to be contiguous on your storage medium. This allows games to load faster when seek times are long (for example, on a console game disk).

Following that logic, there's potential for faster loadings when packing assets but as far as tf2 is concerned, it's always loading slow no matter what :chord:
 

Xbmann

aa
Jul 8, 2019
63
52
Having assets packed into a map or into a vpk has the advantage of compression through repacking. This makes them better for taking up less disk space compared to putting everything into the custom folder. It's also one less step for someone trying to download the map when all of the required assets are already there. I don't think any slight performance boost would offset these very big advantages.