-
Posts
878 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Ceres
-
Can somebody please help me to understand how I get rid of the question marks that now pop up in various placed after I updated this Wiki page? https://trac.wildfiregames.com/wiki/GameDataPaths E.g., "JohnDoe" gets a question mark ("JohnDoe?"), but when I have it open in the editor, it looks ok (though it is highlighted in red font and when hovering over it, it refers to some wiki page). I tried both the "textarea" (plain text) settings and the wysiwyg (with and without the autolink option) but this did not help. Sorry to seemingly have messed it up a bit, but in the end I hope to get a clearer Wiki about these paths and then be able to directly link for each OS from within the game. Thanks for your help, guys!
-
Considering the following feedback and my own opinion gathered thereafter, the question about the mods seems to be not applicable anymore. Yes, that was also my first thought. Whereas DLing mods from within the game would certainly be profit from an amended GUI etc., experimenting with mods by manually downloading them is out of scope when looking at it from in-game experience. @Grautvornix There is already an in-game link to the Wiki with instructions about modding: => => => https://trac.wildfiregames.com/wiki/Modding_Guide I would like to not elaborate further about instructions that are available in the Wiki and FAQs but focus on providing links to the respective OS as a very basic help (not more). And instead of providing lots of text in this extra in-game window, just a small window with different buttons for the different OS might suffice that lead to the corresponding Wiki sub-section. Thus, we would also avoid creating unnecessary work for keeping in-game text and Wiki text in sync.
-
@Lion.Kanzen @wowgetoffyourcellphone Should we add instructions in a sub-window under the mod selection for how to manually add a mod? Similarly, should we add instructions in a sub-window under the map selection for how to manually add a map? Or should we add instructions for both together in another sub-window, maybe together with the tutorial stuff? And would we plan to have both (information in-game and in the wiki) synchronised (if possible)? Whom else from the team should I ask for sharing thoughts?
-
During building of a forge, it shows flames. Maybe such an effect could be shown for buildings when under fire attack. Am I right that the flames gfx need be part of the building gfx, or could they be added on top (without looking ugly)?
-
There is a #1889 (Add hyperlink support to GUI engine) – Wildfire Games ticket about clickable text links, i.e. currently, such are not available. But providing the game paths as plain info is better than nothing. I try to read the aforementioned variables and present them in the previously shown window (which is not a mockup but already "works").
-
Then it's not worth cleaning these up, as more might get introduced, right? To my current understanding, this might be considered only a "cosmetic" issue, unless somebody does not want to publish is real name (if it is used in the file), but then it's the user's own responsibility. As said above, I rather stumbled over this in a text string search, i.e. I don't bother.
-
I do not see a security issue when offering a clickable link to the local OS, especially not, if the user does not run pyrogenesis as admin/su/root. And the pyrogenesis code has access to the local folders in question anyway. Regarding external links, I agree that there could be a security issue, but on the other hand, the game already provides access (after accepting certain terms and conditions) to mod.io. PS: This is the reason for my question:
-
Hello! After I did a fresh svn co https://svn.wildfiregames.com/public/ps/trunk/ 0ad-svn (well, not with the CLI/console but with the TortoiseSVN GUI context menu on Windows 11), I wanted to apply a patch.diff file. However, the patch contains a path starting with "ps/trunk/binaries" (attached; kindly provided by @wowgetoffyourcellphone for his new colouring scheme, which I wanted to try - see separate thread), whereas on my laptop, the path of the svn repo is different and therefore, the patch cannot be applied (at least I don't know how): Should I manually change the path in patch.diff, or should I try something else? The content of his patch should not be discussed here. This is only about my technical question about the correct application of a patch in general. Thanks to all of you for your help! D4811.diff
-
@wowgetoffyourcellphone It does not work like this for me, but after I started TortoiseSVN and applied to patch from its main window, it started searching for a "more appropriate" path - and found it. And I see a confirmation that 14 files have been added: Now how do I test this in 0ad? Wouldn't we need a match for more than 8 players? If yes, the maximum number of players I find matching maps for, is eight. Have I misunderstood you in some way? Sorry about this and thanks for your patience with me! EDIT: Sorry again, but TortoiseSVN placed the files ion the wrong place: I first have to get this right (but my question about the numbers of players and appropriate map remains valid). EDIT: Since I do not want to further clutter your thread about your new colouring scheme with my technical questions about applying a patch, I have started a new thread for this. So this thread here should only be further used for @wowgetoffyourcellphone's new patch.
-
@wowgetoffyourcellphone I am on 27187 (a fresh svn co https://svn.wildfiregames.com/public/ps/trunk/ 0ad-svn), DLed the D4811.diff file, and double-clicked on it. After trying to apply the patch via TortoiseSVN on my 0ad-svn folder, I get the message that it could not be cleanly applied (and the process was stopped). Which folder do I have to select after clicking on "Apply Patch..." in TortoiseSVN? Thank you!
-
@wowgetoffyourcellphone How could I test this? I have already a git cloned version of 0 A.D. dev and a mixture of svn and git forked on my laptop (with my own changes), but I am missing experience about good practice for this to clone the right stuff for testing. Or should I fetch the whole code starting fresh via svn? What is the URL for this?
-
Hello! I would love to exchange files as PRs or similar via git (GitHub, GitLab, or some other repo system). I have added/modified files on my laptop (to show game paths) but am unsure if/how to make them available to other developers/reviewers. I know very little about Trac, Phab, etc., but that is (for me) much too complicated.
-
Since I want to make the links of the game paths active/clickable, I asked a question in a separate thread about the technical background there. Please let us keep the discussions separate, as the topic of active/clickable links in text boxes might be interesting for other stuff in 0 A.D., too, i.e. is not restricted to the game paths presentation. Now back to topic, i.e. game paths presentation. This is how it looks now (admittedly not very nice, but my first try, and the real links are yet missing):
-
Hello! How can I make these links (see example below) active? When clicking them, they should be opened in the default app of the respective OS. Can a "gamepaths.txt" file that is opened by a function like this ... function init(data) { Engine.GetGUIObjectByName("mainText").caption = Engine.TranslateLines(Engine.ReadFile("gui/common/gamepaths.txt")); } ... have an object with a link like this? <object type="button" style="ModernButtonRed" size="100%-408 100%-52 100%-218 100%-24"> <translatableAttribute id="caption">Modding Guide</translatableAttribute> <action on="Press">Engine.OpenURL("https://trac.wildfiregames.com/wiki/Modding_Guide");</action> </object>
-
The game paths are handled there: \trunk\source\ps\GameSetup\Paths.cpp \trunk\source\ps\GameSetup\Paths.h We have: m_gameData m_userData m_config m_cache m_logs Are these the correct variables (from Paths.cpp) I could present on a little help screen? E.g. there inserting these in MainMenuItems.js: , { "caption": translate("Game Paths"), "tooltip": translate("Show various game path locations."), "onPress": () => { Engine.PushGuiPage("page_gamepaths.xml"); } } In another thread I proposed changes of the transparent window in the top right corner, but here I kept it untouched. Please note the new menu entry and explanation: I am working on the next window that should then pop up and show the game paths information. Ideally, the links should be active, i.e. when clicking on them, the path(s) should be opened in the explorer of the respective OS. I can test it for Windows 11, maybe on Endeavour OS, too, if this meets support at all.
