here's another python script to extract all the images out of the bch files. It's probably going to take a while to extract all 12,000+ images, but it'll do it. Good luck translating this game, it looks like a LOT of the text is in the images.
The script can be called from the command line like so:
right now it only converts the bch to a .png. I haven't gotten a chance to write the code to convert .png to .bch
Also, it currently only handles the 3 image formats that were found to be used, which are ETC1,ETC1A4, and RGB565.
ETC1/ETC1A4 decoding relies on etc1Util.exe, which is pretty much just a hacked up version of smealum's etc.exe, I'll post the source to that on github when I get around to it.
etc1Util also only decodes at the moment.
to convert all the bch files(all but 1 of them anyways, 1427.bin doesn't actually have an image as far as I can tell), you can create a quick .bat file like so:
Code:
for %%x in (*.bin) do py aceBCH.py -e %%x
Again, it'll probably take a while. I imagine that half of what slows this script down is the reliance on etc1util, however, I'm not about to try to re-write the etc1 decoding in python, and I didn't feel like writing the bch converter in c++. One of these years I'll get around to writing a python module(with matching .dll) that'll handle conversion to and from common 3ds pixel formats, if someone else doesn't beat me to it first.