should be up to date again
authorricharddeurtje@gmail.com
Tue, 24 Jan 2012 00:20:14 +0000
changeset 199 2db424bc559b
parent 198 6ed8811347fc
child 200 f56abd8cfc50
should be up to date again
HedgeroidGuide.wiki
--- a/HedgeroidGuide.wiki	Mon Jan 23 16:56:34 2012 +0000
+++ b/HedgeroidGuide.wiki	Tue Jan 24 00:20:14 2012 +0000
@@ -6,14 +6,12 @@
 
 ==Download==
 
-We need to download four packages:
+We need to download these packages:
 
 * [http://code.google.com/p/hedgewars/ Hedgewars Source]<br>
 * [http://developer.android.com/sdk/index.html Android SDK] (Latest version will do)<br>
 * [http://developer.android.com/sdk/ndk/index.html Android NDK] (current version is r5b but anything up will probably work)<br>
 * [http://freepascal.org/down/source/sources.var FreePascal] (Latest (stable) version will do)<br>
-* [http://www.libsdl.org/tmp/android-project.zip SDL]<br>
-* [http://www.lua.org/ftp/lua-5.1.4.tar.gz Lua] (Current version is 5.1.4 but anything higher will probably work)<br>
 * [http://ant.apache.org/ Ant] (Linux distro should just use their package manager to get it, version isn't really important)<br>
 * Java compiler, make sure you get JDK (not JRE) version 6 and up
 
@@ -57,16 +55,6 @@
 make crossinstall CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=<ndk>/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin BINUTILSPREFIX=arm-linux-androideabi- OPT=-dFPC_ARMEL INSTALL_PREFIX=<fpc>/fpc_install
 }}}
 
-==Lua==
-
-For the missions hedgewars uses Lua as it’s scripting environment. Lua almost completely works out of the box only a few files need to be modified I’ve added these to the repo so all we need to do for now is download the tar.gz, extract and decompress the tar somewhere we’ll use it in the final step.
-
-
-
-==SDL==
-
-Last thing we need is SDL, download the android-project.zip from the link above. unzip/tar it to some location. and that’s it :) After the ‘FINAL’ step (after running cmake .) you can remove this directory if you want
-
 ==Final==
 
 Next we will create the scripts to compile hedgewars and move SDL directories first you’ll need to make sure cmake knows where all the compilers are
@@ -81,6 +69,17 @@
 
 (Check google on how to do it for your specific OS if you don't know how)
 
+Now we're gonna download sdl and a couple of its libraries, if you're on linux there's a script you can use
+{{{
+cd <hedgewars-root>/project_files/Android-build
+chmod +x download_libs.sh (might not be needed)
+./download_libs.sh
+}}}
+This will download and unzip sdl to the expected folders
+
+TODO: make script for windows and verify if it works for osx
+
+
 Next you can use cmake to create the scripts
 
 {{{
@@ -100,5 +99,4 @@
 
 
 
-
 TODO verify that it works on Windows and OS X add dependency list of utilities (ant, fpc compiler for host, make etcetc)
\ No newline at end of file