1

Topic: [HELP] Client Problem

hello,

I compiled a Client for Mac, but when i play the client dont shows me the weapons just red squars...how can i fix it?

is there something wrong in the source code..?

-Stripe

2

Re: [HELP] Client Problem

Stripe wrote:

hello,

I compiled a Client for Mac, but when i play the client dont shows me the weapons just red squars...how can i fix it?

is there something wrong in the source code..?

-Stripe

No, there's something wrong in the game.png. Check it.

Support Staff - ESL.eu Teeworlds Admin

3

Re: [HELP] Client Problem

There might be several reasons for this:
* game.png missing
* data directory is wrong

How do you launch your binary? It might be that it sets up the data directory on some strange way, or that it thinks that it is launched from a bundle when it's not etc.

Languages shapes the way we think, or don't.

4

Re: [HELP] Client Problem

I create a new folder

there i put

teeworlds.app
and
data folder

i have a game.png but i dont know why the client does not show the weapons O.ô...

hmm void can you say me how i can make that like the officiel client when i press right button there i have to press paket contents and than comes macOS and resources and the data folder and so on..? smile

5

Re: [HELP] Client Problem

The data folder is inside Teeworlds.app, there are scripts for building a correct app bundle in the teeworlds source (make_release.py) but you will probably have to modify them somewhat.

Languages shapes the way we think, or don't.

6 (edited by Stripe 2010-01-04 16:32:56)

Re: [HELP] Client Problem

and how i have to compile it, that the data folder is inside ? tongue...

edit: i found the make_release.py in the scripts folder...and now? big_smile

7

Re: [HELP] Client Problem

You'll have to figure that out for yourself... smile The easiest way is to browse inside the normal teeworlds app folder and make your own look like that.

Languages shapes the way we think, or don't.

8 (edited by MertenNor 2010-01-05 13:51:07)

Re: [HELP] Client Problem

Stripe take a look at this video I made its a video on how to make a client mod (file) to a .app file..

hope it helps.. smile

MertenNor

->My 24/7 servers: [NOR] Norwegian HUB <- Back Online !! big_smile
( My grammar is getting better ! smile I think.. )
-Norway

9

Re: [HELP] Client Problem

hmm i dont have the permission to watch that video.. hmm can you upload it somewhere else?

10

Re: [HELP] Client Problem

Stripe wrote:

hmm i dont have the permission to watch that video.. hmm can you upload it somewhere else?

what.. ??
I can see if I figure out the permission thing ore upload it to another site...


MertenNor

->My 24/7 servers: [NOR] Norwegian HUB <- Back Online !! big_smile
( My grammar is getting better ! smile I think.. )
-Norway

11

Re: [HELP] Client Problem

Okei

there is a message i dont have the permission its a privat video hmm

12

Re: [HELP] Client Problem

I fixed the video tongue

here is the new link: http://vimeo.com/8551495

MertenNor

->My 24/7 servers: [NOR] Norwegian HUB <- Back Online !! big_smile
( My grammar is getting better ! smile I think.. )
-Norway

13

Re: [HELP] Client Problem

That video describes how to exchange the binary in a prepackaged teeworlds bundle, but it is not a universal binary any more. Use the following command in terminal to create the universal binary:

lipo -create -output teeworlds teeworlds_ppc teeworlds_x86

Then use the resulting teeworlds executable in the bundle instead.

Languages shapes the way we think, or don't.

14

Re: [HELP] Client Problem

before i complie the source or after? xD and in witch directory.. tongue?

15 (edited by MertenNor 2010-01-05 14:53:40)

Re: [HELP] Client Problem

void wrote:

That video describes how to exchange the binary in a prepackaged teeworlds bundle, but it is not a universal binary any more. Use the following command in terminal to create the universal binary:

lipo -create -output teeworlds teeworlds_ppc teeworlds_x86

Then use the resulting teeworlds executable in the bundle instead.

