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.

Matsurika no Kei memfs file - help with quickbms script

Featured Replies

Kindly asking for a quickbms script that can extract the contents of the memfs file attached.effect.rar

 

I tried using this script to do it:

# Jakou no Lyla: Allure of Musk (memfs/membody)
#   experimental, there are more filenames than files

open FDDE "memfs"
open FDDE "membody" 1

idstring "RSON"
get DUMMY long
get DUMMY long
get DUMMY long
get DUMMY long
for i = 0
    get TYPE1 byte
    get TYPE2 byte
    get TYPE3 byte
    get TYPE4 byte
    if TYPE4 & 0x20
    else
        break
    endif
    get OFFSET long
    if TYPE4 & 0x10
    else
        get SIZE long
        putarray 0 i OFFSET
        putarray 1 i SIZE
        math i + 1
    endif
next
math FILES = i
goto -4 0 SEEK_CUR
for i = 0
    get TYPE byte
    if TYPE != 0x88
        break
    endif
    get NAMESZ byte
    getdstring NAME NAMESZ
    get ZERO short
    set NAME unicode NAME
    putarray 2 i NAME
next i
for i = 0 < FILES
    getarray OFFSET 0 i
    getarray SIZE   1 i
    getarray NAME   2 i
    log NAME OFFSET SIZE 1
next i

 

And even this one:

idstring "RSON"
get ZERO long
get X short
get Y short
get X short
get Y short
get BITS long
get ZSIZE long
math ZSIZE - 6
goto 0x22
get SIZE long
reverselong SIZE
savepos OFFSET
get NAME basename
string NAME p "%s_%dx%dx%d.raw" NAME X Y BITS
clog NAME OFFSET ZSIZE SIZE

 

but it gives me the attached error everytime. memfsextractionerror.thumb.png.bfeb375176579262e448668019ffde53.png

Thanks in advance to anyone who helps.

  • ikskoks changed the title to Matsurika no Kei memfs file - help with quickbms script

Create an account or sign in to comment

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.