Page 1 of 1

How can characters' image be .bmp files?!

Posted: Thu Apr 02, 2015 10:17 am
by bbs3223474
Last week, I used some simple tools and unpacked the resources of 「その花びらをくちづけを 白雪の騎士」(HANA16), which is made by Krkr2 engine and prepare to create a Ren'py version.
But after seeing what I've got, it's really shocked because all of the backuroud images and characters's images are .bmp files, not .png.

No doult that .bmp file can't contain alpha......(what? I'm talking about the transparent thing, sorry I'm Chinese) so all of the characters' images have white background. It's impossible to use them directly while the other games are using .png files.
Someone will say I can use photoshop to erase the white background and save as .png files. But actually it's a hard job and that game have hundreds of images like that.

So I really confusing about that.
Anyone have good ideas?

Re: How can characters' image be .bmp files?!

Posted: Thu Apr 02, 2015 10:51 am
by PyTom
Are there also mask files? Ones that are just black and while, but give the outline of the sprites?

Re: How can characters' image be .bmp files?!

Posted: Thu Apr 02, 2015 11:58 am
by bbs3223474
PyTom wrote:Are there also mask files? Ones that are just black and while, but give the outline of the sprites?
In /data/mask folder which I unpacked from that game do have some mask files in .png fromat, but seems to be use for transition.

Re: How can characters' image be .bmp files?!

Posted: Thu Apr 02, 2015 12:17 pm
by AxemRed
BMP with alpha is rare, but it exists.

Re: How can characters' image be .bmp files?!

Posted: Thu Apr 02, 2015 1:16 pm
by Donmai
From Microsoft Visual Studio on-line documentation:
The BMP format supports an alpha-channel transparency which converts the 24-bit image to a 32-bit image file.
Characters can be .bmp files, but not in Ren'Py, I presume.

Re: How can characters' image be .bmp files?!

Posted: Thu Apr 02, 2015 2:00 pm
by nyaatrap
Xnview and Clip studio paint can open 32 bit bmp.

Re: How can characters' image be .bmp files?!

Posted: Thu Apr 02, 2015 8:22 pm
by bbs3223474
nyaatrap wrote:Xnview and Clip studio paint can open 32 bit bmp.
Even photoshop can't open?
So how can I convert all of them into .png format quickly?

Re: How can characters' image be .bmp files?!

Posted: Thu Apr 02, 2015 11:17 pm
by nyaatrap
I don't know why Photoshop can't (Maybe compatibility for Mac or something?). Though Xnview is much faster than Photoshop.

Re: How can characters' image be .bmp files?!

Posted: Thu Apr 02, 2015 11:38 pm
by bbs3223474
nyaatrap wrote:I don't know why Photoshop can't (Maybe compatibility for Mac or something?). Though Xnview is much faster than Photoshop.
Finally I found a useful tool which can convert them into supported format like .png
It's krkrtpc, inside the krkr's tool folder.