Page MenuHomeWildfire Games
Feed All Stories

May 6 2022

Vulcan added a comment to D4636: Adds dummy renderer backend.

Successful build - Chance fights ever on the side of the prudent.

May 6 2022, 10:22 PM
Vulcan added a comment to D4636: Adds dummy renderer backend.

Successful build - Chance fights ever on the side of the prudent.

May 6 2022, 9:59 PM
Vulcan added a comment to D4636: Adds dummy renderer backend.

Successful build - Chance fights ever on the side of the prudent.

May 6 2022, 9:58 PM
vladislavbelov updated the diff for D4636: Adds dummy renderer backend.
May 6 2022, 9:41 PM
marder abandoned D4270: improve player_water material .

https://trac.wildfiregames.com/ticket/6532

May 6 2022, 8:17 PM
marder abandoned D4563: remove siege and elephants from formations and improve general formation pathfinding.

in favor of D4605

May 6 2022, 8:11 PM
vladislavbelov added a comment to D4636: Adds dummy renderer backend.

Could you at least make the dummy::CDevice constructor public.
The public create function allows to create it from everywere only prevents creation on the stack:
ps/ArchiveBuilder.cpp L80 and praphics/tests/test_TextureManager.h L31 could be "normal" stack variables.

Ok.

May 6 2022, 6:43 PM
phosit added a comment to D4636: Adds dummy renderer backend.

Why are the constructors private?

To emphasize that they should be created only by their device.

May 6 2022, 6:10 PM
vladislavbelov added inline comments to D4636: Adds dummy renderer backend.
May 6 2022, 5:21 PM
wraitii added inline comments to D4629: Fix rP26801 - Only allwo changing passability of formation controllers..
May 6 2022, 4:58 PM
Freagarach added inline comments to D4629: Fix rP26801 - Only allwo changing passability of formation controllers..
May 6 2022, 4:55 PM
wraitii added inline comments to D4629: Fix rP26801 - Only allwo changing passability of formation controllers..
May 6 2022, 3:36 PM
Stan added inline comments to D4636: Adds dummy renderer backend.
May 6 2022, 2:46 PM
vladislavbelov added a comment to D4636: Adds dummy renderer backend.

Why are the constructors private?

To emphasize that they should be created only by their device.

May 6 2022, 2:02 PM
vladislavbelov added a comment to D4636: Adds dummy renderer backend.

Thanks!

May 6 2022, 1:57 PM
marder added inline comments to D4593: Fix slow formation movement on spamclick; increase instant turn angle.
May 6 2022, 10:08 AM
autobuild committed rP26854: [i18n] Updated POT and PO files..
[i18n] Updated POT and PO files.
May 6 2022, 9:13 AM
Vulcan added a comment to D4626: add parentheses overlooked in rP26520.

Build failure - The Moirai have given mortals hearts that can endure.

May 6 2022, 9:07 AM
Vulcan added a comment to D4626: add parentheses overlooked in rP26520.

Build failure - The Moirai have given mortals hearts that can endure.

May 6 2022, 9:00 AM
Vulcan added a comment to D4626: add parentheses overlooked in rP26520.

Build failure - The Moirai have given mortals hearts that can endure.

May 6 2022, 9:00 AM
marder updated the diff for D4626: add parentheses overlooked in rP26520.

timer before component

May 6 2022, 8:56 AM
Vulcan added a comment to D4593: Fix slow formation movement on spamclick; increase instant turn angle.

Successful build - Chance fights ever on the side of the prudent.

May 6 2022, 8:51 AM
Vulcan added a comment to D4593: Fix slow formation movement on spamclick; increase instant turn angle.

Successful build - Chance fights ever on the side of the prudent.

May 6 2022, 8:49 AM
Freagarach accepted D4593: Fix slow formation movement on spamclick; increase instant turn angle.

Looks good (in more ways than one :) ).

May 6 2022, 8:46 AM
marder retitled D4593: Fix slow formation movement on spamclick; increase instant turn angle from Fix slow formation movement on spamcklick; increase instant turn angle to Fix slow formation movement on spamclick; increase instant turn angle.
May 6 2022, 8:43 AM
marder updated the diff for D4593: Fix slow formation movement on spamclick; increase instant turn angle.

1.5

May 6 2022, 8:43 AM
Freagarach added inline comments to D4629: Fix rP26801 - Only allwo changing passability of formation controllers..
May 6 2022, 7:46 AM
Freagarach added a comment to D4629: Fix rP26801 - Only allwo changing passability of formation controllers..

You'll need to update cmpUnitMotionFlying to also update the clearance in cmpObstruction.

May 6 2022, 7:43 AM
Freagarach added a comment to D4593: Fix slow formation movement on spamclick; increase instant turn angle.

I would like to see the ITA of a unit as a first fix (so a value of 1.5). Than we can later discuss/establish whether the value is necessary at all.

May 6 2022, 7:34 AM
Freagarach abandoned D4595: Fix slow formation movement on spam-click..

No clue why, and D4593 seem okay.

May 6 2022, 7:33 AM
Freagarach added a comment to D4626: add parentheses overlooked in rP26520.

This is your error:

ERROR: JavaScript error: simulation/components/Formation.js line 158
Engine.QueryInterface(...) is null
  Formation.prototype.Init@simulation/components/Formation.js:158:9
  global.ConstructComponent@simulation/components/tests/setup.js:112:6
  @simulation/components/tests/test_Formation.js:22:40
May 6 2022, 7:30 AM
Langbart resigned from rP26284: Moves color mask, depth mask and function management from CShaderPass to….

see rP26852

May 6 2022, 7:17 AM
autobuild committed rP26853: [Windows] Automated build..
[Windows] Automated build.
May 6 2022, 5:59 AM

May 5 2022

phosit added a comment to D4636: Adds dummy renderer backend.

Why not use variant? (instead of a pointer to base class)

A bit longer usage, having GL (and other backends) includes (direct or indirect) for regular code to know the size

May 5 2022, 11:39 PM
Langbart added a comment to D4636: Adds dummy renderer backend.

Apply the patch and compile the game

  1. Applied the patch with pull0ad.
  2. When compiling, I get a myriad of new warnings. It did compile though.
