09-12-2013, 05:05 PM
Oh, yay, I can post here, now that I'm done.
I'm calling this program done, since I've spent too long on it already.
Download: https://dl.dropboxusercontent.com/u/3181...essANB.zip
Source: https://github.com/meh2481/wfLZEx
The program now uses FreeImage (hence the DLL), and reconstructs images from pieces. I've tried it on the example ANB files that were uploaded on this thread*, and fiddled with some rounding errors until I found settings that look good and seem to output something reasonable. It may crash on certain ANB files; not my problem. It may not reconstruct images with 100% accuracy; again not my problem. Before, it seemed to be able to decompress magica_blast.anb fine (Or maybe that was just at some midway point), now it outputs blank PNGs from that file. Not sure what caused that; don't particularly care. If you're worried about accuracy, use the old version that didn't attempt to piece images together (as that version will always output images exactly as they are stored in memory; this version may have slight glitches in reconstruction due to rounding errors).
Usage is the same as before.
If you have any special requests or such, I can make small tweaks so you can make some kind of managing program or whatever. But I'm basically done.
* Seems to work fine with dracula_duck.anb, dracula_duck_giant.anb, glomgold.anb, and scrooge.anb. Does not work with magica_blast.anb or magica_laugh.anb.
I'm calling this program done, since I've spent too long on it already.
Download: https://dl.dropboxusercontent.com/u/3181...essANB.zip
Source: https://github.com/meh2481/wfLZEx
The program now uses FreeImage (hence the DLL), and reconstructs images from pieces. I've tried it on the example ANB files that were uploaded on this thread*, and fiddled with some rounding errors until I found settings that look good and seem to output something reasonable. It may crash on certain ANB files; not my problem. It may not reconstruct images with 100% accuracy; again not my problem. Before, it seemed to be able to decompress magica_blast.anb fine (Or maybe that was just at some midway point), now it outputs blank PNGs from that file. Not sure what caused that; don't particularly care. If you're worried about accuracy, use the old version that didn't attempt to piece images together (as that version will always output images exactly as they are stored in memory; this version may have slight glitches in reconstruction due to rounding errors).
Usage is the same as before.
If you have any special requests or such, I can make small tweaks so you can make some kind of managing program or whatever. But I'm basically done.
* Seems to work fine with dracula_duck.anb, dracula_duck_giant.anb, glomgold.anb, and scrooge.anb. Does not work with magica_blast.anb or magica_laugh.anb.