PDA

View Full Version : Loading at runtime


EnvisMJ
06-21-2010, 02:59 PM
We are trying to load some files at runtime, rather than package them with the exe, and we are having some problems.

First off, we are trying to load a .txt file with data in it at runtime. So we can modify the .txt to make changes when running the .exe

Second, we are trying to import a .py, or .pyc file at runtime so that we can import some variables for configuration.

Third, we are trying to import some image files for texture so that they aren't included in the .exe in an uncompressed format.

Any help with any of these three would be greatly appreciated.

farshizzo
06-21-2010, 03:04 PM
This should all be possible. What exactly is the problem? Are you getting any error messages?

farshizzo
06-21-2010, 04:33 PM
Also, have a look at the docs for publishing to an EXE, specifically the viz.res.getPublishedPath command.

EnvisMJ
06-22-2010, 03:30 PM
Thanks Farshizzo, one of our developers is looking into that. I think he just managed to get it working. Thanks! :-)