Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(587 Kb)
Download
Updated: 10-19-14 01:53 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:10-19-14 01:53 PM
Created:02-17-13 05:31 PM
Downloads:1,401
Favorites:13
MD5:
6.0.2
BLPNG Converter  Updated this week!
Version: 2.3
by: Digital_Utopia [More]
Introduction

While doing various WoW related projects, I was always in need of a utility that would convert BLP images to a more common format. Unfortunately, all the converters I came across would fail on at least one BLP format. Since I recently created a 3ds Max BLP import plugin, I decided to use the knowledge I gained of the format, to make my own converter. This is that converter.

I've used this personally for a few months - converting maps, UI graphics, textures, etc, and have yet to find a BLP file that it not only cannot convert, but cannot convert correctly.

About

BLPNG Converter (Pronounced "Bleeping Converter") Has gotten a bit of a makeover for it's second version. In order to keep things as simple and uncomplicated for the user as possible,it's left it's meager Console life behind, and has been given an actual UI.

In addition, it can now convert from standard Windows image formats (BMP,GIF,JPG and PNG) to the BLP format as well!

Use is still nearly as simple as before - although now you will have to actually open the app first. Once it's open, drop any number of files or folders on the appropriate square, and it will dutifully convert all the appropriate files within, to the desired format.

The addition of the UI has also brought some additional options with it. You can now choose files or a folder from the appropriate menu choices, and set the desired BLP format details. In addition, you can also select to have BLP Converter save your settings between sessions - although, this does require it to leave a settings file, in a folder, in your AppData/Application Data folder.

Despite, and even considering this, it remains just as portable as the original version. Run it from wherever you'd like, and if you should choose to want to get rid of it, just dump it in your recycle bin and forget it.

Oh a few other things.

1) The UI will display a progress bar, count, percent complete, and the current file - while it's processing - but the fancy Taskbar progress bar also makes its return. So if you're doing a huge conversion job, and want to work on other things - feel free to minimize it or let it sit in the background. Well, as long as you have Windows 7+

2) Instead of the fancy Yellow progress bar on the Taskbar, if it's unable to convert some files, the "Conversion Complete" message that shows up at the end, will now have a yellow "caution" icon next to it, with a link to allow you to see what didn't get converted, and why.

3) More of a warning: The "Conversion Complete" message will show up at the end of any action, and the green checkmark only means that it didn't encounter any errors. There's currently no special status if it didn't find anything to convert - such as if you happen to drop a folder of png files, on the "To Png" square.

Requirements

Yep, I'm about to say that 'N' word...

.NET 4.0 is required.
aaaand...Visual C++ Redistributable

Which also means that this is, indeed, a Windows application...and this time written in Managed C++, instead of C#.

Despite the odd requirements, it has been tested, and does still work in Windows XP.

As far as you Mac people go - here you go.


Supported Formats

This is for reference, and completeness only. You're not expected to, or required to know this.

BLPNG Converter converts all known (to the author) varieties of the BLP format to PNG. This includes...
  • BLPs with and without minmaps
  • Indexed (256 color) BLPs with 0, 1, 4, and 8 bit alpha
  • DXT Compressed BLPs with 0, 1, 4, and 8 bit alpha, as well as handling both types of 8 bit alpha (DXT3 and DXT5)
  • Uncompressed BLPs with 0 or 8 bit alpha

Issues, Problems, Bugs, Questions, Etc...

I want to hear them all.

This should be perfectly functional - as the Conversion code has been lifted directly from the current Photoshop plugin, and polished to a sexy shine. But...stuff happens - so if you do run into an issue, please let me know and I'll correct it as soon as possible.

oh...and, uh- sorry for taking so ungodly long on this, jeffy162.


v2.3
  • BLP files with non-lower case extension (i.e. .BLP as opposed to .blp) would silently fail when being converted to PNG. This has been fixed, and the author flogged, for such a stupid bug.
