[0.16.25] Bigger than 32x32 item icons are tiny in alt-mode

This subforum contains all the issues which we already resolved.
Post Reply
321freddy
Fast Inserter
Fast Inserter
Posts: 123
Joined: Fri Sep 23, 2016 10:16 pm
Contact:

[0.16.25] Bigger than 32x32 item icons are tiny in alt-mode

Post by 321freddy » Sat Feb 24, 2018 1:02 pm

Possibly related to this: viewtopic.php?f=11&t=57683&p=342251

I have some items with icons of size 64x64 px in my Attach Notes mod. All these items also have an almost equal virtual signal with the same icon properties.
The items icon is tiny in alt mode ingame:
Image

Item entry in data.raw:

Code: Select all

["signpost-icon-danger"] = {
      flags = {
        "hidden"
      },
      icon = "__attach-notes__/graphics/signpost-icons/danger-icon.png",
      icon_size = 64,
      name = "signpost-icon-danger",
      order = "a",
      stack_size = 1,
      subgroup = "signs-red-signpost-icons",
      type = "item"
    },
And the corresponding virtual signal:

Code: Select all

["signpost-icon-danger"] = {
      icon = "__attach-notes__/graphics/signpost-icons/danger-icon.png",
      icon_size = 64,
      name = "signpost-icon-danger",
      order = "a",
      subgroup = "signs-red-signpost-icons",
      type = "virtual-signal"
    },
As you can see they have exactly the same icon properties but are drawn differently.
The icons are correctly drawn in the inventory and when dropped on the ground, but are larger than usual when used as map tag icon!

(Don't be irritated by the actual icon, this can be repoduced with any icon larger than 32x32. It has some technical reasons that I have to have both item and signal at the same time.)
log file

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 3178
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [0.16.25] Bigger than 32x32 item icons are tiny in alt-mode

Post by eradicator » Mon Feb 26, 2018 2:17 am

321freddy wrote:but are larger than usual when used as map tag icon!
viewtopic.php?t=57683
Oddly my 192x192 and 64x64 item icon map tags work correctly since that fix.

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

Re: [0.16.25] Bigger than 32x32 item icons are tiny in alt-mode

Post by Rseding91 » Mon Feb 26, 2018 9:18 am

Can you please upload a mod that shows the issue?
If you want to get ahold of me I'm almost always on Discord.

posila
Factorio Staff
Factorio Staff
Posts: 3656
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.16.25] Bigger than 32x32 item icons are tiny in alt-mode

Post by posila » Mon Feb 26, 2018 9:40 am

Thanks for the report.
Fixed for 0.16.26

321freddy
Fast Inserter
Fast Inserter
Posts: 123
Joined: Fri Sep 23, 2016 10:16 pm
Contact:

Re: [0.16.25] Bigger than 32x32 item icons are tiny in alt-mode

Post by 321freddy » Thu Mar 01, 2018 2:12 pm

Thank you! works as expected now :)

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: Bing [Bot]