Jump to content

hyperion

WFG Programming Team
  • Posts

    1213
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by hyperion

  1. 5 hours ago, Cayleb-Ordo said:

    is there a way to test the ci stuff? I saw the docker files and they are on debian buster, which is old old stable.

    The "Dockerfile"s for the CI are in the repo, so in principle you have access. Repology suggest buster comes with cmake-3.13. There is backports for buster and the Dockerfile could be updated to fetch or even build a newer release, tho that would probably need some broader consensus as that would mean we indirectly bump the requirements.

  2. 33 minutes ago, Cayleb-Ordo said:

    I think the Todo List is automatically generated by Doxygen if something is marked with "@todo".  It can be disabled in the doxygen config.

    Yes, should be. The thing is that directive isn't really used. There are the classic // TODO and friends tho.

     

    40 minutes ago, Cayleb-Ordo said:

    I created a CMake File, that could also be used in a ci and locally. That limits the Version Numbering if used automatically to numbers. It could be set manually, if there is no "real" Version number. 

    You can try to run svn info to get the revision. Using a shell script might be easier than using cmake. The value added by cmake for a doxy target is not much anyway.

     

    44 minutes ago, Cayleb-Ordo said:

    Another thing i dont realy know is, how the SVN can handle git submodules.

    There is no "git submodule" support in svn at all, tho github has an svn interface I wouldn't go down that path. A supposed build-docs.sh could simply fetch a tarball, at least in a first installment of such a script.

  3. Just some random comments:

    • About licenses, a link to the license file is missing.
    • Version should just be the revision or in case it can't be fetched "latest" or "trunk" will do
    • Todo list should be migrated to the bug tracker I think if there is really something left in there of value
    • Maybe add a wrapper script build-docs.sh to the repo to generate the docs, for local use and in the Jenkinsfile
    • The stylesheet looks fine at a glance

     

  4. 1 hour ago, Cayleb-Ordo said:

    I wanted to try it with the Pyrogenesis Doxygen, but i found that a vulkan header is always the Main Page of the doxygen. Is that wanted or could that be changed.

    It's not even our own code but 3rd party, so I'd call it a bug introduced with vma. A patch would be welcome I'd say.

    About the stylesheet, I don't know, I like the purely functional touch of the original one but am not opposed to a different one either as long as its clean structure and information first.

    About policy, well there is some mention in the CC on the wiki I believe but it's down for me so can't check. But basically the javadoc alike syntax is used in source code and if you submit patches people will yell anyway if you got it wrong ;)

     

    • Like 1
  5. 7 minutes ago, Vantha said:

    1. There are two 'standing_stone' templates. One in the treasures folder and one in the ruins folder. They are almost identical, use the same actor. Why not just remove one of them? Or at least rename them to avoid to different objects being called the exact same?

    They are very different, if at all I think it isn't great that the same actor is used as a treasure and as "mine". Removing one of the templates seems more reasonable to me. @wowgetoffyourcellphone what is your take.

     

    10 minutes ago, Vantha said:

    2. All civ emblems are called 'emblem_' + civ name. For example 'emblem_macedonians' and 'emblem_kushites'. But for some reason, the Gaul one is called 'emblem_celts'. I don't really see a reason to call them Celts here because in all other files (and in-game) they're called Gauls. I would suggest to rename it to 'emblem_gauls' to keep a uniform way of naming civilisations in the game files.

    Yes, it's inconsistent, the reason being early civ design, could be changed even tho it might break some third-party code.

    • Like 1
  6. 2 hours ago, alre said:

    time ago, I suggested that a massage would pop up every time someone with an outdated community mod joined the lobby. can you do that?

    the latest version to the mod could be retrieved with a web request.

    A generic "check for updates" mechanism would make a lot more sense. Then it works for single player as well as any other mod on mod.io.

    Mod.io offers the API required, so the only thing really preventing it is finding someone sitting down and implementing it.

    • Like 2
  7. 1 hour ago, Baelish said:

    sudo apt install wx3.0-headers libwxbase3.0-dev libwxgtk3.0-gtk3-dev libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5

    For me 3.2 works well unlike 3.0 so I'd always recommend the former. From your synaptic screenshot it looks like you also installed 3.2 in parallel, so reinstall/update of some might have fixed the "alternatives" setup.

    • Thanks 1
  8. 2 hours ago, Obelix said:

    I'm thinking about how much bigger the installation file would be if we were to add all these audio files-or a tts model. Does anyone have a clue?

    A tts model is typically less than 100MB but likely is limited to a single language, so one might not be enough. The output could be generated and bundled while creating the mod if performance requires it. Size generated content depends on total text spoken obviously and the quality/bitrate of the encoding, might come at another 100Mb per hour. Splitting into addon-mods is possible.

    However, this would be a larger project (not just tts but the whole integration of speech) and I don't think it would be coming anytime soon, tho for immersion this would be a nice to have.

    Waiting for video support :)

     

     

    • Thanks 1
  9. 2 hours ago, vladislavbelov said:

    It seems kind of fatal, as SDL can't figure out the WM backend and setup cursors. We can workaround it but in theory it might lead to UB.

    4 hours ago, hyperion said:

    Maybe the OP should clarify if they can run 0ad at all without trying to install a mod but as I read between the lines they can. If this shall be considered fatal then and error should be thrown for arb and a message stating "no graphics backend could be initialized, shutting down ..." should be printed.

  10. On 21/01/2024 at 3:04 AM, Laythe206 said:

    ERROR: Failed to query SDL WM info: That operation is not supported
    ERROR: Unable to create device for GL backend, switching to ARB.
    ERROR: Failed to query SDL WM info: That operation is not supported
    ERROR: SetVideoMode failed in backend device creation: 1024x768:24 1
    ERROR: Can't create cursor: Cursors are not currently supported

    This error should have nothing to do with the mod or installing it, isn't fatal but would be nice to sort out as it prevents you from using a decent graphics backend but let's focus on the main issue going by topic.

    Can you install other mods this way?

    Are you able to download and install the mod via mod.io and just not via terminal install?

    What happens if you rename the zh-lang-0.0.26.pyromod to zh-lang.zip and place it in your mods folder and restart the game?

    https://trac.wildfiregames.com/wiki/GameDataPaths lists the various default paths. Also the game logs to stdout, if an error message can't be seen there you won't find it in log files either.

     

  11. On 15/01/2024 at 11:25 AM, Stan` said:

    This video explains it well https://youtu.be/C8YtdC8mxTU?t=976

    Fantastic video!

    Well, still I can't find the relevant portion in the code by skimming, all I found was the use of normal maps in the fragment shader (sure might have missed it tho). This would also give some level of perceived smoothness but is not what I have in mind for smooth shading, still the term flat shading isn't entirely appropriate either. Maybe normal map shading?

  12. Hard to tell even with a crafted example but noticeably different than in blender. Much weaker effect which might come down to a much cheaper algorithm. Could some tweaking get us closer to blender without ramping up computation time?

  13. 2 hours ago, Stan` said:

    Of course we have smooth shading Oo. Else barrels would look much worse. Units too.

    shot-2024-01-14_17-04-09.jpg.d2e89a5bf6daac560da84527cc333a05.jpg

    What would I have to change to make it work as this doesn't look like smooth shading at all.

  14. 1.) Smooth shading interpolates geometry during render, which isn't free and so the game engine doesn't do it as far as I'm aware, at least I never stumbled over code that would indicate otherwise. What you get is basically the same as flat shading in blender.

    2.) While baking you have to set metallic to 0 from what I remember when experimenting a year or two ago, don't know why tho. Could well have been a bug in blender.

  15. 29 minutes ago, Stan` said:

    Oh really ? That's sad :/

    The argument is it can't reasonably be discovered and to a lesser extent the means to distributing units across fields are lacking. If those issues can be fixed diminishing returns doesn't sound bad but coming up with a decent proposal seems non trivial.

    • Like 1
  16. 4 hours ago, guerringuerrin said:

    Then I guess that we agree that without some criteria and mechanisms that limit the use of some types of mod in a competitive environment it's really difficult to create a sense of fairness. Are we?

    Wild west is also fair but I don't mind either way. I see why people would want such a CoC and think it won't hurt at all. I'm fine with rules as long as they are written rules well thought out.

     

    4 hours ago, guerringuerrin said:

    And thank goodness it is not exposed, since it clearly provides a visual advantage.

    It's exposed in the config file which I consider perfectly legitimate to edit. Beside a possible advantage it might also help with performance. There are quite a few config options that people tweak that are not exposed in the UI. "gui.scale" for example only got exposed in the UI in svn but anyone with a 4k monitor probably wants to tweak it already.

    • Like 1
  17. On 03/01/2024 at 9:41 PM, guerringuerrin said:

    Of course. I just followed your proposal and wrote down open to any modification

    And I suggest to go trough with the polishing if you are serious about creating a CoC for ladder games. Get others interested in such involved where possible.

     

    On 03/01/2024 at 9:41 PM, guerringuerrin said:

    I mean things like this. The photo is not of good quality and perhaps cannot be appreciated, but by modifying the trees in this way the visibility of enemy units is greatly facilitated.

    I see. Well, I'd say this isn't that straight forward. First of all there is an option in the base game to not render decorative actors but isn't exposed in the UI (set renderactors=false if memory serves me right). Small trees mod is standard in the AoE competitive scene. Lastly there might be made an argument that color blind people need texture tweaking.

     

     

×
×
  • Create New...