Skip to content

aarcangeli/Serious-Sam-Android

Repository files navigation

Serious Sam Android Build status

Running the game

  1. Locate the game directory for "Serious Sam Classic The Second Encounter" (steam)
  2. Download and install the latest version of SeriousSamRelease.apk
  3. Create a directory on your sd card called "SeriousSam"
  4. Copy all *.gro files from the game directory to SeriousSam directory. At the current time the files are:
    • SE1_00.gro
    • SE1_00_Extra.gro
    • SE1_00_ExtraTools.gro
    • SE1_00_Levels.gro
    • SE1_00_Logo.gro
    • SE1_00_Music.gro
    • 1_04_patch.gro
    • 1_07_tools.gro
  5. Start the game
    • The first time will ask you permission to read from external storage

Compile from source

Using Android Studio

  1. Clone or download the repository in a directory
  2. Open the project in Android Studio
  3. If necessary install the suggested packages
  4. Connect an android device with debugging enabled
  5. Compile and run the game

Using command line (without Android Studio)

  1. Clone or download the repository in a directory
  2. Download Android SDK (Command line tools only) https://developer.android.com/studio alt text
  3. Unzip sdk-tools-windows-*.zip to C:\androidsdk (You can change path in local.properties)
  4. Create a file named 'local.properties' in the project root (near settings.gradle) with the following content:
sdk.dir=C:\\androidsdk
ndk.dir=C:\\androidsdk\\ndk-bundle
  1. Download and install Java SE
  2. In cmd set JAVA_HOME use command
    set JAVA_HOME="C:\jdk\"
  1. Download tools and NDK. Open cmd in C:\androidsdk\tools\bin\ folder and use command
    sdkmanager.bat "cmake;3.10.2.4988404" "platform-tools" "platforms;android-28"
  1. Open cmd in C:\jdk\bin\ and generate your keystore
    keytool.exe -genkey -v -keystore release.keystore -alias release -keyalg RSA -keysize 2048 -validity 10000
  1. Move release.keystore to root path of Serious-Sam-Android source
  2. Configure signing.properties file
  3. Open cmd in Serious-Sam-Android folder and start compilation
    gradlew assembleRelease