Unvanquished Development activity

Events from:

Daemon Engine
Daemon Engine
Saturday, 07 December 2019
@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#230 Dec 7, 2019

I removed the colorMap stage keyword as it is useless and seems to have no reason to be used. In the engine, a colormap is a simple map without any…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#230 Dec 7, 2019

that looks ready to me

@illwieckz
illwieckz opened a pull request in DaemonEngine/Daemon Dec 7, 2019
WIP: implement pre-collapsed shader stage, fix #216 #230

This is my attempt to implement pre-collapsed shader stages, as defined in #216. This will allow to use more than one collapsed (multi-texture) sta…

+371 -208
@illwieckz
illwieckz closed an issue in DaemonEngine/Daemon Dec 7, 2019
r_highQualityNormalMapping almost always set overrideNoPicMip true because of stage collapsing #229

Beecause of this in ParseNormalMap(): Daemon/src/engine/renderer/tr_shader.cpp Lines 3103 to 3109 in cb9d354 and because stages are coll…

@illwieckz
illwieckz opened an issue in DaemonEngine/Daemon Dec 7, 2019
r_highQualityNormalMapping almost always set overrideNoPicMip true because of stage collapsing #229

Beecause of this in ParseNormalMap(): Daemon/src/engine/renderer/tr_shader.cpp Lines 3103 to 3109 in cb9d354 and because stages are coll…

This is just !102 redone, the fix seems to have been lost when doing !116.

Basically, netradiant was displaying wrongly some transparent textures, those with cheap transparency stored in tRNS.

If your some of your translucent png textures looked like this, you were facing this bug:

