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.

Mar Heaven - Arm Fight Dream (PS2) - _DATA.YFS

Featured Replies

  • Author
  • Localization

Anexenaumoon, posted Sat Jun 30, 2018 3:26 am (36301)


This should extract the files with directories retained:
Code:
# Mar Heaven - Arm Fight Dream *.YFS
# Written By Eric Van Hoven
# Script for QuickBMS http://quickbms.aluigi.org

idstring "YFS\x00"
get DIRCNT short
get ENTRYCNT short
savepos DIROFF
set TABLEOFF long 0
xmath TABLEOFF "(DIRCNT * 0x40) DIROFF"


for i = 0 < DIRCNT
   goto DIROFF
   getdstring DIRNAME 0x3C
   get COUNT short
   get STARTIND short
   savepos DIROFF
   goto TABLEOFF


 
   for j = 0 < COUNT
      getdstring FNAME 0x18
      get SIZE long
      get OFFSET long
      get NULL long
      set NAME string DIRNAME
      string NAME = FNAME
      log NAME OFFSET SIZE
   next j
   savepos TABLEOFF
next i


Can't be certain, as I'm not certain if that's the correct offset and size values, but I think it is
  • Author
  • Localization

BloodRaynare, posted Sat Jun 30, 2018 4:35 am (36302)


Seems it extracted all the files correctly :)
Thanks!
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.