76

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Dune,

For this kind of stuff, I suggest creating a small screencast and uploading to youtube, or any other. It will probably more efective, as some users don't understand this kind of stuff and therefore it gets "boring".
My 2 cents. smile

Cheers.

Arch Linux users, see packages for some Teeworlds mod here! wink

77

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

What? I'm not doing any tutorial.

Not Luck, Just Magic.

78

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Well, Rafael, read the topic before posting random comments.
1st of all, I'm the topic creator... Not Dune.
2nd, there is a video already:

HeroiAmarelo wrote:

6) There is a video version, you can see it here.

Shahan and Dune, there's a link to the Linux tutorial as well.

Playing Teeworlds since 2011!
"I will always be topless for you"
                  - Günther Branlutte

79 (edited by rafael.f.f1 2013-06-02 20:53:23)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

lol, sorry, reading too much stuff and completely mixed up the original poster.

Arch Linux users, see packages for some Teeworlds mod here! wink

80 (edited by babak2010 2013-12-16 08:56:27)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

sorry my problem solved by python-3.2.1 :\

81 (edited by amirteeworlds 2014-02-16 13:56:35)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Two of the last things on cmd,has given an error!(a build step error)

Teeworlds is the best game in the world.
big_smile

82 (edited by 2014-07-31 12:24:38)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

hi iwant to get a source of  a mod of teeworld  like utown
how can i get source of it? i mean how uncompile it?

hi iwant to get a source of  a mod of teeworld  like utown
how can i get source of it? i mean how uncompile it?

join  my telegram group  teeworld players  :  https://t.me/teeworlds2019
Teeworld Developers group : https://t.me/teeworldsdev

83

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

alirezakaj3 wrote:

hi iwant to get a source of  a mod of teeworld  like utown
how can i get source of it? i mean how uncompile it?

hi iwant to get a source of  a mod of teeworld  like utown
how can i get source of it? i mean how uncompile it?

you ask the dev

burn the land and boil the sea, you can't take the sky from me.

84

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

You cant "uncompile" a project

Playing Teeworlds since 2011!
"I will always be topless for you"
                  - Günther Branlutte

85

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

so were you get that soure? you  steel it from the god?
man just tell me !
iam not kiding i want get sources of mods !

join  my telegram group  teeworld players  :  https://t.me/teeworlds2019
Teeworld Developers group : https://t.me/teeworldsdev

86

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

alirezakaj3 wrote:

so were you get that soure? you  steel it from the god?
man just tell me !
iam not kiding i want get sources of mods !

Use tools for search content in internet how Google... tray to contact with the developer....

87

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

You probably dont even know how to code, why do you need a source code anyways?

Playing Teeworlds since 2011!
"I will always be topless for you"
                  - Günther Branlutte

88

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

lol heroi u still post here ur a real 'heroi'

89

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

hey you crazy?
i know how to cod ! iam now have source of  xxlddrace and teefoot
but i need more sources about another mods like utown
if you want to help me pls tell me how ican get source of an mod ihave!
or you can upload sources here
there is no source that i need exist in internet ok?
just up them for me or tell me how get sources?

join  my telegram group  teeworld players  :  https://t.me/teeworlds2019
Teeworld Developers group : https://t.me/teeworldsdev

90

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Step 1: Click here
Step 2: Click on the first link that will redirect you to the uTown topic
Step 3: Look for the "uTown Source:" text on the forum page
Step 4: Ask the same thing about another mod on the forum

Playing Teeworlds since 2011!
"I will always be topless for you"
                  - Günther Branlutte

91 (edited by Kondensator 2014-08-27 16:55:22)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Hello i have problem can you help me?

http://www.visualstudio.com/downloads/d … Families_4 i use this  visual studio
Python 3.2.1
bam 0.4.0
teeworlds 0.6.1

i am getting this

ing ',' before '*'
c:\tws\src\game\client\components/items.h(26) : error C2061: syntax error : iden
tifier 'CNetObj_Projectile'
c:\tws\src\game\client\components/players.h(12) : error C4430: missing type spec
ifier - int assumed. Note: C++ does not support default-int
c:\tws\src\game\client\components/players.h(12) : error C2143: syntax error : mi
ssing ',' before '*'
c:\tws\src\game\client\components/players.h(19) : error C4430: missing type spec
ifier - int assumed. Note: C++ does not support default-int
c:\tws\src\game\client\components/players.h(19) : error C2143: syntax error : mi
ssing ',' before '*'
c:\tws\src\game\client\components/nameplates.h(10) : error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int
c:\tws\src\game\client\components/nameplates.h(10) : error C2143: syntax error :
 missing ',' before '*'
