DDS to BLP

Status
Not open for further replies.
Hello
hereis a short tutorial for using sc2 icon in wc3 :)
All you have todo is to open the galaxy editor (Sc2 map editor) and to export an icon in a folder. How to export? Just go in the button editor, select browse in one of the button properties and right click on an icon and then, export it.
Then, you have your icon, but how to convert it into wc3 icon (BLP)?
here is a program that convert DDS icon into paint pictures:
http://www.filefront.com/4470512/DDS-Converter-2.1/
Then, open it with paint, you see the icon with a black back, but it's not true,it's a white back. you only need to foill the black back with theblack color, you wont see any diference but it's important.
Then, download the BLPconverter on the hiveworkshop in the tools section and convert it.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,284
Is it not illegal to port icons from SC2 to WC3 (violating the ToU of both games)?

Anyway, a DDS to BLP converter would be far more efficent. They both hold mipmap information so converting from 1 into the other is far faster than having to regenerate all the mipmaps. It also will be garunteed to presserve all the correct information. Let us not forget the obvious as it will be far easier and faster by design than the above.

DDS is an open source file specification. It basically stores an image in a form that can be imported 1:1 into a buffer (area of graphic memory for data). BLP on the other hand may store it via JPEG or pallet compresion which requires the image to be rebuilt in 32 bit colour before it can be imported into a buffer (maybe undergoing further processes during that).

DDS as far as I know does not support standard .JPEG complient compression, thus the result will have to be an uncompressesed .blp for 100% quality. Logically this is impossible due to the file size but as JPEG compression is unadvisable for icons, it should maybe go straight for a pallet compression.

Let us not forget that DDS format supports images of all sizes (a 99*99 image is a valid DDS and can infact be used as a SC2 icon) whereas .blp supports images of multiples of 32 (or was it powers of 2, I forget).
 
Status
Not open for further replies.
Top