Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added readme to MilkyTracker project.

  • Loading branch information...
commit ae41dee55e2acee427dcc32826b1b48059d1e0f2 1 parent ac1f2e9
@pelya authored
View
2  project/jni/application/fheroes2/AndroidAppSettings.cfg
@@ -39,7 +39,7 @@ ResetSdlConfigForThisVersion=n
DeleteFilesOnUpgrade="libsdl-DownloadFinished-5.flag libsdl-DownloadFinished-6.flag libsdl-DownloadFinished-7.flag libsdl-DownloadFinished-8.flag libsdl-DownloadFinished-9.flag libsdl-DownloadFinished-10.flag libsdl-DownloadFinished-11.flag libsdl-DownloadFinished-12.flag libsdl-DownloadFinished-13.flag libsdl-DownloadFinished-14.flag"
CompiledLibraries="sdl_net sdl_mixer sdl_image sdl_ttf png intl"
CustomBuildScript=n
-AppCflags='-finline-functions -O2 -DWITH_ZLIB -DWITH_MIXER -DWITH_XML -DWITH_IMAGE -DWITH_TTF -DWITH_AI=simple -DWITH_DEBUG' # -DWITH_NET # network is disabled in rev 2761
+AppCflags='-finline-functions -O2 -DWITH_ZLIB -DWITH_MIXER -DWITH_XML -DWITH_IMAGE -DWITH_TTF -DWITH_AI=simple -DWITH_DEBUG -DWITH_EDITOR' # -DWITH_NET # network is disabled in rev 2761
AppLdflags=''
AppSubdirsBuild='fheroes2/src/engine/* fheroes2/src/xmlccwrap/* fheroes2/src/fheroes2/ai fheroes2/src/fheroes2/ai/simple fheroes2/src/fheroes2/agg fheroes2/src/fheroes2/algorithm fheroes2/src/fheroes2/army fheroes2/src/fheroes2/battle2 fheroes2/src/fheroes2/castle fheroes2/src/fheroes2/dialog fheroes2/src/fheroes2/editor fheroes2/src/fheroes2/game fheroes2/src/fheroes2/gui fheroes2/src/fheroes2/heroes fheroes2/src/fheroes2/image fheroes2/src/fheroes2/kingdom fheroes2/src/fheroes2/maps fheroes2/src/fheroes2/monster fheroes2/src/fheroes2/network fheroes2/src/fheroes2/objects fheroes2/src/fheroes2/pocketpc fheroes2/src/fheroes2/resource fheroes2/src/fheroes2/spell fheroes2/src/fheroes2/system fheroes2/src/fheroes2/test'
AppCmdline='fheroes2'
View
2  project/jni/application/milkytracker/AndroidAppSettings.cfg
@@ -14,6 +14,7 @@ SwVideoMode=y
SdlVideoResize=y
SdlVideoResizeKeepAspect=n
CompatibilityHacks=y
+CompatibilityHacksStaticInit=n
AppUsesMouse=y
AppNeedsTwoButtonMouse=y
ShowMouseCursor=y
@@ -35,6 +36,7 @@ MultiABI=n
AppVersionCode=0908504
AppVersionName="0.90.85.04"
ResetSdlConfigForThisVersion=y
+DeleteFilesOnUpgrade="%"
CompiledLibraries="jpeg png zzip"
CustomBuildScript=y
AppCflags=''
View
17 project/jni/application/milkytracker/readme.txt
@@ -0,0 +1,17 @@
+You should download the SDL for Andorid repository from https://github.com/pelya/commandergenius
+and also the MilkyTracker sources - extract them to the directory project/jni/application/milkytracker in the SDL repo.
+To compile you will need to install need a recent Android SDK and NDK r7b, and put the dirs
+android-ndk-r7b
+android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin
+android-sdk-linux
+android-sdk-linux/tools
+android-sdk-linux/platform-tools
+into your $PATH, then you'll need to go to the SDL repo root and run commands
+rm project/jni/application/src
+ln -s milkytracker project/jni/application/src
+./ChangeAppSettings.sh -a
+android update project -p project -t android-12
+./build.sh
+and that should be it - it will compile an .apk file and will try to install it onto your device, if it's connected.
+You'll need to do all of this on Linux or MacOsX, Windows is not supported
+(but you may try to set up a Linux environment on Windows using https://sourceforge.net/projects/portableubuntu/ for example).
View
2  project/jni/application/src
Please sign in to comment.
Something went wrong with that request. Please try again.