Unvanquished Development activity

Events from:

Daemon Engine
Daemon Engine
Tuesday, 20 October 2020
@illwieckz
illwieckz opened a pull request in DaemonEngine/Daemon Oct 20, 2020
some revamp on IQM and MD5 model code #389

I was looking to see if there was a way to reduce engine side the impact of some model slowing down a lot the game on some older hardware (see Unva…

+189 -165
@illwieckz
illwieckz opened a pull request in DaemonEngine/Daemon Oct 20, 2020
avoid some useless texture OpenGL bind for unused feature #388

Some really minor change. avoid some useless texture OpenGL bind for unused feature (note: I left intact the forward renderer and other less teste…

+27 -10
@slipher
slipher opened an issue in DaemonEngine/Daemon Oct 20, 2020
Redundancy in Mac shared library search paths #387

For the Mac build, the binary's rpath (search path for shared libraries) is set to @executable_path/;${DEPS_DIR};${DEPS_DIR}/lib, meaning it looks …

Daemon Engine
Daemon Engine
Monday, 19 October 2020
@illwieckz
illwieckz pushed to DaemonEngine/Daemon Oct 19, 2020
2 commits to 0.52.0/sync
  • @illwieckz fc2f748
    tr_shade: don't load and compile lightTile GLSL shaders if the tiled …
  • @illwieckz a672468
    tr_fbo,tr_vbo: avoid more useless lightTile computation if the tiled …
  • 1 more commits »
@illwieckz
illwieckz merged a pull request in DaemonEngine/Daemon Oct 19, 2020
Do not use lightTile code when tiled renderer is disabled, fix rendering on Radeon R300 with tiny ALU, fix #344 #381

Do not call RB_RenderPostDepth when the tiled renderer is disabled. It looks like this function added in 0bb3550 is only used when the tiled render…

+80 -22
3 comments
@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#381 Oct 19, 2020

@slipher do you have something more to say?

@slipher
slipher opened an issue in DaemonEngine/Daemon Oct 19, 2020
Dynamic lights not removed on GeForce GTX 1070 #386

Whenever I fire one of the weapons with a muzzle flash (e.g. rifle, lasgun, mdriver), the light effect persists indefinitely, until the next time t…

@slipher
slipher commented on issue DaemonEngine/Daemon#372 Oct 19, 2020

This is basically working as intended (see #202). You shouldn't be able to bring your own cgame when connecting to a remote server (unless cheats a…

@slipher
slipher commented on issue DaemonEngine/Daemon#371 Oct 19, 2020

How about Warn with red text, for an extra big warning (and remove the redundant WARNING from the message).

Unvanquished
Unvanquished
Sunday, 18 October 2020
@necessarily-equal
necessarily-equal commented on pull request Unvanquished/Unvanquished#1229 Oct 18, 2020

That makes me think… We could have force fields in games! Kinda like those in the Darth Maul duel in Star Wars 1 or the cargo bay access to space i…

@Gireen
Gireen pushed to Unvanquished/Unvanquished Oct 18, 2020
1 commit to master
@Gireen
Gireen merged a pull request in Unvanquished/Unvanquished Oct 18, 2020
make toggleable walls bot obstacles #1229

doesn't work on walls that are spawned on map start relevant for #1220

+34 -8
6 comments
@Gireen
Gireen commented on pull request Unvanquished/Unvanquished#1229 Oct 18, 2020

I'm trying mapping and look what interesting things are possible. And thereby came up with a silly method to change maps. 😀

@vicobill

An FPS/RTS hybrid game powered by the Daemon engine (a combination of ioq3 and XreaL)

C++ 555 Updated Oct 18

Unvanquished
Unvanquished
Saturday, 17 October 2020
@cu-kai
cu-kai commented on issue Unvanquished/Unvanquished#1228 Oct 17, 2020

Here is the gfxinfo output with the new GLEW...

@illwieckz
illwieckz commented on issue Unvanquished/Unvanquished#1228 Oct 17, 2020

Oh, @cu-kai are you saying you get more than OpenGL 2 on the same macOS with that newer GLEW?

@cu-kai
cu-kai commented on issue Unvanquished/Unvanquished#1228 Oct 17, 2020

Yes, this worked for me, thank you @slipher! It also means the game launches with an OpenGL 3.x context which I believe @illwieckz questioned on th…

@slipher
slipher commented on issue Unvanquished/Unvanquished#1228 Oct 17, 2020

If you want to try it yourself, do brew install glew and replace the libGLEW.1.12.0 file (in the same directory as daemon) with /usr/local/Cellar/g…

@slipher
slipher commented on issue Unvanquished/Unvanquished#1228 Oct 17, 2020

I reproduced the issue with a build based on the 0.52 branches. It occurs because GLEW provides null for the address of glMapBufferRange. I tried r…

Daemon Engine
Daemon Engine
Friday, 16 October 2020
@slipher
slipher commented on pull request DaemonEngine/Daemon#382 Oct 16, 2020

I tried with X instead of Wayland, but didn't managed to reproduce your bugs. I did find one other way for r_custom* to get changed. If you set r_m…

@illwieckz
illwieckz opened an issue in UnvanquishedAssets/map-vega_src.dpkdir Oct 16, 2020
Tryant blocking cardboxes in alien base #2

Those cardboxes prevent Tyrant to leave the base (especially bots), making them useless and very vulnerable.

@illwieckz
illwieckz closed an issue in DaemonEngine/Daemon Oct 16, 2020
Missing faces on Nvidia Curie (Geforce 6000/7000) running with Nvidia 304 driver and ATI R300 ones (regression) #376

Only Nvidia Curie (Geforce 6000/7000) running with Nvidia 304 driver are affected, that's a regression. This bug is a combination of two: #375 Bad…

4 comments
@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#382 Oct 16, 2020

Note: I use GNOME Shell with Xorg, not Wayland, maybe there is a difference between both?

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#382 Oct 16, 2020

Hmm, I already knew GitHub does nasty things with commit ordering etc. but well, I missed two commits. I don't know yet for that resize issue, but …

@slipher
slipher commented on pull request DaemonEngine/Daemon#382 Oct 16, 2020

Are you sure you are testing with the right code? I pushed the r_allowResize-related commit later than the other ones.

Daemon Engine
Daemon Engine
Thursday, 15 October 2020
@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#382 Oct 15, 2020

Also, because that's a development build, I'm running game as shared lib, I doubt this would have any impact, but that's to give more information a…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#382 Oct 15, 2020

How exactly do you produce bugs? Exactly the same way you attempted to: Alt+Enter, Alt+Tab and vid_restart😕 I'm using Ubuntu 20.04 with GNOME S…

@slipher
slipher commented on pull request DaemonEngine/Daemon#382 Oct 15, 2020

I did a lot of Alt+Enter, Alt+Tab and vid_restart on this branch in a Debian bullseye VM with GNOME desktop, but nothing bad happened. I also tried…

Daemon Engine
Daemon Engine
Wednesday, 14 October 2020
@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#381 Oct 14, 2020
@illwieckz
illwieckz pushed to DaemonEngine/Daemon Oct 14, 2020
2 commits to 0.52.0/sync
  • @illwieckz c9a0b03
    tr_image: add code name for compressed RGB when listing images
  • @illwieckz e8847b8
    tr_image: add some code names for RGTC variant when listing images
  • 1 more commits »
@illwieckz
illwieckz merged a pull request in DaemonEngine/Daemon Oct 14, 2020
tr_image: add debug log for undocumented formats and add more code names when listing images #378

Some improvements to help debugging: add debug log for unknown formats when listing images, add some code names for RGTC variant when listing images,

+32 -4
1 comment
@slipher
slipher commented on pull request DaemonEngine/Daemon#378 Oct 14, 2020

I think imageDataSize is supposed to be the size on disk. For the unknown ones, I'd rather see a simple TODO: find imageDataSize rather than the my…

@slipher
slipher commented on pull request DaemonEngine/Daemon#381 Oct 14, 2020

It would be more relevant to say why the code accomplishes nothing/is not needed when the tiled renderer is not used, rather than some information …

@illwieckz
illwieckz closed an issue in DaemonEngine/Daemon Oct 14, 2020
Bad normal map channel detection, seems to be related to missing ARB_texture_compression_rgtc #375

I noticed multiple bugs, some being regressions, on Nvidia Geforce 6000 and Geforce 7000 series. Those cards do not work with nouveau (ARB_framebuf…

6 comments
@illwieckz
illwieckz pushed to DaemonEngine/Daemon Oct 14, 2020
1 commit to 0.52.0/sync
  • @illwieckz ced56d8
    tr_shader: do not detect heightmap in normalmap alpha channel, unless…
@illwieckz
illwieckz merged a pull request in DaemonEngine/Daemon Oct 14, 2020
tr_shader: do not detect heightmap in normalmap alpha channel, unless asked to, fix #375 #379

With this PR, normalMap material keyword loads a file and assume it's a normal map without height map in alpha channel (even if the engine believe…

+75 -34
5 comments
@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#375 Oct 14, 2020

SomaZ said the detection done in engine like OpenJK is about detecting file suffix (_nh) in a similar fashion to Darkplaces does, not about detecti…

@slipher
slipher commented on pull request Unvanquished/Unvanquished#1158 Oct 14, 2020

The meanings of 2 and 3 are swapped in the code vs. the above comment, but I suppose the order doesn't matter. So the code LGTM semantically. Pleas…

@slipher
slipher commented on pull request Unvanquished/Unvanquished#1229 Oct 14, 2020

LGTM; I too have no idea how this part of the code works. How did you run into this issue when there are no maps that use it?

Daemon Engine
Daemon Engine
Tuesday, 13 October 2020
@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#379 Oct 13, 2020

Hmm, since all those tricks are there to move the ParseMap call out of ASSERT, then we can just avoid a bool and do: if ( !ParseMap( &initialText,…

@slipher
slipher commented on pull request DaemonEngine/Daemon#379 Oct 13, 2020

There is already a facility for marking an unused variable, Q_UNUSED. It's used like Q_UNUSED(variable); Alternatively if(!parsed) ASSERT(false); w…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#379 Oct 13, 2020

@slipher, I rewrote the things accordingly. I added a UNUSED keyword to silent the compiler complaining about parsed being unused on non-debug code…

Unvanquished
Unvanquished
Monday, 12 October 2020
@illwieckz
illwieckz commented on issue Unvanquished/Unvanquished#1215 Oct 12, 2020

@slipher On Mageia, RDX happened to contain a readable address, while on Debian Buster it contained 4. Did you mean Bullseye? If I'm right Buster…

@illwieckz
illwieckz commented on issue Unvanquished/Unvanquished#1215 Oct 12, 2020

Thanks @mole99 for the testing! I updated a bit the script to properly catch any other crash that may happen and cleanup properly after that.

@slipher
slipher commented on pull request DaemonEngine/Daemon#379 Oct 12, 2020

I suggest as follows. Notes: DoDebugCode is used to execute the code only if the log level is debug. char buffer[1024] = ""; requires the entire b…

@mole99
mole99 commented on issue Unvanquished/Unvanquished#1215 Oct 12, 2020

Can confirm that the patcher works for me.

@illwieckz
illwieckz commented on issue Unvanquished/Unvanquished#1215 Oct 12, 2020

Here is an on-the-fly patcher (not destructing the original binary): #! /usr/bin/env bash # Unvanquished 0.51.1 Linux patcher # CC0 1.0 2020 Unvanq…

@slipher
slipher commented on issue Unvanquished/Unvanquished#1215 Oct 12, 2020

Commands for fixing the client and server engine binaries from the 0.51.1 release: printf '\x8b\x74\x24\x20\x48\x31\xc0\x85\xf6\x0f\x94\xc0\xeb\x3f…

@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#336 Oct 12, 2020

Obsoleted by #341, @slipher did magic to make this not required.

@illwieckz
illwieckz closed an issue in DaemonEngine/Daemon Oct 12, 2020
[Need Help] increase the player stat index #336

Required by Unvanquished/Unvanquished#1182. I need help to increase MAX_STATS as seen here: Daemon/src/engine/qcommon/q_shared.h Lines 1764 to…

32 comments
@illwieckz
illwieckz closed an issue in DaemonEngine/Daemon Oct 12, 2020
GT218, Nvidia 340 failure is back on Quadro NVS 300 #368

We hardcoded some string detection to fix the same issue with the Geforce 210 (See Unvanquished/Unvanquished#971), but the driver string detection …

4 comments
@illwieckz
illwieckz pushed to DaemonEngine/Daemon Oct 12, 2020
2 commits to 0.52.0/sync
  • @illwieckz 0620343
    sys/sdl_glimp: remove a leftover from gl extension loading refactor
  • @illwieckz 93d69ed
    sys/sdl_glimp: rewrite the workaround for Nvidia GT218 on 340 driver, f…
@illwieckz
illwieckz merged a pull request in DaemonEngine/Daemon Oct 12, 2020
sys/sdl_glimp: rewrite the workaround for Nvidia GT218 on 340 driver, fix #368 #370

This may also match Quadro cards and not apply the workaround to all Nvidia products.

+30 -6
3 comments
@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#370 Oct 12, 2020

A daemon.log sample generated on Windows by @slipher shows that both GL_VENDOR and GL_VERSION strings are built-up the same way by the Nvidia propr…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#379 Oct 12, 2020

@slipher do you have any remark on it? I would appreciate some remark on pointer wizardry to keep an unmodified copy of **text if there is a better…

@illwieckz
illwieckz pushed to DaemonEngine/Daemon Oct 12, 2020
1 commit to 0.52.0/sync
  • @illwieckz 0aedaca
    renderer: rewrite 8ba2505 in a better way, do not build unused GLSL s…
@illwieckz
illwieckz merged a pull request in DaemonEngine/Daemon Oct 12, 2020
renderer: rewrite 8ba2505 in a better way, do not build unused GLSL shaders #383

This is just 8ba2505 rewritten in a better way: no need to pop from a list something that is never added to the list to begin with. Also maybe the b…

+36 -47
1 comment
@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#383 Oct 12, 2020

This was tested on a large range of hardware and works as expected. Part of #381 can be rewritten in a better way once this is merged.

@illwieckz
illwieckz pushed to DaemonEngine/Daemon Oct 12, 2020
1 commit to 0.52.0/sync
  • @illwieckz e40828d
    renderer/tr_shader: disable useless heightMapInNormalMap if both norm…
@illwieckz
illwieckz merged a pull request in DaemonEngine/Daemon Oct 12, 2020
disable useless heightMapInNormalMap if both normal and relief mapping are disabled, also fix #376 #377

Disable useless heightMapInNormalMap if both normal and relief mapping are disabled, fix #376. Before: After: This bug is known to affect Nvidia …

+4 -0
1 comment
@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#377 Oct 12, 2020

Implementation is obvious.

@illwieckz
illwieckz pushed to DaemonEngine/Daemon Oct 12, 2020
1 commit to 0.52.0/sync
  • @illwieckz 5bd030d
    tr_shader: test against cvar value instead of pointer, fix #376, ref #…
@illwieckz
illwieckz merged a pull request in DaemonEngine/Daemon Oct 12, 2020
tr_shader: test against cvar value instead of pointer, fix #376, ref #358, #377 #385

fixes #376 issue introduced in 76cf787 makes #358 working as expected see also #377 for hardening the fix for #376

+6 -6
1 comment
@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#385 Oct 12, 2020

This fixes an obvious mistake and the implementation of this fix is obvious.

@illwieckz
illwieckz opened a pull request in DaemonEngine/Daemon Oct 12, 2020
tr_shader: test against cvar value instead of pointer, fix #376, ref #358, #377 #385

fixes #376 issue introduced in 76cf787 makes #358 working as expected see also #377 for hardening the fix for #376

+6 -6
@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#374 Oct 12, 2020

@cmf028, do you have something to say about this?

@illwieckz
illwieckz opened an issue in DaemonEngine/Daemon Oct 12, 2020
Display a Dæmon logo at startup, before everything else can be displayed and before the game can do anything #384

When the engine starts, there is a certain amount of time between the moment the window is created and the game starts to display something. Basica…

Daemon Engine
Daemon Engine
Sunday, 11 October 2020
@briancullinan
briancullinan commented on issue DaemonEngine/Daemon#227 Oct 11, 2020

Nocrogiting: wasm works by way of LLVM, it would probably be more worthwhile to use that in the compile stack and leave wasm out of it. Same goes f…

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1229 Oct 11, 2020

Anything making bots better is welcome! =) LGTM but I'm not a wizard on such topic.

@Gireen
Gireen commented on pull request Unvanquished/Unvanquished#1158 Oct 11, 2020

I assume 0 is to not draw anything anytime? correct

@Gireen
Gireen commented on pull request Unvanquished/Unvanquished#1229 Oct 11, 2020

func_spawn is an object/brush/mapentity that can be toggled. to appear or disappear by a trigger. I don't think that this is used in any of our map…

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1229 Oct 11, 2020

I'm not sure to understand what it is about, do you have a simple in-game example?

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1158 Oct 11, 2020

cg_drawBuildableHealth 1 = as before 2 = only for builders when damaged 3 = always for builders, for others when damaged 4 = for everyone when dam…

@Gireen
Gireen commented on pull request Unvanquished/Unvanquished#1158 Oct 11, 2020

Now every combination is possible cg_drawBuildableHealth 1 = as before 2 = only for builders when damaged 3 = always for builders, for others when …

@necessarily-equal
necessarily-equal commented on pull request Unvanquished/Unvanquished#1229 Oct 11, 2020

just a style thing: this mixes tabs and spaces in the files it touches.

@Gireen
Gireen opened a pull request in Unvanquished/Unvanquished Oct 11, 2020
make toggleable walls bot obstacles #1229

doesn't work on walls that are spawned on map start relevant for #1220

+27 -0
@cu-kai
cu-kai opened an issue in Unvanquished/Unvanquished Oct 11, 2020
Segmentation fault when hearing gun sounds on macOS #1228

There seems to be an issue where the game will crash with a segmentation fault when weapons are fired. The only way to reproduce this is to start a…

@illwieckz
illwieckz commented on issue Unvanquished/Unvanquished#1207 Oct 11, 2020

It looks like to be an engine issue, most of the time is spent in Tess_SurfaceIQM from tr_surface.cpp: https://github.com/DaemonEngine/Daemon/blob/…

Unvanquished
Unvanquished
Saturday, 10 October 2020
@illwieckz
illwieckz commented on issue Unvanquished/Unvanquished#1215 Oct 10, 2020

Wow, that's really deep and interesting! I could make a binary patch for the 0.51 daemon to bypass the problem by replacing a few instructions in …

@slipher
slipher commented on issue Unvanquished/Unvanquished#1215 Oct 10, 2020

I doubt there is anything to be done on the libstdc++ side. It is probably impossible to make a build that can work with both of the error_category

Unvanquished
Unvanquished
Friday, 09 October 2020
@illwieckz
illwieckz commented on issue Unvanquished/Unvanquished#1215 Oct 9, 2020

Wow, that's really interesting! Is there something to report on libstdc++ or we cannot do anything to make old builds like ours to be working again?

@slipher
slipher commented on issue Unvanquished/Unvanquished#1215 Oct 9, 2020

The crash is caused by a mistake or shortcoming in the implementation of the "Dual ABI" concept in libstdc++. For this bug, the relevant dual-ABI c…

Unvanquished Assets
Unvanquished Assets
Thursday, 08 October 2020
@illwieckz
illwieckz opened an issue in UnvanquishedAssets/map-chasm_src.dpkdir Oct 8, 2020
The mechanism to activate the ladder is unknown to newcomers #2

Not only the button does not look like a button, but newcomer don't get any idea about how it works. This is typical of knowledge already known by …

@illwieckz
illwieckz opened an issue in Unvanquished/Unvanquished Oct 8, 2020
Pause the game at startup until a real player joins #1227

It would be cool if on a server the game is paused at startup until a real player joins. This will save a lot of energy on idling servers.

@illwieckz
illwieckz opened an issue in Unvanquished/Unvanquished Oct 8, 2020
Medistation can still heal between death and explosion? #1226

While playing chasm, at some point an mantis killed the medistation, I came with a construction kit to deconstruct it before it explodes. While I w…

@illwieckz
illwieckz commented on issue Unvanquished/Unvanquished#1225 Oct 8, 2020

Something like 5 or 8 minute for a default is good, I see no need for large time like 20 minute, 20 minute is already wrong to join even if no one …

@Gireen
Gireen commented on issue Unvanquished/Unvanquished#1225 Oct 8, 2020

instead of a timer that would be incremented everytime, we may just store a timestamp yes how long would the timeout then be? if its short like 8…

@illwieckz
illwieckz commented on issue Unvanquished/Unvanquished#1225 Oct 8, 2020

instead of a timer that would be incremented everytime, we may just store a timestamp when both events occurs: game starts real player leaves a te…

@illwieckz
illwieckz commented on issue Unvanquished/Unvanquished#1225 Oct 8, 2020

Another way to do it would be to reimplement g_emptyTeamsSkipMapTime in a way it does not use the game time but another timer that would reset and …

@Gireen
Gireen opened an issue in Unvanquished/Unvanquished Oct 8, 2020
Add a delay and warning to g_emptyTeamsSkipMapTime #1225

When level time is bigger than g_emptyTeamsSkipMapTime the game ends if both teams are empty. This happens instantly at the moment which is a probl…

@illwieckz
illwieckz opened a pull request in DaemonEngine/Daemon Oct 8, 2020
renderer: rewrite 8ba2505 in a better way, do not build unused GLSL shaders #383

This is just 8ba2505 rewritten in a better way: no need to pop from a list something that is never added to the list to begin with. Also maybe the b…

+36 -47
Daemon Engine
Daemon Engine
Wednesday, 07 October 2020
@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#382 Oct 7, 2020

Hmmm, I managed to load the game with a map on command line with a “fullscreen” game being minimized, and I cannot move the mouse. It's probably ju…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#382 Oct 7, 2020

So, to sum up the current status: input is lost when going from fullscreen to window (or back) [usually with Alt+Enter], → half fixed (display/hid…

@slipher
slipher commented on pull request DaemonEngine/Daemon#382 Oct 7, 2020

I fixed the thing that sets cvars when you toggle r_fullscreen. I'm happy enough with how it works now on my own machine. Later I'll try it in a Li…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#382 Oct 7, 2020

While running code from your PR, I noticed than when I cycle between windowed and fullscreen using [Alt+Enter], I can recover input by cycling betw…