v2.2
  • Attempting to convert BLP files without mipmaps would result in a "Malformed BLP Data" error. These files should convert now.
  • Attempting to convert a single unsupported format to BLP, would ambiguously result in a green checkmark. Error list will now track any and all unsupported formats given to it. This will result in a yellow warning icon if converting a folder of images to BLP, and the folder contains other formats - but it will still convert supported formats normally.
v2.1
  • Wrong build source caused conversion to fail - this has been addressed
  • Higher DPI settings would cause all sorts of UI display issues, this has been fixed.
v2.0.1
  • Rebuild to address a Windows 8.1 compatibility issue, which would result in the application not starting
  • Fixed an issue where the DXT Compression option was not appearing as checked when selected
Archived Files (5)
File Name
Version
Size
Author
Date
2.2
587kB
Digital_Utopia
10-09-14 06:29 PM
2.1
587kB
Digital_Utopia
04-16-14 10:43 AM
2.0.1
692kB
Digital_Utopia
04-13-14 07:01 AM
2.0.0
586kB
Digital_Utopia
08-25-13 05:09 PM
1.0.0
548kB
Digital_Utopia
02-17-13 05:31 PM


Post A Reply Comment Options
Unread 10-20-14, 12:28 AM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 311
File comments: 1394
Uploads: 60
Re: Version 2.3 is up

Originally Posted by Digital_Utopia
Found a stupid bug that resulted in a silent failure if the BLP file's extension wasn't lower case. No error would appear in the log, and no PNG file would be created. This has been fixed.
Strange :P
suicidalkatt is offline Report comment to moderator  
Reply With Quote
Unread 10-19-14, 01:57 PM  
Digital_Utopia
A Cliff Giant
 
Digital_Utopia's Avatar
AddOn Author - Click to view AddOns

Forum posts: 72
File comments: 29
Uploads: 6
Version 2.3 is up

Found a stupid bug that resulted in a silent failure if the BLP file's extension wasn't lower case. No error would appear in the log, and no PNG file would be created. This has been fixed.
__________________
Digital_Utopia is online now Report comment to moderator  
Reply With Quote
Unread 10-09-14, 03:34 PM  
Digital_Utopia
A Cliff Giant
 
Digital_Utopia's Avatar
AddOn Author - Click to view AddOns

Forum posts: 72
File comments: 29
Uploads: 6
Originally Posted by Phanx
Found another bug -- when dragging and dropping a TGA file, which evidently isn't supported, it incorrectly reports "Conversion Complete".
"Conversion Complete" only means that it's done going through all the files. Did you also get the green check mark? Because if it didn't convert something, you should see a yellow warning symbol, which will also allow you to see any problems.

Correction: While I was working on fixing a different bug, I tried out a TGA file myself. So I got my own answer. I will make that a little less ambiguous, by likely adding a warning for any unsupported formats.

But no, it doesn't support TGA, because Windows doesn't natively support it, and I wanted to keep things nice and simple without any external libraries (.dlls).

Update: Version 2.2 is awaiting approval. This fixes "my" bug, where BLP files with mipmaps would not convert, and fixes the ambiguous green checkmark when all files are skipped. The pre-filter has been removed, so all files given to it will be subject to error checking.

This means that any file that isn't supported, will be added to the Error log, and a yellow warning icon will show after conversion. As a side effect, anybody converting a folder full of images, which also include other formats, will also get that icon. However, the only thing that will show in the error log, are the unsupported files.
__________________
Last edited by Digital_Utopia : 10-09-14 at 06:34 PM.
Digital_Utopia is online now Report comment to moderator  
Reply With Quote
Unread 10-03-14, 03:21 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4391
File comments: 2032
Uploads: 40
Found another bug -- when dragging and dropping a TGA file, which evidently isn't supported, it incorrectly reports "Conversion Complete".
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 04-17-14, 10:26 AM  
Digital_Utopia
A Cliff Giant
 
Digital_Utopia's Avatar
AddOn Author - Click to view AddOns

Forum posts: 72
File comments: 29
Uploads: 6
Originally Posted by Phanx
Originally Posted by Digital_Utopia
The second problem, the weird tiling, is just a display issue, resulting from you having a higher than normal screen DPI (i.e. magnification).
Oh, yep, that I do. If only there was a store where I could return my eyes and demand replacements that actually work properly!

Though, it's been a while since I was actually able to use this, but aren't those big buttons supposed to be clickable to select files?
haha - yeah, I should've kept that in mind when I made this in the first place. After all, there's a reason why Windows includes such settings.

If you'd prefer - you can use the menu to do the normal file/folder picking, but the large areas aren't buttons - they're drop targets.

Simply drag & drop files/folders on the format you'd like - and it will convert the files in-place to that format. In my own opinion anyway, since I often already have the window open when working with various images, it's quicker/easier just to drag from that window, than deal with the traditional folder/file picker.
__________________
Digital_Utopia is online now Report comment to moderator  
Reply With Quote
Unread 04-17-14, 12:23 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4391
File comments: 2032
Uploads: 40
Originally Posted by Digital_Utopia
The second problem, the weird tiling, is just a display issue, resulting from you having a higher than normal screen DPI (i.e. magnification).
Oh, yep, that I do. If only there was a store where I could return my eyes and demand replacements that actually work properly!

Though, it's been a while since I was actually able to use this, but aren't those big buttons supposed to be clickable to select files?
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 04-16-14, 08:40 AM  
Digital_Utopia
A Cliff Giant
 
Digital_Utopia's Avatar
AddOn Author - Click to view AddOns

Forum posts: 72
File comments: 29
Uploads: 6
Originally Posted by Phanx
@Duugu:
Yeah, I'd tried that too, with no success. Fortunately...

@Digital_Utopia:
...the DLL error no longer occurs with the new version. Unfortunately, however, it doesn't work at all, and the UI is quite broken. Here's what it looks like when it opens:


...and here's what it looks like after I resize the window:


When attempting to convert anything, it fails, and the "click here" report indicates the problem is an "Out of Memory" error, which doesn't make much sense when I have 6 GB of free RAM, and 100+ GB of free space on that disk, and 40 GB of free space on my primary OS disk (in case it's using a temp folder there). Also, whenever any action was performed, it shrunk the window back to the original size, forcing me to resize it again to see the error message.

Installing the VC++ redistributable from the link you provided didn't help, either. Still on Windows 7.
Alright, I got a fix in the works for both of these Issues.

The first one - the Out of Memory Error, is pretty much a generic error, and really doesn't have anything to do with your machine. Apparently, I had two projects set up for this app, one in VS2010, and one in 2012. The 2010 project was the functional one - and guess which one I rebuilt for this update? Yeaaaah...

The second problem, the weird tiling, is just a display issue, resulting from you having a higher than normal screen DPI (i.e. magnification). I'll be working on better handling of that today, and should have something ready a bit later.

Sorry for the mess, everybody.
__________________
Digital_Utopia is online now Report comment to moderator  
Reply With Quote
Unread 04-13-14, 07:44 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4391
File comments: 2032
Uploads: 40
@Duugu:
Yeah, I'd tried that too, with no success. Fortunately...

@Digital_Utopia:
...the DLL error no longer occurs with the new version. Unfortunately, however, it doesn't work at all, and the UI is quite broken. Here's what it looks like when it opens:


...and here's what it looks like after I resize the window:


When attempting to convert anything, it fails, and the "click here" report indicates the problem is an "Out of Memory" error, which doesn't make much sense when I have 6 GB of free RAM, and 100+ GB of free space on that disk, and 40 GB of free space on my primary OS disk (in case it's using a temp folder there). Also, whenever any action was performed, it shrunk the window back to the original size, forcing me to resize it again to see the error message.

Installing the VC++ redistributable from the link you provided didn't help, either. Still on Windows 7.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 04-13-14 at 07:45 PM.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 04-13-14, 10:49 AM  
Duugu
Premium Member
 
Duugu's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 737
File comments: 122
Uploads: 35
Regarding the dll Problem (if it still exist): you could try to re-register the dll.

regsvr32 <path+dllname>
Duugu is offline Report comment to moderator  
Reply With Quote
Unread 04-13-14, 10:45 AM  
Duugu
Premium Member
 
