Error When Extracting .npk Files from NetEase Game

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
mystic
Posts: 2
Joined: Wed Apr 03, 2019 2:47 am

Error When Extracting .npk Files from NetEase Game

Post by mystic »

Hello! I'm trying to extract the assets from a game called "永远的7日之都" developed by NetEase (the same company who made Rules of Survival):

Below are its official links:
App Store: https://itunes.apple.com/cn/app/%E6%B0%B8%E8%BF%9C%E7%9A%847%E6%97%A5%E4%B9%8B%E9%83%BD/id1141273107?mt=8
NetEase (Android): https://f7.163.com/index.html

After unpacking the ipa/apk as zip, I'm able to find a "res" folder which contains all the assets, archived in .npk format.
Image

After doing some research on this forum, Rules of Survival, another NetEase game that also uses this .npk file format, can be extracted with the "nxpk.bms" script, so I tried using it to unpack these files. However, I keep getting these similar errors.
Image
Image
Image
Image

In a desperate attempt, I also tried using the "npk.bms" script. I still keep getting errors, but not the same when using "nxpk.bms".
Image

I uploaded the .npk files from the asset folder for reference. If anyone is interested in giving it some testing, feel free to choose any file in this Google Drive folder:
https://drive.google.com/open?id=1-8W_LGt30MOjslx_hu0o07wsnNGKK_Al

If you prefer the full ipa file (extension already renamed to zip): https://drive.google.com/open?id=1aPRNH6AHxWY1zSD0WBF7QTwY3ceayaGo
You can find the .npk assets in

Code: Select all

Payload\g58.app\res

If you prefer the apk file, official apk link from NetEase: https://adl.netease.com/d/g/f7/c/gw?type=android
You can find the .npk assets in

Code: Select all

assets\res

If anyone can shed some light on the problem, please let me know. Thanks in advance!