[0.16.19] Merging icons of different sizes

We are aware of them, but they have low priority. We have more important things to do. They go here in order not to take space in the main bug thread list.
Post Reply
User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2916
Joined: Sat Jun 11, 2016 6:41 am
Contact:

[0.16.19] Merging icons of different sizes

Post by Optera »

Thanks for adding this, sadly it doesn't seem working.
Problem:
A Code basically reduced to this results in the 32x overlay being read for 128x128 from the atlas.

Code: Select all

icons =
{
  {
    icon = large-icon.png,
    icon_size = 128
  },
  {
    icon = small-icon.png,
    icon_size = 32
  }
}
icon_size = 32
2018-01-26-06-46-34-3995150.jpg
2018-01-26-06-46-34-3995150.jpg (18.91 KiB) Viewed 1862 times
Expected Behavior:
The 128x icon is shrunk to 32x and with overlay should look like the right icon in the screenshot.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.19] Merging icons of different sizes

Post by Rseding91 »

The game itself doesn't support item-icons that are > 32 fully. It's planned to fully add support at some point but right now it may or may not work depending on where it's rendered (inventory, alt-info, GUI).
If you want to get ahold of me I'm almost always on Discord.

Supercheese
Filter Inserter
Filter Inserter
Posts: 841
Joined: Mon Sep 14, 2015 7:40 am
Contact:

Re: [0.16.19] Merging icons of different sizes

Post by Supercheese »

Rseding91 wrote:The game itself doesn't support item-icons that are > 32 fully. It's planned to fully add support at some point but right now it may or may not work depending on where it's rendered (inventory, alt-info, GUI).
Ah, that's unfortunate. I didn't know this and set many of my mods' icons to be 64x64 or even 128x128, thinking, well, it's nicer to have more resolution than less. Perhaps I should revert these changes until support for them is improved?

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.19] Merging icons of different sizes

Post by Rseding91 »

Supercheese wrote:
Rseding91 wrote:The game itself doesn't support item-icons that are > 32 fully. It's planned to fully add support at some point but right now it may or may not work depending on where it's rendered (inventory, alt-info, GUI).
Ah, that's unfortunate. I didn't know this and set many of my mods' icons to be 64x64 or even 128x128, thinking, well, it's nicer to have more resolution than less. Perhaps I should revert these changes until support for them is improved?
If it works for you then I'd leave it. We just haven't gotten around to officially making it work everywhere so it's a dice roll if it works for what you want.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Minor issues”