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)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:TODO]]
{{Multiple issues|
{{Underlinked|date=January 2024}}
{{Orphan|date=January 2024}}
}}


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


* 16x16 pixels
* 16x16 pixel and a separate 32x32 pixel image
* 24-Bit colors
* 32-Bit or 24-Bit colors
* No RLE Compression
* 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:
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"
  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.
[[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.