VMF Optimizer
Jump to navigation
Jump to search
VMF Optimizer | |
---|---|
![]() | |
Download | |
Type | Open source Third Party Tool |
Developers | dabmasterars |
Engine | ![]() |
Platforms | ![]() |
VMF Optimizer is an open-source program that reduces the file size of VMF files. The tool was designed with Team Fortress 2 in mind, but can work with any
Source game.
Features
The program will remove VMF parameters that have default values. When the modified file is opened, Hammer will fill the missing parameters with default values; nothing changes, hence lossless optimization.
Maps made in Hammer and Hammer++ can be compressed to around 75-80% and 50-60% of their original size respectively. After the program had finished optimizing, a log file will be generated, containing detailed statistics about the amount of space saved.



Instructions
- Launch vmfoptimizer.exe.
- Drop your .vmf file into the command window or type its directory manually.
- After several seconds, the optimized vmf will be created in the same directory as the original file.
- You can continue adding files and perform the optimization consecutively with each file.
- To edit the settings, open "settings" file and change the parameters. The parameters are explained at the bottom.
Settings
The settings can be changed inside "settings.ini" file.
- verbose (bool)
- If 1, the program outputs more information. Affects log. Defaults to 0.
- remove_vertplus (bool)
- If 1, vertices_plus data is removed (Hammer++ only). Defaults to 1.
- remove_ws (bool)
- If 1, whitespaces, tabs and newlines are removed. Defaults to 1.
- savelog (bool)
- If 1, a log file is made after the program stops working. Defaults to 1.
- tag (bool)
- If 1, tags the file as optimized, preventing the files to be optimized again. Defaults to 1.


External links

|