ah so this command makes the "teeworlds_ppc" and  "teeworlds_x86" in to one file.. that is grate ! big_smile thanks going to do this for the mods I compile from now on.. I guess this works with server files to.. ?

Stripe wrote:

before i complie the source or after? xD and in witch directory.. tongue?

after and in the directory were you are compiling it.. ore were the "teeworlds_ppc" and  "teeworlds_x86" files are..

after you have done the command you can just replace the "teeworlds" file in

Teeworlds.app > Contents > MacOS > teeworlds 

and replace that with the MOD..

MertenNor

->My 24/7 servers: [NOR] Norwegian HUB <- Back Online !! big_smile
( My grammar is getting better ! smile I think.. )
-Norway

16

Re: [HELP] Client Problem

hmm that are the server right? or are that the clients?

17 (edited by MertenNor 2010-01-05 17:29:59)

Re: [HELP] Client Problem

Stripe wrote:

hmm that are the server right? or are that the clients?

it works for both here are the commands you need to use:

for Client:

lipo -create -output teeworlds teeworlds_ppc teeworlds_x86

for server:

lipo -create -output teeworlds_srv teeworlds_srv_ppc teeworlds_srv_x86

Thanks void for the commands. smile

I made a video on this.. smile

MertenNor

->My 24/7 servers: [NOR] Norwegian HUB <- Back Online !! big_smile
( My grammar is getting better ! smile I think.. )
-Norway

18

Re: [HELP] Client Problem

ehmm i dont get teeworlds-ppc and the other when i compile i get

teeworlds
teeworlds_srv
fake_server
crapnet
dilate
borderfix
...

but no teeworlds_ppc or teeworlds_x86

hmm

19

Re: [HELP] Client Problem

Stripe wrote:

ehmm i dont get teeworlds-ppc and the other when i compile i get

teeworlds
teeworlds_srv
fake_server
crapnet
dilate
borderfix
...

but no teeworlds_ppc or teeworlds_x86

hmm

You must get teeworlds_srv. When you compile you must specify what platform will be the executable for (teeworlds_ppc or teeworlds_x86), than teeworlds_srv will be compatible.

Support Staff - ESL.eu Teeworlds Admin

20 (edited by Stripe 2010-01-05 19:40:45)

Re: [HELP] Client Problem

wait i make a video then you will see tongue

EDIT:// here the link to the video

http://www.youtube.com/watch?v=HvaptZdIcjk&fmt=18

edit again:// sri for bad quality

here these things I get by compiling:

teeworlds
teeworlds_srv
dilate
crapnet
mastersrv
versionsrv
tileset_borderfix
fake_server
serverlaunch
map_resave

21 (edited by MertenNor 2010-01-05 20:46:50)

Re: [HELP] Client Problem

Stripe wrote:

wait i make a video then you will see tongue

EDIT:// here the link to the video

http://www.youtube.com/watch?v=HvaptZdIcjk&fmt=18

edit again:// sri for bad quality

here these things I get by compiling:

teeworlds
teeworlds_srv
dilate
crapnet
mastersrv
versionsrv
tileset_borderfix
fake_server
serverlaunch
map_resave

the teeworlds "app" is the teeworlds file..
but is that source in the video Teeworlds 0.5.2 ? and do you have the latest bam.

MertenNor

->My 24/7 servers: [NOR] Norwegian HUB <- Back Online !! big_smile
( My grammar is getting better ! smile I think.. )
-Norway

22

Re: [HELP] Client Problem

Yes its the source

its bam-0.2.0

but why you have teeworlds_ppc and the other? O.o

UPDATE:
sorry for push

but maybe is my problem,
i have a macbook pro
v.16.2

hmm

UPDATE 2:
sry for push again

so i try to make a srv boundle with

serverlaunch and teeworlds_srv

the terminal said that is the same

(86x_64) wahts the meaning? xD

Merged triple posts. // ~{MS}~ Azon