Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

made an error editing a map file that i really need to fix but do not know how #64

Closed
Evil-Overlord opened this issue May 25, 2018 · 2 comments
Assignees

Comments

@Evil-Overlord
Copy link

Evil-Overlord commented May 25, 2018

Description

was trying to change the name of one of the countries and i thought i would be smart and just do it directly in the map file only to find out that i buggered it up somehow and now i kinda need help getting it fixed =(

iirc i tried to change the name of one of the nations from Voi to slovene to fit the culture

Generator version

0.56b

Browser version

firefox but same issues on the others

Steps to reproduce

try to load the map file, box for resize will appear and no matter what is clicked the map remains dark and the resize remains

.map file

Voronoi.zip

Expected behaviour

i kinda expected it to open the map up after resizing

Actual behaviour

when loading the map, the tap freezes on resize map and no matter how many times i click resize it does nothing and the map remains black

@Azgaar
Copy link
Owner

Azgaar commented May 25, 2018

Hi @Evil-Overlord,

It is how text editors work ourdays. There are LF (Lining Figure) characters in the svg segment of the .map file, without Carriage return (CR). But most text editor see LF and think user would like to see it as a new line with Carriage return. So editor formats text and it become corrupted after the change saving.

To avoid this please 1. try to edit maps with build-in tools like "Country Editor"; 2. use a simple Notepad or similar "strait" editors instead of ones like Notepad++ or MS Word.

I have manually fixed you file replacing CRLF back to LF when needed. Please find the updated file attached.

Voronoi_fixed.zip

Regards,
Azgaar

@Evil-Overlord
Copy link
Author

Evil-Overlord commented May 25, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants