The Forum is up for sale: XeNTaX Forum looking for new owner

The Evil Winhin 2 .bimage

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
MuratG
advanced
Posts: 44
Joined: Tue Oct 28, 2014 12:56 am
Been thanked: 2 times

The Evil Winhin 2 .bimage

Post by MuratG »

The Evil Winhin 2 fonts files .bimage how to open


https://drive.google.com/file/d/0B2lK7_ ... sp=sharing
GRiNDERKILLER
veteran
Posts: 90
Joined: Thu Jul 12, 2012 12:24 pm
Has thanked: 12 times
Been thanked: 30 times

Re: The Evil Winhin 2 .bimage

Post by GRiNDERKILLER »

Code: Select all

//--------------------------------------
//--- 010 Editor v6.0.3 Binary Template
//
// File:
// Author:
// Revision:
// Purpose:
//--------------------------------------

LittleEndian();

local uint i;

uint64 id;
uint zero;
uint mainwidth;
uint mainheigth;
uint zero;
uint mipmaps;
uint par0;
uint par1;
uint par2;
ushort zero;

for(i=0;i<mipmaps;i++) {
struct mipmap {

uint mipmapnum;
uint zero;
uint width;
uint heigth;
uint mipmapsize;

ubyte data[mipmapsize];

} record;
}
Looks like all font textures uses DXT5 compression. Header is 62 bytes, rest is RAW data.

Usage:

-run the tempalte on BIMAGE file, you will need 010 HEX Editor.
-check width / height and create in GIMP or Photoshop DDS file with the same width / height and save it with DXT5 compression.
-open created DDS and copy first 128 bytes and copy it over 62 bytes in BIMAGE and save as DDS.

result:
Image
MuratG
advanced
Posts: 44
Joined: Tue Oct 28, 2014 12:56 am
Been thanked: 2 times

Re: The Evil Winhin 2 .bimage

Post by MuratG »

GRiNDERKILLER wrote:

Code: Select all

//--------------------------------------
//--- 010 Editor v6.0.3 Binary Template
//
// File:
// Author:
// Revision:
// Purpose:
//--------------------------------------

LittleEndian();

local uint i;

uint64 id;
uint zero;
uint mainwidth;
uint mainheigth;
uint zero;
uint mipmaps;
uint par0;
uint par1;
uint par2;
ushort zero;

for(i=0;i<mipmaps;i++) {
struct mipmap {

uint mipmapnum;
uint zero;
uint width;
uint heigth;
uint mipmapsize;

ubyte data[mipmapsize];

} record;
}
Looks like all font textures uses DXT5 compression. Header is 62 bytes, rest is RAW data.

Usage:

-run the tempalte on BIMAGE file, you will need 010 HEX Editor.
-check width / height and create in GIMP or Photoshop DDS file with the same width / height and save it with DXT5 compression.
-open created DDS and copy first 128 bytes and copy it over 62 bytes in BIMAGE and save as DDS.

result:
Image

Thanks but how to repack
GRiNDERKILLER
veteran
Posts: 90
Joined: Thu Jul 12, 2012 12:24 pm
Has thanked: 12 times
Been thanked: 30 times

Re: The Evil Winhin 2 .bimage

Post by GRiNDERKILLER »

Same as step 3 but reversed.
Open edited DDS in HEX editor and replace first 128 bytes with 62 bytes from original BIMAGE. That's all. Easy right?... :wink:
BTW do you have a repacker of PKR files? I mean real one where you can repack bigger files than original.
MuratG
advanced
Posts: 44
Joined: Tue Oct 28, 2014 12:56 am
Been thanked: 2 times

Re: The Evil Winhin 2 .bimage

Post by MuratG »

GRiNDERKILLER wrote:Same as step 3 but reversed.
Open edited DDS in HEX editor and replace first 128 bytes with 62 bytes from original BIMAGE. That's all. Easy right?... :wink:
BTW do you have a repacker of PKR files? I mean real one where you can repack bigger files than original.


PKR repack not work


https://zenhax.com/viewtopic.php?f=9&t=5088
Post Reply