So you've made some Half-Life mod. Maybe it's some fun singleplayer campaign, an obnoxious content replacement pack, or a class-based team multiplayer where you battle as Xen creatures. No matter what your mod is, the point is you want a nice little icon to show up next to its name in the Steam library and in the game window's title bar.
There's only 3 files you need to worry about: game.tga,
<iconname>
_big.tga and
liblist.gam.
game.tga |
This is the icon that will be visible in the window's title bar. It may be anything from 16x16 to 48x48 pixels as far as I'm aware, but it must be a 24bit .tga. |
<iconname> _big.tga |
Can either be a 24bit .tga or a .png file. |
For
liblist.gam you need to add the line
icon "<iconname>"
Make sure to replace
<iconname>
in
liblist.gam by the desired name without any file extension. Make sure to rename properly
<iconname>
_big.tga. Some use the mod's name here, others simply use "game".
It appears game.ico and
<iconname>
.tga are unused, at least in the Steam version of Half-Life (tests made with the latest 25th Anniversary version on Windows both with Software and OpenGL renderers).
None of the mentioned icon files appear to be used for the shortcut when pressing
Add desktop shortcut
in Steam.
Recommended setup: the mod icon should be a 32x32 TGA 24 bits uncompressed file named "game.tga". This will be shown in the Windows toolbar (and in the title bar when playing in windowed mode as well). If your mod is not "self-published" on Steam (like Cry of Fear, Half-Life: CAGED, Sven Co-Op), duplicate this file to "game_big.tga" and add the
icon "game"
key/value pair in
liblist.gam so that it is displayed in the Steam client library.
If your mod icon is flipped upside down in the toolbar, you can use this
tool to fix it.