[Bf-committers] Import OS in future gameblender..
Brecht Van Lommel
06 Jan 2004 21:48:46 +0000
On Tue, 2004-01-06 at 18:53, Kiernan Holland wrote:
> I know the issues surrounding having scripts that can
> launch viruses and such into computers by being executed..
> That's a malicious use of something that can also be used for good..
> The idea I had was using gameblender runtimes as autoexecute frontends
> for CDROM install disks (for windows in this case).. I went looking around
> for support in 2.25 of
> the "inport os" so I could fork an install from a gameblender runtime, and
> found it was not possible.. I was wondering if there is interest in the
> to build something like this into gameblender, and what the state is of the
> source at this point..
I don't know about blenderplayer, but i know it is possible to 'import
os' in a python script in the game engine, when using a normal version
of blender. If you remove all other windows and headers, and enable
autostart in the game menu, blender just looks and acts like
blenderplayer. You'd just have to pass a blender file to the blender
executable in autorun.inf.