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.

Documents about dual UnityFS headers?

Featured Replies

  • Author
  • Localization

LiangZong, posted Fri Dec 31, 2021 6:16 pm (68573)


Hello everyone!
I found that many games have two UnityFS headers. All data before the second UnityFS header must be deleted to correctly identify the file.
However, many games have a lot of files, and the offset of the second UnityFS header of many files is different. Manual modification is very troublesome. . .
I have a bms script that determines the offset and then deletes it, which is not what I want.
Code:
get ArcName filename
set Name string "new\\"
string Name ArcName
get Size asize
math Size - 0x04
log Name 0x04 Size


My idea is to determine the offset of the second header through the bms script, and then use math Size-the offset of the second header. I don't know how to write this script.
help me. . .

.

The following samples belong to the same game:

  • Author
  • Localization

aluigi, posted Sun Jan 02, 2022 11:41 pm (68622)


Code:
goto 8  # skip the first one
findloc OFFSET binary "UnityFS"
get SIZE asize
math SIZE - OFFSET
get NAME filename
string NAME ".unityfs"
log NAME OFFSET SIZE
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.