Skip to main content

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

Game loads all the images in the folder, which can take quite a while, and a lot of memory. If you have a lot of portraits, especially high resolution, which tends to be worse for full body images, it'll take a while to load period.  If you also don't have a lot of ram, it can take damn near forever as it hits swap.  I've got 847 body images taking up 405MB on disk, loading them takes several seconds and hangs the game for a bit on my decently powerful system. The game's memory usage also goes from 187MB to 1284MB.  If you have even more and/or larger portait/body images, then this could grow greatly.

Ideally the game UI would load these in the background, and not load everything, but only the items actually visible and maybe some before/after. That however isn't exactly simple to implement.

yea, now that you pointed it out i can see that being the problem. Granted i have the complete image pack witch adds 1000 images, including the images already in the game. 

I was testing out making it load images on demand and it's been painful to implement. Got it mostly working, except right now it shows no images until you scroll at least once.  If I try to manually trigger that scroll, then I've got an issue where it hasn't done layout yet, and so my code to check if images are in visible area... thinks everything is visible so it loads everything... and thus no real change. Going to see if I can fix that, but might release it as-is as a mod, as it's not too bad to scroll once after opening and it lets you filter the list before scrolling and avoid loading everything. It however requires adding new functions and can't do that until my reported bug with mod applying gets fixed.