Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

LEGO Island Xtreme Stunts .BMB files

Featured Replies

  • Author
  • Localization

Brickome, posted Tue Feb 01, 2022 9:57 pm (69558)


Hi, I was wondering if anyone knows anything about the .BMB texture files for LEGO Island Xtreme Stunts?

They seem to contain multiple TGA files according to text files in the same directory.

I've attached a few of them (decompressed with this script: http://aluigi.altervista.org/bms/island ... stunts.bms) for reference, along with the corresponding text file.
  • Author
  • Localization

LinkOFF, posted Wed Feb 02, 2022 7:37 am (69568)


Code:
//------------------------------------------------
//--- 010 Editor v10.0 Binary Template
// Name: LEGO Island Xtreme Stunts .BMB files
// Author: LinkOFF
// File Mask: *.BMB
//------------------------------------------------
int Entries;

typedef struct{
    char IndexSign[4];
    int NameTableSize;
    short Id;
    char Name[];
    short skip;
}NamesTable;

typedef struct{
    char InfoSign[4];
    int Value1; //bpp?
    short Value2; //width?
    short Value3; //height?
    short Value4;
    short Value5;
    short Value6; //same as Value2
    short Value7; //same as Value3
    int Value8; // mipmap count?
    int Value9;
    int Value10;
    int Value11; //always 0
    int Value12; //always 0
    char ImageSign[4];
    int DataSize;
    byte Data[DataSize];
    char EndSign[4];
    int Zero;
}ImageData;

NamesTable Names[Entries] ;
ImageData Image[Entries] ;
  • Author
  • Localization

Brickome, posted Wed Feb 02, 2022 3:21 pm (69578)


Oh wow, thanks for looking!

I tried the script with 010 Editor with the files I shared, but all I'm getting is this error:
Quote:
Executing template 'Template1.bt' on 'D:\Documents\Z14WPO\LIXS BMB files\CHAR000.BMB'...
*ERROR Line 44(7): Unexpected end of file.
  • Author
  • Localization

LinkOFF, posted Wed Feb 02, 2022 5:48 pm (69581)


Brickome wrote:
Oh wow, thanks for looking!

I tried the script with 010 Editor with the files I shared, but all I'm getting is this error:
Quote:
Executing template 'Template1.bt' on 'D:\Documents\Z14WPO\LIXS BMB files\CHAR000.BMB'...
*ERROR Line 44(7): Unexpected end of file.

I update the script. Try it now. It's works for me (like as last one btw).
  • Author
  • Localization

Brickome, posted Wed Feb 02, 2022 11:24 pm (69587)


Now it works, thanks for the help! It's really appreciated.

I guess I never need to figure out the extracted image format now as it's not the same as the source .TGA format, lol.
  • Author
  • Localization

LinkOFF, posted Thu Feb 03, 2022 7:12 am (69591)


This is 32bpp image format. You can use Raw texture cooker to view it.
  • Author
  • Localization

Brickome, posted Thu Feb 03, 2022 7:20 pm (69602)


Ah, yeah that's helpful for viewing them.

Thanks!
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.