Skip to content

A simple python script to compile all .vmf files in the same directory. Easily customisable and fast!

License

Notifications You must be signed in to change notification settings

rob5300/CompileAllVMFs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Compile All VMFs

This simple python script gets all avaliable .vmf files in the same directory and compiles them at the same time. All maps are sent to vbsp, vrad then vvis.

Customisation

Edit these variables inside the script to ensure it works with your hl2/source installation.

  • hl2bindir: The directory where your vbsp, vrad and vvis executables are found. Set this to your hl2 or other source game bin folder
  • targetmapdir: Where the finished maps will be placed once they have finished their compile process.
  • copyToAdditionalFolder: Set to True or False to tell the script to copy the finished file to an additional directory after.
  • additionalmapDir: The additional directory to copy to if enabled.

Advanced options to customise, these will need to be changed if your are not on windows to target the correct file name.

This script uses threading to compile maps at the same time to ensure it finishes faster. Certain errors are caught and displayed at the end of execution. If one isn't and you would like to see it please open an issue/pull request.

About

A simple python script to compile all .vmf files in the same directory. Easily customisable and fast!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages