This allows you to remove sections when editing .vmf files.
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Why make this? Well, if I was to make a texture pack for instance, and I didn't want to have to keep highlighing and backspacing duplicate lines I have already checked, then this script will help to remove those lines so that I don't have to go over the same textures.
It is very niche I know, but thought it might help or be useful for someone.
Prerequisites: Python A knowledge of how to run python scripts Copies of your original VMF files
How to use:
Spoiler:
Show
1. Download script. 2. Put script into your folder that has your newly copied .vmf files 3. Open script in IDE or text editor and look for line 57 (which says "if re.search(r'"material"\s+"tools/toolsnodraw"', stripped_block_line, re.IGNORECASE):") 4. For example, if you wanted to remove the pier wood you would replace "tools/toolsnodraw" with "wood/pierwoodd". You can edit this to whatever materials you'd like to have removed. 5. Run script in whatever terminal you use (cmd, powershell whatever) 6. Cleaner .vmf files now!