Jump to content

lol username
 Share

Recommended Posts

lol username

Has anybody looked into LI2's .WIB textures yet? From what I can tell, they store animated textures/textures with multiple frames - for example, minifigure faces, the Brickster's green/white portal, etc. Yeah, there's plenty of minifigure face textures stored as standard TGA files, but from what I've seen, modifying them has no effect on the actual in-game characters. That, and this dialogue box:

 

4265ea05089d1c127cd14bdb2ffe2d5a.png

... Leads me to wonder if the minifigure face TGA textures are entirely unused, and the .WIB textures are what the game actually uses for all that sort of stuff.

The main reason I'm asking is that I'd like to modify some of the character faces... But without a way to edit the .WIB files, I'm kinda stuck.

Edited by Slimy Slug
Replaced broken image embed
Link to comment
Share on other sites

Try this,

 

  • Backup the default WIB files
  • Change edited TGA files to WIB

If this doesn't work, then I've tried my best.

Link to comment
Share on other sites

  • 7 months later...

Here, have some pseudostructs that cover the format. I might see about doing a tool. No promises.

struct wib_file_t
{
	char magic_wibf[4]; "WIBF"
	int num_frames;
	int frame_sequence[num_frames];  // each is an index into the texture array
	char magic_wibt[4]; "WIBT"
	int width;
	int height;
	int pixel_format; // 0 = BGR888, 1/2 = BGRA8888
	int num_textures;
	texture_t textures[num_textures];
};

struct texture_t
{
	char pixel_data[width * height * pixel_size];
	// pixel_format 0    -->  pixel_size = 3
	// pixel_format 1/2  -->  pixel_size = 4
	// pixels are in bitmap raster order, i.e. left-to-right, bottom-to-top.
};
  • Like 5
Link to comment
Share on other sites

Quisoves Potoo

New holiday, folks. January 25 is now officially Texture Cracking Day.

 

But  aren't WIB files animation files converted from textures? But I frivol. Now we need a 3d-Model Format Cracking Day, we haven't had one of those formats cracked in a while.

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.