# Changing colors breaks game loading

**URL:** <https://discourse.cataclysmdda.org/t/changing-colors-breaks-game-loading/20636>\
**Category:** The Garage\
**Created:** [July 3, 2019, 1:33am UTC](https://discourse.cataclysmdda.org/t/changing-colors-breaks-game-loading/20636 "2019-07-03T01:33:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bio](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/bio/32/6690_2.png) [@Bio](https://discourse.cataclysmdda.org/u/Bio)\
**Post date:** [July 3, 2019, 1:33am UTC](https://discourse.cataclysmdda.org/t/changing-colors-breaks-game-loading/20636/1 "2019-07-03T01:33:18Z")

</div>

So since the blue color is invisible during “night light” hours on my computer (I have it on after 8 so I can sleep better) I changed the colors in the color options to something brighter, but for some reason now my seems to be giving an error code on monsters on boot, and stops loading. I tried resetting by reloading to original template and restarting the game but its still broken.  
DEBUG : Error: data/mods//dda/…/…/json/monsters.json: line 15:13: invalid color name

```
"material": ["flesh"],
"symbol": "X",
"color":
        ^
         "white",
"aggression": 100,
"morale": 100,

```

FUNCTION : bool main\_menu::load\_character\_tab()  
FILE : src/main\_menu.cpp  
LINE : 952

---

<div class="post-metadata">

**Author:** ![TheMurderUnicorn](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/themurderunicorn/32/5706_2.png) [@TheMurderUnicorn](https://discourse.cataclysmdda.org/u/TheMurderUnicorn)\
**Post date:** [July 3, 2019, 2:04am UTC](https://discourse.cataclysmdda.org/t/changing-colors-breaks-game-loading/20636/2 "2019-07-03T02:04:57Z")

</div>

You haven’t given much information.

Did you use the in-game menu to change the color? IE: Escape – color manager or whatever it’s called – and then changed the color?

Or did you muddle around in the files?

I couldn’t duplicate this issue using the color manager. It changed fine for me, changing multiple colors with no problem.

Based on the error message provided, the game is looking for the color “white” which it doesn’t think exists. Without knowing exactly what you did, I have no idea. There’s no issues I saw on Github, and if you’re unable to undo what you did, you’ll probably have to fresh install the game.

If you’re on the same version, you should be able to move your saves to the new directory without issue.

---

<div class="post-metadata">

**Author:** ![Reinhark](https://avatars.discourse-cdn.com/v4/letter/r/bbce88/32.png) [@Reinhark](https://discourse.cataclysmdda.org/u/Reinhark)\
**Post date:** [July 3, 2019, 2:09am UTC](https://discourse.cataclysmdda.org/t/changing-colors-breaks-game-loading/20636/3 "2019-07-03T02:09:17Z")

</div>

The invalid color was my first guess, but howling waif has “white” as its color. oh well, always make backup before editing.

---

<div class="post-metadata">

**Author:** ![Bio](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/bio/32/6690_2.png) [@Bio](https://discourse.cataclysmdda.org/u/Bio)\
**Post date:** [July 3, 2019, 2:15am UTC](https://discourse.cataclysmdda.org/t/changing-colors-breaks-game-loading/20636/4 "2019-07-03T02:15:59Z")

</div>

I didn’t meddle in any files, just use the the color manager from main menu.  
Also moving the save folder onto a fresh download duplicates this error when I open the color manager even without doing anything

Just to clarify where is the map data anyways?

---

<div class="post-metadata">

**Author:** ![TheMurderUnicorn](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/themurderunicorn/32/5706_2.png) [@TheMurderUnicorn](https://discourse.cataclysmdda.org/u/TheMurderUnicorn)\
**Post date:** [July 3, 2019, 3:27am UTC](https://discourse.cataclysmdda.org/t/changing-colors-breaks-game-loading/20636/5 "2019-07-03T03:27:12Z")

</div>

The map data from your save is in the ‘maps’ folder of your save. It should be the config folder that handles custom colors.

I think your issue is that there’s an error in custom\_colors.json.

Go to your cdda directory/config folder and open custom\_colors.json.

Erase everything inside it and paste this in.

```auto
[]
```

Don’t forget to save the file.

That’s it. I’m thinking that will work for you. Or, at least, I think it will let you open the game. Then you’d want to open color manager and manually clear out all the entries that are there.

---

<div class="post-metadata">

**Author:** ![Zhilkin](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zhilkin/32/3749_2.png) [@Zhilkin](https://discourse.cataclysmdda.org/u/Zhilkin)\
**Post date:** [July 3, 2019, 11:18am UTC](https://discourse.cataclysmdda.org/t/changing-colors-breaks-game-loading/20636/6 "2019-07-03T11:18:18Z")

</div>

It is a known and confirmed issue - see [https://github.com/CleverRaven/Cataclysm-DDA/issues/26102](https://github.com/CleverRaven/Cataclysm-DDA/issues/26102).
