Page MenuHome

Launch game using the fine gamekit engine
Closed, ArchivedPublicPATCH

Description

Project: Blender Extensions
Tracker: Py Scripts Upload
Blender: 2.53
Category: Game Engine
Python: 3.1
Script name: Gamekit Engine
Wiki page: http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Gamekit_Engine
Author(s): xat
Status: Closed

Use the Gamekit game engine released under non copy-left opensource license:

http://code.google.com/p/gamekit

The game engine is still under heavy development but in testable state. This add-on is fully functional.

Event Timeline

Two problems.

Strange, shlex.split() can't handle windows seperate char '\'.

Need some modification on windows.

Line: 361
args = shlex.split(cmdline.replace(os.sep, '/'))


And, If the blend file was not saved, relative path is changed like this after click start button,

//..\..\..\lib\gamekit\build\bin\RelWithDebInfo\OgreKit.exe

->

C:\Users\harkon\AppData\Roaming\Blender Foundation\Blender\2.52\config\..\..\..\lib\gamekit\build\bin\RelWithDebInfo\OgreKit.exe

Thanks for the feedback.

The new version 06 correct the first issue. Regarding the transformation of the path form relative to absolute, this is on purpose, using relative path for binary executable will result in a "file not found" exception. It can be done so the transformation is not visible by the user but I preferred like it is now for the user to have more feedback when Gamekit does not start.

I found that using this script while having multiple instances of blender running can cause one or more of the running blender app to crash when exiting the game.

I have no idea why (coming form the subproces.popen stuff i guess) and it might take some time to find a solution, so be extra careful.

In fact it seems some kind of random bug that happen even with only one blender instance.

I tried to catch the error while debugging but had no chance in trying to reproduce it (only when working/testing).

Here is the output when crashing:

X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 18 (X_ChangeProperty)
Resource id in failed request: 0x1a0404c
Serial number of failed request: 12399
Current serial number in output stream: 12402
AL lib: ALc.c:1879: exit(): closing 1 Device
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)

Nothing more. Anyway I should probably open a bug for blender or xorg or my graphic driver but people here might want to be advised.

I am on Linux 64bit with nvidia proprietary driver.

Xavier Thomas, thanks. This looks really cool and has sweet licensing XD

Good luck squashing that bug.

Update of for the RNA changes. Hopefully RNA changes still to come won't affect this script.

Regarding the crash I cannot reproduce it anymore.

Fix for enabling the addon in the userpref UI.

Hi,
Is this script still being developed?
If you could let us know here the status of any 2.57 versions it would be great.

Check the latest revsion on Gamekit rep.
It is working with 2.57.

http://gamekit.googlecode.com/svn/trunk/BlenderAddon/
http://code.google.com/p/gamekit/source/browse/#svn%2Ftrunk%2FBlenderAddon%2Fgame_gamekit

Hi,
Just a Reminder for people to Join the Mail List.
If you have not already, please visit this page:
http://lists.blender.org/mailman/listinfo/bf-extensions-cvs
& join the list.

Hi,
Due to changes to the api including the merging of bmesh, several addons are outdated.
Please, if you are the author of an addon check your script with blender revision 44256 or newer.
That is builds made After blender 2.62 official release.
I would ask that updates be made to your addon before the Blender 2.63 release.
6-8 weeks away.
This allows time for the api to become more exposed & bmesh to stablize furthur.
If you need help, drop into irc freenode #blenderpython or #blendercoders & feel welcome to ask questions.
At the time of 2.63 release, scripts that are not repaired or in active developement will have their tracker page marked "Closed"
this will not affect your links to the tracker, similar to closing scripts in 2.49b, the page will be still availible & can be re-opened.

Thanks for your understanding & patience during these Exciting Times.
Brendon.

hi xat,
I notice your developing this at you code.google site, it looks like you have everything working well there.
Currently I'm still unsure of the working state of this addon.
I'm closing this page for now. as part of 2.63 cleanup.
If you want to resubmit your addon please let me know & this page can be reopened easily.
Thanks for your addon & interest in Blender.
Brendon.

Brendon Murphy (meta-androcto) changed the task status from Unknown Status to Unknown Status.Apr 16 2012, 9:22 AM