Page 1 of 1
[0.16.17] Map Exchange string does not produce same map
Posted: Mon Jan 22, 2018 8:59 pm
by DRY411S
Steps to reproduce:
- Generate map in 0.15 (an island) using this string
- Save the map in 0.15
- Load the saved 0.15 map into 0.16
- It is the correct size and shape
- Save it in 0.16
- Get map exchange string from the 0.16 save
- Use it to generate a new 0.16 map
- Map is not the same as the previous 0.16 save
Re: [0.16.17] Map Exchange string does not produce same map
Posted: Mon Jan 22, 2018 9:01 pm
by Klonan
Unfortunately, map exchange strings are not forward compatible,
So I would say, that this is not a bug,
Especially as the whole terrain generation changed between the major versions
Re: [0.16.17] Map Exchange string does not produce same map
Posted: Mon Jan 22, 2018 9:14 pm
by DRY411S
I'm not expecting the map exchange string to be forwards compatible.
I'm expecting that if I save a map in 0.16, then get the map exchange string from the 0.16 save and use it to generate a new 0.16 map, then the map will be the same.
In this use case above, it's not.
I'm NOT saying that if I get a map exchange string from a 0.15 file and paste it into 0.16, then I'd expect the map to be the same. I wouldn't.
Re: [0.16.17] Map Exchange string does not produce same map
Posted: Mon Jan 22, 2018 9:20 pm
by Jap2.0
The map exchange string defines the generation seed and settings. You generated the map using the 0.15 map gen. Generating it in 0.16 will give you somethinf different. Updating doesn't give a different string. In fact, it would be difficult to get the same result considering that terrain completley changed.
Re: [0.16.17] Map Exchange string does not produce same map
Posted: Mon Jan 22, 2018 9:35 pm
by DRY411S
Jap2.0 wrote:The map exchange string defines the generation seed and settings. You generated the map using the 0.15 map gen. Generating it in 0.16 will give you somethinf different. Updating doesn't give a different string. In fact, it would be difficult to get the same result considering that terrain completley changed.
I'm
NOT generating a map in 0.16 using the string from the 0.15 map
I'm obviously not explaining this well.
I'm generating the map in 0.15 and saving the map in 0.15
THEN I'm loading the 0.15 map in 0.16 and saving in 0.16
If I look at the string in 0.16 save, it's completely different
That's what I would expect
It's when I take the string from the 0.16 save and use it to generate another 0.16 map, I get a different map. That's NOT what I would expect.
It doesn't happen with any map that is originally generated in 0.16. Generate map in 0.16 use the seed, get the same map.
Generate a map in 0.15, load and save THE MAP in 0.16 to save the file format to 0.16. See how the string has changed (as expected). Use the string to generate a new 0.16. Different map.
Re: [0.16.17] Map Exchange string does not produce same map
Posted: Mon Jan 22, 2018 9:37 pm
by Jap2.0
DRY411S wrote:Jap2.0 wrote:The map exchange string defines the generation seed and settings. You generated the map using the 0.15 map gen. Generating it in 0.16 will give you somethinf different. Updating doesn't give a different string. In fact, it would be difficult to get the same result considering that terrain completley changed.
I'm
NOT generating a map in 0.16 using the string from the 0.15 map
I'm obviously not explaining this well.
I'm generating the map in 0.15 and saving the map in 0.15
THEN I'm loading the 0.15 map in 0.16 and saving in 0.16
If I look at the string in 0.16 save, it's completely different
That's what I would expect
It's when I take the string from the 0.16 save and use it to generate another 0.16 map, I get a different map.
I know. The map generation changed between versions, so you cannot generate a map in 0.16 that is identical to a map from 0.15.
Re: [0.16.17] Map Exchange string does not produce same map
Posted: Mon Jan 22, 2018 9:42 pm
by DRY411S
Jap2.0 wrote:I know. The map generation changed between versions, so you cannot generate a map in 0.16 that is identical to a map from 0.15.
But I've saved the map in 0.16 to regenerate the string in 0.16 format?
If that isn't going to work, then I'd suggest that the game
IS bugged in the sense that it should not display the string, it should display a message that tells you the string cannot be used to make the same map.
Re: [0.16.17] Map Exchange string does not produce same map
Posted: Mon Jan 22, 2018 9:49 pm
by Jap2.0
DRY411S wrote:Jap2.0 wrote:I know. The map generation changed between versions, so you cannot generate a map in 0.16 that is identical to a map from 0.15.
But I've saved the map in 0.16 to regenerate the string in 0.16 format?
If that isn't going to work, then I'd suggest that the game
IS bugged in the sense that it should not display the string, it should display a message that tells you the string cannot be used to make the same map.
No - the map was generated with the 0.15 generator, and it's giving you a string to make it work with that - which is also the string that is used to generate portions of the map that are unexpored when you update. The map generator was significantly changed, so it would be difficult, if not impossible, to find a string to generate the same map, which would also suffer from problems such as new terrain types, cliffs, etc.
Re: [0.16.17] Map Exchange string does not produce same map
Posted: Mon Jan 22, 2018 10:03 pm
by Zavian
DRY411S wrote:Jap2.0 wrote:I know. The map generation changed between versions, so you cannot generate a map in 0.16 that is identical to a map from 0.15.
But I've saved the map in 0.16 to regenerate the string in 0.16 format?
If that isn't going to work, then I'd suggest that the game
IS bugged in the sense that it should not display the string, it should display a message that tells you the string cannot be used to make the same map.
I'm pretty sure that all the map exchange string stores is the map settings (possibly including some extra settings that we can't access through he gui), and the seed. Loading and saving the map in 0.16 might give you a string that will re-apply the same map settings, and the same seed, but it doesn't change the fact that the actual code that generates the map has changed, and the new code has no idea how to generate a map that looks like a 0.15 map.
Re: [0.16.17] Map Exchange string does not produce same map
Posted: Mon Jan 22, 2018 10:05 pm
by DRY411S
Jap2.0 wrote:No - the map was generated with the 0.15 generator, and it's giving you a string to make it work with that - which is also the string that is used to generate portions of the map that are unexpored when you update. The map generator was significantly changed, so it would be difficult, if not impossible, to find a string to generate the same map, which would also suffer from problems such as new terrain types, cliffs, etc.
Yes I understand. And now that I do, I assert that it is egregious to have a map exchange string in the 0.16 file in the circumstances when the file has been converted from 0.15 to 0.16 by the game. It sets unfulfilled expectations. If I see an exchange string in a file, I expect it to generate the same map when I use it.
So not the original bug I reported, but IMO a bug all the same.
Re: [0.16.17] Map Exchange string does not produce same map
Posted: Wed Feb 28, 2018 12:53 pm
by Tekky
I agree that this can be confusing. Maybe Factorio should provide some kind of warning when presenting the map exchange string, if the game was started using a different terrain generator.