QT BZFS 3 Launcher

Place all meeting requests / announcements here...
Post Reply
jpenguin
Private First Class
Private First Class
Posts: 128
Joined: Wed Jun 11, 2008 11:56 pm

QT BZFS 3 Launcher

Post by jpenguin » Thu Aug 06, 2009 12:01 am

I coded up this BZFS 3 launcher. It has many options, including one to start BZFlag 3 in single player mode. It can run public servers too. It has only been tested on MacOS X, but it should compile under any OS that QT 4.5 supports (Mac, Win, Lin). It is released under GPL v3

Scr- http://my.bzflag.org/bb/viewtopic.php?f ... 42#p141110
Mac- http://www.mediafire.com/file/wjutwmvmzlm/BZFS

I would appreciate it if someone would compile a windoze binary

Screenshots
[Windows Style]
win.jpg
(98.71 KiB) Downloaded 22 times
[Mac Style]
mac.jpg
(115.63 KiB) Downloaded 18 times
[Linux Style]
lin.jpg
(97.46 KiB) Downloaded 16 times
Last edited by jpenguin on Fri Aug 07, 2009 5:33 pm, edited 1 time in total.

jpenguin
Private First Class
Private First Class
Posts: 128
Joined: Wed Jun 11, 2008 11:56 pm

Re: QT BZFS 3 Launcher

Post by jpenguin » Thu Aug 06, 2009 2:45 am

8 views and no src downloads, and only 1 download of the mac bin?

Someone must have an opinion about this...
Speak Up!


EDIT- here's on for BZFS 2.0.10
BZFS2_Launcher.zip
(39.57 KiB) Downloaded 151 times

Enigma
Private First Class
Private First Class
Posts: 211
Joined: Sat Apr 23, 2005 3:13 am

Re: QT BZFS 3 Launcher

Post by Enigma » Thu Aug 06, 2009 8:28 am

The Windows folk are going to have problems compiling this.

Code: Select all

