Map editor: resizing messes up the terrain.

Having trouble with the game? Report issues and get help here. Read this first!

Moderators: Forum Moderators, Developers

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
batoonike
Posts: 75
Joined: January 3rd, 2009, 8:14 pm

Map editor: resizing messes up the terrain.

Post by batoonike » February 26th, 2010, 5:49 pm

Version 1.6.4+svn
Windows XP

I resized the map quite a few times and it worked fine, but after a few more resizes it messed up the terrain just a little bit everywhere. Most of the tiles are still there, but it looks like every other column of hexagons was copied over the one next to it.

The mixed-up pick is original screenshot after I found the bug, the "proper-wall pick" is my recreation and its not 100% accurate, but the cave wall and mountains are placed where they were before mixing up.
Notice how 2 parallel walls of cave-wall and impassable mountains merged together after a few resizes. I am not 100% positive whether just 1 resize did it or it happened after many resizes, since I didnt even notice the bug for a while.
I believe the bug occured when making the map bigger. I made it bigger like just 1 or 2 tiles in width or height, not both at the same time.
I didnt receive any error messages.
Nevertheless, it effectively destroys the map.

Before:
Image
After:
Image

*Note that images may not be visible in the future.

ilor
Inactive Developer
Posts: 129
Joined: March 24th, 2008, 9:05 pm

Re: Map editor: resizing messes up the terrain.

Post by ilor » February 26th, 2010, 7:02 pm

something indeed seems to be wrong with one or more specific ways (directions) of resizing which resuluts in the shift. Would you care to post a bug report at gna?

edit: problem seems to happen when resizing horizontally with the direction selector in the middle

batoonike
Posts: 75
Joined: January 3rd, 2009, 8:14 pm

Re: Map editor: resizing messes up the terrain.

Post by batoonike » February 28th, 2010, 12:31 pm

"Would you care to post a bug report at gna?"

To be honest, no. Or maybe if you explain what does "posting a bug report at gna" mean really?

ilor
Inactive Developer
Posts: 129
Joined: March 24th, 2008, 9:05 pm

Re: Map editor: resizing messes up the terrain.

Post by ilor » February 28th, 2010, 1:00 pm

Actually, now that I see this report while not sleep-deprived, this is not a bug.

Simply put, it's not possible to add an odd amount of columns to the left of the map without the "messing up". It would probably be good to have a warning message to that effect somewhere.

A workaround is to copy the entire map to the clipboard, resize and paste. This will also show why it's not really possible to do "right".

batoonike
Posts: 75
Joined: January 3rd, 2009, 8:14 pm

Re: Map editor: resizing messes up the terrain.

Post by batoonike » March 1st, 2010, 6:49 pm

Yeah it makes sense actually, since the hexagons just have to move to "wrong" places. While the coordinates prolly stay correct, it looks bad. I think there should really be limitator then, that you cant add odd number of columns to left. I deleted my map after it happened, didnt look like it could be saved.

AI
Developer
Posts: 2394
Joined: January 31st, 2008, 8:38 pm

Re: Map editor: resizing messes up the terrain.

Post by AI » March 1st, 2010, 11:27 pm

The 1.3 map change caused similar issues. While wmllint could upconvert the format, it didn't add two rows and columns for the new borders. The only way to fix the maps was to add a single column to the left side, to undo the damage. (and a row to the top, a row to the bottom and a column to the right)

ilor
Inactive Developer
Posts: 129
Joined: March 24th, 2008, 9:05 pm

Re: Map editor: resizing messes up the terrain.

Post by ilor » March 2nd, 2010, 7:17 am

batoonike wrote:Yeah it makes sense actually, since the hexagons just have to move to "wrong" places. While the coordinates prolly stay correct, it looks bad. I think there should really be limitator then, that you cant add odd number of columns to left. I deleted my map after it happened, didnt look like it could be saved.
There's always undo.

Rya
Posts: 350
Joined: September 23rd, 2009, 9:01 am

Re: Map editor: resizing messes up the terrain.

Post by Rya » March 2nd, 2010, 10:04 am

I think if you only want to add or remove one column then you can still do it without messing it up by select the corners instead of the sides in the 3x3 grid. So that the map gets moves southeast or northeast instead of east.
Wesnoth
The developer says "no".

Post Reply