[Bf-committers] Re: [Bf-blender-cvs] CVS commit:
blender/source/blender/blenkernel/intern
world.c blender/source/gameengine/Converter BL_ActionActuator.cpp
KX_BlenderSceneConverter.cpp
Joe Eagar
joeedh at gmail.com
Thu Apr 27 21:39:30 CEST 2006
Erwin Coumans wrote:
> erwin (Erwin Coumans) 2006/04/27 06:37:20 CEST
>
> Modified files:
> blender/source/blender/blenkernel/intern world.c
> blender/source/gameengine/Converter BL_ActionActuator.cpp
> KX_BlenderSceneConverter.cpp
>
> Log:
> make Bullet default physics engine. However, it still loads some default .blend that set's sumo default. todo: find out about this.
> commented out some code that makes Blender crashing, after leaving the game engine (armature deletes some pose, which deletes constraints, which are still in the dependency graph. Ask Charlie)
>
Basically, what you do is get a clean .b.blend (e.g. move the one you
have to a different folder temporarily), change what needs to be
changed, then datatoc it (datatoc converts a binary file to a C file in
the form of an unsigned char array).
Some more detailed steps:
1. Find your .b.blend. Under scons, this may be (starting in the head
blender dir) ../install/[platform]/.blender/.B.blend . Other locations
to look are in $HOME/.blender and the directory the blender executable
is in.
2. Rename it, move it, delete it, whatever. Start blender, and it will
create a new .B.blend. If it doesn't, then you may have the wrong
directory (e.g. if you maintain both a personal cvs build and an
official release on the same computer).
3. Make the changes (no need to load the .B.blend, just use an empty
file), making sure you don't accidentally change something you should'nt
by accident (e.g. make sure the 3D view is in the same camera
angle/position).
4. Press CTRL-U. This will save the current open file to the .B.blend.
5. Go (in the source) to release/datafiles. Compile datatoc.c (gcc
datatoc.c -o datatoc if your on gcc, don't forget ".exe" if you're on
windows). Copy the new .B.blend file to this directory.
4. Execute datatoc, feeding it .B.blend. Do this from the command line,
as (at least in windows explorer) dragging .B.blend into datatoc can
mess up the internal name of the char array by feeding it the whole path
to .B.blend. An example on a *nix shell would be "#./datatoc .B.blend"
5. Copy the resulting file, .B.blend.c, to source/blender/src.
Hope this helps!
joeedh
More information about the Bf-committers
mailing list