1239 Commits

Author SHA1 Message Date
Thomas Debesse
a6942c35a9 use qstat from PATH by default 2018-07-23 02:45:39 +02:00
Zack Middleton
d1bf07e2bc Fix unused MAX_OPENARENA_TYPES 2018-07-03 22:17:57 -05:00
Thomas Debesse
cfeaf67e77
Merge pull request #215 from blueperil/master
Add punkbuster option to CoD
2018-04-20 03:10:40 +02:00
Tilo Brueckner
bd956ec2b4 Add punkbuster option to CoD 2018-04-17 12:22:14 +02:00
Thomas Debesse
e5b7496502 icon update 2018-04-02 19:48:04 +02:00
Thomas Debesse
d2b9108e25 LAN_SERVER pref notebook has nothing to show 2018-04-02 05:38:22 +02:00
Thomas Debesse
a7a4c6141f make LAN server name translatable whenever it's used
the one in games.xml is just a placeholder
2018-04-02 05:31:34 +02:00
Thomas Debesse
54fc673faa quick fixup for "all games" LAN browsers
there was an offset in game preference windows
2018-04-02 05:18:14 +02:00
Thomas Debesse
02a9817ec1
Merge pull request #214 from illwieckz/langroup
add LAN browser for all games, fix #213
2018-04-02 04:24:36 +02:00
Thomas Debesse
3c17a9f64e add LAN browser for all games, fix #213
add a dummy LAN_SERVER game and add to its master group all LAN servers for all games
2018-04-02 04:22:51 +02:00
Thomas Debesse
ff4e58f4a1 initial COD: World at War support 2018-04-02 03:53:53 +02:00
Thomas Debesse
a645a02d87 do_checkinstall: always make clean before building
because the gamesxml2c dance can fools some stuff
2018-04-01 19:21:51 +02:00
Thomas Debesse
4adb2af6a4 square icon does not need alpha channel 2018-04-01 19:21:51 +02:00
Thomas Debesse
169cfbd8e7
Merge pull request #211 from illwieckz/icons
small icon update
2018-03-31 21:08:31 +02:00
Thomas Debesse
27d6e0e6ad give alpha channel to xonotic icon 2018-03-31 21:06:20 +02:00
Thomas Debesse
fcdec2937b square icons do not need alpha channel 2018-03-31 20:12:21 +02:00
Thomas Debesse
973951780b bikeshedding 2018-03-31 19:54:57 +02:00
Thomas Debesse
e07cbc7e6b properly unlist private_suffix, properly allocate and free stuff 2018-03-31 19:39:12 +02:00
Thomas Debesse
14dada8011 little gamesxml2c fixup
to not print it, just put it outside of printable lists
2018-03-31 18:44:34 +02:00
Thomas Debesse
0b72f189f0 add a tool to write the game list wiki page 2018-03-31 18:33:20 +02:00
Thomas Debesse
a5a96f96ad little style touchup 2018-03-31 18:18:17 +02:00
Thomas Debesse
316ef9f3bb
Merge pull request #210 from illwieckz/games
add action quake2 game
2018-03-31 18:16:38 +02:00
Thomas Debesse
34d88f809f add action quake2 game
it expects q2online is installed and the working dir set to ~/.q2online
2018-03-31 18:10:15 +02:00
Thomas Debesse
2af1af8a34
Merge pull request #209 from illwieckz/gamesh
also write private list from games.xml
2018-03-31 17:20:23 +02:00
Thomas Debesse
ed2f2d8255 also write private list from games.xml
- also write private list from games.xml, prevent sneaky mistakes
- rewrite some things a better way
- close files
2018-03-31 17:13:18 +02:00
Thomas Debesse
1059e31378
Merge pull request #208 from illwieckz/colorflags
more color code filtering
2018-03-31 14:54:15 +02:00
Thomas Debesse
5275502e39 Unvanquished color codes are Wolf:ET ones
By the way only Unvanquished has to filter them out
since QUAKE3_COLOR_ANY is enough for Wolf:ET
2018-03-31 14:38:04 +02:00
Thomas Debesse
1fe92ae133 doom3 ^^ color code is empty string 2018-03-31 14:38:04 +02:00
Thomas Debesse
fd44c4a254 add quake4 color code
perhaps they are q4max specific, but currently
XQF is not able to filter color codes by mod

strip quake3 alphanumeric code in the end just
before quake3 any in because some other games
can use both quake3 alphanumeric and another code
that starts with an alphanumeric like q4max RGB
2018-03-31 14:35:05 +02:00
Thomas Debesse
5dc02b93e8
Merge pull request #207 from illwieckz/games
alternate game id in master server list / never trust qstat for game id
2018-03-30 21:51:24 +02:00
Thomas Debesse
a8bb96bb81 add a color_flags entry in games.xml 2018-03-28 02:45:22 +02:00
Thomas Debesse
4e8c839b32 update master server list 2018-03-28 00:08:12 +02:00
Thomas Debesse
7633d29b91 never trust qstat for game id
qstat returns the qstat_str, not the game id
for example we use -cods for COD:UO that will return CODS
instead of CODUOS and XQF will mark the server for the
wrong game, never trust qstat, always trust XQF

