Changelog not accessible

Place to get help with not working mods / modding interface.
M.Colcko
Inserter
Inserter
Posts: 21
Joined: Sun Dec 04, 2016 7:23 am
Contact:

Changelog not accessible

Post 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.
Attachments
changelog.txt
The Changelog itself
(1.17 KiB) Downloaded 63 times
No Changelog
No Changelog
2018-04-17 (3).png (3.21 MiB) Viewed 2047 times
The File
The File
2018-04-17 (2).png (31.47 KiB) Viewed 2047 times
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2529
Joined: Fri Nov 06, 2015 7:41 pm

Re: Changelog not accessible

Post 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.
M.Colcko
Inserter
Inserter
Posts: 21
Joined: Sun Dec 04, 2016 7:23 am
Contact:

Re: Changelog not accessible

Post by M.Colcko »

This is how it looks like in notepad++. Still doesn't work.
Attachments
Notepad++
Notepad++
2018-04-17 (4).png (58.72 KiB) Viewed 2035 times
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2529
Joined: Fri Nov 06, 2015 7:41 pm

Re: Changelog not accessible

Post 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.
orzelek
Smart Inserter
Smart Inserter
Posts: 3924
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Changelog not accessible

Post by orzelek »

Use EOL conversion in Notepad++ (in Edit menu) and change them to linux format.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Changelog not accessible

Post 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.
M.Colcko
Inserter
Inserter
Posts: 21
Joined: Sun Dec 04, 2016 7:23 am
Contact:

Re: Changelog not accessible

Post 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.
Post Reply

Return to “Modding help”