I have added 124 of my own custom portraits to the game. Whenever I try to start a new game, it always freezes and crashes after confirming the scenario. None of the files are damaged, the files are all PNG and 200x200 pixels. I noticed that if I add only a few portraits, it will work. I'll then add a little more and see if it still works. But It seems to vary with every experiment at what point it starts crashing. I have no Idea how to fix this anymore. Is there something I'm missing here? Is there a cap to custom portraits? Do I have to change something in the code? For reference, I've added:
25 female, 22 east, 23 west, 19 north, 9 girl, 11 kid, 10 oldman, 5 sage.