Xonotic Forums
[SUGGESTION] A small Xonotic launcher - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10)
+--- Forum: Xonotic - Suggestion Box (https://forums.xonotic.org/forumdisplay.php?fid=20)
+--- Thread: [SUGGESTION] A small Xonotic launcher (/showthread.php?tid=3655)



A small Xonotic launcher - Sigma - 11-09-2012

Hey guys,
i wrote a small tool for launching xonotic trough an windowed application to see if there are interesting games etc...
It was influenced a bit with other games' mps with their ingame chats etc...
I wrote it mainly for self use, but if someone is searching something similar he could this a try...
But take a look at it yourself:
http://ubuntuone.com/5hMtgn8YB4yWEaN3vY3dJo
http://ubuntuone.com/654QyruqEsFnsYVAJTs8zJ
http://ubuntuone.com/3zUeyVGawlToA0TLe0KgEH
http://ubuntuone.com/3R59b4MFk7yyiQoq8V91iC
http://ubuntuone.com/3tjjtSlxr4wArv71f6Wnpt
Interested linux amd64 users can download the binary here: http://ubuntuone.com/7VMldKpjtFvbAdCw2M8IZ8
If you want some features added, just let me know and i will think about adding it...
Atm there is no win port planned...
Maybe i'll release it open source some time, but i am not familar with the licenses right now...

Sigma

P.S.: I dont understand this image function Wink .

EDITS:
RELEASE 0.40:
The launcher licensed under the GPL-v3
http://ubuntuone.com/2eGMC04yc5oD0VAFwVeoKU
(see http://forums.xonotic.org/showthread.php?tid=3655&pid=63178#pid63178 for new features).


RE: A small Xonotic launcher - Cyber Killer - 11-09-2012

It's good to see more and more ppl using Qt for writing Xonotic tools :-). Your app looks quite useful.

Though it'll be a cold day in hell when I run a random unknown binary from somebody new on the forum on my system... Sorry, I won't trust/run your app without the code.


RE: A small Xonotic launcher - Maddin - 11-09-2012

(11-09-2012, 04:31 PM)Cyber Killer Wrote: It's good to see more and more ppl using Qt for writing Xonotic tools :-). Your app looks quite useful.
Yeah, Qt ftw! Smile

@Sigma: Please release the code under GPL that people can compile it for themselves if they really want to use your application on Windows (if you didn´t just do that already, it´s fairly easy).


RE: A small Xonotic launcher - Sigma - 11-09-2012

(11-09-2012, 05:00 PM)Maddin Wrote:
(11-09-2012, 04:31 PM)Cyber Killer Wrote: It's good to see more and more ppl using Qt for writing Xonotic tools :-). Your app looks quite useful.
Yeah, Qt ftw! Smile

@Sigma: Please release the code under GPL that people can compile it for themselves if they really want to use your application on Windows (if you didn´t just do that already, it´s fairly easy).

As i told: i just wanna know the licenses i am using Wink .
The only thing that is needed to run it on win, is to change some of the default paths, should be no problem even new for qt-users...
@Cyber Killer: i can understand that Wink .

Sigma


RE: A small Xonotic launcher - Maddin - 11-09-2012

Read this!

http://www.gnu.org/licenses/gpl-howto.html

http://www.gnu.org/licenses/gpl.txt


RE: A small Xonotic launcher - Mr. Bougo - 11-09-2012

It does not have to be GPL. You can use the BSD license for something more permissive or, if I'm not getting this wrong, you can also just publish sources with a copyright notice to make it non-free. It's all up to you as long as you stay within the terms of the components you are using in your program.


RE: A small Xonotic launcher - hutty - 11-09-2012

[Image: 1Z6n6cRi29M2GGafLxwmEh]

just wondering ... how did you know he was using qt? ... gtk looks exactly the same if you are using the oxygen-gtk theme (which comes with newer editions of kde ... ... i think ... )


RE: A small Xonotic launcher - Vargos - 11-10-2012

(11-09-2012, 09:52 PM)hutty Wrote: [Image: 1Z6n6cRi29M2GGafLxwmEh]

just wondering ... how did you know he was using qt? ... gtk looks exactly the same if you are using the oxygen-gtk theme (which comes with newer editions of kde ... ... i think ... )

Lol, wat?!11
KDE=Qt, GTK for Gnome. Read wiki at least, before post=))


