Currently Online

Latest Posts

Topic: Old Settlers Maps

flipflipsen

Topic Opener
Joined: 2010-01-17, 22:18
Posts: 79
OS: Ubuntu 23.10
Version: 1.2
Ranking
Likes to be here
Posted at: 2024-04-04, 21:36

I think, I find the problem. Some settlers maps create the error, but other settlers maps are oke to load and edit. I go check the maps one at a time, so i have to find the maps that cause the problem.


Top Quote
flipflipsen

Topic Opener
Joined: 2010-01-17, 22:18
Posts: 79
OS: Ubuntu 23.10
Version: 1.2
Ranking
Likes to be here
Posted at: 2024-04-05, 08:42

I checked my settler maps and i found 2 maps that gave the problem. I deleted those maps and everything is working fine now.

Attached are the 2 maps that gave the problem.

My problem is solved.


Attachment:
Problem Maps.zip (793.1 KB)

Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 17:07
Posts: 1955
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2024-04-05, 08:48

Thanks. Indeed, these map files are invalid, but they shouldn't crash the whole map selection menu face-shock.png Will prepare a fix.


Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 17:07
Posts: 1955
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2024-04-05, 08:57

That was easy… the fix is a one-liner. We already had code to gracefully skip invalid map files, it just needed a minor extension.
https://codeberg.org/wl/widelands/pulls/4795


Top Quote
flipflipsen

Topic Opener
Joined: 2010-01-17, 22:18
Posts: 79
OS: Ubuntu 23.10
Version: 1.2
Ranking
Likes to be here
Posted at: 2024-04-05, 11:00

Thanks.


Top Quote