it also avoids the need to create useless entries in qstat.cfg
just to tell XQF to query the right game relying on qstat output:
never rely on it, XQF knows what is good
2018-03-28 00:08:12 +02:00
Thomas Debesse
2b4483a12e allow to set an alternate game id in master server list
some games are known to support multiple protocols, when
you fetch a web list of server, it's good to be able to
enforce which alternative protocol must be used to query
the servers from this specific list

this functionnality is currently only supported in hard
coded list of masters, the GUI does not allow to set
the alternative query protocol when adding a master server
by hand or a server by hand, by the way user config files
can be edited to reflect that

you can set an alternate this way (using a pipe as separator):

ADD AMS|GPS http://www.qtracker.com/server_list_details.php?game=armyoperations qtracker.com

server fetched by this master server will be queried using the
gamespy GPS protocol instead of the AMS one, but they will be
considered as AMS games

it prevents some games to answer strings like:

> what broken query tool do you use?

because basically some version grok an old protocol
but other versions only grok the gamespy one: if the
server is listed in a gamespy master server, always
query it using the gamespy server protocol
2018-03-28 00:07:27 +02:00
Thomas Debesse
bbfdb6e4f6
Merge pull request #206 from illwieckz/games
A bunch of game updates
2018-03-27 23:55:23 +02:00
Thomas Debesse
427538f3f6 better-looking teeworlds support 2018-03-27 23:47:36 +02:00
Thomas Debesse
d4f46dd036 add Quetoo game
it's a Quake 2 derivated multiplayer game:
http://quetoo.org/
2018-03-27 23:47:36 +02:00
Thomas Debesse
dba4c7efe7 write xpm list at build time 2018-03-27 23:47:36 +02:00
Thomas Debesse
ffcaa6ab27 sync qstat.cfg with qstat 2018-03-27 23:47:36 +02:00
Thomas Debesse
975c142f77 some COD: UO fixes 2018-03-27 23:47:36 +02:00
Thomas Debesse
f47f793f37 extract master server list from source.c (as masters.c) 2018-03-27 23:39:31 +02:00
Thomas Debesse
5a4cf1c1c8 add D-Day: Normandy game
it's a Quake2 mod that is now standalone:
https://github.com/PowaBanga/DDaynormandyFPS/
2018-03-27 23:39:31 +02:00
Thomas Debesse
94ca6cbcb6
Merge pull request #205 from zturtleman/colorcodes
Accurate Quake 3 color code removal
2018-03-27 23:37:15 +02:00
Zack Middleton
e305fb303e Accurate Quake 3 color code removal
Make Quake 3 remove all sequences of ^ followed by a character other
than ^ to match the engine behavior. This is required for Wolfenstein:
Enemy Territory servers as people use any character (such as ',').

Add a new color flag COLOR_QUAKE3_NUMERIC for games that expect only
^[0-9] to be removed.

Add a new color flag COLOR_QUAKE3_ALPHA for ioquake3-based games that
(combined with COLOR_QUAKE3_NUMERIC) expect only ^[0-9a-zA-Z].
2018-03-26 17:55:59 -05:00
Thomas Debesse
e1d1abec4b
Merge pull request #204 from illwieckz/colorcode
Remove unused ^P000o Unvanquished color code
2018-03-23 00:28:10 +01:00
Thomas Debesse
303245a27e Remove unused ^P000o Unvanquished color code
See 6d46b4d84e (commitcomment-28224665)

That Unvanquished P000o color code was implemented from a documentation this now gone, and I'm not able to find any implementation of this in both initial commit and latest commit of Dæmon engine, neither in XreaL nor ET:XreaL codebase. So if it ever existed one day, it never left that tree and was deleted before being used. I will just drop it. If someone needs it one day, this code will remain in git history. Unvanquished/Daemon now uses Xonotic notation for RGB color codes.

Note that if that could would have to be reverted because it was found a game was making use of them, that since [pP] is part of [a-zA-Z] and because Unvanquished also support Quake3 color codes, the Quake3 color code filter would have to be moved after the Unvanquished one.
2018-03-23 00:25:09 +01:00
Thomas Debesse
ecb165f246
Merge pull request #203 from illwieckz/gamesh
also write server_type enum from games.xml, avoid GAMES_TOTAL ambiguity
2018-03-22 23:59:40 +01:00
Thomas Debesse
710d34c4a0 use UNKNOWN_SERVER everytime there is GAMES_TOTAL
GAMES_TOTAL is equal to UNKNOWN_SERVER and the GAMES_TOTAL name
is ambiguous because people can believe it's the amount of games
including UNKNOWN_SERVER.

Using UNKNOWN_SERVER instead of GAMES_TOTAL makes explicit that
a code like that is listing every games except the unknown one:

	for (i = 0; i < UNKNOWN_SERVER; i+)
2018-03-22 23:34:14 +01:00
Thomas Debesse
de8676e758 also write server_type enum from games.xml
Automatically generate the server_type enum from games.xml
to reduce hand-written code and avoid sneaky sorting errors
2018-03-22 23:34:01 +01:00
Zack Middleton
a62038a319 Fix format string is not a string literal warnings 2018-03-21 00:25:59 -05:00