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.

.npk Game Files detecting EXPK not NXPK

Featured Replies

  • Author
  • Localization

crackofdawn, posted Tue May 28, 2019 3:32 pm (48079)


Hi all!

Pretty new to this world, but I've spent some time familiarizing myself with the quickbms tool and its script. I tried running the nxpk.bms script on a set of .npk files and I'm getting the following error:

"Signature of 4 bytes at offset 0x00000000 doesn't match the one expected by the script:
this one: "EXPK"
45 58 50 4b EXPK
expected: "NXPK"
4e 58 50 4b NXPK

- 0 files found in 0 seconds
coverage file 0 0% 4 38568664 . offset 00000004"

It seems like encryption is off by one digit (5 vs e). I was wondering if there was anything that could be done to get around this encryption? Any guidance would be much appreciated.

I've attached one of the smaller files of the bunch. I had to add it to a .rar since .npk files cannot be uploaded here.


Cheers!
  • Author
  • Localization

aluigi, posted Tue May 28, 2019 7:12 pm (48083)


I suspect it's some sort of compression because the 32bit field at offset 0x14 looks like a decompressed size.
The data is 0x370354 bytes while that field is 0x370194, additionally the consecutive zeroes at the end of the data don't match with a possible encryption since it should be just garbage.

Currently I don't know what compression algorithm it may be.
  • Author
  • Localization

crackofdawn, posted Tue May 28, 2019 8:54 pm (48087)


Thanks for giving it a go! It's a game that just came out, maybe it's some fancy new algorithm! Who am I kidding, I don't know anything about this stuff ^.^ Have a great week!
  • Author
  • Localization

aluigi, posted Sat Jun 01, 2019 11:35 pm (48290)


@godskin
I have merged your previous topic in this one because this is another EXPK format.
I preferred to keep them in the same topic.
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.