Topic: It's a long way to Tipperary!
mxb2001 Topic Opener |
Posted at: 2023-04-28, 19:48
Hej, so I installed this addon but it gives an error about winter taiga 1 when I try to run it. Does that mean it needs 1.1? If so, does that mean the addons don't make sure you can only dowload ones you can use? (I hope to soon move from Debian 9 to 10 or 11 but it looks scary, the whole backup all your stuff first is where I'm hung up on for now - gah I miss the good old DOS days when you just SYS the HD with all of the 3 system files... it was beautiful) -- |
Nordfriese |
Posted at: 2023-04-28, 20:38
Funny, I'm playing on that map right now Yes, it's a post-1.0 map, so you need Widelands 1.1 or newer to play it. Add-ons do have a field to set a minimum and/or maximum Widelands version, but it's up to the add-on's author to actually fill it in, so not everyone does that. Maps alone can not currently check version requirements. Ideally they just show you an Unhandled Packet Version Error when you try to load an incompatible map. Top Quote |
kaputtnik |
Posted at: 2023-04-29, 18:38
With the new option in the editor "Publish this map online" an author has no chance to set the minimum wl version. The map i uploaded recently with this option has this information, but as a comment in the addon-file:
Because of the bumped terrain indices all maps created with version 1.2 (current development version) aren't playable with a widelands version <1.2. A maps author will likely never know such changes (and shouldn't need to have, imho), but the developers do know. So the "min_wl_version" should be set automatically, at least for maps, if possible Top Quote |
Nordfriese |
Posted at: 2023-04-29, 19:52
Which reminds me that we could in principle reuse the code we have for the website's compatibility check. Will create a branch to both set the map set add-on minimum version automatically from it and to add some checks to the mapselect UI. Top Quote |