Decompiling BZflag

Questions or HOWTOs about the above? Post 'em here...
Post Reply
User avatar
soad freak
Private First Class
Private First Class
Posts: 37
Joined: Sun Mar 05, 2006 6:23 pm
Location: in between a pair of headphones

Decompiling BZflag

Post by soad freak » Thu Aug 31, 2006 5:35 pm

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 /Bzflag.app
./autogen.sh
./configure; make

I get these responses. What am i doing wrong?
-bash: ./autogen.sh: 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:

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5193
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Post by JeffM » Thu Aug 31, 2006 7:55 pm

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.
ImageJeffM

User avatar
soad freak
Private First Class
Private First Class
Posts: 37
Joined: Sun Mar 05, 2006 6:23 pm
Location: in between a pair of headphones

Thanks

Post by soad freak » Thu Aug 31, 2006 9:32 pm

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?

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5193
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Post by JeffM » Thu Aug 31, 2006 9:39 pm

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 www.bzflag.org ) 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.
ImageJeffM

User avatar
soad freak
Private First Class
Private First Class
Posts: 37
Joined: Sun Mar 05, 2006 6:23 pm
Location: in between a pair of headphones

Okay

Post by soad freak » Sat Sep 02, 2006 10:33 pm

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 terminal.app, 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 ./autogen.sh and ./configure, but not make, yet.
The problem arises that when i type ./autogen.sh i get this in my terminal.
-bash: ./autogen.sh: 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

User avatar
CannonBallGuy
Private First Class
Private First Class
Posts: 2083
Joined: Wed Apr 12, 2006 1:31 am
Contact:

Post by CannonBallGuy » Sat Sep 02, 2006 11:35 pm

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.
Image

Merry Christmas!

"Look, if I don't buy booze for the kids, I don't get any incriminating pictures to show to their parents, my business goes down the sink, my girlfriend leaves me and the baby goes on ebay. So help me search..."

"go Play With Toys urself in a dark alley u donkey ******" - Lt-Kirby2007

Post Reply