blender/source/gameengine/PyDoc
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
..
API_intro.py PyAPI 2010-04-11 14:22:27 +00:00
bge_api_validate_py.txt Name attributes added since 2.48a more consistently. 2009-05-15 03:26:53 +00:00
bge.events.rst == python api docs == 2010-06-07 23:50:43 +00:00
bge.logic.rst Committing patch [#23278] (by me) 2010-08-28 02:07:55 +00:00
bge.render.rst BGE doc updates: 2010-07-16 09:10:46 +00:00
bge.types.rst Fixing a typo in the BGE Python API: 2010-07-30 04:57:27 +00:00
epy_docgen.sh - Added an intro page for the BGE docs rather then using GameLogic 2009-05-20 01:11:56 +00:00
how_to_build_win.txt BGE API DOC: a guide on how to build epydoc for windows 2010-03-30 06:37:44 +00:00
PhysicsConstraints.py BGE EPY Docs: PhysicsConstraints and fixes in other modules 2010-04-20 08:23:22 +00:00
VideoTexture.py - correct some spelling errors. 2010-07-20 10:41:08 +00:00