Duugu's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 737
File comments: 122
Uploads: 35
I've used your tool a lot and just would like to say thank you for providing it. Nice job.
Duugu is offline Report comment to moderator  
Reply With Quote
Unread 04-13-14, 09:53 AM  
jeffy162
Premium Member
 
jeffy162's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1839
File comments: 91
Uploads: 10
No problem. Just wondering.
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?

[SIGPIC][/SIGPIC]
jeffy162 is offline Report comment to moderator  
Reply With Quote
Unread 03-30-14, 05:10 PM  
MoonWitch
An Onyxian Warder
AddOn Author - Click to view AddOns

Forum posts: 354
File comments: 151
Uploads: 8
I can't program that well, nor am I used to coding for Mac, but mind if I look at it? (Mac user -- needless to say?)
__________________
MoonWitch is offline Report comment to moderator  
Reply With Quote
Unread 03-29-14, 03:41 AM  
Digital_Utopia
A Cliff Giant
 
Digital_Utopia's Avatar
AddOn Author - Click to view AddOns

Forum posts: 72
File comments: 29
Uploads: 6
Originally Posted by Phanx
Ugh, Microsoft's search function is about as useful as Curse's... it only brought up the 2010 package. I'll try that 2013 version. Thanks for the link.

edit:
Nope, same error after installing both x86 and x64 versions of the 2013 package. The file that is claimed to be missing -- msvcr100.dll -- is present in Windows/System32. Copying it to the same folder as BLPNG Converter.exe (as I've had to do with some other DLLs for other programs) did not help either.
Curious issue, that's for sure.

I'm not sure how much this will help, but it was compiled with Visual Studio 2012 - so maybe installing this:
http://www.microsoft.com/en-us/downl....aspx?id=30679

will fix the issue.

Originally Posted by MoonWitch
Did you ever get round to testing Xcode with this? Been looking for a blp to png (or tag) convertor who can actually convert BACK to blp. Seems to be a common issue
It's gonna be a while. Although I did manage to back up all of my Mac work, the hard drive it was installed on failed, and I currently don't have room for both Windows and Mac.

Not that it does much good, but, at the time, I was making decent progress with the UI. Hopefully before too long, I can get everything back up and running. Sorry about the delay!
__________________
Digital_Utopia is online now Report comment to moderator  
Reply With Quote
Unread 01-01-14, 12:51 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4391
File comments: 2032
Uploads: 40
Ugh, Microsoft's search function is about as useful as Curse's... it only brought up the 2010 package. I'll try that 2013 version. Thanks for the link.

edit:
Nope, same error after installing both x86 and x64 versions of the 2013 package. The file that is claimed to be missing -- msvcr100.dll -- is present in Windows/System32. Copying it to the same folder as BLPNG Converter.exe (as I've had to do with some other DLLs for other programs) did not help either.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 01-02-14 at 07:06 AM.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 12-31-13, 04:33 AM  
Kkthnx
A Flamescale Wyrmkin
 
Kkthnx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 148
File comments: 201
Uploads: 10
Originally Posted by Phanx
Error when attempting to run on 64-bit Windows 7:

"The program can't start because MSVCR100.dll is missing from your computer. Try reinstalling the program to fix this problem."

Google indicates this means the Visual C++ Redistributable is missing, but that is not the case for me (2005, 2008, and 2010 installed), nor am I missing the .NET Framework (1.1 and 4.5.1 installed). Windows Update reports no updates available. Are there some specific non-latest versions of these things I need?
Try these. I do know you said you tried it but give this link below a try. I know you are not stupid or anything so please do not feel as if I am Implying.

http://www.microsoft.com/en-us/downl....aspx?id=40784

You have to do both

vcredist_x64.exe
vcredist_x86.exe

This worked for me oddly enough. Please let me know.
__________________
The further you get into technology, the further you go into gaming. That's the general rule.
Last edited by Kkthnx : 12-31-13 at 05:05 AM.
Kkthnx is online now Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: