Page 1 of 1
How can I get item icon path?
Posted: Sun Jul 30, 2023 7:52 am
by deterok
Hello there. I'm making a Stream Deck plugin to integrate it with Factorio quick bar and I need the best way to get item icon path or icon data. Could you help me?
Re: How can I get item icon path?
Posted: Mon Jul 31, 2023 6:18 pm
by Bilka
You could try the --dump-icon-sprites
command line parameter to dump all icons from the game by prototype name, if you want it outside of the game. Inside the game (during runtime modding) you'll likely just need the
SpritePath.
Out of personal curiosity, why are you looking to use a steam deck plugin for the quick bar instead of using the
quick panel that's part of the controller based input?
Re: How can I get item icon path?
Posted: Tue Aug 01, 2023 2:52 am
by Xorimuth
Bilka wrote: Mon Jul 31, 2023 6:18 pm
Out of personal curiosity, why are you looking to use a steam deck plugin for the quick bar instead of using the
quick panel that's part of the controller based input?
Stream deck, not steam deck
https://www.elgato.com/us/en/p/stream-deck-mk2-black
Re: How can I get item icon path?
Posted: Tue Aug 01, 2023 4:39 pm
by Bilka
Oops, misread that indeed.
Re: How can I get item icon path?
Posted: Thu Aug 03, 2023 6:33 am
by deterok
Thanks for the idea! I made it using the
--dump-icon-sprites directive. I collect them when the stream deck plugin starts.
Now I am working on science and ammunition. And yes, it will support an amazing LCD panel on
the new model 
Re: How can I get item icon path?
Posted: Sun Aug 06, 2023 11:52 pm
by Sc1zzen
I was wondering if you had made any progress on your plug in, I have a StreamDeck XL and would be very interested!