src/game/client/gameclient.cpp(89) : error C2146: syntax error : missing ';' bef
ore identifier 'GAME_NETVERSION_HASH'
src/game/client/gameclient.cpp(89) : error C2065: 'GAME_NETVERSION_HASH' : undec
lared identifier
src/game/client/gameclient.cpp(90) : error C2065: 'm_NetObjHandler' : undeclared
 identifier
src/game/client/gameclient.cpp(90) : error C2228: left of '.GetObjName' must hav
e class/struct/union
        type is ''unknown-type''
src/game/client/gameclient.cpp(96) : error C2065: 'TEAM_RED' : undeclared identi
fier
src/game/client/gameclient.cpp(98) : error C2065: 'TEAM_BLUE' : undeclared ident
ifier
src/game/client/gameclient.cpp(126) : error C2065: 'NUM_GAMEMSGS' : undeclared i
dentifier
src/game/client/gameclient.cpp(128) : error C2078: too many initializers
src/game/client/gameclient.cpp(129) : fatal error C1903: unable to recover from
previous error(s); stopping compilation
bam: 'objs/game/client/gameclient.obj' error 2
[127/160] #1 c++ src/game/client/lineinput.cpp
[128/160] #1 c++ src/game/client/localization.cpp
[129/160] #1 c++ src/game/client/render.cpp
c:\tws\src\game\client\animstate.h(8) : error C2146: syntax error : missing ';'
before identifier 'm_Body'
c:\tws\src\game\client\animstate.h(8) : error C4430: missing type specifier - in
t assumed. Note: C++ does not support default-int
c:\tws\src\game\client\animstate.h(8) : error C4430: missing type specifier - in
t assumed. Note: C++ does not support default-int
c:\tws\src\game\client\animstate.h(9) : error C2146: syntax error : missing ';'
before identifier 'm_BackFoot'
c:\tws\src\game\client\animstate.h(9) : error C4430: missing type specifier - in
t assumed. Note: C++ does not support default-int
c:\tws\src\game\client\animstate.h(9) : error C4430: missing type specifier - in
t assumed. Note: C++ does not support default-int
c:\tws\src\game\client\animstate.h(10) : error C2146: syntax error : missing ';'
 before identifier 'm_FrontFoot'
c:\tws\src\game\client\animstate.h(10) : error C4430: missing type specifier - i
nt assumed. Note: C++ does not support default-int
c:\tws\src\game\client\animstate.h(10) : error C4430: missing type specifier - i
nt assumed. Note: C++ does not support default-int
c:\tws\src\game\client\animstate.h(11) : error C2146: syntax error : missing ';'
 before identifier 'm_Attach'
c:\tws\src\game\client\animstate.h(11) : error C4430: missing type specifier - i
nt assumed. Note: C++ does not support default-int
c:\tws\src\game\client\animstate.h(11) : error C4430: missing type specifier - i
nt assumed. Note: C++ does not support default-int
c:\tws\src\game\client\animstate.h(14) : error C2143: syntax error : missing ';'
 before '*'
c:\tws\src\game\client\animstate.h(14) : error C4430: missing type specifier - i
nt assumed. Note: C++ does not support default-int
c:\tws\src\game\client\animstate.h(14) : error C4430: missing type specifier - i
nt assumed. Note: C++ does not support default-int
c:\tws\src\game\client\animstate.h(14) : warning C4183: 'GetBody': missing retur
n type; assumed to be a member function returning 'int'
c:\tws\src\game\client\animstate.h(15) : error C2143: syntax error : missing ';'
 before '*'
c:\tws\src\game\client\animstate.h(15) : error C4430: missing type specifier - i
nt assumed. Note: C++ does not support default-int
c:\tws\src\game\client\animstate.h(15) : error C4430: missing type specifier - i
nt assumed. Note: C++ does not support default-int
c:\tws\src\game\client\animstate.h(15) : warning C4183: 'GetBackFoot': missing r
eturn type; assumed to be a member function returning 'int'
c:\tws\src\game\client\animstate.h(16) : error C2143: syntax error : missing ';'
 before '*'
c:\tws\src\game\client\animstate.h(16) : error C4430: missing type specifier - i
nt assumed. Note: C++ does not support default-int
c:\tws\src\game\client\animstate.h(16) : error C4430: missing type specifier - i
nt assumed. Note: C++ does not support default-int
c:\tws\src\game\client\animstate.h(16) : warning C4183: 'GetFrontFoot': missing
return type; assumed to be a member function returning 'int'
c:\tws\src\game\client\animstate.h(17) : error C2143: syntax error : missing ';'
 before '*'
c:\tws\src\game\client\animstate.h(17) : error C4430: missing type specifier - i
nt assumed. Note: C++ does not support default-int
c:\tws\src\game\client\animstate.h(17) : error C4430: missing type specifier - i
nt assumed. Note: C++ does not support default-int
c:\tws\src\game\client\animstate.h(17) : warning C4183: 'GetAttach': missing ret
urn type; assumed to be a member function returning 'int'
c:\tws\src\game\client\animstate.h(18) : error C2061: syntax error : identifier
'CAnimation'
c:\tws\src\game\client\animstate.h(19) : error C2061: syntax error : identifier
'CAnimation'
c:\tws\src\game\client\animstate.h(14) : error C2065: 'm_Body' : undeclared iden
tifier
c:\tws\src\game\client\animstate.h(15) : error C2065: 'm_BackFoot' : undeclared
identifier
c:\tws\src\game\client\animstate.h(16) : error C2065: 'm_FrontFoot' : undeclared
 identifier
c:\tws\src\game\client\animstate.h(17) : error C2065: 'm_Attach' : undeclared id
entifier
src/game/client/render.cpp(42) : error C2027: use of undefined type 'CDataSprite
'
        c:\tws\src\game\client\render.h(53) : see declaration of 'CDataSprite'
src/game/client/render.cpp(42) : error C2227: left of '->m_X' must point to clas
s/struct/union/generic type
src/game/client/render.cpp(43) : error C2027: use of undefined type 'CDataSprite
'
        c:\tws\src\game\client\render.h(53) : see declaration of 'CDataSprite'
src/game/client/render.cpp(43) : error C2227: left of '->m_Y' must point to clas
s/struct/union/generic type
src/game/client/render.cpp(44) : error C2027: use of undefined type 'CDataSprite
'
        c:\tws\src\game\client\render.h(53) : see declaration of 'CDataSprite'
src/game/client/render.cpp(44) : error C2227: left of '->m_W' must point to clas
s/struct/union/generic type
src/game/client/render.cpp(45) : error C2027: use of undefined type 'CDataSprite
'
        c:\tws\src\game\client\render.h(53) : see declaration of 'CDataSprite'
src/game/client/render.cpp(45) : error C2227: left of '->m_H' must point to clas
s/struct/union/generic type
src/game/client/render.cpp(46) : error C2027: use of undefined type 'CDataSprite
'
        c:\tws\src\game\client\render.h(53) : see declaration of 'CDataSprite'
src/game/client/render.cpp(46) : error C2227: left of '->m_pSet' must point to c
lass/struct/union/generic type
src/game/client/render.cpp(46) : error C2227: left of '->m_Gridx' must point to
class/struct/union/generic type
src/game/client/render.cpp(47) : error C2027: use of undefined type 'CDataSprite
'
        c:\tws\src\game\client\render.h(53) : see declaration of 'CDataSprite'
src/game/client/render.cpp(47) : error C2227: left of '->m_pSet' must point to c
lass/struct/union/generic type
src/game/client/render.cpp(47) : error C2227: left of '->m_Gridy' must point to
class/struct/union/generic type
src/game/client/render.cpp(78) : error C2065: 'g_pData' : undeclared identifier
src/game/client/render.cpp(78) : error C2227: left of '->m_NumSprites' must poin
t to class/struct/union/generic type
        type is ''unknown-type''
src/game/client/render.cpp(80) : error C2065: 'g_pData' : undeclared identifier
src/game/client/render.cpp(80) : error C2227: left of '->m_aSprites' must point
to class/struct/union/generic type
        type is ''unknown-type''
