Download
(587 Kb)
Download
Updated: 04-16-14 10:43 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:04-16-14 10:43 AM
Created:02-17-13 04:31 PM
Downloads:1,175
Favorites:10
MD5:
5.4
BLPNG Converter
Version: 2.1
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 - This is going to be the project I'm going to use to get the hang of XCode, as a warm up to making a mac version of my BLP Photoshop plugin. So yes, I didn't just rip off your icons and design cues.


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.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 (3)
File Name
Version
Size
Author
Date
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 04:31 PM


Post A Reply Comment Options
Old 04-17-14, 10:26 AM  
Digital_Utopia
A Theradrim Guardian
 
Digital_Utopia's Avatar
AddOn Author - Click to view AddOns

Forum posts: 67
File comments: 21
Uploads: 5
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 offline Report comment to moderator  
Reply With Quote
Old 04-17-14, 12:23 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3945
File comments: 1912
Uploads: 38
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
Old 04-16-14, 08:40 AM  
Digital_Utopia
A Theradrim Guardian
 
Digital_Utopia's Avatar
AddOn Author - Click to view AddOns

Forum posts: 67
File comments: 21
Uploads: 5
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 offline Report comment to moderator  
Reply With Quote
Old 04-13-14, 07:44 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3945
File comments: 1912
Uploads: 38
@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
Old 04-13-14, 10:49 AM  
Duugu
Premium Member
 
Duugu's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 563
File comments: 105
Uploads: 30
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
Old 04-13-14, 10:45 AM  
Duugu
Premium Member
 
Duugu's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 563
File comments: 105
Uploads: 30
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
Old 04-13-14, 09:53 AM  
jeffy162
Premium Member
 
jeffy162's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1784
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
Old 03-30-14, 05:10 PM  
MoonWitch
A Rage Talon Dragon Guard
AddOn Author - Click to view AddOns

Forum posts: 342
File comments: 148
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
Old 03-29-14, 03:41 AM  
Digital_Utopia
A Theradrim Guardian
 
Digital_Utopia's Avatar
AddOn Author - Click to view AddOns

Forum posts: 67
File comments: 21
Uploads: 5
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 offline Report comment to moderator  
Reply With Quote
Old 12-31-13, 11:51 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3945
File comments: 1912
Uploads: 38
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 06:06 AM.
Phanx is offline Report comment to moderator  
Reply With Quote
Old 12-31-13, 03:33 AM  
Kkthnx
A Flamescale Wyrmkin
 
Kkthnx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 141
File comments: 157
Uploads: 9
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.
__________________
Last edited by Kkthnx : 12-31-13 at 04:05 AM.
Kkthnx is offline Report comment to moderator  
Reply With Quote
Old 12-31-13, 03:14 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3945
File comments: 1912
Uploads: 38
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?
__________________
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
Old 12-05-13, 08:11 AM  
MoonWitch
A Rage Talon Dragon Guard
AddOn Author - Click to view AddOns

Forum posts: 342
File comments: 148
Uploads: 8
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
MoonWitch is offline Report comment to moderator  
Reply With Quote
Old 08-27-13, 01:54 PM  
Digital_Utopia
A Theradrim Guardian
 
Digital_Utopia's Avatar
AddOn Author - Click to view AddOns

Forum posts: 67
File comments: 21
Uploads: 5
Re: Re: Re: Vast Improvement

Originally Posted by suicidalkatt
Originally Posted by Digital_Utopia
Originally Posted by suicidalkatt
This has come a long way. Truly this is exactly what I've been waiting for.

Going to be updating my Clean Icon packages today, we'll see how they're received.

57200 PNGs being converted!
O_o

Well, that should definitely put it through its paces! Please let me know if you run into any issues; but beyond that, thanks for showing that there is an actual demand to revisit this project.

I have a habit of letting things sit on the back burner too long - if I don't have a use for it, and nobody bugs me about it
I reuploaded my packages I had no issues at all, this has saved me an immense amount of time!

Btw, if you're any good with writing a simple batch file to move files / copy files I'd love to get some help from you.
Shouldn't be too much of a problem - send me a pm with what you want it to do, and I'll see what I can do later.
__________________
Digital_Utopia is offline Report comment to moderator  
Reply With Quote
Old 08-26-13, 10:32 PM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 308
File comments: 1375
Uploads: 60
Re: Re: Vast Improvement

Originally Posted by Digital_Utopia
Originally Posted by suicidalkatt
This has come a long way. Truly this is exactly what I've been waiting for.

Going to be updating my Clean Icon packages today, we'll see how they're received.

57200 PNGs being converted!
O_o

Well, that should definitely put it through its paces! Please let me know if you run into any issues; but beyond that, thanks for showing that there is an actual demand to revisit this project.

I have a habit of letting things sit on the back burner too long - if I don't have a use for it, and nobody bugs me about it
I reuploaded my packages I had no issues at all, this has saved me an immense amount of time!

Btw, if you're any good with writing a simple batch file to move files / copy files I'd love to get some help from you.
suicidalkatt is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: