1

Topic: [Help] Python scripts?

At time of compiling Android Teeworlds port I was faced with lack of sources generated by python scripts. Only some of scripts are required to generate missing sources aren't they? And anyway what do these files do? Why is it required to generate them during each compilation?

2

Re: [Help] Python scripts?

Na_v_uho wrote:

At time of compiling Android Teeworlds port I was faced with lack of sources generated by python scripts. Only some of scripts are required to generate missing sources aren't they? And anyway what do these files do? Why is it required to generate them during each compilation?

They exist to prevent the developers having to write redundant code (like generated by datasrc/network.py)
What's the problem with python scripts? Just download Python and bam will do the rest.

3

Re: [Help] Python scripts?

Bam?!? Android NDK has it's own build scripts and own gcc toolchain. The easiest way to build Android native code is to run single shell script that does all work for you (like bam of course). To use this way I should know how to re-use these python scripts in new build process. The hard way is to use toolchain provided by NDK with bam under cygwin. But how can I do that?.

4

Re: [Help] Python scripts?

Compile Teeworlds for your PC with BAM Then you only need the src-folder cause the Python-scipts generated the files in src/game/generated.