BLP2PNG
| Last Update: | Feb. 12, 2007 (1 year ago) |
|---|---|
| 类别: | Development & Debugging |
| Tags: | developer and tools |
| 插件作者 | Mundocani |
| Current Version: | BLP2PNG 1.1 (for World of Warcraft 2.0.6) |
| Downloads Today: | 11 |
| 总下载: | 8,038 |
| 收藏夹: | 24 |
| Comments: | 28 |
- 更多信息
| Created On: | June 21, 2006 |
|---|
- 关于 BLP2PNG
This tool is used for converting bi-directionally between BLP and PNG images. The tool fully supports alpha channels and can be used as a drag-and-drop converter or from the command line. It can also convert your existing TGA files to PNG.
BLP2PNG will convert the file based on the original type:
BLP are converted to PNG
BMP are converted to PNG
TGA are converted to PNG
PNG are converted to BLP
Why PNG when everybody uses TGA?
PNG is a modern image format and is better supported by more tools and even most web browsers. Support for PNG in Photoshop is much better than it is for TGA, which makes editing high-quality textures for addons a lot easier. If you prefer working in TGA then by all means keep using the many existing tools for converting those images. I use this tool for converting WoW's artwork to PNG so I can use it as a reference for my own artwork. I also use this tool to convert my own artwork to BLP files for use in my addons, including GroupCalendar and Outfitter. If you prefer PNG like I do, this tool will make things much easier for you.
BLP2PNG will convert the file based on the original type:
BLP are converted to PNG
BMP are converted to PNG
TGA are converted to PNG
PNG are converted to BLP
Why PNG when everybody uses TGA?
PNG is a modern image format and is better supported by more tools and even most web browsers. Support for PNG in Photoshop is much better than it is for TGA, which makes editing high-quality textures for addons a lot easier. If you prefer working in TGA then by all means keep using the many existing tools for converting those images. I use this tool for converting WoW's artwork to PNG so I can use it as a reference for my own artwork. I also use this tool to convert my own artwork to BLP files for use in my addons, including GroupCalendar and Outfitter. If you prefer PNG like I do, this tool will make things much easier for you.
- 下载 (2)
- Tickets
- Comments
- RSS
Benefits of Registration
- Interact with hundreds of thousands of other gamers on an open social network.
- Post your stories, news, images, videos, and other content to share.
- Create a network with your fellow gamers or join an existing one.
- Gain reputation for everything you do.
- Similar Tools
- 243 Ace2 / Ace Development & Debugging
- 118 Cosmos feat. Khaos Development & Debugging
- 51 BugSack Development & Debugging
- 48 MpqViewer Development & Debugging and ...
- 34 Wow Log Parser Development & Debugging, ...
- 402 Faster Ping Applications
- 243 Ace2 / Ace Development & Debugging
- 118 Cosmos feat. Khaos Development & Debugging
- 88 WOWmodelview Miscellaneous
- 86 Vent 2.3 Applications
Advertisement




- +0
- Thumbs Down
- Thumbs Up
Mundocani saidI use it under Vista routinely and don't know of any issues.
Some people expect BLP2PNG to have a GUI, but this tool is intended to be used as a drag-and-drop converter or called from within a development environment such as Visual Studio. Be sure to read the included notes on how it works.
- +0
- Thumbs Down
- Thumbs Up
Midnighte saiddoesnt run on vista that i can figure out.
- +0
- Thumbs Down
- Thumbs Up
Mundocani saidVersion 1.1 changes
- Supports DirectX 4/5 texture compression used in WoW 2.0
- +0
- Thumbs Down
- Thumbs Up
Mundocani saidVersion 1.0.5 changes
- Fixed bug with color palette on 1-bit alpha images
(sorry for not noticing that curse had hosed its own copies of previous versions, I don't actually check this project page very often)
- +0
- Thumbs Down
- Thumbs Up
Beutju saidGood program, but it would be very kind to add a GUI, and to document the commands... With my explorer program (SpeedCommander) I cannot drag&drop the blp on the exe and I don't want to use the normal explorer...
Thanks!
- +0
- Thumbs Down
- Thumbs Up
markf saidI've installed this, but it doesn't seem to do anything. There's no --help type option to see if i'm running the command correctly either.
i've tried BLP2PNG somefile.blp BLP2PNG somefile.blp somefile.png
i've run "strings" on the exe to see if there were any clues to how to use it. i've run it from a DOS shell, and a cygwin bash shell.
it just always immediately comes back with nothing. From the cygwin bash prompt I get a return code of 255 (-1).
any chance of the source being released so i can try compiling under my cygwin shell?
addendum: ok, finally got it to work by drag/dropping the blp onto the exe, and it created the file in the same dir. was my file being created from the command line too, but i just couldn't find it?
tia, Mark
- +0
- Thumbs Down
- Thumbs Up
Mundocani saidThe readme.txt file included in the archive includes instructions for using it from the command line. From the readme:
----------------------------
Command line operation
----------------------------
BLP2PNG.exe file [-o folder]
file Specifies the file you want to convert
folder Specifies the folder you want the output file placed in. The file will have the same name as the original but with the new extension. If this folder isn't specified then the file will be placed in the same folder as the original
- +0
- Thumbs Down
- Thumbs Up
markf saidhmm, the download is only the exe, there is no archive that i can see. thanks for clarifying the issue though. useful addon.
- +0
- Thumbs Down
- Thumbs Up
Mundocani saidAh crap, I meant to upload the .zip file not the .exe itself. Sorry about that :P
- +0
- Thumbs Down
- Thumbs Up
Mundocani saidI've uploaded the correct file this time, a .zip archive which includes a readme with some instructions. The .exe is the exact same one as before.
- +0
- Thumbs Down
- Thumbs Up
markf saidfantastic, thanks!
edit: the -o option doesn't work for me, only the drag 'n drop.
and the notes say
"If this folder isn't specified then the file will be placed in the same folder as the original"which doesnt happen either.
it's not a drastic problem, i'm not batch converting them. would be nice to find out why it's not working in command line mode at all though (for me). I looked on my entire filesystem and didn't find the converted file anywhere.
- +0
- Thumbs Down
- Thumbs Up
Mundocani said> the -o option doesn't work for me, only the drag 'n drop.
Hm, that's strange since I use it almost exclusively in command line mode myself (except when extracting Blizzard's artwork).
It sounds like something is wrong with the way the source file is specified. Since I use it in a limited environment it's very possible there's a bug with handling deviations from how I normally invoke it. Try using a full path to specify the source file and see if that works.. Also, are there spaces in the path? Maybe quoted parameters aren't working properly. Not sure what else to check, but I'll keep my eyes open.
- +0
- Thumbs Down
- Thumbs Up
Saiiyna saidI have Png Files I have created using Gimp 2.2 I run BLP2PNG levitate.png and I get nothing. Any idea why?
Edit: maybe I am doing it wrong but the command line doesnt work and neither does the drag and drop.
- +0
- Thumbs Down
- Thumbs Up
Mundocani said> I have Png Files I have created using Gimp 2.2 I run BLP2PNG levitate.png and I get nothing. Any idea why?
Make sure your image width and height is a power of two (2, 4, 8, 16, 32, etc.). They don't have to be the same (ie, 32 by 128 is fine), but they must be a power of two.
Also try using the full pathname instead of the just the file name and see if that works. I may have a bug where implicit pathnames don't work.
> Edit: maybe I am doing it wrong but the command line doesnt work and neither does the drag and drop.
When you drag-and-drop the file there's not a file named levitate.blp created in the same folder?
If you'd like I can look at your file and see if there's something unusual about the way Gimp is creating PNGs. Mail it to blp2png@$$removethis$$johnstephen.org and just remove the $$removethis$$ part. I'll take a look and try to figure out why it's failing.
- +0
- Thumbs Down
- Thumbs Up
Mundocani saidInvoking from the command line appears to require full pathnames to use (I normally invoke this tool from VisualStudio which always provides full pathnames for paramters). I'll get this corrected so that it finds the file in the current working directory if a full pathname isn't specified.
- +0
- Thumbs Down
- Thumbs Up
Mundocani saidThis version should now resolve partial pathnames correctly when used from the command line as well as properly displaying error messages to the output window. Unfortunately this also means that it flashes a console window on the screen when used in drag-and-drop mode (it'll just appear and disappear, no need to actually close it or anything).
Maybe someday I'll be smart enough to figure out how to make an application which works well both when used from the command line AND from the Windows GUI <sigh>
- +0
- Thumbs Down
- Thumbs Up
Beohram saidThanks Baylord of Thunderlord (Mundocani)
- +0
- Thumbs Down
- Thumbs Up
Mundocani saidVersion 1.0.2 Changes:
- Handles uncompressed BLP with 1 bit alpha correctly (used mostly by Blizzard's cursor icons)
- +0
- Thumbs Down
- Thumbs Up
Sarien_Telfair saidWell this behaves strangely when run (and makes me nervous). All I get is a flash of a command prompt screen then it closes and nothing. No converter, no dialog boxes... nothing. Please explain how do make this work.
- +0
- Thumbs Down
- Thumbs Up
Phanx saidI think you can use it from the command line, but I don't know the syntax. The easiest way is just to drag-and-drop BLPs or PNGs or TGAs or BMPs onto the program, and it'll spit out a converted PNG or BLP file.