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.

Chulip (PS2) .BIN file table

Featured Replies

  • Author
  • Localization

mecha_yodzilla, posted Sun Jul 25, 2021 2:08 am (65345)


This file contains a bunch of different textures and models. I've been able to write a script that extracts them separately, but I've recently noticed that it has a file table that looks like it should point to where each texture and model is. The problem is, I can't make heads or tails of how the numbers in an entry relate to the position of the actual data. For example, "/item/semi.bin" refers to an image at 0x27440, but I'm not sure how I would get to it using the entry. Any insight or help would be greatly appreciated.
  • Author
  • Localization

lisomn, posted Mon Aug 02, 2021 10:49 pm (65467)


Code:
idstring "BIN\x00"
get start_offset long
math end_id = 1
math index = 0
for i = 0 != end_id
    get start_offset long
    math i = start_offset
    if i == end_id
        break
    endif
    get block_size long
    if start_offset != 0 && block_size !=0
        math file_name = index
        string file_name ".dat"
        log file_name start_offset block_size
        math index 1
    endif
next

tada :D
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.