• Remove content from a BSP file?
    4 replies, posted
Hey there facepunch! I used VIDE in order to load up custom and CSS content onto my map, however, it seemed to pick up on a file that I deem unnecessarily large and wish to take out. I attempted to delete the content using PAKRAT, aswell as VIDE, however it breaks the map for whatever reason resulting in lots of mission textures. Does anybody have any ideas? Thankyou!
Sounds like you're using a custom texture/material, pakrat is including that and so when you delete it it shows missing texture. You might make a "smaller" replacement of the texture, simply scale it down and include the scaled down version instead?
I'm actually interested in removing the textures from the map in order to simply have users download them from workshop, rather than one huge download of 500MB off my fastDL, however, it seems that upon removing the unnecessary textures, rather than them becoming purple checkers, the entire map breaks alltogether.
Compile it again, without packing anything. Then zip the used custom content?
Here is what i did to prepare map for workshop that had big file size. 1)Unpack map contents with gcfscape to some folder. 2)Use spacesniffer or windirstat to scan this folder. 3)Once you find out what takes the most space on the bsp there are two options: 3a)Work in folder with contents and using vtfedit convert vtf files to jpg, scale them down in gimp and then convert to vtf file again. 3b)Find vmt of the texture that takes a lot of space and go your game materials directory where you have this texture mounted and do procedure from 3a) but save new vtf directly in games material directory 4a)If you did step 3a using pakrat/vide remove old content from the bsp and pack the contents from new folder. 4b)If you did step 4a using pakat/vide remove old content and pack it again this time scanning game files as always. I personally always like to change the original files (the one mounted in games materials directory) Its safer for if you later want to change your map and update it you don't have to go through step 3a and 3b again.
Sorry, you need to Log In to post a reply to this thread.