#ifdef _WIN32
         QMessageBox::critical(this, tr("NYI"),
                  tr,("NYI));
#else
I just don't think this was well thought out. We have Startbzfs. Why do we need this?

It also looks like you threw this together in a day. The UI elements are overlapping, your code is far from elegant, and there is less than 300 LOC here. You also make quite a few assumptions about where BZFlag's executables are installed. I could install them anywhere.

tobylane
Private First Class
Private First Class
Posts: 130
Joined: Thu Jan 29, 2009 4:21 pm

Re: QT BZFS 3 Launcher

Post by tobylane » Thu Aug 06, 2009 12:04 pm

Spelling mistakes, unerganomic, varying spacing. Good idea, I think you've included everything, but make it a bit smarter, like disable some options till others are selected, like antis to bad flags.

Doesn't seem to work, I selected the to run the game, which did, but it didn't default to localhost as I would expect. Port is in the public section. And please work on a map rotator.

jpenguin
Private First Class
Private First Class
Posts: 128
Joined: Wed Jun 11, 2008 11:56 pm

Re: QT BZFS 3 Launcher

Post by jpenguin » Thu Aug 06, 2009 6:07 pm

Enigma wrote:The Windows folk are going to have problems compiling this.

Code: Select all

#ifdef _WIN32
         QMessageBox::critical(this, tr("NYI"),
                  tr,("NYI));
#else
I just don't think this was well thought out. We have Startbzfs. Why do we need this?

It also looks like you threw this together in a day. The UI elements are overlapping, your code is far from elegant, and there is less than 300 LOC here. You also make quite a few assumptions about where BZFlag's executables are installed. I could install them anywhere.
1. That is the least important function in the whole app. All it does is force quit BZFS. *TaskManager -> BZFS -> EndTask
2. StartBZFS is ugly. Mono always has the same dull look. This has many more options too, and it gives an easy way to start a single player game with bots.
3. Three days, it's one of my first GUI apps
3 No assumption was made for where BZFS is; at the bottom, you select the tab for the OS you have- then YOU find BZFS & BZFlag. You have to do this every time you open the app...

jpenguin
Private First Class
Private First Class
Posts: 128
Joined: Wed Jun 11, 2008 11:56 pm

Re: QT BZFS 3 Launcher

Post by jpenguin » Thu Aug 06, 2009 6:18 pm

tobylane wrote:Spelling mistakes, unerganomic, varying spacing. Good idea, I think you've included everything, but make it a bit smarter, like disable some options till others are selected, like antis to bad flags.

Doesn't seem to work, I selected the to run the game, which did, but it didn't default to localhost as I would expect. Port is in the public section. And please work on a map rotator.
I'll work on the interface

The 'Bots' is also BotsPerIP, if you run BZFlag - it will start BZFlag with that many bots

It works for me. The one in the first post only works with BZFlag SVN. I do need to add terminal output.

Should I move 'port'?

jpenguin
Private First Class
Private First Class
Posts: 128
Joined: Wed Jun 11, 2008 11:56 pm

Re: QT BZFS 3 Launcher

Post by jpenguin » Thu Aug 06, 2009 10:09 pm

I've reworked the UI. I'll upload a new bin soon.
Make it a bit smarter, like disable some options till others are selected, like antis to bad flags.
Done

Mac Bin- http://www.mediafire.com/?wwiwgdhdztg
Picture 2.jpg
(102.35 KiB) Downloaded 15 times
BZFS Launcher.tar.gz
(26.01 KiB) Downloaded 152 times
BZFS Launcher.zip
(28.58 KiB) Downloaded 145 times

User avatar
blast
General
General
Posts: 4744
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: QT BZFS 3 Launcher

Post by blast » Fri Aug 07, 2009 1:06 am

You need to preview your posts so that you're sure the URLs work. This is the second time I've fixed them. :)
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

tobylane
Private First Class
Private First Class
Posts: 130
Joined: Thu Jan 29, 2009 4:21 pm

Re: QT BZFS 3 Launcher

Post by tobylane » Fri Aug 07, 2009 8:59 am

The app is bit messed up, every file in it is a .bin.

jpenguin
Private First Class
Private First Class
Posts: 128
Joined: Wed Jun 11, 2008 11:56 pm

Re: QT BZFS 3 Launcher

Post by jpenguin » Fri Aug 07, 2009 5:29 pm

tobylane wrote:The app is bit messed up, every file in it is a .bin.

Your right. Never had that happen before.

Fix Mac binary (10.4+)-- http://www.mediafire.com/?wjutwmvmzlm

http://www.mediafire.com/?sharekey=65c6 ... 2fc2e84690

tobylane
Private First Class
Private First Class
Posts: 130
Joined: Thu Jan 29, 2009 4:21 pm

Re: QT BZFS 3 Launcher

Post by tobylane » Sat Aug 08, 2009 9:42 pm

Works perfectly, I was in a server with bots within 30 seconds. I'd still hope/expect the Launch game bit to take me straight to the server.

jpenguin
Private First Class
Private First Class
Posts: 128
Joined: Wed Jun 11, 2008 11:56 pm

Re: QT BZFS 3 Launcher

Post by jpenguin » Sat Aug 08, 2009 11:43 pm

I still plan on improving and supporting this program. Who knows what else will change in 3.0

Remember that I do need comments. Hopefully I will be able to get the 'Force Quite BZFS'' function working soon. Even though QT4 is cross-platform, I will still need someone to make Windows (& Linux?) binaries. All that involves is- downloading QT, open the *.pro file with QT creator, and building.

jpenguin
Private First Class
Private First Class
Posts: 128
Joined: Wed Jun 11, 2008 11:56 pm

Re: QT BZFS 3 Launcher

Post by jpenguin » Sun Aug 09, 2009 10:35 pm


Post Reply