The PNG specification has more than 15 format variants, about 9 for format with transparency. The compression efficiency of PNG does not really comes from the compression algorithm which seems to not have any picture-specific algorithm (it's just zlib) but from that panel of format variants an optimizer can leverage.

As seen on the screenshot, I made a special map to test those PNG formats, the map can be found there: github.com/UnvanquishedAssets/UnvanquishedTestAssets/tree/master/src/map-test-pngalpha_src.dpkdir

The map can also be used to test PNG support in q3map2, and a game renderer.

Thanks to alphashadow feature, we can test q3map2 is reading properly the PNG alpha channel by casting shadows this way:

To test the engine, and help to test q3map2, the textures are displayed two time in game, with a proper blend (true alpha channel), or with a GE128 function to look like what q3map2 proceeds for real when casting shadows:

Thomas Debesse (b4dd98ca) at 07 Dec 04:12

Merge branch 'fixpng' into 'master'

... and 1 more commit

This is just !102 redone, the fix seems to have been lost when doing !116.

Basically, netradiant was displaying wrongly some transparent textures, those with cheap transparency stored in tRNS.

If your some of your translucent png textures looked like this, you were facing this bug:

The PNG specification has more than 15 format variants, about 9 for format with transparency. The compression efficiency of PNG does not really comes from the compression algorithm which seems to not have any picture-specific algorithm (it's just zlib) but from that panel of format variants an optimizer can leverage.

As seen on the screenshot, I made a special map to test those PNG formats, the map can be found there: github.com/UnvanquishedAssets/UnvanquishedTestAssets/tree/master/src/map-test-pngalpha_src.dpkdir

The map can also be used to test PNG support in q3map2, and a game renderer.

Thanks to alphashadow feature, we can test q3map2 is reading properly the PNG alpha channel by casting shadows this way:

To test the engine, and help to test q3map2, the textures are displayed two time in game, with a proper blend (true alpha channel), or with a GE128 function to look like what q3map2 proceeds for real when casting shadows:

@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#216 Dec 7, 2019

I just found another good reason to do the change (see that shader in dynalight test map). This is how is written a scrolling shader whith current …

Unvanquished Assets
Unvanquished Assets
Friday, 06 December 2019
@illwieckz
illwieckz pushed to UnvanquishedAssets/UnvanquishedTestAssets Dec 6, 2019
2 commits to pbr
@illwieckz
illwieckz commented on pull request UnvanquishedAssets/UnvanquishedTestAssets#1 Dec 6, 2019

In the end it must look like this (OpenJK shot):

@illwieckz
illwieckz opened a pull request in UnvanquishedAssets/UnvanquishedTestAssets Dec 6, 2019
WIP: PBR test map #1

I open this PR to remind myself this is still work in progress. I want to do some work on the shader format first. See DaemonEngine/Daemon#216 [ran…

+442 -0
@illwieckz
illwieckz created a repository UnvanquishedAssets/UnvanquishedTestAssets Dec 6, 2019

A test asset repository for the Unvanquished game project

Updated Dec 6

Unvanquished
Unvanquished
Monday, 02 December 2019
@Gireen
Gireen pushed to Unvanquished/Unvanquished Dec 2, 2019
1 commit to master
@Gireen
Gireen merged a pull request in Unvanquished/Unvanquished Dec 2, 2019
Fix Entities::HasFullHealth #1137

This fixes health related bot actions like humans repair and aliens heal.

+1 -1
3 comments
@Gireen
Gireen commented on pull request Unvanquished/Unvanquished#1137 Dec 2, 2019

yeah they thought the whole time every building had full health. This changes let bots retreat UnvanquishedAssets/unvanquished_src.dpkdir#10

@Gireen
Gireen pushed to Unvanquished/Unvanquished Dec 2, 2019
1 commit to master
  • @Gireen 430414e
    reduce impact of close humans on evolution (#1130)
@Gireen
Gireen merged a pull request in Unvanquished/Unvanquished Dec 2, 2019
reduce impact of close humans on evolution #1130

Instead of a single human entity around it requite 1.5 more human buildings/players than aliens.

+24 -3
8 comments
@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#169 Dec 2, 2019

Unvanquished 0.6.0, the oldest release I have, already raises ClipWinding: MAX_POINTS_ON_WINDING on this map while Tremulous does not.

@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#169 Dec 2, 2019

On a side note, in the past it was an error, not a warning (Unvanquished 0.35): It's better to tell the user a cryptic error than just failing sil…

@slipher
slipher commented on pull request Unvanquished/Unvanquished#1130 Dec 2, 2019

Fine with me (I intended to express this with my previous comment).

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1137 Dec 2, 2019

@Gireen is that the only change needed to see alien bots running away in low health situation?

Daemon Engine
Daemon Engine
Sunday, 01 December 2019
@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#16 Dec 1, 2019

I know it would probably need more work, but is it possible to leverage existing cfg file code? also some of the variables already exists as cvar w…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#16 Dec 1, 2019

@DefaultUser as it seems too early to think about protocol uri scheme and I don't want this to block the PR, can you revert this line to unv:// and…

@DefaultUser
DefaultUser commented on pull request DaemonEngine/Daemon#16 Dec 1, 2019

I cherry-picked the relevant commits and force-pushed the result

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#16 Dec 1, 2019

@DefaultUser, can you rebase this on master? I would like to experiment with it. :-)

Unvanquished
Unvanquished
Saturday, 30 November 2019
@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1140 Nov 30, 2019

It looks like I nailed it, so if I merge that to master, future banches ending with /sync will trigger the mechanism. I'm not happy with the fact I…

@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#169 Nov 30, 2019

I really have no idea about how to debug this…

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1140 Nov 30, 2019

So, Travis tests the merge, that makes sense, but that's not cool for us as the merged commit does not have a known branch. commit bde8feb16330dba5…

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1140 Nov 30, 2019

I face an unexpected issue: Travis build commit id that does not exist.

@illwieckz
illwieckz opened a pull request in Unvanquished/Unvanquished Nov 30, 2019
make travis use git-checkout-modules for branch names ending with /sync, <3 @slipher #1140

This is the result of a talk I had with @slipher on IRC yesterday, he was expressing the need for CI tools like travis to be able to checkout a wor…

+3 -0

Inspired on a work I done for XQEMU, this is a simple easy build wrapper. It is meant to be kept simple without so much feature. The first purpose is to give users a simple way to build netradiant (just type ./easy-builder) and voilà, the second purpose is to not add features to this script.

This script is meant to be kept the smallest and simplest possible.

It was designed to allow more advanced usage while keeping the script the most laconic possible.

So, an user can just do:

./easy-builder

If build succeeds, the user would find produced files in install/ sub-directory as usual.

If required, that user can be told to do this to produce a debug build:

./easy-builder --debug

An advanced user can do:

SUBDIR=linux-amd64 VERBOSE=1 ./easy-builder -DFHS_INSTALL=ON -j12

That would build in build/linux-amd64 and install in install/linux-amd64 (which is convenient when building for multiple os/arch), enables FHS layout, compiles with 12 parallel tasks (autodetected if nproc exists), and enables verbose compilation.

I added a commit to auto-enable Crunch compilation in CMake if Crunch submodule is checked-out. The easy-builder script automatically checkouts it if missing.

While I was at it I added a minor tweak in library-bundling to be sure it fails on error.

I edited README so people know the easy-builder script exists.

Unvanquished
Unvanquished
Friday, 29 November 2019
@slipher
slipher commented on pull request Unvanquished/Unvanquished#1139 Nov 29, 2019

See also UnvanquishedAssets/unvanquished_src.dpkdir#9. There's a small bug which is that the menu will allow you to choose a mouse button for the b…

@slipher
slipher pushed to Unvanquished/Unvanquished Nov 29, 2019
2 commits to for-0.52.0
@slipher
slipher pushed to DaemonEngine/Daemon Nov 29, 2019
1 commit to for-0.52.0
  • @slipher 520a832
    Add cgame->engine calls for get/set console keys
@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1135 Nov 29, 2019

I renamed packaging/ to dist/.

@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#227 Nov 29, 2019

I would prefer a submodule than what we currently do as I agree with people being concerned by random download done at CMake time. That said, it's …

Unvanquished
Unvanquished
Thursday, 28 November 2019
@Gireen
Gireen commented on pull request Unvanquished/Unvanquished#1138 Nov 28, 2019

Is CG_Rocket_DFCMAlienEvolve the right place for it?

@DolceTriade
DolceTriade commented on issue DaemonEngine/Daemon#227 Nov 28, 2019

I mean, you can repackage the SDK as a submodule instead. I prefer having the build system "magically" ensure you have all the requisite dependencies.

@DolceTriade
DolceTriade commented on pull request Unvanquished/Unvanquished#1138 Nov 28, 2019

I believe that we should not include this change in the "backend". This is a strictly UI change that should be made in the UI...The circleMenu can …

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1137 Nov 28, 2019

When I read on your server the “Bots repair their base” mention, I was like: “wait, isn't it the expected behavior, wasn't it working before?“, so …

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1130 Nov 28, 2019

Unvanquished is proud to have the best literature reviewing team in the world. One day we will be skilled at C, but at least we are skilled at Engl…

@Gireen
Gireen opened a pull request in Unvanquished/Unvanquished Nov 28, 2019
either display granger or adv granger in evo menu #1138

Only one of them is needed at the same time depending on if the adv granger is unlocked.

+6 -0
@Gireen
Gireen opened a pull request in Unvanquished/Unvanquished Nov 28, 2019
Fix Entities::HasFullHealth #1137

This fixes health related bot actions like humans repair and aliens heal.

+1 -1
@slipher
slipher pushed to DaemonEngine/Daemon Nov 28, 2019
2 commits to for-0.52.0
@slipher
slipher deleted branch origin/for-0.52.0 at DaemonEngine/Daemon Nov 28, 2019

Updated Dec 6

@slipher
slipher pushed to DaemonEngine/Daemon Nov 28, 2019
2 commits to master
@slipher
slipher merged a pull request in DaemonEngine/Daemon Nov 28, 2019
Function to get or set console keys #225

There are other parts to this which will need to go into the for-0.52 branch, the Unvanquished repository, and the unvanquished_src.dpkdir repository.

+64 -26
1 comment
@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1135 Nov 28, 2019

note to myself: don't forget to edit debian/source/include-binaries and fix paths

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1135 Nov 28, 2019

If you're talking about the .cfg files, that sounds interesting to integrate into the engine or other installation methods somehow. Yes, either d…

@slipher
slipher commented on pull request Unvanquished/Unvanquished#1135 Nov 28, 2019

Thanks for the context, sounds good. Could you point out the updated server template? It's hard to find since there are so many files... If you're …

@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#227 Nov 28, 2019

I secretly hope we would be able one day to get rid of an SDK download at build time, to rely on system tools or git submodules instead. To me that…

@DolceTriade
DolceTriade commented on issue DaemonEngine/Daemon#227 Nov 28, 2019

It would change the external_deps download. The external_deps download downloads the NaCl toolchain and some common NaCl libraries. This would be i…

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1135 Nov 28, 2019

Other part of this work is to provide an up-to-date server template, which was missing.

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1135 Nov 28, 2019

Main reason is knowledge and polishing. This raises some corner cases issues that would make the engine design better if fixed¹. Also this such unc…

@slipher
slipher commented on pull request Unvanquished/Unvanquished#1135 Nov 28, 2019

Why do we need this stuff? If we want to commit to the updater, it doesn't seem like a good idea to spend a lot of effort of this especially if it …

@illwieckz
illwieckz opened an issue in Unvanquished/Unvanquished Nov 28, 2019
losing input while switching to/from frullscreen/windowed #1136

I believed it may be related to the old SDL used to build the official release, but I'm reproducing the bug running my old Debian build packaged on…

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1135 Nov 28, 2019

The Debian package seed builds and ships both nacl and native c/sgame, it's not really useful for average user since by default c/sgame is loaded f…

@illwieckz
illwieckz opened a pull request in Unvanquished/Unvanquished Nov 28, 2019
update debian scripts #1135

This is a deep revamp of debian scripts, but in a way the work can benefit for other distributions or packaging technologies. I'm not doing it to s…

+1,515 -406
Unvanquished
Unvanquished
Wednesday, 27 November 2019
@slipher
slipher commented on pull request Unvanquished/Unvanquished#1130 Nov 27, 2019

Change variable name to reflect the fact that only buildables are counted?

Unvanquished
Unvanquished
Monday, 25 November 2019
@illwieckz
illwieckz merged a pull request in Unvanquished/Unvanquished Nov 25, 2019
import 512×512 unvanquished png icon #1118

This one is a 512×512 version, upscaled from the 470×470 we had, instead of the 128×128 we currently have. It looks to be the higher-res version av…

+6 -2
4 comments
@illwieckz
illwieckz pushed to Unvanquished/Unvanquished Nov 25, 2019
1 commit to master
  • @illwieckz 18803c9
    import 512×512 unvanquished png icon
Daemon Engine
Daemon Engine
Sunday, 24 November 2019
@anengineer1
anengineer1 commented on issue DaemonEngine/Daemon#226 Nov 24, 2019

Yes, I have a ppc64le and the fedora os installed. Just tell me, and I will do the testing!!! :-) I'm at you service!

@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#227 Nov 24, 2019

Dropping NaCl would also help us to drop the external deps download.

@illwieckz
illwieckz commented on issue Unvanquished/Unvanquished#1132 Nov 24, 2019

Unless I'm missing something, this really looks like a distro issue, unfortunately I'm not sure I can help you more. How behaves the prebuilt game (y…

@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#226 Nov 24, 2019

A position of tester would be helpful, do you have access to such hardware?

@anengineer1
anengineer1 commented on issue DaemonEngine/Daemon#226 Nov 24, 2019

Thank you a lot for your kind reply! If I find myself in a position to help some way I certainly will. Yes, it would be so sweet indeed to see Daem…

@Gireen
Gireen commented on pull request Unvanquished/Unvanquished#1130 Nov 24, 2019

Evolving whenever you have not recently taken damage could be a bit abusable ... yeah that makes sense, by thinking about it poison would also mak…

Daemon Engine
Daemon Engine
Saturday, 23 November 2019
@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#227 Nov 23, 2019

@Kangz do you have any opinion on existing Wasm runtimes?

@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#226 Nov 23, 2019

I created #227 for the Wasm thing, this one will be the parent issue for tracking x86ism.

@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#226 Nov 23, 2019

Hi, this is known, see Unvanquished/Unvanquished#1086 In any way, we'll keep open your issue as the engine-side one. There is two topics to explore:

@anengineer1
anengineer1 opened an issue in DaemonEngine/Daemon Nov 23, 2019
Daemon engine does not currently support ppc64le arch #226

Greetings, the engine does not currently support ppc64le architecture and its popularity is getting increased lately.

Unvanquished
Unvanquished
Wednesday, 20 November 2019
@slipher
slipher opened a pull request in DaemonEngine/Daemon Nov 20, 2019
Function to get or set console keys #225

There are other parts to this which will need to go into the for-0.52 branch, the Unvanquished repository, and the unvanquished_src.dpkdir repository.

+63 -26
@illwieckz
illwieckz merged a pull request in DaemonEngine/Daemon Nov 20, 2019
fix travis on macos (brew update) #224

fix travis on macos (brew update)

+1 -0
@illwieckz
illwieckz pushed to DaemonEngine/Daemon Nov 20, 2019
2 commits to master
  • @illwieckz 477a3e9
    Merge pull request #224 from illwieckz/travis
  • @illwieckz 2508ed5
    fix travis on macos (brew update)
@illwieckz
illwieckz opened a pull request in DaemonEngine/Daemon Nov 20, 2019
fix travis on macos (brew update) #224

fix travis on macos (brew update)

+1 -0
@illwieckz
illwieckz pushed to Unvanquished/Unvanquished Nov 20, 2019
2 commits to master
  • @illwieckz 41d2e3e
    Merge pull request #1134 from illwieckz/travis
  • @illwieckz 352123a
    fix travis on macos (brew update)
@illwieckz
illwieckz merged a pull request in Unvanquished/Unvanquished Nov 20, 2019
fix travis on macos (brew update) #1134

fix travis on macos (brew update)

+1 -0