Page 1 of 1
Changelog not accessible
Posted: Tue Apr 17, 2018 3:22 pm
by M.Colcko
The changelog i've added to my mod doesn't appear in the mod menu even though i triple checked the format of it.
Using another mods changelog works.
Re: Changelog not accessible
Posted: Tue Apr 17, 2018 3:31 pm
by Deadlock989
It's like the fussiest thing ever. You've got the wrong number of spaces in there, a few times. Two before the sub-headers, four before the bullets. Don't use Windows carriage returns. Notepad++ or similar can help you sort it out.
Re: Changelog not accessible
Posted: Tue Apr 17, 2018 3:53 pm
by M.Colcko
This is how it looks like in notepad++. Still doesn't work.
Re: Changelog not accessible
Posted: Tue Apr 17, 2018 4:03 pm
by Deadlock989
This is an age-old problem in Windows, it uses two special characters for end-of-lines, whereas nearly every other system in the world uses one:
https://stackoverflow.com/questions/701 ... -character
You want to only have the /n character. Factorio will think the changelog is invalid if it finds any /r characters.
I recommend Notepad++ but there are many other text editors that are multi-platform compatible.
I had these same issues when I started modding and making changelogs. Concentrate on getting just one entry working, then copy and paste it. Every time I make a new entry, I use the last one as a template.
Re: Changelog not accessible
Posted: Tue Apr 17, 2018 5:38 pm
by orzelek
Use EOL conversion in Notepad++ (in Edit menu) and change them to linux format.
Re: Changelog not accessible
Posted: Tue Apr 17, 2018 8:12 pm
by eradicator
Windows linebreaks work just fine for me, even the offical changelog uses them. But yea, the format is really sensitive about the slightest deviation. I can't spot any extra spaces though.
Re: Changelog not accessible
Posted: Tue Apr 17, 2018 8:35 pm
by M.Colcko
So i got it working using another mods changelog and rewriting it. Its weird because the format is the EXACT same as in my selfwritten one. Also the linebreaks worked fine there too with windows line ends.
This whole thing is so weird.