Selective file inclusion (continued)
Based on a little observation, I've made the following changes to the publish routine on the beta branch:
The FPS Player script has been updated so that the footstep sound files are explicitly named, so they don't get missed in the publish step. You will need to update your project to get the new script (or just copy FPSPlayer.lua to your project).
There is now a checkbox to "Only include used files". If this is checked, then the new packing routine will be used, otherwise the old behavior of including all files is used.
The file extension filter will now be used so you can include files like XML, TXT, or whatever else you want.
The routine has been fixed to pick up terrain textures and include those.
A few people suggested a "tagging" system so the user can mark files to be included or not. This is a very bad idea. The whole point of the selective file inclusion system is that the user doesn't want to maintain a clean directory. So adding a manual system to overcome the limitations of the automatic system...it would be easier just to delete the unwanted files. When your feature requests lead to more feature requests, to fix the problems of the previous feature, that is a strong sign of bad design. So we won't be going down that path.
If you are using the selective file inclusion and you want to force a file to be included that would otherwise be impossible to detect, an easy way to do this is to just add a commented-out line in your main script that names the file:
--myfile.tex
Anyways, the new build is available now on the beta branch. Let me know how you like it.
- 13
17 Comments
Recommended Comments