[2.1.7] Having trouble porting a mod

Place to get help with not working mods / modding interface.
sarge945
Fast Inserter
Fast Inserter
Posts: 129
Joined: Wed Apr 26, 2023 9:45 am
Contact:

[2.1.7] Having trouble porting a mod

Post by sarge945 »

I'm trying to port the Just Another Improved Greenhouse Mod to 2.1, and unfortunately it's not liking the prototype graphics for some reason.
06-24-2026, 14-11-48.png
06-24-2026, 14-11-48.png (28.89 KiB) Viewed 118 times
The actual greenhouse is a 320x320 png, but the game doesn't seem to accept it at that size.

This worked fine for 2.0

Was something changed to enforce powers of 2, since it seems to want a 512x512 image????

Is there anything I can do about this?
sarge945
Fast Inserter
Fast Inserter
Posts: 129
Joined: Wed Apr 26, 2023 9:45 am
Contact:

Re: [2.1.7] Having trouble porting a mod

Post by sarge945 »

Okay this works if I use a 512x512 image, but I'm not sure why powers of 2 would now be required. Is this a bug, or a SDL3 change, or something?
sarge945
Fast Inserter
Fast Inserter
Posts: 129
Joined: Wed Apr 26, 2023 9:45 am
Contact:

Re: [2.1.7] Having trouble porting a mod

Post by sarge945 »

OKAY I FIGURED IT OUT

For the research image, I set the icon size to 512x512, when the source image is 320x320

This worked in 2.0, it would simply add transparency and handle the larger image fine, but for 2.1 it errors and doesn't allow exceeding the max size of the image.

This is fine for my case as the Research image should have been 320x320 anyway (512x512 was a mistake), but other mod authors should know about it.
Post Reply

Return to “Modding help”