RegularInstall

From Blender2crystal

Jump to: navigation, search

Instalation procedure:

Contents

[edit] Check Dependencies

  • Python for export (uses zlib and xml libraries), it is usually included in linux distros, but *must* be downloaded by windows users.
  • Python XML should be installed on windows machine. On non-windows systems you can install Python 4 suite instead, to get faster export and less memory usage.
  • Python Imaging is used to generate pngs for terrains, if not present tgas will be generated (installing recommended).
  • CEL for creating scripting games, or cel content. Better if it's the last version from the cvs. Not required if you just want to create worlds or libraries for crystalspace.
  • CELSTART for creating scripting games, or cel content. This is an alternative to cs and cel, only for scripting, you can use latest version for your os, and avoid installation of cs and cel (useful for artists or scripting apps)
  • Blender b2cs 0.6 requires Blender 2.42, b2cs svn - Blender 2.44.

[edit] Download

Download one of the links from the Main Page, or you can check the Download section for more options.

Recommended link: blender2crystal-0.6.0.zip or bz2

[edit] Install

Copy all files and folders in the "scripts" directory into the blender scripts directory
(/usr/lib/blender/scripts/ or ~/.blender/scripts/).

Alternatively on unix systems you can do: "make install" or get Debian Packages.

[edit] Environment variables

You MUST set your CRYSTAL environment variable before entering blender!
Skip this if somehow you have crystalspace (and cel if you want to use this) installed and on unix system.

[edit] Unix

Set from command line (bash example, your directory structure may vary):

export CRYSTAL="/home/user/CS"

Also you can set this in /etc/environment, .bashrc or wherever is better for your system.

Test with bash:

cd $CRYSTAL

...should bring you to the Crystal Space directory

For the CEL variable the procedure is similar, you should only need this if you want to use cel related functionality.

[edit] Windows

You go to "My Computer"->"Properties"->"Advanced"->"Environment Variables" (or something similar :-/).

Here set CRYSTAL variable to the directory where you have crystalspace, and CEL to the directory where cel is located. If you dont want to use cel related stuff you dont need to set the CEL variable.

[edit] Windows XP

Using System in the Control Panel you can set environment variables. Click System, switch to Advanced tab and click the Environment Variables button at the bottom. A new dialog will popup. System variables will stay the same for all users, whereas user variables only exist for that logged on user.

[edit] Note about celstart binary distribution

If you only have binary distribution of celstart just set both CEL and CRYSTAL variables to point there (and then you dont need either cs or cel).

[edit] Test

Reload or open blender and check if export->CrystalSpace exists. Is so run it.

If all works you can go on with the Exporter Manual

Personal tools
Documentation