Reimplementation of Captain Claw (1997) platformer
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
Box2D Added libsigc++3.0 library, migrated to MS 2017 windows build Nov 4, 2018
Build_Release Added libsigc++3.0 library, migrated to MS 2017 windows build Nov 4, 2018
ClawLauncher Change expected config path for package installed OpenClaw to ~/.conf… Aug 23, 2017
MidiProc Added libsigc++3.0 library, migrated to MS 2017 windows build Nov 4, 2018
OpenClaw Added libsigc++3.0 library, migrated to MS 2017 windows build Nov 4, 2018
Release Added libsigc++3.0 library, migrated to MS 2017 windows build Nov 4, 2018
Scripts Fix package_rpm script to use openclaw instead of captainclaw Aug 24, 2017
ThirdParty Added libsigc++3.0 library, migrated to MS 2017 windows build Nov 4, 2018
libsigc++3 Added libsigc++3.0 library, migrated to MS 2017 windows build Nov 4, 2018
libwap Added libsigc++3.0 library, migrated to MS 2017 windows build Nov 4, 2018
libwap_tests Added libsigc++3.0 library, migrated to MS 2017 windows build Nov 4, 2018
.gitattributes Configured LFS for large files Mar 8, 2017
.gitignore Added libsigc++3.0 library, migrated to MS 2017 windows build Nov 4, 2018
.travis.yml fix secure COVERITY_SCAN_TOKEN variable Apr 19, 2017
Android.cmake add initial travis job for android Apr 19, 2017
CMakeLists.txt Rename project to OpenClaw Aug 22, 2017
LICENSE.txt Added LICENSE.txt file. Just to be on the safe side. Mar 18, 2017
OpenClaw.sln Added libsigc++3.0 library, migrated to MS 2017 windows build Nov 4, 2018
README.md Updated README.md Nov 4, 2018
appveyor.yml Updated appveyor.yml to use VS 2017 Nov 4, 2018
compile_linux.sh Add assistant to compile on linux Jun 15, 2017
travis.sh fix coverity: add claw dependencies Apr 19, 2017

README.md

OpenClaw - Captain Claw (1997) reimplementation

  • This project is a multiplatform C++ reimplementation of original Captain Claw (1997) platformer game
  • Whole codebase was written from scratch
  • Game uses assets from original game archive (CLAW.REZ)

Level 1 youtube playthrough:

OpenClaw - Level 1

Build status

Windows:

Build Status

Linux (debian):

Build Status

Static analysis / Code coverage:

Static analysis

Tech

  • SDL2 Libraries (SDL2, SDL_Image, SDL_TTF, SDL_Mixer, SDL2_Gfx) for graphics, input, font and audio
  • Box2D Library for Physics
  • Tinyxml library for data-driven approach

Building and running

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

Windows

  • Project contains VS2017 solution with all libraries and include directories preset
  • Box2D is generated by CMake and it hardcodes the file paths. If you want to compile it on your own, you must run CMake on the CMakeLists.txt in the Box2D root directory
  • Do not try to use different versions of SDL libraries than the ones which are already included in the Build_Release folder

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 libtinyxml-dev

Compilation:

  • git clone https://github.com/pjasicek/OpenClaw.git
  • cd OpenClaw
  • mkdir build
  • cd build
  • cmake ..
  • make -j4 (for best performance, replace "4" with whatever number of simultaneous threads your machine can run)
  • cd ../Build_Release
  • ./openclaw (Considering you have CLAW.REZ from original game in the same folder)

Remarks:

  • For hearing background music play, you need to install timidity (or timidity++) and freepats. Some linux distributions come with it by default, some do not (fedora, archlinux)
  • Dooes not work with SDL 2.0.6 - if you have the latest one from repository, you should be fine

Android

  • Compilation / Deployment steps will be updated in near future, game itself is successfully running on Android

In-game images

  • TODO - add screenshots

Claw Launcher

  • Precompiled for Windows natively and for Linux use thorugh Mono runtime
  • Locates Claw binary and corresponding config.xml file
  • Provides GUI to modify configuration (Video/Audio/Assets)

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

  • TODO - add screenshots