lol username Posted June 5, 2013 Share Posted June 5, 2013 (edited) 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: ... 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 December 28, 2021 by Slimy Slug Replaced broken image embed Link to comment Share on other sites More sharing options...
LUModder Posted June 5, 2013 Share Posted June 5, 2013 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 More sharing options...
Fifi La Fume Posted June 6, 2013 Share Posted June 6, 2013 Sorry, but that is no help at all, TGAs are not animated. Link to comment Share on other sites More sharing options...
dead_name Posted January 26, 2014 Share Posted January 26, 2014 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. }; ProfessorBrickkeeper, Quisoves Potoo, le717 and 2 others 5 Link to comment Share on other sites More sharing options...
lol username Posted January 26, 2014 Author Share Posted January 26, 2014 New holiday, folks. January 25 is now officially Texture Cracking Day. Fluffy Cupcake, Quisoves Potoo, dead_name and 1 other 4 Link to comment Share on other sites More sharing options...
Quisoves Potoo Posted January 26, 2014 Share Posted January 26, 2014 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. Fluffy Cupcake 1 Link to comment Share on other sites More sharing options...
Recommended Posts