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
You are not logged in. Please login or register.
Teeworlds Forum → Development → [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
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.
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.
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..?
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.
and how i have to compile it, that the data folder is inside ? ...
edit: i found the make_release.py in the scripts folder...and now?
You'll have to figure that out for yourself... The easiest way is to browse inside the normal teeworlds app folder and make your own look like that.
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..
MertenNor
hmm i dont have the permission to watch that video.. can you upload it somewhere else?
hmm i dont have the permission to watch that video.. can you upload it somewhere else?
what.. ??
I can see if I figure out the permission thing ore upload it to another site...
MertenNor
Okei
there is a message i dont have the permission its a privat video
I fixed the video
here is the new link: http://vimeo.com/8551495
MertenNor
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.
before i complie the source or after? xD and in witch directory.. ?
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 ! thanks going to do this for the mods I compile from now on.. I guess this works with server files to.. ?
before i complie the source or after? xD and in witch directory.. ?
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
hmm that are the server right? or are that the clients?
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.
I made a video on this..
MertenNor
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
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
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.
wait i make a video then you will see
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
wait i make a video then you will see
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
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
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
Teeworlds Forum → Development → [HELP] Client Problem
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.