![]() ![]() Targa image data is typically in 24-bit TrueColor (RGB) compressed with run-length encoding.The array will always end on a DWORD value of 0 and appears to have a maximum limit of 32 values. This is only used when the flags for an icon is set to 0x00, otherwise it is a single DWORD with a value of 0. Icon code is an array of DWORD-strings corresponding to the icon code value from a chat user statstring.X Size and Y Size refer to the width and height of the image in pixels, respectively.In the case of multiple matching flags with icons, the first should be used. The flags value, when non-zero, corresponds to a user chat flag that the icon should be displayed for.The image data offset is the position in the file where the Targa image data begins.The BNI format was replaced by a separate system using MPQ files, as can be seen in icons-WAR3.bni (which is actually an MPQ file with a different extension). This document only applies to that version. The BNI version value has only been observed to be 0x01. ![]() Standard File Format (UINT32) Size of BNI header (always 16) The correct file to use can be obtained by sending SID_GETICONDATA after client authentication. There are also product-specific variations of this file such as icons_STAR.bni. Icons.bni is a file downloaded by Blizzard's games during their handshake with and is used to display client icons in chat, including icons like tournament trophies and number of wins. File format and conventions for server-defined chat icons
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |