Where do I change map "version" so that "update" option is available
-
Hi there. I just uploaded a new version of WW2 Path to Victory (v. 1.1). I confirmed that it is now available for download on TripleA. . . but there doesn't seem to be an "update" option for those who have already downloaded the map. (Basically you have to delete the map and reinstall it to see the changes)
Can someone please let me know how I can make it so that TripleA recognizes this is a new version of the same map, and gives players the option to update? (I already changed the version number in the XMl from 1.0 to 1.1)
-
-
@Joe-G This is done in the TripleA repository and managed in the triplea.yaml - file.
See
https://github.com/triplea-game/triplea/blob/master/triplea_maps.yamlVersioning is done by incrementing the number behind
version:
This is done by increments of '1' and not identical to the version you might have given in your map.xml.
So in your case an update from "1" to "2".
-
@Panther However, if done after updating the map, this process has the downside that anyone that downloaded the map after the update will be told that it needs to update, while there is nothing to update.
-
@Cernel That's the way it is. Also I wish there was a harmonization of XML-map version and YAML-version.
-
thanks so much. i will try that
-
@Panther said in Where do I change map "version" so that "update" option is available:
Also I wish there was a harmonization of XML-map version and YAML-version.
Not sure if you mean these versions having to be the same, but I don't believe that is possible or advisable. You download the map, while the versioning within the map is only for the games (which also may be more than one per map, or may be inexistent (mapskins)), thus you may want to or can only (in case of mapskins) update the map, while not updating any games (skin only changes, possibly fixes). I realize this is off topic.
-
@Cernel said in Where do I change map "version" so that "update" option is available:
I realize this is off topic.
Agreed.