src/game/client/render.cpp(373) : error C2227: left of '->m_X' must point to cla
ss/struct/union/generic type
        type is 'int *'
src/game/client/render.cpp(373) : error C2227: left of '->m_Y' must point to cla
ss/struct/union/generic type
        type is 'int *'
src/game/client/render.cpp(382) : error C2227: left of '->m_Angle' must point to
 class/struct/union/generic type
        type is 'int *'
src/game/client/render.cpp(384) : error C2065: 'SPRITE_TEE_DECORATION_OUTLINE' :
 undeclared identifier
src/game/client/render.cpp(384) : error C2065: 'SPRITE_TEE_DECORATION' : undecla
red identifier
src/game/client/render.cpp(393) : error C2227: left of '->m_Angle' must point to
 class/struct/union/generic type
        type is 'int *'
src/game/client/render.cpp(397) : error C2065: 'SPRITE_TEE_BODY_OUTLINE' : undec
lared identifier
src/game/client/render.cpp(402) : error C2065: 'SPRITE_TEE_BODY' : undeclared id
entifier
src/game/client/render.cpp(413) : error C2227: left of '->m_Angle' must point to
 class/struct/union/generic type
        type is 'int *'
src/game/client/render.cpp(415) : error C2065: 'SPRITE_TEE_TATTOO' : undeclared
identifier
src/game/client/render.cpp(426) : error C2227: left of '->m_Angle' must point to
 class/struct/union/generic type
        type is 'int *'
src/game/client/render.cpp(430) : error C2065: 'SPRITE_TEE_BODY_SHADOW' : undecl
ared identifier
src/game/client/render.cpp(430) : error C2065: 'SPRITE_TEE_BODY_UPPER_OUTLINE' :
 undeclared identifier
src/game/client/render.cpp(440) : error C2227: left of '->m_Angle' must point to
 class/struct/union/generic type
        type is 'int *'
src/game/client/render.cpp(446) : error C2065: 'EMOTE_PAIN' : undeclared identif
ier
src/game/client/render.cpp(446) : error C2051: case expression not constant
src/game/client/render.cpp(447) : error C2065: 'SPRITE_TEE_EYES_PAIN' : undeclar
ed identifier
src/game/client/render.cpp(449) : error C2065: 'EMOTE_HAPPY' : undeclared identi
fier
src/game/client/render.cpp(449) : error C2051: case expression not constant
src/game/client/render.cpp(450) : error C2065: 'SPRITE_TEE_EYES_HAPPY' : undecla
red identifier
src/game/client/render.cpp(452) : error C2065: 'EMOTE_SURPRISE' : undeclared ide
ntifier
src/game/client/render.cpp(452) : error C2051: case expression not constant
src/game/client/render.cpp(453) : error C2065: 'SPRITE_TEE_EYES_SURPRISE' : unde
clared identifier
src/game/client/render.cpp(455) : error C2065: 'EMOTE_ANGRY' : undeclared identi
fier
src/game/client/render.cpp(455) : error C2051: case expression not constant
src/game/client/render.cpp(456) : error C2065: 'SPRITE_TEE_EYES_ANGRY' : undecla
red identifier
src/game/client/render.cpp(459) : error C2065: 'SPRITE_TEE_EYES_NORMAL' : undecl
ared identifier
src/game/client/render.cpp(464) : error C2065: 'EMOTE_BLINK' : undeclared identi
fier
src/game/client/render.cpp(475) : error C2065: 'CAnimKeyframe' : undeclared iden
tifier
src/game/client/render.cpp(475) : error C2065: 'pFoot' : undeclared identifier
src/game/client/render.cpp(480) : error C2065: 'pFoot' : undeclared identifier
src/game/client/render.cpp(480) : error C2227: left of '->m_Angle' must point to
 class/struct/union/generic type
        type is ''unknown-type''
src/game/client/render.cpp(485) : error C2065: 'SPRITE_TEE_FOOT_OUTLINE' : undec
lared identifier
src/game/client/render.cpp(494) : error C2065: 'SPRITE_TEE_FOOT' : undeclared id
entifier
src/game/client/render.cpp(497) : error C2065: 'pFoot' : undeclared identifier
src/game/client/render.cpp(497) : error C2227: left of '->m_X' must point to cla
ss/struct/union/generic type
        type is ''unknown-type''
