some brainstorming from where to get the mod info:
for already installed things:for maps known is:- name
- preview ( calculated on the fly )
- number of players
for tilesets known is:-name
for techs known is:-name
-number of factions
-names of factions
for scenarios known is:-name
-evtl. loading screen
for new things( getting their info from the masterserver):For all kinds of downloads we have the following:
- name
- preview image ( or better an url if available )
- description ( if not null )
update:
In general we have the following situations:
- mod is not installed
- mod is installed and not available on server
- mod is installed and available on the server
In case of "mod is installed and available on the server" you might have the following situations:
- mod is different from the one on the server ( just equal name )
( similar to above: mod is installed but in another version than on server )
I have no idea how to handle this problem yet
I don't even know how to detect this situation! ( crc? )
- mod is the same
no problem.....
To sum it all up we have the following:
- mod is not installed
- mod is installed and not available on server
- mod is installed and available on the server
- mod is installed and different from the one on the server
The last point is the most tricky one! Any ideas how to handle it?
And how to display these 4 states? Currently we only differ the display for installed/available.