RE: A small Xonotic launcher - Cyber Killer - 11-10-2012

(11-10-2012, 01:42 AM)Vargos Wrote:
(11-09-2012, 09:52 PM)hutty Wrote: [Image: 1Z6n6cRi29M2GGafLxwmEh]

just wondering ... how did you know he was using qt? ... gtk looks exactly the same if you are using the oxygen-gtk theme (which comes with newer editions of kde ... ... i think ... )

Lol, wat?!11
KDE=Qt, GTK for Gnome. Read wiki at least, before post=))

Actually hutty is right, a GTK app would look the same on KDE as a Qt app if the themes are setup correctly.

How did I know? A rogue ldd showed up and told me ;-).


RE: A small Xonotic launcher - Sigma - 11-10-2012

I am getting familar with the GPL now because i will release it under GPL with the next version (i just want to cleanup the code, add one or two useful features and make some comments)...
Does someone know, what i have to mind when i use the name or event a logo in the application?
Are there some features you want to have added right know?

Sigma

P.S.: A GPL release is near Wink .


RE: A small Xonotic launcher - Cyber Killer - 11-10-2012

Names & logos are bad karma ;-). Seriously though - you should put up a disclaimer it those are trademarked (or even if they aren't - it's good practice) and hope that whoever owns those won't mind/notice. If they mind they'll surely contact you with a cease and desist letter and state how they want it handled (most likely removed :-P ).


RE: A small Xonotic launcher - Sigma - 12-02-2012

So, some time have passed and i made my opinion on some of the open-source licenses.
I decided to release it under GPL, i hope that Cyber Killers can forget his doubts after studying that code Tongue .
I want to improve it a bit, add some new features from time to time, so dont forget to give some feedback.
The source should compile under windows with an installed qt-framework (i used qt 4.8.2).
The configuration folder is ~/.xonoticLauncher - on windows, too. If there are some modifcations for windoes needed, let me know and i will add it in the next release if is necessary.
To compile it yourself on linux you will need to run "qmake" and "make" in a console in the directory of the extracted .zip.
The .zip includes my binary (AMD64) on linux for those who dont want to compile it themself, if you want, you can leave your builds on other architectures here for completing the set of binaries.

Sigma

P.S.: Download is in the first post and here: http://ubuntuone.com/2wDMBJq4G5GWr26kMzKDbn .


RE: A small Xonotic launcher - Cyber Killer - 12-17-2012

Ok, I found some time to check the code and I'd say it looks safe to run :-).

BTW: you could have saved yourself some work if you had used the normal QSettings instead of your own xml based solution.
BTW2: you need to fix sorting by ping in the server list


RE: A small Xonotic launcher - Sigma - 12-19-2012

I think i need to fix the ping at all with using the system ping.
Thanks for the QSettings tip, i didnt recognized it.
Is there anything wrong in the ping column except the wrong ping time itself?

Sigma


RE: A small Xonotic launcher - Cyber Killer - 12-21-2012

Sorting - it get sorted as a string, not as a number. i.e 1, 21, 22, 2, 3, 4...


RE: A small Xonotic launcher - Sigma - 02-28-2013

I ported the application to "QSettings" as Cyber Killer suggested and also added a search field for cvars.
Download: http://ubuntuone.com/3VcCK6kBvs2YRziSt3aJ0d

Sigma


RE: A small Xonotic launcher - SpiKe - 04-05-2013

Hi,

First, thanks for sharing your Launcher with us, I find it very useful Smile

I noticed some unexpected behaviour on the Xonotic configuration tab, when pressing the "Load" button : https://dl.dropbox.com/u/4199602/Capture%20d%27%C3%A9cran%20-%2005042013%20-%2012%3A40%3A37.png

It resets my Xonotic configuration (screen resolution, nickname, and all other cvars). Is that button supposed to do it ? Tongue


RE: A small Xonotic launcher - Sigma - 04-05-2013

