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.

L.A. Rush [PS2] DATA_1.BIN DATA_1.IDX

Featured Replies

  • Author
  • Localization

Game Ripper, posted Tue Mar 14, 2023 5:20 pm (75886)


Hi guys, can someone please help me unpack this archive? DATA_1.BIN is almost 4 GBs so that I uploaded a smaller piece of it; DATA_1.IDX possibly contains filenames & offsets for each file.

Thanks in advance, bye!
  • Author
  • Localization

rabatini, posted Tue Mar 14, 2023 10:19 pm (75891)


Try this

Code:

open FDDE "idx"
open FDDE "bin" 1

math FOLDERS = 0

get FILES asize
xmath FILES "FILES / (0x18 4 4)"
for i = 0 < FILES
    set PATH string ""
    for x = 0 < FOLDERS
        getarray IDX 1 x
        math x 1
        if x < FOLDERS
            getarray NEXT_IDX 1 x
        else
            math NEXT_IDX = 0x7fffffff
        endif
        if i >= IDX && i < NEXT_IDX
            getarray PATH 0 x
            break
        endif
    next

    getdstring NAME 0x18
    get OFFSET long
    get SIZE long

    # in theory only the first character, but let's do it for all
    strlen NAMESZ NAME
    for x = 0 < NAMESZ
        getvarchr TMP NAME x
        if TMP >= 0x80
            math TMP ^ 0x80
            putvarchr NAME x TMP
        endif
    next x

    string NAME p "%s/%s" PATH NAME
    if OFFSET == 0
        putarray 0 FOLDERS NAME
        putarray 1 FOLDERS SIZE
        math FOLDERS 1
    else
        math OFFSET * 0x800
        log NAME OFFSET SIZE 1
    endif
next i


  • Author
  • Localization

Game Ripper, posted Wed Mar 15, 2023 5:32 pm (75918)


Thanks, it seems to work for me.
Actually the script reported something like
Quote:
the script uses more array indexes (55) than available (55)*

but those select files I unpacked (*.mih & *.mib ones) apparently work fine. I only really needed music tracks & these are the ones I extracted using filtering option of QuickBMS.exe.

Later!

* - it seems that line #19 of your script produced the error.
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.