blendStarter

Multi Platform Game Export Script For Blender

gameBlender Info Files: G A M E - E X P O R T E R

- blenderStarter alows stand alone games so gamers don't need to have Blender installed
- Port your Blender game to different platforms in no-time from within Blender itself
- Protect copyrighted game data from falling automatically under Open Source license (see Blender FAQ)

D E S C R I P T I O N

This export script for Blender will help game designers using gameBlender quickly port their games without the need of compiling the executables for different platforms for every game or version. They just select the platforms to export :)

This also keeps the game engine and game data seperated. An additional advantage of this is that your game data not automatically falls under the same license as the game engine executable. From the Blender FAQ:

So I can make games without having to worry about the GPL, right?
That is correct, games are program output and therefore not covered by the GPL. The Blender team is committed to making sure that Blender can be used for both GPL and non-GPL games without any license conflicts. With stand-alone games however, any data that is included inside the actual stand-alone executable is covered by the GPL, if this is a problem then you should set up the stand-alone player so it reads from external .blend files.
see Blender FAQ

I N S T R U C T I O N S
- Download and Unzip the files into your Blender Scripts folder.
- Open your game.blend and select File > Export > Game Runtime (Multi Platform)...
- Enter thename of your runtime and click export
- Create a zip or setup file for distribution

D O W N L O A D S
Each download contains all Operating Systems currently available in different versions. If you created your game using Blender version 2.42, you'll need the Game Exporter version 2.42.

blendStarter.blend blendStarter Blender file (To compile the 'missing' systems (And send'em in))

GameExport242rc3 ( Linux, Windows & MacOSX )
GameExport241 ( Linux, Windows & MacOSX )

P L A T F O R M S
As I can make the Windows version, I'm unable to create a Linux and other versions of the runtime. If you find your platform unavailable in the Game Exporter, please download the blendStarter.blend file, save it as runtime and send me a zipped version.

K N O W N P R O B L E M S
- There's still a problem with the export folder, if the dir name is too long.
- The Protect game option is not implemented
- The script itself is a big mess and needs to be cleaned up

L I C E N S E
The Game Exporter files are under the same license as Blender itself. This license excludes the game blend file and it's content.

F A Q
Here's a small FAQ to answer the most common questions.

Does Game Exporter protect my blend file from being opened in Blender?
No, it however does protect your copyright over the blend file and its content. However, when you would embed the game data inside the stand alone runtime (like it normally does) your game data falls under the same license as the game engine. again see this Blender FAQ

All very cool but why not just supply the blend file?
That's a reasonable thought. But don't forget the large group of potentionally gamers that don't know or have Blender installed. These users are of different platforms and might be looking for stand alone games.

P R O T E C T I O N
To protect your .blend file itself from being read into Blender I found the folowing trick; First of all make a copy of your game file you want to protect. Open the copy into Blender, add a new text and enter the folowing code:

import Blender
Blender.Quit()

Next activate scriptlinking, select onload and link it to the text. When you now save your blend file it automatically closes Blender when you're trying to open the file.

T H A N K S
Joppe (for the Mac 2.41 Runtime)
Charolastra (For the Linux 2.37 Runtime)
DareDemo (for information about Mac and Runtimes)
Verblendet (For the Linux 2.41 and 2.42RC3 Runtimes)
And the kind people in #Blender and #BlenderChat on irc.freenode (For they help, comments and suggestions)

www.blender.googlepages.com