Skip to content
A very nearly complete clone of classic DOS game Commander Keen, written in C/C++
C Makefile C++ VBA Standard ML OCaml Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Releases
bin
build
data/GAMEDATA/KEEN1
src
tools
.gitattributes
.gitignore
LICENSE
README
README.md

README.md

clonekeen

A very nearly complete clone of one of the classic DOS game, Commander Keen: Invasion of the Vorticons by ID. The game is written in pure C, uses SDL, and is generally very easy to compile on most platforms. The original author is Caitlin Shaw. For more info see http://clonekeen.sourceforge.net/?nav=main

How to Play

Find pre-packaged, downloadable copies of clonekeen under Releases below. Simply extract and play

Controls

  • Arrows - Move Keen around
  • Ctrl - Jump
  • Alt- Use Pogo/Stop Pogo (if you have one)
  • Ctrl AND Alt - Fire raygun (if it has charges)

Releases

Downloadable game packages available in Releases. All versions come packaged as zip files with game data. Just extract and run. On Linux, you'll need the SDL 1.2 runtime installed. Other versions come pre-packaged with SDL

Building

You can clone or download the chocolatekeen repo and build it yourself

Linux

For Linux builds you'll need a C compiler (e.g. gcc) and toolchain. The setup varies between distros. For Ubuntu you can install the build-essential package via sudo apt-get install build-essential. Once you have that setup:

  1. Install the SDL 1.2.15 development libraries. This varies between Linux distros. For Ubuntu it's sudo apt-get install libsdl1.2-dev
  2. Launch a shell
  3. Navigate to /build/linux
  4. Run ./build_linux.sh

Windows (MinGW)

This is a Makefile project. To build for Windows you'll need something like MSYS2 and a gcc toolchain

CloneKeen uses a legacy version of SDL (1.2). At the time of writing there are no 64-bit development libraries available for Windows. You'll need to use a 32-bit gcc toolchain. Find setup instructions here

  1. Download and unzip SDL 1.2.15 development libraries: https://www.libsdl.org/download-1.2.php
  2. Launch a UNIX shell
  3. Navigate to /build/MingGW
  4. Run ./build_mingw32.sh /path/to/SDL2 e.g. ./build_mingw32.sh /d/Development/SDL-1.2.15

Game data is automatically copied to the build Directory before compilation

Windows (Visual Studio)

Build and Debug with Microsoft Visual Studio / Visual C++

  1. Navigate to /build/Visual C++
  2. Open Solution file (clonekeen.sln) in Visual Studio
  3. Restore NuGet dependencies (Project -> Manage NuGet Dependencies > Restore)
  4. Build (Build > Build Solution)
  5. Run (Debug > Start Without Debugging) or Debug (Debug > Start Debugging)

Game data is automatically copied to the Target Directory as part of build - so everything should "just run"

Authors

The original author of clonekeen is Caitlin Shaw. For more info see http://clonekeen.sourceforge.net/?nav=main

You can’t perform that action at this time.