Evan Wallace

BLP Converter Plugin

28 posts in this topic

Just created a file type plugin for loading Blizzard Picture files (*.blp), which are used as textures in Warcraft III and WoW.

If there are any BLPs that you can't load/save with this plugin, please post and attach them (and what they should be as a PNG or TGA or something if possible) and I'll work on supporting them too.

Able to load:


  • [*:d6qzs4s2]JPEG BLPs
    [*:d6qzs4s2]8-bit Palette BLPs
    [*:d6qzs4s2]DXT1/DXT3/DXT5 BLPs

Able to save:


  • [*:d6qzs4s2]JPEG BLPs
    [*:d6qzs4s2]8-bit Palette BLPs

23s7yh2.png

It was written in C++ and uses the libjpeg library. Automatic mipmap generation included.

Updated 10/8/2008:

  • [*:d6qzs4s2] Fixed opening problem with version 2 BLPs with transparency

Updated 8/20/2008:

  • [*:d6qzs4s2] Fixed saving problem with non-square images and 8-bit palette

Note: If you do not see "Blizzard Picture (*.blp)" in the open/save box, your computer does not have the Microsoft Visual C++ 2008 SP1 Redistributable Package. Click here to download.

blp.zip

0

Share this post


Link to post
Share on other sites

Thanks a lot!

I frequently need to use blps in a warcraft map and just the other day I was thinking how much I hate the current tools for the conversion.

So thanks for making mapping just that much easier!

EDIT:Mine does not work (in the save dialog, there is no option for .blp

0

Share this post


Link to post
Share on other sites

That's weird... You have the latest version? (3.3 I think) Here's how it looks on my screen, and I tested it on another computer...

2d148d1.png

What does your screen look like?

0

Share this post


Link to post
Share on other sites

My screen looks exactly the same but the blp option is not there (apart from my other installed filetypes).

Can somebody else check this out? Am I alone with my problem or did I do something wrong?

0

Share this post


Link to post
Share on other sites

It's not your fault... For some reason it works on my laptop and my brother's desktop but not my desktop. I have XP and my brother has Vista, so it's not that. I tried everything but I am looking into it.

It only works sometimes and I have absolutely no idea why. Sorry it didn't work...

Edit: I finally figured it out. Your computer does not have some files that are required by every program made with Visual C++ 2008. I have updated my original post with instructions on how to fix it.

0

Share this post


Link to post
Share on other sites

OK thanks :mrgreen:

It works now but that does kinda inconvenience people :(

0

Share this post


Link to post
Share on other sites

Umm just a suggestion but mabye you can include those files in the plugin pack, or is there a redistribution infringement

0

Share this post


Link to post
Share on other sites

Ok, I linked to the 32-bit installer, but I don't know if a 32-bit plugin can be loaded from a 64-bit program. Can someone with 64-bit Windows verify that it works?

0

Share this post


Link to post
Share on other sites
Ok, I linked to the 32-bit installer, but I don't know if a 32-bit plugin can be loaded from a 64-bit program. Can someone with 64-bit Windows verify that it works?

Most PDN plugins work under vista soo.............. i guess it works............

0

Share this post


Link to post
Share on other sites
this .blp does not work. i have the .blp and a .png version in the zip.

Thank you very much. I forgot to implement transparency for version 2 BLPs. I updated it and it should work now!

0

Share this post


Link to post
Share on other sites

i'm using vista64, i installed Paint.NET with the appropriate 3.5 .net package, i installed the VC x64 redistribution first and couldn't see your plugin, i installed the VC x69 redist and still can't see your plugin... (it's in ..\paint.net\filetypes\)

damn.

ps: i can see the default .dds plugin working fine.

ps2: i added the icon format plugin (icocur.dll) and can see them fine (.ico, .cur, .ani)

0

Share this post


Link to post
Share on other sites

I honestly have no idea if the plugin works with 64-bit windows or not, because no one I know has 64-bit windows so I can't test it. Those plugins you listed probably work because they were written in C#, but this plugin was written in C++ and so is probably strictly 32-bit. I may release a 64-bit version if I can get my hands on a 64-bit computer, but as of now this plugin is strictly 32-bit. Sorry for the inconvenience.

0

Share this post


Link to post
Share on other sites

Hey sorry for going a bit offtopic here, but would it be possible to make the plugin for adobe photoshop?

Would be appreciated by a lot of people.

Thanks in advance.

0

Share this post


Link to post
Share on other sites

Leif, he means creating a BLP plugin for photoshop. I don't have photoshop myself but if someone is willing to code a photoshop plugin and wants to work off my source code it can be found here. I've been meaning to post the source code it's just not completely done and tested yet. I should be able to get photoshop though, so I suppose I could try making one. Let me know if you can't find someone.

0

Share this post


Link to post
Share on other sites

This might be a bit late of a post for this thread to receive any help, but I installed this plugin in the file types folder but when i open Paint.Net I get nothing in the open/save dialog for Blizzard. I installed both the x86 SP1, and the x64 SP1 that was linked in the thread, and I am running vista 64-bit. If anyone else has had this issue and resolved it some help would be greatly appreciated.

Thanks in advance.

0

Share this post


Link to post
Share on other sites

There is no necroposting rule in the Plugins forum. So you're good. :-)

You won't get anything in the Blizzard save/load screen until you've saved the image you want (not the DLL or ZIP) to your hard drive. You are doing that, right?

0

Share this post


Link to post
Share on other sites

I have no files on my computer for blizzard so I will find one to download and check and see if it shows anything. :)

Thanks

Joe

0

Share this post


Link to post
Share on other sites

I can't get this plugin to work at all. I am using version 3.36 of Paint.net

I have installed the correct verion of the c++ thing...

Does anyone have any idea why?

0

Share this post


Link to post
Share on other sites

Hi Grafello - it's good to have you here on the forum.

Thie 8-bit option is available in the Low Color plugin: (where I just answered your other question :) )

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now