I think it is not supposed to do that. ^^
It resets the configuration ingame?
Does the table show the cleared configuration too?
For everything is fine for me. Huh
Did you refresh the cvar cache?

Sigma


RE: A small Xonotic launcher - SpiKe - 04-05-2013

(04-05-2013, 08:49 AM)Sigma Wrote: I think it is not supposed to do that. ^^
It resets the configuration ingame?
Does the table show the cleared configuration too?
For everything is fine for me. Huh
Did you refresh the cvar cache?

Sigma

Yeah, I had my in-game configuration reset, and I could see it cleared on the table too.

But it might be a problem existing between my chair and my keyboard Big Grin
I didn't reproduce the issue when refreshing the cvar cache before pressing that "Load" button.
Actually, I didn't reproduce the issue at all (oops) Confused


RE: A small Xonotic launcher - Sigma - 04-08-2013

I added an wizard and a progress bar for the server listing.
I also split the settings for the binary to execute for starting Xonotic:
The setting that is used for the path to the binary before is now used for the install directory, but the wizard will show up if you use the new version the first time.
THE WIZARD WILL OVERWRITE ALL SETTINGS WHEN IT IS FINISHED!
Here is the download link: http://ubuntuone.com/2MsmHbnK0jdNXRDfkowc5q
Maybe it would be nice if you post your compiled binaries here in the thread to provide a full set of archs in the download archive.

Sigma


RE: A small Xonotic launcher - SpiKe - 04-09-2013

Hey Sigma,

Wow, nice job ! Big Grin

The wizard is really welcome and helpful for some initial configuration. Smile

There are some good improvements on the servers list (yay, ping works ! :p ) , even if I saw some issues :
- some non-extra servers seem to be duplicated (here's a screenshot) :>
- Sort by ping doesn't work, ping values are sorted by their first number, then their second one, etc. (a screenshot will explain it better Wink )
- On your changelog, you wrote :
Quote:The "refresh" button is locked to prevent crashes and unnecessary traffic
Yeah, true, I had some crashes when I tried to refresh the server list too often (it's not locked for me) :>

PS : Here's some 32-bits binary of XonoticLauncher : https://dl.dropbox.com/u/4199602/XonoticLauncher
Also, I've updated the PKGBUILD for ArchLinux.


RE: A small Xonotic launcher - Sigma - 10-14-2013

Hi guys,
it has been a long time since the last release of the XonoticLauncher, but now i am authorized to announce the release of the XonoticLauncher 0.40 with some amazing features:
- The webkit dependency is now optional and can be disabled in the XonoticLauncher.pro file by uncommenting 2 lines!
- But this will disable the possibility to show the player badget and to use the IRC-Chat.
- Auto refresh mode - The launcher is now able to refresh the server list like the game itself!
- Notifications - You can "watch" servers now by checking them and youll get notified when the map is changed or players joined/left the server! (example: http://ubuntuone.com/47Tx0QytzwwlMSgfBv2C8x )
- This feature is exclusive for Linux and requires libnotify (i dont even know if windows has notifications ^^).
- If you want this feature you have only to uncomment 3 lines in the XonoticLauncher.pro file!
- Characters that are only used in the Xonotic font are now displayed as '_' for better readablity!
- The start tab is removed, so the start button is accessable from everywhere (it looks like this: http://ubuntuone.com/7Up3gFmA3KV7D3DFt9eHsN )!

Finally here is the download: http://ubuntuone.com/2eGMC04yc5oD0VAFwVeoKU

I hope you like it,
Sigma


RE: A small Xonotic launcher - MathCubes - 05-29-2015

Do anybody have it, since UbuntuOne is dead?


RE: A small Xonotic launcher - nifker - 10-15-2015

Can't download it anymore since there is no more Ubuntu One files service.


RE: A small Xonotic launcher - BuddyFriendGuy - 10-17-2015

I also wish there's a git repo for this project somewhere so we can continue the effort.

For example, some kind of pickup lobby would be very nice. IRC is great, but it has slightly higher threshold for the general public. Other possible features that may come in handy are: pulling in the players stats on the side, audio chat, etc.

Anybody know whether there's a way to contact Sigma, or has a copy of the files (is the source available)?