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 Super Mario .bin files (iOS/Android)

Featured Replies

  • Author
  • Localization

Machow8, posted Thu Apr 14, 2022 9:06 pm (71128)


Hi,

I'm aiming to extract textures and sound files from the lego Mario and Luigi toys.

Textures like the fire sprite as can be see on Mario's chest in this pic: https://www.lego.com/cdn/cs/set/assets/ ... _alt17.png

I discovered files in the iOS app that has all those assets, which i got and uploaded them:

Mario bin: https://cdn.discordapp.com/attachments/ ... -0-202.bin

Luigi bin: https://cdn.discordapp.com/attachments/ ... -0-215.bin

They seem to be encrypted and idk how to decrypt in order to extract such files.

--------

Edit 1: i used watto's game extractor tool to extract files from bins, but they are still encrypted: https://www.mediafire.com/file/lgjoq770 ... 9.zip/file

But, this time will be better to just decrypt files instead of trying to find a way of dumping them.

--------

Thanks for who can help me with this. =]
  • Author
  • Localization

VendorX, posted Fri Apr 15, 2022 11:49 am (71133)


Below bms will export all data - I don't think is encrypted.

Code:
# Lego Super Mario. *.Bin
# script for QuickBMS http://quickbms.aluigi.org

get ExportSze long
math DataOffset = ExportSze 4

do
    get ExportFlags long
    get ExportCont long

    for i = 0 < ExportCont
        get Unk00 long
        get Unk01 long
        get SerialOffset long
        get SerialSize long
        get Flags long
       
        string Name p "%x_%i_%i_%i_%x%s" ExportFlags i Unk00 Unk01 Flags ".dat"
       
        log Name SerialOffset SerialSize
    next i

    Savepos Position
while Position < DataOffset


Note: The names consist:
MasterChnkIDinHex_Index_UnkInt_UnkInt_ChnkIDinHex
  • Author
  • Localization

Machow8, posted Fri Apr 15, 2022 12:59 pm (71135)


Dude, that is so nice to see this! Thx!

But the next step is: extract textures and sound files from those dat files.

Can you create a script to extract them too or know about such a script or tool that can extract lego .dat files?

I tryed the ttgames.bms script ( http://aluigi.altervista.org/bms/ttgames.bms from http://aluigi.altervista.org/quickbms.htm ), but without success.

I hope for the best there is a way to extract sounds and textures those .dat files from Lego Mario.
  • Author
  • Localization

Machow8, posted Thu Apr 21, 2022 1:38 pm (71232)


VendorX wrote:
Below bms will export all data - I don't think is encrypted.

Code:
# Lego Super Mario. *.Bin
# script for QuickBMS http://quickbms.aluigi.org

get ExportSze long
math DataOffset = ExportSze 4

do
    get ExportFlags long
    get ExportCont long

    for i = 0 < ExportCont
        get Unk00 long
        get Unk01 long
        get SerialOffset long
        get SerialSize long
        get Flags long
       
        string Name p "%x_%i_%i_%i_%x%s" ExportFlags i Unk00 Unk01 Flags ".dat"
       
        log Name SerialOffset SerialSize
    next i

    Savepos Position
while Position < DataOffset


Note: The names consist:
MasterChnkIDinHex_Index_UnkInt_UnkInt_ChnkIDinHex

Are you able to create another script to extract sounds and textures from those .dat files?
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.