Need help for Demon Seals 《镇魔曲》 .NPK !
-
- Posts: 8
- Joined: Tue Dec 16, 2014 5:27 am
Need help for Demon Seals 《镇魔曲》 .NPK !
Hey guys,
here is a beautiful china game ,name is: Demon Seals 《镇魔曲》
Web: http://zmq.163.com/index.html
Client: http://zmq.gdl.netease.com/zmq-1.0.212-setup.exe
Example npk: http://www.mediafire.com/download/dc80p ... n/base.npk
http://www.mediafire.com/download/1l157 ... c46/ui.npk
Hope someone can help me!
Thanks~
here is a beautiful china game ,name is: Demon Seals 《镇魔曲》
Web: http://zmq.163.com/index.html
Client: http://zmq.gdl.netease.com/zmq-1.0.212-setup.exe
Example npk: http://www.mediafire.com/download/dc80p ... n/base.npk
http://www.mediafire.com/download/1l157 ... c46/ui.npk
Hope someone can help me!
Thanks~
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Need help for Demon Seals 《镇魔曲》 .NPK !
Script updated to version 0.1.1 (lz4 compression instead of zlib):
http://aluigi.org/papers/bms/others/nxpk.bms
http://aluigi.org/papers/bms/others/nxpk.bms
-
- Posts: 8
- Joined: Tue Dec 16, 2014 5:27 am
Re: Need help for Demon Seals 《镇魔曲》 .NPK !
Cool! thanks aluigi!
-
- Posts: 204
- Joined: Thu Aug 14, 2014 8:52 pm
Re: Need help for Demon Seals 《镇魔曲》 .NPK !
very interesting game, as I can see the unpack got random file names and no real ones right? and check it use SKI format for models? you study this format as well yianti?
PS: any chance to correct file names when export aluigi?
PS: any chance to correct file names when export aluigi?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Need help for Demon Seals 《镇魔曲》 .NPK !
You need to have a database with the hash->name entries for obtaining the real names otherwise only the sequential name plus the guessed extension is possible.
-
- Posts: 204
- Joined: Thu Aug 14, 2014 8:52 pm
Re: Need help for Demon Seals 《镇魔曲》 .NPK !
ummmm ok thanks for clarify it for me alugi, now another question, how we can create database for get file names? I know the hash names are get when you run client and play, but I wanna know if possible know the process to make them, because i'm interested for others games, no this one in particular, ok many thanks for all as alwasys aluigi, for patience and dedication to all members, have a nice day.
-
- Posts: 1383
- Joined: Sat Aug 09, 2014 2:34 pm
Re: Need help for Demon Seals 《镇魔曲》 .NPK !
I'm working on unpacker now
but i have problem with script.npk, seems data with flag 0 also can be obfuscated or compressed. example in attach.
but i have problem with script.npk, seems data with flag 0 also can be obfuscated or compressed. example in attach.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Need help for Demon Seals 《镇魔曲》 .NPK !
I bet it's encrypted with a block cipher (like AES) because the first 32bit value is the final size necessary due to the alignment created by the encryption.
-
- Posts: 1383
- Joined: Sat Aug 09, 2014 2:34 pm
Re: Need help for Demon Seals 《镇魔曲》 .NPK !
In script.npk and libs.npk always present redirect.nxs the file (only compressed by zlib), all other data obfuscated. In file you can see lines like
Seems it's compiled Python module. I have tried to find file redirect_crypt.pyt but wihout results.
Code: Select all
redirect_crypt.pyt
decrypt_buffer
zlib
decompress
marshal
Seems it's compiled Python module. I have tried to find file redirect_crypt.pyt but wihout results.
-
- Posts: 48
- Joined: Tue Jul 26, 2016 10:54 am
Re: Need help for Demon Seals 《镇魔曲》 .NPK !
Ekey wrote:In script.npk and libs.npk always present redirect.nxs the file (only compressed by zlib), all other data obfuscated. In file you can see lines likeCode: Select all
redirect_crypt.pyt
decrypt_buffer
zlib
decompress
marshal
Seems it's compiled Python module. I have tried to find file redirect_crypt.pyt but wihout results.
Hello, Ekey.
Some people who are interested in the format of the game, if you can, you can continue the unpacker work? Thank you very much!
-
- Posts: 48
- Joined: Tue Jul 26, 2016 10:54 am
Re: Need help for Demon Seals 《镇魔曲》 .NPK !
Someone get name by dynamic debugging, but cannot one-time get all of my name, I don't know to use what way to get all the names.
https://gist.github.com/fate0/3e1d23bce9d4d2cfa93848dd92aba3d4
https://gist.github.com/fate0/3e1d23bce9d4d2cfa93848dd92aba3d4