BZFlag Launcher App 0.9

News and info about current and upcoming releases of the game client and server.
Post Reply
User avatar
[dmp]
Captain
Captain
Posts: 282
Joined: Mon Dec 09, 2002 3:20 pm
Location: CPH, Denmark
Contact:

BZFlag Launcher App 0.9

Post by [dmp] » Sun Mar 16, 2008 12:58 am

Hi,

Im not sure if this is off-topic or not. If it is I apologize and please don't hesitate to delete it.

I've been working on a small app that lists available BZFlag servers and launches BZFlag if you want to play. Since its easier to show than describe with words, here is the screenshots for Linux and Windows.

ImageImage

The first version is ready for release, but Windows compiling is giving me a headache. I use VC++9 Express Edition. I've made a NSIS installer which also installs the msvcr90.dll - and that seems to works on some version of Windows. However, with strayers kind help I found that this isn't good enough as some gets an error saying:
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
I know there is a vc++ 9 redist package - which I could ask users to install, but if I can, I like to avoid this. (Would be nicer if this was installed without asking the user to do it). But is this is best (as in foolproof) approach?

My experience with Windows Development is very very limited so I hope someone can point me in the correct direction. I've been googling but I'm having a hard timing gaining an overview of what my options are. And since a lot of the guides I found begins with "For non-express editions [...]", I begin to wonder if there is any good solution to my problem.
Last edited by [dmp] on Sun Mar 16, 2008 7:39 pm, edited 1 time in total.
I don't need huge pictures here.

F687/s
Private First Class
Private First Class
Posts: 369
Joined: Sun Dec 31, 2006 8:30 pm

Post by F687/s » Sun Mar 16, 2008 1:50 am

Ooh...a Linux version as well. Do you have the source code available somewhere for download?

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5173
Joined: Fri Dec 13, 2002 4:11 am
Location: https://discord.gg/NN9uAvx
Contact:

Post by JeffM » Sun Mar 16, 2008 1:55 am

The solution is to not use the express edition. The EE versions do not allow redistribution and use different runtime systems.

You must build the binary with a full version of visual studio. We can help you with this if you'd like.

User avatar
[dmp]
Captain
Captain
Posts: 282
Joined: Mon Dec 09, 2002 3:20 pm
Location: CPH, Denmark
Contact:

Getting the source..

Post by [dmp] » Sun Mar 16, 2008 11:31 am

JeffM: If you got time time, feel free. I'm still waiting for university to grant me full access so I cannot get the full version yet.

The source can be downloaded from: http://github.com/dennis/bzlauncher/tree/master. It uses wxWidget (www.wxwidget.org) and requires 2.8.4 or better. Currently the vcproj (located in build/msw directory) assumes that wxwidgets is installed in c:\wx\.

F687/s: I've compiled it for debian: http://dennis.moellegaard.dk/projects/b ... /#binaries - remember to read the link. If you are not using Debian - you can get the source from github too.
I don't need huge pictures here.

User avatar
[dmp]
Captain
Captain
Posts: 282
Joined: Mon Dec 09, 2002 3:20 pm
Location: CPH, Denmark
Contact:

Windows binary

Post by [dmp] » Sun Mar 16, 2008 7:39 pm

JeffM was kind enough to provide a Windows binary (and some additional help - thanks!): http://dennis.moellegaard.dk/download/b ... _setup.exe
I don't need huge pictures here.

quantum dot
Private First Class
Private First Class
Posts: 1287
Joined: Sun May 16, 2004 10:19 pm
Location: Spain
Contact:

Post by quantum dot » Sun Mar 16, 2008 9:42 pm

I've just tried the windows installer (Jeff's one), but the resulting executable gives me the error you mentioned
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
I am on WinXP, so maybe I need to install widgets before?

havent tried the linux version yet. I'll let you know if any problem when I reboot my laptop on Ubuntu.

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

Post by blast » Sun Mar 16, 2008 10:50 pm

You might need to install the Visual C++ 2005 SP1 Redistributable Package (x86) to run the software. That specific download works with Windows 2000, XP, Vista, and Server 2003. For those running Windows 98, 98SE, and Me, you can try the one without SP1.
"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

quantum dot
Private First Class
Private First Class
Posts: 1287
Joined: Sun May 16, 2004 10:19 pm
Location: Spain
Contact:

Post by quantum dot » Mon Mar 17, 2008 1:53 am

blast wrote:You might need to install the Visual C++ 2005 SP1 Redistributable Package (x86) to run the software. That specific download works with Windows 2000, XP, Vista, and Server 2003. For those running Windows 98, 98SE, and Me, you can try the one without SP1.
do i need visual c++ even if i am not compiling? what is the use of the self-installer for windows then?

ps: reading the info on the page you pointed, it seems so, i do need this even to be able to run c++ applications...

ps2: indeed, thx blast, now it works. I am more used to linux where I have all this libs handy. [dmp] this looks really nice and useful.

Legolas_
Private First Class
Private First Class
Posts: 513
Joined: Thu Jan 20, 2005 10:24 pm

Post by Legolas_ » Mon Mar 17, 2008 3:25 am

I remember I made a similar applescript-application for mac users that did the same thing with the same name :-D. Glad to see progress being made from players.

User avatar
[dmp]
Captain
Captain
Posts: 282
Joined: Mon Dec 09, 2002 3:20 pm
Location: CPH, Denmark
Contact:

Post by [dmp] » Mon Mar 17, 2008 9:06 am

quantum dot wrote:do i need visual c++ even if i am not compiling? what is the use of the self-installer for windows then?
Nope, you don't need Visual C++ - "just" some of its runtime libraries.

I think I was a bit naive to think that installing my app on windows only required copying the .exe and a single dll. It seems that the world is more complicated, since a redistribution package is required too. So currently the installer only makes it easy to remove it again :)
quantum dot wrote:[dmp] this looks really nice and useful.
Thanks. If you got any ideas for future improvements, please tell :) The next feature I'm going to work on is probably going to be a search functionality.
legolas_ wrote:I remember I made a similar applescript-application for mac users
Yeah, and david_v also made one, (applet) and a french guy (le-something) made on in Python. I think both used the same name too. :) wxWidgets also supports OSX, so porting is "only" configuring a project. But I'm even more clueless when it comes to OSX :)
I don't need huge pictures here.

quantum dot
Private First Class
Private First Class
Posts: 1287
Joined: Sun May 16, 2004 10:19 pm
Location: Spain
Contact:

Post by quantum dot » Mon Mar 17, 2008 9:27 am

[dmp] wrote: and a french guy (le-something) made on in Python.
"Le Poulpe" is his nickname :wink:

User avatar
[dmp]
Captain
Captain
Posts: 282
Joined: Mon Dec 09, 2002 3:20 pm
Location: CPH, Denmark
Contact:

Post by [dmp] » Mon Mar 17, 2008 9:34 am

Yeah that's the guy. Guess I won't win any prices for innovation or naming ;)
I don't need huge pictures here.

User avatar
[dmp]
Captain
Captain
Posts: 282
Joined: Mon Dec 09, 2002 3:20 pm
Location: CPH, Denmark
Contact:

Webpage updated

Post by [dmp] » Mon Mar 17, 2008 8:37 pm

I've updated the web-page, which describes (very briefly) the hidden features.

http://dennis.moellegaard.dk/projects/bzlauncher/#help

Comments are welcomed.
I don't need huge pictures here.

User avatar
khazhyk
Private First Class
Private First Class
Posts: 1400
Joined: Sun Feb 06, 2005 5:40 pm
Location: Somewhere over there.
Contact:

Post by khazhyk » Mon Mar 17, 2008 11:38 pm

[dmp]
It would be cool if you could download which servers are match servers, and when you join them you automatically switch to observer. Or you could right click on a server and click "join as"> "team name"

Very cool program, very useful, too.
Image

User avatar
[dmp]
Captain
Captain
Posts: 282
Joined: Mon Dec 09, 2002 3:20 pm
Location: CPH, Denmark
Contact:

