A port of Stratagus real-time strategy gaming engine for Android.
Branch: android
Clone or download
Latest commit 03f186c Jan 17, 2014
Type Name Latest commit message Commit time
Failed to load latest commit information.
.bzr-builddeb add .bzr-builddeb dir for bzr builddeb May 14, 2010
android version naming changed Jan 17, 2014
cmake/modules Clean up : Use more reference instead of pointer. Aug 9, 2012
gameheaders stratagus-game-launcher.h - Path to data must be escaped on Windows Aug 20, 2012
metaserver Fix main.cpp linking of metaserver Aug 14, 2012
po Moved international po files to po subdir Mar 26, 2011
src android: remove menu, virtual key fix, lib structure mod Oct 17, 2012
.bzrignore Ignore some files generated by CMake for VS Feb 25, 2012
CMakeLists.txt Release version 2.2.7 Aug 20, 2012
README Updated info in doc/changelog.html, renamed it to name with lower chars Aug 9, 2011
README.md added readme with instructions for building android version Oct 17, 2012


Getting everything built


  1. Android SDK
  2. Android NDK (revision 8b)
  3. Apache Ant
  4. SCons


SDL (1.2.15), libpng (1.2.50), lua (5.1.5), tolua++ (trunk)


Make a directory and clone Stratagus and libs repos to it:

mkdir _some_dir_
cd _some_dir_
git clone https://github.com/drodin/Stratagus.git
git clone https://github.com/drodin/SDL.git
git clone https://github.com/drodin/libpng.git
git clone https://github.com/drodin/lua.git
git clone https://github.com/drodin/toluapp.git

Building Lua

cd lua
make _platform_

You need to specify the platform to build for. Run make without params to see the list of supported platforms.

Building tolua++

cd ../toluapp

Generating tolua.cpp

cd ../Stratagus/src/tolua

Building Stratagus apk

cd ../../android
ant debug

Grab your .apk in the bin directory ;)