Topic: Custom Portraits causing the game to freeze when creating new game  (Read 4489 times)


Jojobejo

« on: December 24, 2022, 09:53:58 PM »
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.

Tinker

« Reply #1 on: December 25, 2022, 09:58:48 AM »
If you checkout modernorsemen's portrait mod you will see he adds 327 custom portraits from artflow.ai with no problems. It seems there was a limit in earlier versions of the game so if you are not using the current version you may have found a limit.

Jojobejo

« Reply #2 on: December 25, 2022, 11:02:36 AM »
If you checkout modernorsemen's portrait mod you will see he adds 327 custom portraits from artflow.ai with no problems. It seems there was a limit in earlier versions of the game so if you are not using the current version you may have found a limit.

I wish that were true but I am currently running version 3.72 which I believe is the most modern version.

Tinker

« Reply #3 on: December 25, 2022, 11:46:11 AM »
Only suggestion I can think of right now is the check out modernnorseman's mod and see if he has saved the files differently, main difference I see is his are 256 X 256, perhaps they need to be a power of 2?

Correction to above the size does not seem to matter, I have some 200 X 200 in the list.
« Last Edit: December 25, 2022, 12:46:29 PM by Tinker »

 

anything