Grautvornix Posted April 26, 2025 Share Posted April 26, 2025 In A26 there was a quite handy mod named "modio.mod" that marked mods on mod.io that were available in a newer version than installed on the user computer. Any chance this could be updated to A27+ ? (unfortunately I am not able to do that myself) Link to comment Share on other sites More sharing options...
Grautvornix Posted 5 hours ago Author Share Posted 5 hours ago (edited) Could that funciton possibly be integrated into the new vanilla version? It was quite handy... here is the link: https://mod.io/g/0ad/m/modiomod#description made by @Silier for Alpha 0.26 - and i am most grateful for it! Edited 1 hour ago by Grautvornix added version 3 Link to comment Share on other sites More sharing options...
Grautvornix Posted 3 hours ago Author Share Posted 3 hours ago (edited) Again thanks to @Silier for this great little mod and the idea behind! Not being a SW developer, I asked Claude to help and adapt it to 0.28. Here it is. I also have the version that is said to be working with SVN (currently 0.29) but still have to test it. If it works I will provide it as well. Again - this is not a professional solution and I apologize for using AI help. What I do appreciate is that the change doc created includes the what and why it was changed. I would suggest to include this little feature into the game itself. Here's the exact logic for colour code per line in the mod.io list (from getModIOColor() in the file): Gray — the mod.io listing itself is invalid (the engine rejects the mod entry, e.g. broken mod.json on mod.io's side). You won't normally see these unless you uncheck "Filter valid mods," since that filter hides invalid entries by default. Red — dependencies not met: this mod requires another mod (or a specific version of one) that you don't have installed. This applies whether or not the mod itself is installed. Yellow — installed, and a newer version is available on mod.io than the one you have. (This can only apply to something you already own — the check for "update available" only fires if it finds a matching installed mod.) Green — installed, dependencies met, and your installed version is current (no update pending). White (no color) — not installed, but otherwise valid with dependencies met. The order matters — it's a priority chain, not independent flags: gray beats red beats yellow beats green beats white. So a mod with an unmet dependency shows red even if you already own it and it's up to date; only once dependencies are fine does it fall through to yellow/green/white. One more detail: selecting a mod also shows text warnings in the description panel independent of the row color — "(Warning: Dependencies might not be met.)" and "(Info: Update is available)" — driven by the same areDependenciesMet/isUpdateAvailable checks. modiomod-documentation.md modiomod-r28.zip Edited 21 minutes ago by Grautvornix Updated R28 version with colour code legend 1 Link to comment Share on other sites More sharing options...
Thalatta Posted 2 hours ago Share Posted 2 hours ago I agree that this would be a nice addition to vanilla. 2 Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted 1 hour ago Share Posted 1 hour ago A small ledger telling what the colors are would be nice. 1 Link to comment Share on other sites More sharing options...
Asher Posted 1 hour ago Share Posted 1 hour ago Would this just be in the download mods page? I think it would be nice to have the update checker in the main mod page 1 Link to comment Share on other sites More sharing options...
Grautvornix Posted 1 hour ago Author Share Posted 1 hour ago @wowgetoffyourcellphone absolutely - currently the script only provides a warning in the map description the user is highlighting if the colour is grey, yellow or red. Difficult to find the space in this densely populated window. May be we should shorten the list output to fewer lines and provide a one-line legend? At the same time there could be more space underneath to show the mod description in full (gets sometimes truncated). My concern is only that the modio.mod is a small convenience helper function only, and integrating it into the game should not trigger a major redesign of the mod.io interface code. @Asher I do agree - but I am afraid this would mean preloading mod.io data whereas currently, the user has to agree to the conditions and the connection first and then intentionally start looking at what is available. Link to comment Share on other sites More sharing options...
Asher Posted 1 hour ago Share Posted 1 hour ago 1 minute ago, Grautvornix said: @Asher I do agree - but I am afraid this would mean preloading mod.io data whereas currently, the user has to agree to the conditions and the connection first and then intentionally start looking at what is available. But, it could just check what mods you currently have, and see if there is a newer version on modio. You could still have to agree to update Link to comment Share on other sites More sharing options...
Grautvornix Posted 22 minutes ago Author Share Posted 22 minutes ago OK, and now including a simple colour legend on top. Thanks @wowgetoffyourcellphone ! R28 is for Version 0.28 and R29 for the new SVN version 0.29 (nightly build). Looks like the internal mechanisms changed. There is also a little user and maintainer documentation. modiomod-documentation.md modiomod-r29.zip modiomod-r28.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now