All Programs Sources

Contents:

  1. Introduction
  2. Download

1. Introduction

Sources for all final programs related to our engine may be downloaded below.

  1. Download the sources that interest you, and additionally download Castle Game Engine sources. Unpack them anywhere you like.

  2. Compile the program:
    • You can compile using Lazarus.

      1. Install Lazarus (along with Free Pascal Compiler).
      2. Compile in Lazarus the engine packages in castle_game_engine/packages/.
      3. Open and compile in Lazarus the program xxx.lpi project file.
    • Or you can use our build tool to compile.

      1. Install the build tool (along with Free Pascal Compiler).
      2. Then compile the game by running the castle-engine compile command inside it's directory. castle-engine will find the CastleEngineManifest.xml file and use it.
      3. Most games include also a Makefile that calls our build tool, so you can also just run make to compile.
  3. Install the required libraries. See engine documentation for the list of libraries we use, and see download page of each particular program.

  4. Optionally install required program data. In most cases you don't have to do anything — as programs below either don't have any data, or they use smart function (ApplicationData) to detect data directory. It will automatically use current directory, if the data is there.

    On Unix you can also move/symlink data to $HOME/.local/share/xxx or /usr/local/share/xxx or /usr/share/xxx. You can do this easily by executing make install inside program directory.

The sources below contain everything you need. Source code (units, program files), scripts, also game data sources (GIMP *.xcf files, Blender *.blend files and so on). Everything is open source, GNU GPL >= 2.

2. Download

view3dscene source code:

Stable version: Download sources of view3dscene.
The stable version is compatible with the latest Castle Game Engine version 6.4.

Unstable (latest) version: You can download it from the GitHub: https://github.com/castle-engine/view3dscene
It is compatible with the latest Castle Game Engine version from GitHub.

glViewImage source code:

Stable version: Download sources of glViewImage.
The stable version is compatible with the latest Castle Game Engine version 6.4.

Unstable (latest) version: You can download it from the GitHub: https://github.com/castle-engine/glviewimage
It is compatible with the latest Castle Game Engine version from GitHub.

castle source code:

Stable version: Download sources of castle.
The stable version is compatible with the Castle Game Engine version 4.1.1

Unstable (latest) version: You can download it from the GitHub: https://github.com/castle-engine/castle-game
It is compatible with the latest Castle Game Engine version from GitHub.

rayhunter source code:

Stable version: Download sources of rayhunter.
The stable version is compatible with the Castle Game Engine version 4.0.1

Unstable (latest) version: You can download it from the GitHub: https://github.com/castle-engine/rayhunter
It is compatible with the latest Castle Game Engine version from GitHub.

malfunction source code:

Stable version: Download sources of malfunction.
The stable version is compatible with the Castle Game Engine version 4.0.1

Unstable (latest) version: You can download it from the GitHub: https://github.com/castle-engine/malfunction
It is compatible with the latest Castle Game Engine version from GitHub.

kambi_lines source code:

Stable version: Download sources of kambi_lines.
The stable version is compatible with the Castle Game Engine version 4.0.1

Unstable (latest) version: You can download it from the GitHub: https://github.com/castle-engine/kambi-lines
It is compatible with the latest Castle Game Engine version from GitHub.

glplotter and gen_function source code:

Stable version: Download sources of glplotter and gen_function.
The stable version is compatible with the Castle Game Engine version 4.0.1

Unstable (latest) version: You can download it from the GitHub: https://github.com/castle-engine/glplotter
It is compatible with the latest Castle Game Engine version from GitHub.

glinformation and glinformation_glut source code:

Stable version: Download sources of glinformation and glinformation_glut.
The stable version is compatible with the Castle Game Engine version 4.0.1

Unstable (latest) version: You can download it from the GitHub: https://github.com/castle-engine/glinformation
It is compatible with the latest Castle Game Engine version from GitHub.