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.

???online! help me ,unpack the data.mhp files!

Featured Replies

  • Author
  • Localization

aluigi, posted Sun May 10, 2015 5:21 pm (5193)


No luck with data.mhp but I found an easy way to extract the xepack archives:
Code:
get EXT extension
if EXT == "mhp"
    # INCOMPLETE!!!

    idstring "MHP\x1c"
    get DUMMY long
    get MHP_SIZE longlong
    get DUMMY long
    get DUMMY short
    get DUMMY_OFF longlong
    get INFO_OFF longlong
    get DUMMY long
    get FILES long

    # goto DUMMY_OFF
    # filexor 0xe5  # ???

    goto INFO_OFF
    filexor 0x1f
    for i = 0 < FILES
        get OFFSET longlong
        get ZSIZE long
        get SIZE long
        get DUMMY long

        # OFFSET doesn't match the size of data.mhp
        # The total ZSIZE is 0x20914aed that doesn't match OFFSET and the size of data.mhp
    next i

else

    idstring "XEPACK"
    goto 0x80030
    findloc OFFSET string "XEP "
    goto OFFSET
    getdstring DUMMY 4
    for
        findloc OFFSET string "XEP " 0 ""
        if OFFSET == ""
            break
        endif
        goto OFFSET

        idstring "XEP "
        get ZERO long
        getdstring TYPE 4
        getdstring DUMMY 0x1c
        get SIZE long
        savepos OFFSET
        string NAME p "%s/" TYPE
        log NAME OFFSET SIZE
        math OFFSET SIZE
        goto OFFSET
    next

endif
  • Author
  • Localization

wahaha, posted Tue May 12, 2015 3:17 am (5216)


bro,dont upack the xepack...no function....plz refix.
  • Author
  • Localization

aluigi, posted Tue May 12, 2015 6:19 am (5221)


When I tested it, it worked perfectly.
Now I no longer have the game so post the error you get.
  • Author
  • Localization

aluigi, posted Tue May 12, 2015 8:36 am (5231)


I see only a mini image.
Anyway it appears you are using a very old version of quickbms (there is a "2014" in the timestamp), so update it first:
http://quickbms.aluigi.org
  • Author
  • Localization

aluigi, posted Tue May 12, 2015 8:40 am (5234)


Another reason why it gives you that result is that there are no XEP magics in the input file.
I don't know what files you are testing but those I checked worked perfectly and had the "XEP " magic.
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.