How can characters' image be .bmp files?!
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
- bbs3223474
- Regular
- Posts: 33
- Joined: Thu Apr 02, 2015 12:17 am
- Contact:
How can characters' image be .bmp files?!
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?
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?
- PyTom
- Ren'Py Creator
- Posts: 16096
- 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?!
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(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- bbs3223474
- Regular
- Posts: 33
- Joined: Thu Apr 02, 2015 12:17 am
- Contact:
Re: How can characters' image be .bmp files?!
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.PyTom wrote: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?!
BMP with alpha is rare, but it exists.
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- 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, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: How can characters' image be .bmp files?!
From Microsoft Visual Studio on-line documentation:
Characters can be .bmp files, but not in Ren'Py, I presume.The BMP format supports an alpha-channel transparency which converts the 24-bit image to a 32-bit image file.
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
- 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?!
Xnview and Clip studio paint can open 32 bit bmp.
- bbs3223474
- Regular
- Posts: 33
- Joined: Thu Apr 02, 2015 12:17 am
- Contact:
Re: How can characters' image be .bmp files?!
Even photoshop can't open?nyaatrap wrote:Xnview and Clip studio paint can open 32 bit bmp.
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
- 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?!
I don't know why Photoshop can't (Maybe compatibility for Mac or something?). Though Xnview is much faster than Photoshop.
- bbs3223474
- Regular
- Posts: 33
- Joined: Thu Apr 02, 2015 12:17 am
- Contact:
Re: How can characters' image be .bmp files?!
Finally I found a useful tool which can convert them into supported format like .pngnyaatrap wrote:I don't know why Photoshop can't (Maybe compatibility for Mac or something?). Though Xnview is much faster than Photoshop.
It's krkrtpc, inside the krkr's tool folder.
Opensource project of a Ren'py transplanted game: https://github.com/bbs3223474/HANA16_Renpy
Who is online
Users browsing this forum: No registered users