Page 1 of 1

Crawl crashes when I modify mini_monsters.des

PostPosted: Friday, 28th December 2018, 19:14
by Skrybe
Any time I make the slightest change to dat/des/variable/mini_monsters.des in local Crawl, it causes Crawl to crash, and I have no idea why. I can literally open the file, save it without making any changes, and that's enough to make the game crash. I can edit other .des files without any problems, but mini_monsters is problematic for some reason. Can someone explain what the issue is?

Re: Crawl crashes when I modify mini_monsters.des

PostPosted: Friday, 28th December 2018, 19:20
by Siegurt
Try submitting a bug report on mantis:

https://crawl.develz.org/mantis/main_page.php

Devs are usually interested in fixing things that cause crashes.

Re: Crawl crashes when I modify mini_monsters.des

PostPosted: Friday, 28th December 2018, 20:52
by duvessa
What text editor are you using to edit it? Is it possible that you're accidentally saving it with the wrong encoding? For example, if you save it in UTF-16 it will crash.

Re: Crawl crashes when I modify mini_monsters.des

PostPosted: Friday, 28th December 2018, 22:37
by Skrybe
Thanks, it looks like that was the problem. Notepad was specifically trying to save mini_monsters as UTF-8, while it saved everything else as ANSI. That fixed it in local 0.22.1, though I have an old, modified version of 0.13.2 (my attempt at a branch long ago) that still crashes when mini_monsters is modified, even if I make sure the encoding isn't changed. I'm not really expecting tech support for that one, though.