Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: djonn on January 04, 2011, 10:59:18 pm

Title: Data encoded in .BLP
Post by: djonn on January 04, 2011, 10:59:18 pm
Hi, i was just wondering if anybody knew anything about extracting the data from a blp file, and of course how to put it back in there, cuz if not i cant really customize the login screen as i want to..

hope anybody can help.
Title: Re: Data encoded in .BLP
Post by: schlumpf on January 05, 2011, 12:23:43 am
BLP converters are public since more then ten years.
http://www.google.com/search?q=blp+converter (http://www.google.com/search?q=blp+converter" onclick="window.open(this.href);return false;)
Title: Re: Data encoded in .BLP
Post by: djonn on January 05, 2011, 09:11:35 am
those only export the picture, not the data encoded in the picture
Title: Re: Data encoded in .BLP
Post by: Jack on January 05, 2011, 12:12:38 pm
Hmmm my guess is he's looking for the data structure of BLPs, like the one's on wowdev wiki concerning adt, m2 and wmo structure
Title: Re: Data encoded in .BLP
Post by: djonn on January 05, 2011, 02:04:30 pm
i am him..
look at this:
Quote
BLP files are capable of storing data with a few different formats
       -WoW.Dev Wiki

it also makes the blp files look wierd sometimes
Title: Re: Data encoded in .BLP
Post by: schlumpf on January 05, 2011, 02:32:04 pm
BLPs are a picture container, nothing more. There is no other data in this file. A BLP -> PNG converter therefore gives you all information uncompressed.

A BLP file's content can be of different compression types, nothing more.

If you really want more information (but there really isn't more except for mipmaps) read http://en.wikipedia.org/wiki/.BLP (http://en.wikipedia.org/wiki/.BLP" onclick="window.open(this.href);return false;) and http://madx.dk/wowdev/wiki/index.php?title=BLP (http://madx.dk/wowdev/wiki/index.php?title=BLP" onclick="window.open(this.href);return false;) .
Title: Re: Data encoded in .BLP
Post by: djonn on January 05, 2011, 04:46:06 pm
i have been to those 2 sides thanks you.

but would you happen to know why some of the pictures look like this:
(http://i53.tinypic.com/9ig5mx.png)

(this is one of the login-screen pictures extracted with mws, but the result was the same using other extractors)
Title: Re: Data encoded in .BLP
Post by: schlumpf on January 05, 2011, 06:16:10 pm
The problem still is in the converter. Try a newer or different one.
Title: Re: Data encoded in .BLP
Post by: djonn on January 05, 2011, 07:53:48 pm
its doesnt make sense that its the converter, i see this even before extracting it
Title: Re: Data encoded in .BLP
Post by: schlumpf on January 05, 2011, 09:06:14 pm
Before extracting it, its also converted by some converter, d'uh.
If its correct ingame, then its correct in the file. If the file is bad after conversion, its the converter.
Title: Re: Data encoded in .BLP
Post by: djonn on January 05, 2011, 09:11:55 pm
what blp converter could you recommend?
Title: Re: Data encoded in .BLP
Post by: schlumpf on January 05, 2011, 09:56:26 pm
Have not converted a texture in months. Always used BLPConverter.
Title: Re: Data encoded in .BLP
Post by: djonn on January 05, 2011, 09:58:21 pm
ok, thanks, ill try that
Title: Re: Data encoded in .BLP
Post by: djonn on January 05, 2011, 10:10:39 pm
it seems that it was becuase it was blp2, so needed a different converter as you said, used blp2 to tga

thanks!