src/game/client/render.cpp(497) : error C2065: 'pFoot' : undeclared identifier
src/game/client/render.cpp(497) : error C2227: left of '->m_Y' must point to cla
ss/struct/union/generic type
        type is ''unknown-type''
bam: 'objs/game/client/render.obj' error 2
[130/160] #1 c++ src/game/client/render_map.cpp
[131/160] #1 c++ src/game/client/ui.cpp
[132/160] #1 client_content_source > src/game/generated/client_data.cpp
[133/160] #1 c++ src/game/generated/client_data.cpp
[134/160] #1 c++ src/engine/client/backend_sdl.cpp
[135/160] #1 c++ src/engine/client/client.cpp
[136/160] #1 c++ src/engine/client/friends.cpp
[137/160] #1 c++ src/engine/client/graphics_threaded.cpp
[138/160] #1 c++ src/engine/client/input.cpp
[139/160] #1 c++ src/engine/client/serverbrowser.cpp
[140/160] #1 c++ src/engine/client/sound.cpp
[141/160] #1 c++ src/engine/client/text.cpp
[142/160] #1 c++ src/game/editor/auto_map.cpp
[143/160] #1 c++ src/game/editor/editor.cpp
src\game/gamecore.h(185) : error C2146: syntax error : missing ';' before identi
fier 'm_Input'
src\game/gamecore.h(185) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(185) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(194) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(194) : error C2143: syntax error : missing ',' before '*'
src\game/gamecore.h(195) : error C2061: syntax error : identifier 'CNetObj_Chara
cterCore'
src/game/editor/editor.cpp(2855) : error C2065: 'g_pData' : undeclared identifie
r
src/game/editor/editor.cpp(2855) : error C2227: left of '->m_aImages' must point
 to class/struct/union/generic type
        type is ''unknown-type''
src/game/editor/editor.cpp(2855) : error C2065: 'IMAGE_FILEICONS' : undeclared i
dentifier
src/game/editor/editor.cpp(2855) : error C2228: left of '.m_Id' must have class/
struct/union
src/game/editor/editor.cpp(2857) : error C2065: 'SPRITE_FILE_FOLDER' : undeclare
d identifier
src/game/editor/editor.cpp(2857) : error C2065: 'SPRITE_FILE_MAP2' : undeclared
identifier
c1xx : fatal error C1903: unable to recover from previous error(s); stopping com
pilation
bam: 'objs/game/editor/editor.obj' error 2
[144/160] #1 c++ src/game/editor/io.cpp
src\game/gamecore.h(185) : error C2146: syntax error : missing ';' before identi
fier 'm_Input'
src\game/gamecore.h(185) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(185) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(194) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(194) : error C2143: syntax error : missing ',' before '*'
src\game/gamecore.h(195) : error C2061: syntax error : identifier 'CNetObj_Chara
cterCore'
bam: 'objs/game/editor/io.obj' error 2
[145/160] #1 c++ src/game/editor/layer_game.cpp
[146/160] #1 c++ src/game/editor/layer_quads.cpp
[147/160] #1 c++ src/game/editor/layer_tiles.cpp
[148/160] #1 c++ src/game/editor/popups.cpp
[149/160] #1 c src/engine/external/wavpack/bits.c
[150/160] #1 c src/engine/external/wavpack/float.c
[151/160] #1 c src/engine/external/wavpack/metadata.c
[152/160] #1 c src/engine/external/wavpack/unpack.c
[153/160] #1 c src/engine/external/wavpack/words.c
[154/160] #1 c src/engine/external/wavpack/wputils.c
[155/160] #1 c src/engine/external/json-parser/json.c
[156/160] #1 rc other/icons/teeworlds_cl.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
Copyright (C) Microsoft Corporation.  All rights reserved.

[157/160] #1 copy other\freetype\lib32\freetype.dll -> freetype.dll
[158/160] #1 copy other\sdl\lib32\SDL.dll -> SDL.dll
bam: error: a build step failed

what to do? i really want tw compiled


EDIT: I tried today compiling it with mingw compiler but i get that same error.