Page 1 of 1

Decompiling BZflag

Posted: Thu Aug 31, 2006 5:35 pm
by soad freak
I have never decompiled anything in my life. I want to patch itunes in to bz flags as talked about by slayer++. But because I am completely new with using terminal I am running into problems.
When i type
cd /
./configure; make

I get these responses. What am i doing wrong?
-bash: ./ No such file or directory
-bash: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
What am i doing wrong? Please help this sad sad BZgamer.
Could i get step by step n00b directions? :lol-old:

Posted: Thu Aug 31, 2006 7:55 pm
by JeffM
ok, yeah.

what you are doing wrong is prety much everything.

there is no "decompiling" of bzflag

you can compile bzflag, from it source, not the .app. Compiling takes the source and turns it into the .app. there is no way to take the .app back to source ( not for normal people at least )

the commands your using at are for compiling from the source.

1) why do you need to compile the app?
2) if you do realy need to compile, you need the source, not the mac app
3) to compile the source you need to install the development kit and a number of librarys, see the readme in the source for more info.


Posted: Thu Aug 31, 2006 9:32 pm
by soad freak
I like i said i have no idea what i am doing but i am trying to put Slayer++'s application into itunes. Where do i get the source?

Posted: Thu Aug 31, 2006 9:39 pm
by JeffM
then you will need to build bzflag, with his code changes.

so you will need;

the bzflag source code.
the development tools and required libs.
his source code changes.

I would start by making sure you can build an unmodified bzflag.

get the source package from the sourceforge download site ( linked on ) and follow it's instructions.

The development tools for OSX are not installed by default, and you can find them on your install disks.

Just so you know, the process is a bit more complex then a simple step by step.


Posted: Sat Sep 02, 2006 10:33 pm
by soad freak
I have downloaded the source and am trying to cd it. Walmas has given me step by step directions he got from slayer++.
Now you need to cd to your bzflag directory. If you don't know how to do this then open, and type 'cd /path/to/bzflag'. For example, if the sources are in your home folder, you would type 'cd /users/your_name/bzflag' or 'cd ~/bzflag'.

Then type ./ and ./configure, but not make, yet.
The problem arises that when i type ./ i get this in my terminal.
-bash: ./ No such file or directory
More or less the same thing happens when i type in ./configure
I am sure i am doing something very stupid. Thank you for being so helpful to such a non programer. :D

Posted: Sat Sep 02, 2006 11:35 pm
by CannonBallGuy
Did you 'cd' into the source dir? When you do, do 'ls' to make sure...
You can also do "./aut" then hit tab, it will fill in the rest of the filename if it exists in the current dir.