I was thinking of making a tool that would allow you to quickly (ex: drag and drop) take a map and zip up the map and all of its dependencies, and warn about missing files and such. Then I thought, "That's something somebody in the community could probably do!"
Here's what I had in mind:
Drag and drop the BSP file onto the program, and it would:
- Verify that the map is in the appropriate directory and add it into the appropriate directory in the zip file (ex: pball/maps/beta).
- Load the map and check all textures for non-standard textures, add the textures to the zip, verify that low res textures are available for all textures, verify that all textures are power of 2 resolutions.
- Check "requiredfiles" in worldspawn and add any necessary files there (if an r_script, add all texture dependencies within the rscript and verify that the low res textures are there, the textures are powers of two, etc. as above).
- Check "func_models", and add any non-standard md2 or skm files, along with dependencies (skp, texture files, etc.)
- Check "sky" in worldspawn and include any non-standard env files (and verify that low res versions are available, power of 2, etc.)
- Check for mapinfo file and include if available.
- Check for mapshot file and include if available.
That would make it a lot easier for mappers using custom content, and there could be an automated way of verifying that all the necessary files are included and set up properly, and no unnecessary files are included.