May 5 2022, 8:36 PM
vladislavbelov committed rP26852: Disables writing depth for decals as they follow terrain and water (if….
Disables writing depth for decals as they follow terrain and water (if…
May 5 2022, 7:30 PM
vladislavbelov closed D4637: Fixes decals writing depth.
May 5 2022, 7:30 PM
vladislavbelov added inline comments to D4636: Adds dummy renderer backend.
May 5 2022, 7:00 PM
vladislavbelov added a comment to D4636: Adds dummy renderer backend.

Why not use variant? (instead of a pointer to base class)

May 5 2022, 6:58 PM
Langbart accepted D4637: Fixes decals writing depth.

Ok, tested on random/unknown, skirmishes/corinthian_isthmus_2p and skirmishes/forest_battle_4p maps. The issue from the ticket could not be reproduced.

May 5 2022, 6:54 PM
Stan added inline comments to D4636: Adds dummy renderer backend.
May 5 2022, 6:50 PM
phosit added a comment to D4636: Adds dummy renderer backend.

Why not use variant? (instead of a pointer to base class)

May 5 2022, 6:46 PM
Langbart raised a concern with rP22366: UnitMotion - Change "Possibly At Destination" logic..

An issues was found tracked down to this changeset. See #6531

May 5 2022, 5:07 PM
vladislavbelov requested review of D4637: Fixes decals writing depth.
May 5 2022, 12:16 PM
Vulcan added a comment to D4623: Fix quicksave not appearing in the menu.

Successful build - Chance fights ever on the side of the prudent.

May 5 2022, 12:14 AM
Vulcan added a comment to D4623: Fix quicksave not appearing in the menu.

Successful build - Chance fights ever on the side of the prudent.

May 5 2022, 12:11 AM

May 4 2022

sotirangelo updated the diff for D4623: Fix quicksave not appearing in the menu.

Reverted translation, which led to build failure.

May 4 2022, 11:56 PM
vladislavbelov requested review of D4636: Adds dummy renderer backend.
May 4 2022, 8:49 PM
Vulcan added a comment to D4623: Fix quicksave not appearing in the menu.

Build failure - The Moirai have given mortals hearts that can endure.

May 4 2022, 7:52 PM
Vulcan added a comment to D4623: Fix quicksave not appearing in the menu.

Build failure - The Moirai have given mortals hearts that can endure.

May 4 2022, 7:44 PM
sotirangelo updated the diff for D4623: Fix quicksave not appearing in the menu.

Added translation to user facing messages as suggested by @Stan .

May 4 2022, 7:40 PM

May 3 2022

Langbart resigned from rP26815: Moves vertex attribute binding to CDeviceCommandContext..

see rP26849

May 3 2022, 9:24 AM
autobuild committed rP26851: [Windows] Automated build..
[Windows] Automated build.
May 3 2022, 6:12 AM

May 2 2022

vladislavbelov committed rP26850: Removes ogl_WarnIfError from regular renderer code..
Removes ogl_WarnIfError from regular renderer code.
May 2 2022, 11:53 PM
vladislavbelov committed rP26849: Removes ARB switch optimization as it triggers slow down. Fixes #6525.
Removes ARB switch optimization as it triggers slow down. Fixes #6525
May 2 2022, 11:25 PM
vladislavbelov closed D4635: Removes ARB switch optimization as it triggers slow down.
May 2 2022, 11:25 PM
vladislavbelov committed rP26848: Moves uniform and texture binding to CDeviceCommandContext..
Moves uniform and texture binding to CDeviceCommandContext.
May 2 2022, 10:57 PM
vladislavbelov closed D4631: Moves uniform and texture binding to CDeviceCommandContext.
May 2 2022, 10:57 PM
vladislavbelov requested review of D4635: Removes ARB switch optimization as it triggers slow down.
May 2 2022, 7:55 PM
Langbart added a comment to D4631: Moves uniform and texture binding to CDeviceCommandContext.

Check that game looks like before (with different settings): water, shadows, particles, skies, trees, terrain, ao

(not yet, will upload some images later)

May 2 2022, 3:44 PM
Langbart raised a concern with rP26815: Moves vertex attribute binding to CDeviceCommandContext..

The mentioned performance difference between OpenGL and OpenGL ARB in D4631 is caused by this changeset. See ticket #6525 for more details.

May 2 2022, 2:47 PM
Stan added a member for Contributors: alexfanqi.
May 2 2022, 2:03 PM
Stan added a comment to D4634: Enable support for riscv64.

Hey thanks for the patch! I heard rumors it worked but never saw the distribution patches for it.

May 2 2022, 2:02 PM
alexfanqi added a comment to D4634: Enable support for riscv64.

I would say the game on this Arch just works, but too slow to be in a playable state. I upload this patch mainly for 0ad lovers using riscv or people who are interested in riscv to try out. It is totally fine for me if this patch is left unmerged or ignored.

May 2 2022, 1:49 PM
alexfanqi added reviewers for D4634: Enable support for riscv64: elexis, Itms, s0600204.
May 2 2022, 1:42 PM
alexfanqi requested review of D4634: Enable support for riscv64.
May 2 2022, 1:41 PM
Langbart raised a concern with rP26170: Performs texture uploads via DeviceCommandContext interface..
May 2 2022, 1:22 PM
Langbart added a comment to rP26170: Performs texture uploads via DeviceCommandContext interface..

bisecting leads me to this changeset for ticket #6524

May 2 2022, 1:22 PM
vladislavbelov added inline comments to D4631: Moves uniform and texture binding to CDeviceCommandContext.
May 2 2022, 12:57 PM
Stan added inline comments to D4631: Moves uniform and texture binding to CDeviceCommandContext.
May 2 2022, 12:51 PM
vladislavbelov added a comment to D4631: Moves uniform and texture binding to CDeviceCommandContext.

Compare performance

  • system_info.txt is here #5969
  • I created a map with 5 players (me+4AI's) on a normal sized Ratumacos map. Entered the cheat code gift from the gods and have 91 horses run around the edge of the map..

May 2 2022, 12:25 PM
Langbart added a comment to D4631: Moves uniform and texture binding to CDeviceCommandContext.

Apply the patch and compile the game

It worked for the most part with arc patch D4631, but I had to create source/ps/containers/Span.h manually.
It did compile.

Check that game looks like before (with different settings): water, shadows, particles, skies, trees, terrain, ao

(not yet, will upload some images later)

Compare performance

  • system_info.txt is here #5969
  • I created a map with 5 players (me+4AI's) on a normal sized Ratumacos map. Entered the cheat code gift from the gods and have 91 horses run around the edge of the map..


Procedure (Visual Replay):
  1. add profiler2.autoenable = true to user.cfg file
  2. run the following command 0ad/binaries/system/pyrogenesis -mod=public -replay-visual=PATH
  3. open profiler2.html in browser (but only when the loading screen disappears and the actual replay starts)
  4. replay begins, choose paria and click Follow Player
  5. replay ends, click Save Live Report to file
  6. save profiler2.jsonp from the log folder and rename it accordingly
  7. perform this for default settings with OpenGL and OpenGL ARB with/without applying the patch.


openGLARB felt very choppy with and without the patch being applied on this particular map.

May 2 2022, 12:05 PM
vladislavbelov committed rP26847: Uses correct value_type to iterate over the map in JSInterface_Hotkey. Refs….
Uses correct value_type to iterate over the map in JSInterface_Hotkey. Refs…
May 2 2022, 12:03 PM
vladislavbelov closed D4633: Use corect value_type to iterate over the map.
May 2 2022, 12:03 PM
marder added a comment to D4626: add parentheses overlooked in rP26520.

not sure what this should tell me:
Test failed: L"Running script simulation/components/tests/test_Formation.js"

May 2 2022, 10:46 AM
asterix updated subscribers of D4623: Fix quicksave not appearing in the menu.

It could be considered a bugfix which ads GUI part too but that depends if @Stan @Silier @Freagarach agree that it can be committed.

May 2 2022, 10:19 AM
wraitii added a comment to D4632: Revert rP26298, put civ historical data back in the JSON file..

Furthermore, basically all callsites have been complicated by the diff instead of simplified, which shows IMO that something is awry.

I see only the call in templates.js being complicated?

May 2 2022, 10:04 AM
Langbart added a comment to D4623: Fix quicksave not appearing in the menu.

The time elapsed should display properly now.

Yes, it is fixed. I did not find any other issues when testing the patch. Seems to work as planned. Good job.

May 2 2022, 9:46 AM
autobuild committed rP26846: [i18n] Updated POT and PO files..
[i18n] Updated POT and PO files.
May 2 2022, 9:16 AM
Vulcan added a comment to D4626: add parentheses overlooked in rP26520.

Build failure - The Moirai have given mortals hearts that can endure.

May 2 2022, 9:04 AM
Vulcan added a comment to D4626: add parentheses overlooked in rP26520.

Build failure - The Moirai have given mortals hearts that can endure.

May 2 2022, 9:03 AM
Vulcan added a comment to D4626: add parentheses overlooked in rP26520.

Build failure - The Moirai have given mortals hearts that can endure.

May 2 2022, 8:59 AM
marder updated the diff for D4626: add parentheses overlooked in rP26520.

comments + another try

May 2 2022, 8:54 AM
marder added inline comments to D4626: add parentheses overlooked in rP26520.
May 2 2022, 8:53 AM
Freagarach added a comment to D4632: Revert rP26298, put civ historical data back in the JSON file..

#1 -> This leads to weird code, because:

  • Maps don't care about non-JSON data

I'm not sure what you mean here, but grep -irn maps/ -e 'gettemplate' results in quite some hits. ^^

  • GUI cares about JSON data and the 'Identity' part of the XML data, but only that part.

Also civ/team bonuses, available templates etc.?

  • Sim mostly doesn't care about JSON data.

Working to ensure that. ;P

May 2 2022, 8:48 AM
Vulcan added a comment to D4486: Fix maps after rP26298..

Successful build - Chance fights ever on the side of the prudent.

May 2 2022, 8:17 AM
Vulcan added a comment to D4486: Fix maps after rP26298..

Successful build - Chance fights ever on the side of the prudent.

May 2 2022, 8:12 AM
Freagarach updated the diff for D4486: Fix maps after rP26298..

Back to non-generic solution.

May 2 2022, 8:03 AM
Freagarach added a comment to D4626: add parentheses overlooked in rP26520.

But even without seeing the bug, I would say we should be able to conceptually agree that the function should have parenthesis as we want to get the modulo for a circle and not the modulo 2 times pi :)

Yeah, just curious to what the symptoms were. ^^

May 2 2022, 6:31 AM

May 1 2022

marder added inline comments to D4626: add parentheses overlooked in rP26520.
May 1 2022, 10:28 PM
Vulcan added a comment to D4626: add parentheses overlooked in rP26520.

Build failure - The Moirai have given mortals hearts that can endure.

May 1 2022, 9:53 PM
Vulcan added a comment to D4626: add parentheses overlooked in rP26520.

Build failure - The Moirai have given mortals hearts that can endure.

May 1 2022, 9:52 PM
Vulcan added a comment to D4626: add parentheses overlooked in rP26520.

Build failure - The Moirai have given mortals hearts that can endure.

May 1 2022, 9:51 PM
marder updated the diff for D4626: add parentheses overlooked in rP26520.

only test to 179°

May 1 2022, 9:48 PM
Vulcan added a comment to D4626: add parentheses overlooked in rP26520.

Build failure - The Moirai have given mortals hearts that can endure.

May 1 2022, 9:35 PM
Vulcan added a comment to D4626: add parentheses overlooked in rP26520.

Build failure - The Moirai have given mortals hearts that can endure.

May 1 2022, 9:32 PM
Vulcan added a comment to D4626: add parentheses overlooked in rP26520.

Build failure - The Moirai have given mortals hearts that can endure.

May 1 2022, 9:32 PM
marder updated the diff for D4626: add parentheses overlooked in rP26520.

since the test do work now, expand them.

May 1 2022, 9:27 PM
Vulcan added a comment to D4626: add parentheses overlooked in rP26520.

Successful build - Chance fights ever on the side of the prudent.

May 1 2022, 8:47 PM
Vulcan added a comment to D4626: add parentheses overlooked in rP26520.

Successful build - Chance fights ever on the side of the prudent.

May 1 2022, 8:33 PM