Closed xxUltiMoxx closed 1 year ago
Hello, it's not version-related. The file is not in the expected format. It can be fixed manually, see https://github.com/Azgaar/Fantasy-Map-Generator/issues/64#issuecomment-392032945
Hey Azgaar,
thx for coming back to me so fast. I figured that it might be a EOF Issue. Thing is, using vs code, i can simply switch it up from CRLF to LF, but then it happens for the whole file and your software tells me that my save is not valid anymore.
I am prolly just stupid but i have no clue how to just alter it for a few lines and which ones i am supposed to alter. ^^
You need to change line end to original only in SVG part. Try to download another map and compare the line ending. It's a long-time issue, Generator v2 would have a better save format
what exactly do you mean with just the svg part? i read that before and i am nor sure if we are talking bout "just line 6" or everything starting from line 6? Sadly it seems that vs code has no option to just show me the line endings - or i havnt found it ^^
@xxUltiMoxx The SVG part is everything between the first <svg>
and the last </svg>
. The non-SVG part are the 5 lines before the first <svg>
and approximately 30 lines after the last </svg>
.
The SVG part uses LF
, and the non-SVG part uses CRLF
. Note that the last </svg>
is directly followed by a CRLF
.
As for showing line endings in VS Code, maybe this answer helps?
thx, i got it working!
closing due to resolved
Describe the bug I havn't touched my map for a while and since the new Version i am not able to load it getting a parsing error. I tried to open it with Azgaar 1.8 that is still available in the releases, but get another error telling me my map file is newer then 1.8 and i am supposed to use 1.9
Steps to reproduce Load my .map file in current azgaar Version and see yourself.
Expected behavior Azgaar just loading my map
.map file Aleitora 2022-10-12-18-16.zip
Screenshots
System Windows 11, current Azgaar Version, Map was made with 1.87 using Chrome Browser