1 (edited by GreYFoX 2010-10-12 17:14:04)

Topic: [INFO] Compiling Teeworlds Trunk 2010-July-5th

this is not  a full guide it's just some info that i didn't know and i am writing it now to save some people alot of bad search results

the first thing you need is to follow this guide http://www.teeworlds.com/?wiki=CompilingEverything to compile 0.5.2
i think i needed this and it wasn't in the official guide http://www.brothersoft.com/visual-c++-65282.html
note in the official tw src for 0.5.2 the default.bam doesn't work for windows so u need to change these lines for it to work

function Script(name)
    if family == "windows" then
--        return str_replace(name, "/", "\\")    <--- this was the old line 
++        return "C:\\Python26\\python.exe " .. str_replace(name, "/", "\\") 
    end
    return "python " .. name
end

also be sure to install python in  C:\Python26\python.exe or change that line in the previous code

after that when you are successful
now you can try getting tw trunk and compiling it

tw trunk is here  https://github.com/matricks/teeworlds
you need to know git to do so but a simple tool called tortoise git will make your life a lot easy
so just after installing tortoise git rclick > tortoisegit > clone > https://github.com/matricks/teeworlds > ok

the most important part now is bam 0.2.0 won't work 0.3.2 won't work so similarly

get it from github https://github.com/matricks/bam.git just like u got tw trunk

and do just as you did here http://www.teeworlds.com/?wiki=CompilingEverything to compile 0.5.2
and you will be fine except the bam binary is no longer in bam/src/bam.exe  it's just in bam/bam.exe

thats all if you have followed the official guide successfully then u won't have any trouble here


i repeat this is not a guide this is what i could write in the short time that i had

later on if i have some more time i will write my own detailed guide for windows and linux ubuntu ( note i am a linux noob )

for people trying to compile DDRace please come http://ddrace.info/forum/content.php?15 … on-Windows

if you are looking for support for DDRace, please go to http://DDRace.info.

2

Re: [INFO] Compiling Teeworlds Trunk 2010-July-5th

no possible an unique build already compiled for win32, linux and 64?
so i can't download a version for win32 already builded?

3

Re: [INFO] Compiling Teeworlds Trunk 2010-July-5th

default.bam is working fine in windows as long as u use a 32bit windows wink

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^