Home

Awesome

OpenClaw - Captain Claw (1997) reimplementation

Level 1 youtube playthrough:

OpenClaw - Level 1

Build status

Windows:

Build Status

Linux (debian), macOS, Windows, Android, Emscripten:

Build Status

Static analysis / Code coverage:

Static analysis

Tech

Building and running

For all platforms you will need original CLAW.REZ game archive in Build_Release directory from original game

Zip all content inside Build_Release/ASSETS directory to ASSETS.ZIP file.

Windows

  mkdir build
  cd build
  
  cmake -G "Visual Studio 15 2017" ..
  msbuild OpenClaw.sln
  # Or
  cmake -G "NMake Makefiles" ..
  nmake

Linux

Prerequisites for Ubuntu 16.04 (should be almost identical for Fedora/CentOS/*):

sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-gfx-dev

You could also install libtinyxml-dev but this library will be compiled and linked from ThirdParty/Tinyxml directory. Edit root CMakeLists.txt file to change this behaviour.

Compilation:

Remarks:

Android

WebAssembly (Emscripten)

The project can be compiled as wasm code. This code is executed by modern web browsers without any additional runtime dependencies. Compiled once this code can work on any devices with different operation systems.

Compilation:

Run:

You will need web server to run compiled project. There are 2 options:

Remarks:

There are some limitations:

In-game images

Claw Launcher

For Linux

Prerequisites for Ubuntu 16.04 (should be almost identical for Fedora/CentOS/*):

sudo apt install mono-runtime libmono-system4.0-cil libmono-system-windows-forms4.0-cil

Then run it like this:

~/OpenClaw/Build_Release$ mono ClawLauncher.exe