Icon Creation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (→‎top: clean up, added orphan, underlinked tags)
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:TODO]]
{{Multiple issues|
[[Place Holder until complete]]
{{Underlinked|date=January 2024}}
{{Orphan|date=January 2024}}
}}


Short Breakdown:
The Steam games window supports icons to be added in front of your mod. These icons are .TGA (Targa) files consisting of:


You need a .TGA (Targa) file consisting of
* 16x16 pixel and a separate 32x32 pixel image
* 32-Bit or 24-Bit colors
* No RLE Compression


32-Bits
It can be placed anywhere in your mod's directory, but you will also need to add this parameter to the [[gameinfo.txt]] file to tell Steam where it is omitting the .TGA extension:
No Compression
An active alpha channel


It should be placed either directly in the resource folder or in a sub-directory.
icon "path/to/icon"


You will also need to add this parameter to the gameinfo.txt file.
To have the 32x32 image be displayed next to the mod name when the game is selected, it must have the same name and path as the 16x16 image with _big at the end of the file name before the file extension.
icon "path/to/icon"
 
[[Category:Modding]]

Latest revision as of 22:45, 21 January 2024

Wikipedia - Letter.png
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
Underlinked - Logo.png
This article needs more Wikipedia icon links to other articles to help Wikipedia icon integrate it into the encyclopedia. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024

The Steam games window supports icons to be added in front of your mod. These icons are .TGA (Targa) files consisting of:

  • 16x16 pixel and a separate 32x32 pixel image
  • 32-Bit or 24-Bit colors
  • No RLE Compression

It can be placed anywhere in your mod's directory, but you will also need to add this parameter to the gameinfo.txt file to tell Steam where it is omitting the .TGA extension:

icon		"path/to/icon"

To have the 32x32 image be displayed next to the mod name when the game is selected, it must have the same name and path as the 16x16 image with _big at the end of the file name before the file extension.