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.

Lumines Puzzle Fusion / Lumines II / Lumines LIVE! .dat archive format

Featured Replies

  • Author
  • Localization

mbc07, posted Sun Nov 08, 2020 10:13 am (60051)


I made a BMS script for unpacking .dat files from Lumines Puzzle Fusion / Lumines II / Lumines LIVE!. The format is super simple and there's no magic bytes to detect the file type, so if the script doesn't run properly make sure the input files are valid .dat archives from those games.
Code:
# Lumines Puzzle Fusion / Lumines II / Lumines LIVE! .dat unpacker
#
# Written by mbc07 on November 7, 2020
# Last updated on November 9, 2020 (v1.1)

Get TOTAL_SIZE asize
SavePos OFFSET

For
    # Sanity check
    If OFFSET >= TOTAL_SIZE
        CleanExit
    EndIf

    Get HEADER_SIZE short
    Endian guess16 HEADER_SIZE

    # Another sanity check
    If HEADER_SIZE <= 0
        CleanExit
    EndIf

    # Parse header
    Get PATH_SIZE short
    Get UNKNOW1 long    # Always 0x1 or 0x10001
    Get UNKNOW2 long    # Always 0x0
    Get FILE_SIZE long
    GetDString FILE_PATH PATH_SIZE

    # Extract file
    Math OFFSET HEADER_SIZE
    Log FILE_PATH OFFSET FILE_SIZE

    # Advance and repeat
    Math OFFSET FILE_SIZE
    GoTo OFFSET
Next

lumines_dat.bms

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.