Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Strive for Power

Fantasy Slave Management/RPG Erotic Game · By Strive4Power

Can't load Custom Bodies & Portraits

A topic by WolfLynd created Oct 16, 2018 Views: 1,449 Replies: 8
Viewing posts 1 to 3

Whenever i try to load in the Custom Bodies or the Portraits it just keep loading even though i have the 'Delayed Portrait Loading' as the number one in the mod list and beside that i only have the 'Improved Portrait Loading' and i have the latest from each. So what can i do about it.

U.I:  I admit though that i have about 6081 pictures just in the 'Bodies' folder but i remember last time i played i had about 4000 pictures and it load it in after a 30 sec. even though i didnt had any mod at that time . And i should mention thta the only way now to change portraits is the 'Random Portrait' option and it can changes the bodies and portraits fast but not all files is compatible with it so until i ultilize them i would like to use the manual way.

What other mods/versions do you have? Did you try it with just the delayed loading mod enabled?

(1 edit)

I have the Delayed Loading Mod v1.0 and the Improved Random Portraits v1.0 in this order and yes i tried that only Delayed Loading Mod alone but its the same.

Any error messages output to the console when it's failing? There's a few potential causes.

1: Godot just breaks when more than a certain number of objects added to the ScrollContainer. So maybe at around 4000 things worked, but at 6000 things just break? If so I'd expect to see some errors in the console.

2. My mod uses a bit of a hack to render the initial viewed items.  Without the delay, the rendering engine hasn't setup the size/location of everything yet and so it thinks everything is visible and the delayed loading ends up loading everything.  I thought the way I did it the actual delay didn't matter as it's block on that compositing, but maybe I was wrong

3. Something I'm not thinking of, but console output might help identify.

Well first i got a warning that said:  _png_warn_function: iCCP: kown incorrect sRGB profile At: drivers/png/image_loader_png.cpp:67


Then after a while  it started give an error thta message queue out of memory.But heres some screenshots.


But after about 15 mins its seems like its opened it but the picture (portrait in this case) blury and cant see the name plus when i want to close it, 5 more min until it close or just freeze down.

Hmm ok so that could be either #1 or #2.   I'll try and take a crack at my logic for determining which images to load to something that doesn't depend upon the compositing so if that has issues, it still only loads the necessary ones, and i'll test it out with 0.5.20a.  Probably won't get to it till the weekend as next few days are busy.

I'll also probably take a crack at a really efficient design that uses a smaller number of button objects and re-uses them.  Dealt with some similar designs for web pages, though doing the asynchronous loading in Godot will be a lot more painful than it is in javascript.

Thanks and sorry for the trouble.

try to convert all images in png, maybe some image header are broken