Q: What is bam?
Bam is the build system made by matricks used in Teeworlds.
teeworlds-version\bam
make_win64_msvc.bat
(or make_win32_msvc.bat
for x86) to compile bamx64 Native Tools Command Prompt
(or x86 Native Tools Command Prompt
for x86)x64 Native Tools Command Prompt
(or x86 Native Tools Command Prompt
for x86) from the start menu.cd teeworlds-version
.\bam\bam config
.\bam\bam conf=release
conf=debug
will build the debug version insteadgame
(default)server
client
content
masterserver
tools
.\bam\bam conf=release tools masterserver
-f
will force a recompileteeworlds-version\build\x86_64\
(or teeworlds-version\build\x86\
for x86)x64 Native Tools Command Prompt
(or x86 Native Tools Command Prompt
for x86) from the start menu.cd teeworlds-version
.\bam\bam release
release
(for all in release mode)debug
(for all in debug mode)server_release
server_debug
client_release
client_debug
teeworlds-version
Note: Teeworlds 0.5.2 and earlier requires Python 2.x to compile. Python 3.x will not work. Python 3.x support is introduced with Teeworlds 0.6.0.
Note: Teeworlds 0.5.2 and earlier requires bam 0.2.0. The bam binary will not be in the bam directory, but in bam\src
. You will need to change the paths accordingly to that or copy/move the bam executable to the bam directory.