Skip to main content

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

I'm very disappointed as I can't seem to use this tool.  I downloaded the color picker, and the image tools, but I can't seem to use tint at all!  I get this error message when I try

```I'm sorry, but an uncaught exception occurred.

While running game code:

  File "game/image_tools/image_tint_tool.rpy", line 236, in execute

    screen tinting_tool():

  File "game/image_tools/image_tint_tool.rpy", line 236, in execute

    screen tinting_tool():

  File "game/image_tools/image_tint_tool.rpy", line 283, in execute

    add sprt.check_bg(persistent.sprt_bg):

Exception: An empty string cannot be used as a displayable.```
I have made no edits to the image tint tool, this is straight out of the box, I even tested it on a brand new project and got the same error

Hey there! My apologies for the error - it looks like an engine update has changed how Ren'Py handles empty strings for displayables. To temporarily fix this, open the game and then open the console with shift+o and type in `persistent.sprt_bg = "black"` and hit Enter. Close the console and the tool should be possible to open. Clearing the background image will cause the error to appear again unfortunately, so I'll be putting out a fix for this as soon as I'm able. Thanks for the report!

Thank you!!  I'll just wait for the update :3

I investigated a bit and specifically Ren'Py now returns `True` for `renpy.loadable("")` in v8.4, which appears to be an engine bug. I have reported it in the Ren'Py GitHub, and in the meantime you can change the line elif renpy.loadable(s): in the function check_bg around line 124 in image_tint_tool.rpy to elif s and renpy.loadable(s): and this should fix the problem. I will be putting out this fix as an update soon.

Hey there again, I've put out an update to the common image tools file which you can find here: https://feniksdev.itch.io/image-tools-for-renpy/devlog/1015768/84-engine-bug-fix which should fix your problem. Thanks for your patience!