Create an account


Poll: Shall i continue working on it?
This poll is closed.
yes
85.71%
12 85.71%
no
14.29%
2 14.29%
Total 14 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SUGGESTION] A small Xonotic launcher

#1
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...8#pid63178 for new features).
Reply

#2
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.
My contributions to Xonotic: talking in the forum, talking some more, talking a bit in the irc, talking in the forum again, XSkie
Reply

#3
(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).
Reply

#4
(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
Reply

#5
Read this!

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

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

#6
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.
[Image:http://i.imgur.com/4XODR.png]640K ought to be enough for anybody.
     ― Linux Torvalds
Reply

#7
[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 ... )
Reply

#8
(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=))
Reply

#9
(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 ;-).
My contributions to Xonotic: talking in the forum, talking some more, talking a bit in the irc, talking in the forum again, XSkie
Reply

#10
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 .
Reply

#11
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 ).
My contributions to Xonotic: talking in the forum, talking some more, talking a bit in the irc, talking in the forum again, XSkie
Reply

#12
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 .
Reply

#13
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
My contributions to Xonotic: talking in the forum, talking some more, talking a bit in the irc, talking in the forum again, XSkie
Reply

#14
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
Reply

#15
Sorting - it get sorted as a string, not as a number. i.e 1, 21, 22, 2, 3, 4...
My contributions to Xonotic: talking in the forum, talking some more, talking a bit in the irc, talking in the forum again, XSkie
Reply

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

Sigma
Reply

#17
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...0%3A37.png

It resets my Xonotic configuration (screen resolution, nickname, and all other cvars). Is that button supposed to do it ? Tongue
Stats | Maps: CTF: disarray, vinegar, metro DM: labyrinth Duel: cucumber, quark.
Reply

#18
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
Reply

#19
(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
Stats | Maps: CTF: disarray, vinegar, metro DM: labyrinth Duel: cucumber, quark.
Reply

#20
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
Reply

#21
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.
Stats | Maps: CTF: disarray, vinegar, metro DM: labyrinth Duel: cucumber, quark.
Reply

#22
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
Reply

#23
Do anybody have it, since UbuntuOne is dead?
Reply

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

#25
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)?
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  [SUGGESTION] Rocket Launcher model idea Beagle 5 3,319 05-27-2015, 07:45 PM
Last Post: Ogger73
  [SUGGESTION] Add "FPS" to .desktop Launcher electricprism 1 1,490 05-22-2015, 01:33 AM
Last Post: machine!
  [SUGGESTION] Steam: why not an independent closed source launcher? Ferk 14 9,000 11-25-2014, 01:57 PM
Last Post: djstrikes3
  [SUGGESTION] A small addition to the spawn system Dodge 25 13,261 07-05-2013, 06:48 AM
Last Post: Mr. Bougo
  [SUGGESTION] DSX (Damn Small Xonotic) AnArKiSt 11 6,889 05-07-2011, 06:17 PM
Last Post: RedGuff
  [SUGGESTION] Rocket Launcher vs. Mortar Balance Sir Emeth Mimetes 14 10,395 11-28-2010, 02:47 PM
Last Post: rainerzufalldererste
  [SUGGESTION] Fireball launcher suggestions XV22 3 3,681 06-14-2010, 03:56 AM
Last Post: XV22

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-