WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Loading at runtime (https://forum.worldviz.com/showthread.php?t=2796)

EnvisMJ 06-21-2010 02:59 PM

Loading at runtime
 
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! :-)


All times are GMT -7. The time now is 12:30 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC