How can characters' image be .bmp files?!

A place to discuss things that aren't specific to any one creator or game.
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Post Reply
Message
Author
User avatar
bbs3223474
Regular
Posts: 33
Joined: Thu Apr 02, 2015 12:17 am
Contact:

How can characters' image be .bmp files?!

#1 Post by bbs3223474 » Thu Apr 02, 2015 10:17 am

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?

User avatar
PyTom
Ren'Py Creator
Posts: 15497
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

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

#2 Post by PyTom » Thu Apr 02, 2015 10:51 am

Are there also mask files? Ones that are just black and while, but give the outline of the sprites?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
bbs3223474
Regular
Posts: 33
Joined: Thu Apr 02, 2015 12:17 am
Contact:

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

#3 Post by bbs3223474 » Thu Apr 02, 2015 11:58 am

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.

User avatar
AxemRed
Veteran
Posts: 482
Joined: Sun Jan 09, 2011 7:10 am
Contact:

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

#4 Post by AxemRed » Thu Apr 02, 2015 12:17 pm

BMP with alpha is rare, but it exists.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1896
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question
Projects: Slumberland
Location: Brazil
Contact:

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

#5 Post by Donmai » Thu Apr 02, 2015 1:16 pm

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.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

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

#6 Post by nyaatrap » Thu Apr 02, 2015 2:00 pm

Xnview and Clip studio paint can open 32 bit bmp.

User avatar
bbs3223474
Regular
Posts: 33
Joined: Thu Apr 02, 2015 12:17 am
Contact:

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

#7 Post by bbs3223474 » Thu Apr 02, 2015 8:22 pm

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?
Opensource project of a Ren'py transplanted game: https://github.com/bbs3223474/HANA16_Renpy

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

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

#8 Post by nyaatrap » Thu Apr 02, 2015 11:17 pm

I don't know why Photoshop can't (Maybe compatibility for Mac or something?). Though Xnview is much faster than Photoshop.

User avatar
bbs3223474
Regular
Posts: 33
Joined: Thu Apr 02, 2015 12:17 am
Contact:

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

#9 Post by bbs3223474 » Thu Apr 02, 2015 11:38 pm

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.
Opensource project of a Ren'py transplanted game: https://github.com/bbs3223474/HANA16_Renpy

Post Reply

Who is online

Users browsing this forum: Bing [Bot]