| 04-29-2003, 09:53 PM | #1 |
Guest | Hey guys, was wondering if anyone knows where I can get the BLP Class mentioned in the Image Extractor II tips? I'd like to be able to display the blps directly from the mpq in Keycraft. I haven't had any luck find the blp specs or how to go about displaying them in VB once I do find them. So any help would be appreciated. Thanks Magi |
| 04-29-2003, 09:59 PM | #2 |
.......wtf? A .blp? That's a wc3 skin or image used in the game. |
| 04-30-2003, 02:41 AM | #3 |
Guest | Yes blps are blizzard image files. And like I said, the Image Extractor II, says the blp class can be found here, that makes it possible to read a blp file. So I'm just looking for that or anything that might accomplish the same thing. |
| 04-30-2003, 09:53 AM | #4 |
Thta´s not possible. DjBnJack lost the source code of it. |
| 04-30-2003, 04:50 PM | #5 | |
Quote:
Sorry to say that, but if he didn't loose it through a computer crash he's quite stupid. Can't he recreate it? I mean once you figured something out, you can do it more easily. Edit: Does anyone of you know Biturn. This program can also convert BLP to other formats. Here is the website of Mirex, the programmer of Biturn: http://mirex.mypage.sk. I found a description of BLP files on his site: http://mirex.mypage.sk/FILES/w3_blp.txt |
| 04-30-2003, 07:26 PM | #6 | |
Yeah I know the BLP spec Starcraftfreak ( i helped DjBnJack when he was creating the Image extractor). The problem as I said is that he lost the source and I don´t have much time to re-write all the stuff back again ( Im´m back to the College). BTW, thanks for the BLP spec, but I found mine on one of my FTP storage places. And yes, he lost it due to a PC crash, lol.... Quote:
|
| 05-01-2003, 06:15 PM | #7 |
Guest | Hey thanks, However, I know this is bad to ask this, but I could really use an example =\. I really don't have that much knowledge of VB, I'm sure I'd be able to get the reading right, using SFmpqapi. But once I have it in memory, then how should I go about displaying it in an imagebox? |
| 05-01-2003, 07:45 PM | #8 |
You might need some practice with JPEG decoding and BMP reading using the WINDOWS API. I could do that for you but as I said I´m busy and don´t have time to rewrite it all over again. You need to read it on the memory using sfmpqapi and then decode the JPEG (if it is a JPEG-BLP) to a buffer. Then you draw this buffer on the imagebox hdc. If it is a palleted BLP you need to extract the pallete and then go trough each byte of the image and get the matching entry on the pallete. The you draw this buffer on the imagebox hdc. To decode the JPEG i sugest you to use INTEL IJL. |
| 05-03-2003, 05:59 PM | #9 |
Can you release a sample program using ICL for decoding JPEGs. I wanted to get some at www.intel.com, but these dumb*sses want you to register for every piece of sh!t. I would like to have C++ sources as I know how to "convert" it to Object Pascal (programming language of Borland, available in Delphi). I'd like to program some tools. The community barely needs a new file converter. Maybe I'll try to so something like this as I have more time to program as BlacKDicK. |
