News: Portal
Our Simutrans site. You can find everything about Simutrans from here.

Height maps are loaded as "maps/save/X*.*" not "save/file.ppm"

Started by ansgar, August 21, 2011, 05:29:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.



I'm forwarding a bug report from Debian (filed for version 102.2.2, also present in 110.0.1 and the relevant code parts don't seem to have changed since):

open("maps/save/zzz*.*", O_RDONLY)      = -1 ENOENT (No such file or directory)

I couldn't get height maps to load, so I ran strace while telling it to load
a map named "zzz".  The above is the relevant line of strace output.

According to all the online documentation the height maps should go in the
game save directory, I think this was a bad decision and maps/save may be
better, but it needs to be documented.

Opening a file with "*.*" appended to the name might work in Windows, but is
really the wrong thing to do on Linux.  Probably ".ppm" should be appended.

The original report is available at You can add comments by writing to, please note that you need to include if you want the submitter to be reached as well.



Parsley, sage, rosemary, and maggikraut.


The height maps should go into /maps/ ... at least this was the intention.


the bug is: if one types the name of the file instead of clicking on the button then the file is not searched at the wrong location (the same happens for scenarios).

edit: should be fixed with r4794.
Parsley, sage, rosemary, and maggikraut.