Important information: this site is currently scheduled to go offline indefinitely by end of the year.

.bimage of Doom 3 BFG Edition.

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
Phobos90
ultra-n00b
Posts: 8
Joined: Wed Aug 22, 2018 7:57 am

.bimage of Doom 3 BFG Edition.

Post by Phobos90 »

Hi,


I looked around this forum for very long (this place is useful and awesome) and I found topics about the .bimage format for several games, among them RAGE, Wolfenstein TNO, Dishonored 1/2, The Evil Within 1/2. I was wondering if the case of Doom 3 BFG Edition's .bimage format could be treated too, I've been trying to get my hands on those textures files for years but I can't get my head around the complexity of decoding/decompiling a file.

I try .bimage converters of each of those games in Noesis and also Quickbms, but it seems none of the scripts works for any game but the one it was written for.


I hope for someone to point my struggles in the right direction to achieve my goal of converting .bimage files from D3 BFG Edition to an usable image format.


Here's a zip with samples for whatever is worth:

https://www.mediafire.com/file/csqgdj5p ... s.zip/file


Thank you in advance!
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: .bimage of Doom 3 BFG Edition.

Post by Acewell »

here is Noesis python script to open your bimage samples. :D
tex_Doom3BFGEdition_bimage.zip
supports dxt1 and dxt5, top level mip only.

from which platform did your samples come from?
You do not have the required permissions to view the files attached to this post.
Phobos90
ultra-n00b
Posts: 8
Joined: Wed Aug 22, 2018 7:57 am

Re: .bimage of Doom 3 BFG Edition.

Post by Phobos90 »

Hi Acewell, thanks for your response!


The samples are taken from the PC version, it seems like the script is working to some extent. Specular maps seems to appear correctly, but diffuse and normal maps have problems with their channels, for instance the normal map's blue channel has no data, and what is intended to be the red channel is placed in the alpha one.

Image


All in all this is exiting, finally I think this is getting somewhere!
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: .bimage of Doom 3 BFG Edition.

Post by Acewell »

Phobos90 wrote: Sat Feb 16, 2019 6:30 pmbut diffuse and normal maps have problems with their channels, for instance the normal map's blue channel has no data, and what is intended to be the red channel is placed in the alpha one.
nothing i can do about the colors, that is the way the data was stored. :)
i have seen green and yellow normal map images in other games so i think this is not unusual.
the game engine was likely designed to decode the images in this way.
Phobos90
ultra-n00b
Posts: 8
Joined: Wed Aug 22, 2018 7:57 am

Re: .bimage of Doom 3 BFG Edition.

Post by Phobos90 »

Oh I see. Then probably the game treat textures in a way I'm not use to, I wish I know more about id tech 5 dealing with texture channels.

This is the texture:

Image

Inspecting the channels I found this:

Red Channel:
Image

Green Channel:
Image

Blue channel is just a solid tone.

Alpha channel:
Image

I think the real data is in channel alpha since looks like a greyscale version of the intended texture, so I think red and green channels are used in a different way to color the data in the alpha channel, not as regular RGB channels works for simple images as I know.

Edit: I started reading about color formats and I found about color spaces, seems like maybe this is a case of YVU/CMYK color format, problem is I don't know how to convert this to a RGB color space properly.
y2keeth
beginner
Posts: 22
Joined: Sun Sep 19, 2021 10:36 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: .bimage of Doom 3 BFG Edition.

Post by y2keeth »

same issue
y2keeth
beginner
Posts: 22
Joined: Sun Sep 19, 2021 10:36 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: .bimage of Doom 3 BFG Edition.

Post by y2keeth »

rbdoom3bfg has a conversion process now so you can get them out for doom3 bfg anyway
y2keeth
beginner
Posts: 22
Joined: Sun Sep 19, 2021 10:36 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: .bimage of Doom 3 BFG Edition.

Post by y2keeth »

also wattos game extractor handles them also now
http://www.watto.org/game_extractor.html
Post Reply