Post by [dmp] » Mon Mar 17, 2008 11:58 pm

me1

Thanks and nice idea - it's noted :) For the next release (1.0 probably) will get a "Join as $team" feature.

Without promising anything, I've been talking with strayer about fetching some of his data (like what league a server belongs to if any) for post-1.0 release. So joining as observer on league-servers would be possible and useful :)

Current planned 1.0 features are:
  • Search
  • Control what team you join as (via right clickmenu? "Join as Green", "Join as Red" ...)
  • Configuration dialog
  • Rename RH to RC
  • Protocol handlers
  • Add launch button from server-view
I don't need huge pictures here.

io
Private First Class
Private First Class
Posts: 179
Joined: Sat Nov 19, 2005 5:32 pm
Location: Bzflag

Post by io » Tue Mar 18, 2008 2:50 am

nice i like it ^^

Cool tool

Edit:

Mabey add a "Minimize to tray" funktion
Marzipan


Why be normal when you can be yourself?

We dance because we can not fly

Legalize it!

I created a map, i just can't remeber because i were high.


bzflag.norang.ca
Openleague
Linuxratings
Soccer-Tournament

io
Private First Class
Private First Class
Posts: 179
Joined: Sat Nov 19, 2005 5:32 pm
Location: Bzflag

Post by io » Mon May 26, 2008 6:02 pm

is this project dead ? ^^ I like that app still use it
Marzipan


Why be normal when you can be yourself?

We dance because we can not fly

Legalize it!

I created a map, i just can't remeber because i were high.


bzflag.norang.ca
Openleague
Linuxratings
Soccer-Tournament

User avatar
strayer
Sergeant Major
Sergeant Major
Posts: 191
Joined: Sat May 24, 2003 3:54 pm
Location: Germany
Contact:

Post by strayer » Mon May 26, 2008 8:53 pm

no, it's not dead...
[dmp] is still working on it whenever he has time to. The current test build contains some very nice (and useful) features. I don't know if he wants to publish it before doing some structural improvements.
However...stay tuned...there will be a new release within the next...hm...year (o:?:o)
A pessimist is an optimist with experience... ;o)

User avatar
[dmp]
Captain
Captain
Posts: 282
Joined: Mon Dec 09, 2002 3:20 pm
Location: CPH, Denmark
Contact:

Post by [dmp] » Mon May 26, 2008 10:10 pm

Nope, it's not dead. Current dev-version looks like this.
Image

However, the ping measurements is often wrong, as its influenzed by the time it takes to update the various GUI elements, which makes it pretty much useless. I "just" need to fix that, before the next release.

But as strayer mentions this need some reworking of the code. And while I'm at it, I will try to do it properly to support some planned future features.

I have no ETA - but within a year is realistic :)
I don't need huge pictures here.

User avatar
Cruel dog
Private First Class
Private First Class
Posts: 173
Joined: Sat Jul 16, 2005 9:32 pm
Location: Québec province, Canada
Contact:

Post by Cruel dog » Tue May 27, 2008 5:59 pm

Cool app, worths being used with bzflag. :) Now I can ping, see server infos instantly, up to date, without using the bzflag client.
Owner@ BZAddict.net
Admin @ bunch of servers
And much more!
"Even if I am named Cruel dog, I still am friendly! I just become Cruel with troublemakers! xD"

User avatar
kc9foh
Private First Class
Private First Class
Posts: 48
Joined: Sat Jan 22, 2005 3:34 am
Location: South Beloit, IL USA
Contact:

Post by kc9foh » Thu Jun 26, 2008 2:12 pm

I know I am a little behind. I like it too maybe a link off the main BZflag web page could be done for those that don't use the forums to find easier for download. Keep up the great work.

User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano » Thu Jun 26, 2008 2:29 pm

kc9foh wrote:I know I am a little behind. I like it too maybe a link off the main BZflag web page could be done for those that don't use the forums to find easier for download. Keep up the great work.
This is not an official BZFlag project. It is the work of a community member, so it won't be featured as an official download on our site.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests