I neeed help please ( testing my bzflag maps in linux )

Questions and answers about the how and why of making maps.
Post Reply
User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

I neeed help please ( testing my bzflag maps in linux )

Post by Winny »

I run linux and I need to figure out how to test my bzflag maps that I made. My windows XP will not let me test soI need help doing this through linux.

I run mandriva linux 10.2 limited edition 2005 if this is of any help
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

Well this may seem obvious... but first you need to compile the code or get a binary. Download the source from http://bzflag.org/wiki/Download and do this:

Code: Select all

tar -xvf bzflag-2.0.2.20050318.tar.gz
cd bzflag-2.0.2.20050318
./autgen.sh; ./configure
make; sudo make install
Then again we could use more info. :)
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny »

I already have bzflag 2.0.317+ on my pc I just need to know now to test my maps that I designed. I am new to linux I just got it on the weekend so I can't figure it out myself .I just need to know how to run my map as an internal server or public server. which ever one is simpler :roll:
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

Internal server will be much simpler. Here are some instructions...

Go to: http://prdownloads.sourceforge.net/supa ... z?download and download that
Assuming it's on your desktop do this in the command line (subsititute anything that may be wrong - like username):

Code: Select all

cd /home/username/Desktop
tar -xzf bzflag-2.0.2.20050318-i386-Opkg.tar.gz
cd bzflag-2.0.2.20050318-i386-Opkg
./bzfs -world /home/username/Desktop/myMap.bzw
Then you open bzflag on your Linux computer and enter for the server localhost and port 5154. Now you can test your maps. :) If you need anymore help just give another post.

*edit*
Don't do this on your PC. All the instructions are for Linux.
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny »

how do I acces the confoguration file for my maps I forgot :oops:

I need to change from the default options
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

Win Xp wrote:how do I acces the confoguration file for my maps I forgot :oops:

I need to change from the default options
Read this page: http://my.bzflag.org/cgi-bin/man/man2html?6+bzfs
It gives you all the possible options. (You won't need some of them) Put all those options in a .conf file on your Desktop. Then use it like this:

Code: Select all

bzfs -conf /home/username/configuration.conf
If anything is different substitute it for the right value. You can specify -world either in the .conf file or right on the command-line.

Sorry about replying so late.
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny »

thanx that seemed to work I can now test maps to my hearts content thanx alot!
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

Win Xp wrote:thanx that seemed to work I can now test maps to my hearts content thanx alot!
Glad to help anytime! :)
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
Post Reply