cl_avatar_convert_png

From Valve Developer Community
Revision as of 16:31, 31 May 2025 by Nescius (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)Translate (Translate)

cl_avatar_convert_png is a console command available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive. cl_avatar_convert_png is a console command that create PNG images from RBG files. It requires sv_cheats 1 to work.


Move RGB files into game ...<MOD>/avatars/ folder. Launch game with console enabled, in mainmenu, turn sv_cheats 1 and use command cl_avatar_convert_png
Game will create PNG pictures from all valid RGB files inside ...<MOD>/avatars/ folder. Console also spew output message:


Converted rgb 'avatars/default.rgb'->'avatars/default.png'.


See also