yjbeetle / unnpk Goto Github PK
View Code? Open in Web Editor NEW解包网易游戏NeoX引擎NPK文件,如阴阳师、魔法禁书目录。
License: Apache License 2.0
解包网易游戏NeoX引擎NPK文件,如阴阳师、魔法禁书目录。
License: Apache License 2.0
啥意思 就是打不开这个npk吗
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa2 in position 4: illegal multibyte sequence
尝试解 ios 网易的哈利波特,解包的时候提示
W: Uncompress failed!
Z_DATA_ERROR: Data is not zlib, The raw data will be output
十六进制看了下 npk 文件的"索引表":
(箭头指的是索引表开始的位置)不知道分隔符是02 00 10 00
是不是正常:
不知道上面解包出来的文件是否能用,然后是不是需要去取得 asdf_dn、asdf_dt、asdf_df
和 opcode map 等东西?能有其他方法获得吗,不太会用 IDA
另外想问一下获取游戏的资源文件(音频模型等是否就能直接用 script 里解出来的 asdf_dn、asdf_dt、asdf_df
和 opcode map 等?
不能用在决战平安京的数据包上 =..= 有没有兴趣跟进一下( ̄▽ ̄)"
Failed on npk files from 'MOBA-Onmyoji'. =..= Would it be updated ( ̄▽ ̄)"
Hi @YJBeetle, I m trying to reverse another NetEase NeoX Game, Eve Echoes. Your unnpk make a great job unpacking script.npk. I think all the files were unpacked, but when I try to decrypt, some of them failed like this:
https://www.mediafire.com/file/6hiff3ypxne31ct/0B103ACD.out/file
$ ./unnpk/tools/pyc_decryptor.py ./script/application/octet-stream/0B103ACD.out ./0B103ACD.pyc
...
./unnpk/tools/pymarshal.py", line 241, in _transform_opcode
opcode[c] = n
UnboundLocalError: local variable 'n' referenced before assignment
As you stated, looks like file FB54F059 is the redirect.pyc, but I fails decrypting, or decompyling it:
https://www.mediafire.com/file/rs7gxahpoe34r9s/FB54F059/file
Maybe it will help to decrypt all the files, but I dont know how to handle it.
At this point I´m stuck.
I got a lot of source files and resources, but what I really want to grab is the game's staticdata. The problem is that the py missing files contains the key methods to read .sd files I need.
Any help would be greatly apreciated.
npk 文件里包含文件名 / 路径么,unnpk 的时候可以还原么
gcc unnpk.c -o unnpk -lz -lmagic -std=gnu99
unnpk.c:8:10: fatal error: 'magic.h' file not found
#include <magic.h>
^~~~~~~~~
1 error generated.
我想了解一下这个桌面版的阴阳师,它有别于其他安卓模拟器,是怎样运作的?
了解到的是它使用OpenGL绘制3D,但是夜神模拟器也有使用OpenGL的选项。
unnpk.c:8:10: fatal error: 'magic.h' file not found
Is this a mistake? Did you forget to add a file or is it intentional?
./tools/script_redirect.py 0A0D60DC > 0A0D60DC.out
ERROR》》》》zlib.error: Error -3 while decompressing data: incorrect header check
纯小白一只(甚至不懂Linux和Python),本来想着研究下百鬼修改,一步步靠着谷哥度娘成功跑起来了,想分享下根据fz和楼主两位大佬的步伐的研究成果
通过c32发现script.npk中,从索引表开始(索引表位置记录在0x14处,例如楼主大大的版本入口在00D476C4)第一列 就是偏移量(倒着写的),即解包后的文件名;第二列没分析出来是啥;第三列与第四列重复,即解包后的文件大小(也是倒着写的),但是FB54F059文件 第三列与第三列却不同,第三列是94 04 00 00(1172字节),第四列是60 09 00 00(2400字节)与解包后显示的2.4k吻合。第五列和第六列数据重复(FB54F059不同),第7列均为00 00 00 00(FB54F059为10 00 00 00)。通过c32分析很容易发现FB54F059这个文件与众不同(可能可以通过这个来确定redirect?)
为什么我解密不了那个script.npk文件呢。。。求大神指导
系统为标题所示,同时包含python3.7 python.2.7版本,make项目的时候提示标题错误,我尝试安装了magic的库,可是无效,请问我该如何解决,谢谢
unnpk和mapnpk是build出来了,不过./unnpk script.npk /home/me/unnpk 之后解压出的全是二进制文件,感觉和这个memmem函数的warning有关?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.