blender/source/gameengine
Mitchell Stokes 5c23537daa Committing patch [#23278] (by me)
This patch allows a user to pass binary data to LibLoad() to load a blend file from memory instead of a file path. I don't know how useful this will be for others, but I've used it so far for:
  * Decrypting .blend files and loading them without having to store the .blend on the hard drive
  * Pulling .blend data out of an archive and loading it (again skipping the hard drive)

So, it seems the biggest use for this is skipping a bit of file IO (and possibly some security problems).

Example usage:
import bge

with f as open('myfile.blend', 'rb'):
    data = f.read()

bge.logic.LibLoad('Name', 'Scene', data)
2010-08-28 02:07:55 +00:00
..
BlenderRoutines BGE bug #23213: VBO preference make object with modifiers crash the BGE. Fix by disabling VBO inside the BGE, it brings no advantage anyway. 2010-08-23 20:53:02 +00:00
Converter Committing patch [#23278] (by me) 2010-08-28 02:07:55 +00:00
Expressions Py API (GSoC): Second merging commit 2010-08-16 12:14:09 +00:00
GameLogic Py API (GSoC): Second merging commit 2010-08-16 12:14:09 +00:00
GamePlayer own rna naming commits r31439 r31472 also renamed BGE vars unintentionally 2010-08-26 23:49:46 +00:00
Ketsji Committing patch [#23278] (by me) 2010-08-28 02:07:55 +00:00
Network Update address in license block. 2010-08-10 21:22:26 +00:00
Physics Update address in license block. 2010-08-10 21:22:26 +00:00
PyDoc Committing patch [#23278] (by me) 2010-08-28 02:07:55 +00:00
Rasterizer Update address in license block. 2010-08-10 21:22:26 +00:00
SceneGraph Update address in license block. 2010-08-10 21:22:26 +00:00
VideoTexture Update address in license block. 2010-08-10 21:22:26 +00:00
CMakeLists.txt correct fsf address 2010-02-12 13:34:04 +00:00
Makefile Update address in license block. 2010-08-10 21:22:26 +00:00
SConscript option to build the BGE without python, uses existing python check (cmake and scons) 2009-09-29 21:42:40 +00:00