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.

Help with making a script

Featured Replies

  • Author
  • Localization

Jun, posted Tue Dec 20, 2022 8:58 am (74684)


Hello everyone,

I'm hoping one of you guys can help me figure out a way to delete the dummy Unity Header and the following data so the actually Unity Header can be used and read in Asset Studio. I can do it in a hex editor but there's so many files to go through and I just need a quick script to automate it all.

  • Author
  • Localization

masagrator, posted Tue Dec 20, 2022 12:25 pm (74686)


And you're sure every file has the same dummy header of size 0xf4?
  • Author
  • Localization

Jun, posted Wed Dec 21, 2022 9:44 am (74702)


I think they're all different sizes but I hope another picture can make things clear for you.


  • Author
  • Localization

Jun, posted Wed Jan 18, 2023 12:09 pm (75066)




Is there a script to delete the first UnityFs header since its a dummy.?
  • Author
  • Localization

ssh, posted Wed Jan 18, 2023 6:18 pm (75073)


Code:
get SIZE asize

if SIZE > 8
   idstring "UnityFS"
   findloc OFFSET string "UnityFS" 0 ""
   
   if OFFSET == ""
      cleanexit
   endif
   
   math SIZE - OFFSET
   get NAME filename
   string NAME p "_OUTPUT/%s" NAME
   log NAME OFFSET SIZE
endif
  • Author
  • Localization

Jun, posted Thu Jan 19, 2023 11:21 am (75086)


Works great.! Thank you so much.!
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.