Atrik Posted December 30, 2024 Report Share Posted December 30, 2024 (edited) I'm happy to announce that I've been porting all features of boonGUI and proGUI into a new UI bundle for A27! Doing it made me realize once again how much work has been put into the development of 0AD but also to all those who contributed to the components of this bundle. So thank you! GitLab link: https://gitlab.com/4trik/proGUI/-/tree/modernGUIA27 DirectDownload link: https://gitlab.com/4trik/proGUI/-/archive/modernGUIA27/proGUI-modernGUIA27.zip In this mod: Retrieve your favorite A26 GUI style with a Quick Configuration page once you launch the mod. New exclusive features, like kill counts, flare message and more! (the skulls near unit icons indicate for Player unit kills and Gaia entities kills) Explore tones of extra options in your settings to customize your GUI! Hope you'll try it out and enjoy! Please report any bugs and feel free to suggest improvements. Edited December 30, 2024 by Atrik 6 1 Quote Link to comment Share on other sites More sharing options...
sarcoma Posted December 30, 2024 Report Share Posted December 30, 2024 Can we have this mod for smaller displays? i couldnt use progui because it takes the whole screen and the summary doesnt even fit 1 Quote Link to comment Share on other sites More sharing options...
alre Posted December 31, 2024 Report Share Posted December 31, 2024 23 hours ago, Atrik said: I'm happy to announce that I've been porting all features of boonGUI and proGUI into a new UI bundle for A27! Doing it made me realize once again how much work has been put into the development of 0AD but also to all those who contributed to the components of this bundle. So thank you! GitLab link: https://gitlab.com/4trik/proGUI/-/tree/modernGUIA27 DirectDownload link: https://gitlab.com/4trik/proGUI/-/archive/modernGUIA27/proGUI-modernGUIA27.zip In this mod: Retrieve your favorite A26 GUI style with a Quick Configuration page once you launch the mod. New exclusive features, like kill counts, flare message and more! (the skulls near unit icons indicate for Player unit kills and Gaia entities kills) Explore tones of extra options in your settings to customize your GUI! Hope you'll try it out and enjoy! Please report any bugs and feel free to suggest improvements. did you drop the "blood meter"? 1 Quote Link to comment Share on other sites More sharing options...
Atrik Posted December 31, 2024 Author Report Share Posted December 31, 2024 (edited) 17 hours ago, sarcoma said: Can we have this mod for smaller displays? i couldnt use progui because it takes the whole screen and the summary doesnt even fit Hi @sarcoma, there are a lot of options to save screen space for the game GUI. You can try the following existing options in settings : Resize the minimap Hide allied stats from top panel Resize or even disable right panel As for the summary, I was checking how could I adapt it better for small screens. Thanks for reporting this issue I wasn't aware of since I never worked on it. One solution on your end could be to disable the modifications to the summary. To do this you can : Go into the mod folder ModernGUI/gui/summary rename "summary" folder with "-summary" or whatever And there you go, you will have the classical summary! Edit: I've just pushed a small rework of the summary that should work for small displays. Edited December 31, 2024 by Atrik 1 Quote Link to comment Share on other sites More sharing options...
Atrik Posted December 31, 2024 Author Report Share Posted December 31, 2024 37 minutes ago, alre said: did you drop the "blood meter"? @alre I made it optional. You can enable it in options under "minimap perks". Short therm KDR can be displayed in top panel too now, and it's a option that I use now. Spoiler Here you can see in the top panel a bar growing blue or green depending on your kdr of last 10 sec. Very useful to tell if a ally or yourself is currently losing or winning a battle, especially when the kdr is consolidated already (like in late game when you already have tones of kills and deaths, your kdr won't change much, but this indicator helps). 2 Quote Link to comment Share on other sites More sharing options...
seeh Posted Thursday at 19:14 Report Share Posted Thursday at 19:14 very good work. ty 1 Quote Link to comment Share on other sites More sharing options...
zzshahzz Posted Sunday at 19:20 Report Share Posted Sunday at 19:20 I can't seem to get this to install. I created the mods directory in the file path you suggested and then dropped the package in there. It isn't showing up in the list of available mods once in the game. Is there something else I should be doing? 1 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted Sunday at 20:07 Report Share Posted Sunday at 20:07 47 minutes ago, zzshahzz said: I can't seem to get this to install. I created the mods directory in the file path you suggested and then dropped the package in there. It isn't showing up in the list of available mods once in the game. Is there something else I should be doing? Hello. Does it look like this? 1 Quote Link to comment Share on other sites More sharing options...
Atrik Posted Monday at 05:15 Author Report Share Posted Monday at 05:15 (edited) 10 hours ago, zzshahzz said: I can't seem to get this to install. I created the mods directory in the file path you suggested and then dropped the package in there. It isn't showing up in the list of available mods once in the game. Is there something else I should be doing? Hi @zzshahzz, you can try the mod out but consider it unstable for-now. I've ported and added features for a27 that are too heavy on performances. So it's ongoing some re-factorization and optimizations. You could encounter bugs, errors and general slow performances that can hinder user experience. I'll post here when a more stable version is achieved, probably in a couple of days, or more. (Probably sooner then later). Edited Monday at 05:52 by Atrik Quote Link to comment Share on other sites More sharing options...
Atrik Posted 15 hours ago Author Report Share Posted 15 hours ago (edited) I've updated the mod with some performances enhancements. I would consider it as stable now but: There is still known issues about the Hero prop that fails to load with Vulkan. I also had recourse to some temporary measures, like removing some features such as the kill counter, or throttling the gui refresh rate... Basically did what I had to, beside code optimizations, for it not to impact the game performances that are crazy in a27 rn . Spoiler I liked it... Edited 15 hours ago by Atrik 1 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted 13 hours ago Report Share Posted 13 hours ago What do you need that new material for ? If you want it to work you'll have to recompile vulkan shaders 1 Quote Link to comment Share on other sites More sharing options...
Atrik Posted 12 hours ago Author Report Share Posted 12 hours ago 34 minutes ago, Stan` said: What do you need that new material for ? Spoiler I think the material is what makes this golden glow effect on the arrows above the heros. The entire 'hero visibility' feature is from Hyrule. The wiki doesn't mention compiling, can you tip me to some relevant tool or doc that can help me understand how can I get this recompiling done? Quote Link to comment Share on other sites More sharing options...
Stan` Posted 10 hours ago Report Share Posted 10 hours ago I think you should be able to replace it with https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/art/materials/basic_glow_norm_spec.xml. So replace <material>basic_glow_nu.xml</material> by: <material>basic_glow_norm_spec.xml</material> You might also replace <texture file="props/hero_selectorA.dds" name="normTex" /> <texture file="props/hero_selectorA.dds" name="specTex" /> with <texture file="default_norm.png" name="normTex"/> <texture file="null_white.dds" name="specTex"/> (Lighter cheaper texture) 1 hour ago, Atrik said: The wiki doesn't mention compiling, can you tip me to some relevant tool or doc that can help me understand how can I get this recompiling done? Indeed it was not updated after @vladislavbelov committed Vulkan. Basically those materials define combinations, like "USE_SELF_LIGHT". In GLSL that's no problem, because the shader files (.vs and .fs) support any number of combinations, at the expense of performance. In vulkan however, you need one file per combination. So if you have USE_SELF_LIGHT and USE_TRANSPARENCY you've got four SPIR-V files. Add one more and you got 8 and another one 16. To save space, and make the compilation faster, we only generate a certain number of combination we know. So when you run the release with a combination we do not support boom. To compile the shaders you need to run these commands: Mod mod python source/tools/spirv/compile.py -d binaries/data/mods/mod binaries/data/mods/mod source/tools/spirv/rules.json binaries/data/mods/mod Public mod python source/tools/spirv/compile.py -d binaries/data/mods/mod binaries/data/mods/public source/tools/spirv/rules.json binaries/data/mods/public Your mod python source/tools/spirv/compile.py -d binaries/data/mods/mod binaries/data/mods/public binaries/data/mods/your_mod source/tools/spirv/rules.json binaries/data/mods/your_mod 1 Quote Link to comment Share on other sites More sharing options...
zzshahzz Posted 5 hours ago Report Share Posted 5 hours ago @wowgetoffyourcellphone I tried to create that folder structure and dropped the proGUI files into a progui folder there. I also tried to put it into the application support folder as the forums suggested. Neither worked. It doesn't show up in the mod selection when I am in the game. Any suggestions? Quote Link to comment Share on other sites More sharing options...
myliverhatesme Posted 5 hours ago Report Share Posted 5 hours ago (edited) @zzshahzzPretty sure you just need to rename proGUI-modernGUIA27 to ModernGUI. Needs to be same name as in mod.json Edited 5 hours ago by myliverhatesme Quote Link to comment Share on other sites More sharing options...
Atrik Posted 5 hours ago Author Report Share Posted 5 hours ago @zzshahzz from the screenshots I think you have the mods folder at the wrong place? It should be in ~/Library/Application\ Support/0ad/ So, basically you should have ~/Library/Application\ Support/0ad/mods/ModernGUI/ [the mod content directly here] On @wowgetoffyourcellphone's screenshot, I believe he was showing you that you are NOT supposed to have ~/Library/Application\ Support/0ad/mods/ModernGUI/ModernGUI/ [mod content] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.