Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Strive for Power

Fantasy Slave Management/RPG Erotic Game · By Strive4Power

Potrait/Bodies problem?

A topic by Altair Drake created Oct 01, 2018 Views: 2,274 Replies: 9
Viewing posts 1 to 3

Is there a max for portraits bodies? Cause when i want to change potrait or full body image in the customization, my game dont want to do it and it stops "no answering" etc and i can only close it. 

Boot splash path: res://files/buttons/loading.png
ERROR: Node not found: ../../..
   At: scene/main/node.cpp:1524
WARNING: _png_warn_function: iCCP: known incorrect sRGB profile
     At: drivers/png/image_loader_png.cpp:67
WARNING: _png_warn_function: iCCP: cHRM chunk does not match sRGB
     At: drivers/png/image_loader_png.cpp:67

WARNING: _png_warn_function: iCCP: profile 'Photoshop ICC profile': 0h: PCS illuminant is not D50

 At: drivers/png/image_loader_png.cpp:67

Maybe I'm wrong: but from your log, it sounds like the game has issues at loading some particular image. I suppose it has some hidden info which makes the loading function to crash.
A possible solution would be to remove the hidden chunk from the image, except that I don't know which is: the one you have selected? Or some pic in the folder you're browsing? Maybe you could empty your folder and readding the images one by one
Here a tip to convert png images in bulk.

Maybe im too stupid. But how should i use this? I do not know how this pngcrush is working or something...

Thanks i will try this! For now im trying to delete at least copies from packs. :P But maybe this will help too!

I kinda doubt this is a problem, those warnings aren't much of an issue, it'll finish loading without them. The main problem is the game loads *all* the portrait or body image files.  For portraits, they tend to be smaller and so it'll be faster, but can still take a while and the game might run out of memory. For bodies, they're larger and with enough it's highly unlikely the game will ever finish loading them successfully, more likely it'll chug for a long while then crash.

Basically if the folder's not quite too big and you have enough memory, you can wait it out and it will eventually finish.

I started a mod to make it load things on-demand, I'll try and finish that up.

I see i thought so about this too, cause when i removed some bodies it worked . Thats sad cause im greedy and my pc is not bad so i thought it won't be a great problem. Oh well. I will wait for your mod! Good luck with that. And what do you think when it would be created? Or maybe do you have some tips for me to load more bodies without crashing game?

(1 edit)

If you have a few images that you really like and want to use you can just select and add those to the portraits/bodies folder and use them in-game manually. If on the other hand you have several images you could just use Kyler2's Improved Random Portrait mod and use the 'Random Portrait' button to change between fitting images without having the need to make the game load all images and become slow or potentially crash. I bet you are not aware of this mod yet so I highly advise you to check it out.

I am but thanks anyway! I thought about this too. Just trying to have good random potraits, but welp i have many packs which i fused, and after that i deleted copies so idk how it will be working with this mod, or with using both bodies and portraits. Sadly not everything have same name :/ But thanks anyway! Still im trying to defeat this errors but i dont know how to use this pngcrush... :/

https://itch.io/t/308182/delayed-portrait-loading-v10

I had it mostly complete and thought I'd try another ugly hack idea to get it to render the initial portraits without a manual scroll, and it seems to work.  As mentioned in it, need new version of the random portraits mod, or might work if this mod is after the random portraits mod in the order, haven't tested that.  It still takes a while to load a large list, but we're talking like 5-10 seconds on a good computer, instead of like 1-5 minutes or crashing before.

Many thanks! Its like a pie from the sky! Very good work! :D