-
Posts
1213 -
Joined
-
Last visited
-
Days Won
3
Posts posted by hyperion
-
-
30 minutes ago, Cayleb-Ordo said:
I think it is more cross-platform and with the fetch_content we could get the doxygen-theme easily.
Then just make sure the cmake version available on the CI is recent enough or can be updated for your needs.
-
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.
-
-
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
-
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
-
1
-
-
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.
-
1
-
-
8 minutes ago, guerringuerrin said:
Really interesting. I'm just a newbie coding, but I'd be interested to take a look at that API.
-
1
-
-
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.
-
2
-
-
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.
-
1
-
-
4 hours ago, Tyrannosaurus said:
Can I use some files from your mod in a couple of my own? They're both reskin mods, and I want them to be compatible with your mod.
https://github.com/JustusAvramenko/delenda_est/blob/master/Contributors and License.txt
-
1
-
1
-
-
On Linux the game respects environment variables like HOME and XDG_*
Going by the terms used in your question I suspect you are using Windows and so you're limited to use the option -writableRoot which writes everything to directories below where the exe itself resides. Could also be useful for when installing 0ad to an usb stick for example.
-
1
-
-
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
-
1
-
-
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.
-
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 supportedThis 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.
-
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?
-
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?
-
2 hours ago, Stan` said:
Of course we have smooth shading Oo. Else barrels would look much worse. Units too.
What would I have to change to make it work as this doesn't look like smooth shading at all.
-
If you use vulkan you have to enable the 0ad-spirv mod available on mod.io to get the required shaders
-
1
-
-
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.
-
I suppose tts would have to be done similar to how png to dds with nvtt is done currently and not by using some web service.
And I strongly agree with @Stan` to be careful with models as pirated data for training is pretty much standard.
-
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.
-
1
-
-
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.
-
1
-
-
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.
-
33 minutes ago, Boston said:
That would create a new dependency, so would I have to much around with Premake?
Globbing is used for almost all of 0ad, so rerunning premake or update-workspace.sh should be all you need to do.
-
1
-

Improve Doxygen
in Applications and Contributions
Posted
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.