Steam game icons

Steam game icons

Re: Steam game icons Posted by Captain P on Tue Mar 28th 2006 at 5:49pm
Captain P
1370 posts
Posted 2006-03-28 5:49pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
Does anyone here know how to add a Steam game icon to a Half-Life mod? I know how to do this for Source mods, but that method doesn't quite work for Half-Life mods, namely because they use liblist.gam files rather than gameinfo.txt ones.
Create-ivity - a game development blog
Re: Steam game icons Posted by Captain P on Fri Mar 31st 2006 at 9:31am
Captain P
1370 posts
Posted 2006-03-31 9:31am
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
Well, I finally got my answer on the Steam forums (would you have expected that?).

The solution is simple: Source mods use the following line in their gameinfo.txt: 'icon "path/icon"'. Half-Life mods can have this same line in their liblist.gam and it will work, but there's one pitfall for them: there must be only a single space between icon and "path/icon", otherwise it won't work.
For the icon file the same rules apply to any mod, whether it's HL or Source: it must be a 16x16 .tga file.
Create-ivity - a game development blog