High resolution icons 64x64 pixels

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 1678
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

High resolution icons 64x64 pixels

Post by darkfrei » Mon Dec 04, 2017 4:42 pm

Hi all!

Is it possible to add "high resolution" icons 64x64 pixels to item icons?

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 1678
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: High resolution icons 64x64 pixels

Post by darkfrei » Fri Jan 11, 2019 10:44 pm

Up

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 3356
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: High resolution icons 64x64 pixels

Post by Klonan » Sat Jan 12, 2019 8:39 am

You can make any icon any size you prefer with the `icon_size` property,
We have fixed several places it didn't work properly in 0.16,
and if you find any other cases after 0.17 releases you can make a bug report

User avatar
Bilka
Factorio Staff
Factorio Staff
Posts: 1161
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: High resolution icons 64x64 pixels

Post by Bilka » Sat Jan 12, 2019 8:41 am

Darkfrei wants the option to have a highres version besides the normal icon. I also want that option.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 3356
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: High resolution icons 64x64 pixels

Post by Klonan » Sat Jan 12, 2019 8:43 am

Bilka wrote:
Sat Jan 12, 2019 8:41 am
Darkfrei wants the option to have a highres version besides the normal icon. I also want that option.
I don't see the usefulness, if you have the icon in high-res, why not use it?

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

Re: High resolution icons 64x64 pixels

Post by posila » Sat Jan 12, 2019 9:18 am

Icons are tiny compared to everything else, you can as well always use the best version you have (within reason ... using 512x512 image for what normally is 32x32 icon, is not reasonable)

Or am I misunderstanding and you want the game to load both 64x64 and 32x32 images and during rendering decide which of them to use based on how scaled the icon is?

User avatar
Arch666Angel
Smart Inserter
Smart Inserter
Posts: 1543
Joined: Sun Oct 18, 2015 11:52 am
Contact:

Re: High resolution icons 64x64 pixels

Post by Arch666Angel » Sat Jan 12, 2019 3:30 pm

Did you already fix the issue when dropping an item with a 64x64 on the ground it's also unscaled? So twice (technically 4 times) the size of the 32x32 icon item?

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

Re: High resolution icons 64x64 pixels

Post by posila » Sat Jan 12, 2019 4:34 pm

Arch666Angel wrote:
Sat Jan 12, 2019 3:30 pm
Did you already fix the issue when dropping an item with a 64x64 on the ground it's also unscaled? So twice (technically 4 times) the size of the 32x32 icon item?
As far as I know, that is fixed viewtopic.php?t=57683

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 6172
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: High resolution icons 64x64 pixels

Post by bobingabout » Mon Jan 14, 2019 9:59 am

I have some strange sized icons in one of my mods, because with the icon-size tag, I didn't see the point in resizing down to 32x32. such as I have one that is 40x40

But I agree with the consensus here, if you have a 64x64 icon, why not just use that?

But I can understand the "have both, let the game decide which is best to use" approach, it reminds me of older windows where icons could be 16x16 or 32x32 depending on where you were, and the 16x16 icon could sometimes look nothing like the 32x32 icon, to show the desired information in a more compact way instead of just scaling.
compare for example a technology icon with it's item, say, inserters for example, there's quite a few technology icons for inserters that barely resemble the icon for the item itself. imagine if you had one of those crisp detailed renders of an inserter for a 64x64, or even 128x128 icon. Would you really want that to be displayed for your 32x32 icon? or even the 10x10 or whatever it is in world item sprite? it might just end up being a blurry mess!
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.

User avatar
Arch666Angel
Smart Inserter
Smart Inserter
Posts: 1543
Joined: Sun Oct 18, 2015 11:52 am
Contact:

Re: High resolution icons 64x64 pixels

Post by Arch666Angel » Mon Jan 14, 2019 2:48 pm

bobingabout wrote:
Mon Jan 14, 2019 9:59 am
Would you really want that to be displayed for your 32x32 icon? or even the 10x10 or whatever it is in world item sprite? it might just end up being a blurry mess!
New viewing mode: Feel like an old man/woman

Post Reply

Return to “Modding interface requests”

Who is online

Users browsing this forum: No registered users and 3 guests