Closed roman-bronis closed 11 years ago
Confirmed, +1.
Seems the tga has ‘origin: bottom left’ set and whatever goldsrc uses to read tgas fails to cope; resaving it as origin: top left makes it work correctly. It’s also 16×16 unlike the other games -
john@joran ~/Steam/SteamApps/common/Half-Life > file */game.tga
bshift/game.tga: Targa image data - RGB 16 x 16
cstrike/game.tga: Targa image data - RGB - RLE 32 x 32
czero/game.tga: Targa image data - RGB - RLE 32 x 32
dmc/game.tga: Targa image data - RGB - RLE 32 x 32
dod/game.tga: Targa image data - RGB - RLE 32 x 32
gearbox/game.tga: Targa image data - RGB - RLE 32 x 32
ricochet/game.tga: Targa image data - RGB - RLE 32 x 32
tfc/game.tga: Targa image data - RGB - RLE 48 x 48
valve/game.tga: Targa image data - RGB - RLE 32 x 32
In looking into it, all icons being set are gaining an extra line of transparency so the icon has the bottom row of pixels cropped-
_NET_WM_ICON(CARDINAL) = Icon (32 x 32):
░▒▓▓▓▓▒░
▓████████████▓
░▓███▓▓▒▒▒▒▓▓███▓░
░▓██▓▒░░░░░░░░░░▒▓██▓░
▓██▓░░░░░░░░░░░░░░▓██▓
░▓█▓░░░░▒▒▒▒▒▒░░░░░░░░██▓░
▓█▓▒░░░░▓▓▓▓▓▓░░░░░░░░▒██▓
░██░░░░░░▓█████░░░░░░░░░░██░
▓█▓░░░░░░▓▓▓███░░░░░░░░░░▓█▓
▓█▓░░░░░░░░░░▓██▓░░░░░░░░░░▓█▓
██▒░░░░░░░░░░▒██▓▒░░░░░░░░░▒██
██░░░░░░░░░░░▒███▓░░░░░░░░░░██
░█▓░░░░░░░░░░▒▓███▓░░░░░░░░░░▓█░
▒█▓░░░░░░░░░░▓█████░░░░░░░░░░▓█▒
▓█▒░░░░░░░░░░██████▒░░░░░░░░░▓█▓
▓█▒░░░░░░░░▒▓██▓▓██▓▒░░░░░░░░▒█▓
▓█▒░░░░░░░░▓███▓▒███▒░░░░░░░░▒█▓
▓█▓░░░░░░░░████░░▓██▓░░░░░░░░▓█▓
▒█▓░░░░░░░▒███▓░░▓███░░░░░░░░▓█▒
░█▓░░░░░░▓███▒░░░▒▓██▒░▒▒░░░░██░
██░░░░░░▓███▒░░░░▓██▓▒▓▓░░░░██
██▒░░░░▒███▓░░░░░▒██████░░░▒██
▓█▓░░░▒▓██▓▒░░░░░░██████▒░▒▓█▓
▓█▓░░▒▓▓▓░░░░░░░░▓█▓▓▒░░░▓█▓
░██░░░░░░░░░░░░░░▒▒░░░░░▒██░
▓██▓░░░░░░░░░░░░░░░░░░▓██▓
░▓██░░░░░░░░░░░░░░░░░▒██▓░
▓██▓▒░░░░░░░░░░░░▒▓██▓
░▓██▓▒░░░░░░░░░░▒▓██▓░
░▓████▓▓▓▓▓▓████▓░
▓████████████▓
_NET_WM_NAME(UTF8_STRING) = "Blue Shift"
See how its lower than the rest,
It isn't that hard to extract 48x48 icon from game.ico and save as 32 BPP TGA with RLE compression and FLIPPED flag, then.
@FrenchMan I did that already to test the problem, see my xprop output ;P
@johndrinkwater Well, your icon is 32x32, so nope, you didn't ;PP
Ok. so will this be fixed?
Screenshot:
xprop: