User-specified search order for text files etc
Posted: Wed Oct 05, 2016 8:45 pm
My porting of projects between Magic versions and different computers would be hugely facilitated if I could specify a search path for GLSLShader files, images etc. My major projects have their assets Collected, but I want to browse others, which are generally broken.
At the moment porting often breaks old projects, and fixing is extremely tedious and time-consuming as every instance of a GLSLShader etc file reference must be located and individually changed. In a multiscene project it usually takes me many attempts to find all the references.
Example. I'm testing a beta-version of Magic, and decide to use the GLSLShader default.txt as a background so I can see where upper layers are transparent.
I always run betas in version-named directories, so every time I make use of a GLSLShader I am embedding an explicit path to a location that could be regarded as temporary. I now understand this, but did not until recently.
If I try to run the same project later, once Magic's out of Beta, the project is broken and hard to fix if the Beta directory is removed. Similar problems arise if library structures have been rationalised/refined/re-arranged since a project was created.
Now that I have fully realised the issues, I understand why I have needed to keep the Beta directories, and multiple copies of libraries so I can browse minor or old projects which have not had their assets collected.
Most problems would be solved if there was a user-specified search order for modules, text files, images etc
I suggest/request that If file is not found (at the explicit location) then search for the filename along the Addition Module Folders paths
At the moment porting often breaks old projects, and fixing is extremely tedious and time-consuming as every instance of a GLSLShader etc file reference must be located and individually changed. In a multiscene project it usually takes me many attempts to find all the references.
Example. I'm testing a beta-version of Magic, and decide to use the GLSLShader default.txt as a background so I can see where upper layers are transparent.
I always run betas in version-named directories, so every time I make use of a GLSLShader I am embedding an explicit path to a location that could be regarded as temporary. I now understand this, but did not until recently.
If I try to run the same project later, once Magic's out of Beta, the project is broken and hard to fix if the Beta directory is removed. Similar problems arise if library structures have been rationalised/refined/re-arranged since a project was created.
Now that I have fully realised the issues, I understand why I have needed to keep the Beta directories, and multiple copies of libraries so I can browse minor or old projects which have not had their assets collected.
Most problems would be solved if there was a user-specified search order for modules, text files, images etc
I suggest/request that If file is not found (at the explicit location) then search for the filename along the Addition Module Folders paths