Closed GoogleCodeExporter closed 9 years ago
thanks, I'm applying it later today
Original comment by erwin.coumans
on 18 Nov 2009 at 11:14
can you please check if latest trunk compiles?
Also, you could help with some test with the bParse .blend reader?
Enable this define in gamekit/main.cpp
#define TEST_ECHO_BLEND_READER 1
If you are using Blender 2.49 files created using a Blender with the same
architecture (32/64bit little/endian) as your native machine, the structures
can be
used without conversion, so it should be faster. Then you can use the
autogenerated
structs in the gamekit/autogenerated directory for easy .blend data access.
Note that only graphics is converted with bParse (TEST_ECHO_BLEND_READER)
Original comment by erwin.coumans
on 19 Nov 2009 at 12:26
Hi,
I have tested the bParse .blend reader with the blends included in the gamekit
directory and everything went fine (also the BigEndian one). But I also tried a
64-bit file and I had this error:
[lordloki@localhost gamekit]$ ./GameKit ~lordloki/Escritorio/Nature.blend
argv[0]=./GameKit
Usage:
GameKit [-verbose] [blendfile.blend]
Irrlicht Engine version 1.6
Linux 2.6.29.6-desktop-1mnb #1 SMP Sun Jul 5 19:57:54 EDT 2009 i686
Using renderer: OpenGL 3.0.0
GeForce 8800 GT/PCI/SSE2/3DNOW!: NVIDIA Corporation
OpenGL driver version is 1.2 or better.
GLSL version: 1.3
Invalid blend file...
cannot read Blender file /home/lordloki/Escritorio/Nature.blend.
You can download the file from here:
http://www.mediafire.com/file/u3mzmqouuvy/Nature.blend
This file is from the last BGE competition.
P.S. I had to add string.h and stdlib.h in bDNA.cpp to can compile the Gamekit
binary.
Regards
Original comment by jbernalm...@gmail.com
on 19 Nov 2009 at 9:49
I forgot it.... my architecture is 32-bit
Original comment by jbernalm...@gmail.com
on 19 Nov 2009 at 9:50
[deleted comment]
Thanks, I'll have a look at it.
By the way your Nature.blend gives python scripting errors when running it into
Blender
2.49 and 2.49b BGE.
Is there a Blender / BGE version that it works for?
Cheers,
Erwin
Original comment by erwin.coumans
on 20 Nov 2009 at 3:12
Yes, I have played it in an official Blender 2.49b for linux.
Also, you can try this one (i think is 64bit file too)
http://theboomshelter.com/crap/slideshow.blend
or if you could supply me a simple 64-bit blend file i could test it.
Original comment by jbernalm...@gmail.com
on 20 Nov 2009 at 4:54
Thanks for the feedback.
Can you check out svn revision 100?
Original comment by erwin.coumans
on 20 Nov 2009 at 11:22
Hi,
As Nature.blend as slideshow.blend give the following error:
lordloki@localhost gamekit]$ ./GameKit ~lordloki/Escritorio/Nature.blend
argv[0]=./GameKit
Usage:
GameKit [-verbose] [blendfile.blend]
Irrlicht Engine version 1.6
Linux 2.6.29.6-desktop-1mnb #1 SMP Sun Jul 5 19:57:54 EDT 2009 i686
Using renderer: OpenGL 3.0.0
GeForce 8800 GT/PCI/SSE2/3DNOW!: NVIDIA Corporation
OpenGL driver version is 1.2 or better.
GLSL version: 1.3
Invalid blend file...
cannot read Blender file /home/lordloki/Escritorio/Nature.blend.
I have been investigating and it seems that both files don't have the right
file-header (BLENDER_v249 or in this case BLENDER-v249).
Moreover Blender 2.5 can open them without problems.
By other way, I have played right 64bit files like this one
http://projects.freefac.org/rigamarule/EXAMPLES/test.blend (with its right
BLENDER-v249 file-header) and they were opened without problems.
Original comment by jbernalm...@gmail.com
on 21 Nov 2009 at 10:38
They are zipped .blend files, just unzip them manually for
now
thanks for the feedback, let's close the issue
Original comment by erwin.coumans
on 21 Nov 2009 at 1:24
Original issue reported on code.google.com by
jbernalm...@gmail.com
on 17 Nov 2009 at 10:44Attachments: