The Game is 《Demon Seals HD》 After using this script http://aluigi.altervista.org/bms/nxpk.bms, extract the package successfully, but the file name is not what I want.
Later, I use the default decompression way to extract the texture.npk.info file, find the file name.
I tried to decompress the npk file in the order of the file name, extract successfully and with the correct file name. but in other npk files, the content and name of the corresponding error, such as DDS texture is stored configuration.
So, how to use these NAME_CRC data in the npk file to find the corresponding file name? Thank you
Ah, I have just re-read your post and what you said about the "order" which doesn't match the names of the extracted files. In npk.info you have a 128bit hash while in the archive you have a 32bit CRC so there is no direct reference except for the order. Currently I have made no other checks, this is just a quick update on the fly after I noticed your note.
aluigi wrote:Script 0.2.1, all the doubts have been solved and now it works perfectly.
In fact is not perfect, the name will not be able to get right, work progress is 99%, seems to be affected by another file sample:https://yadi.sk/d/tJn0iuXsxmRdb
aluigi wrote:Ah, I have just re-read your post and what you said about the "order" which doesn't match the names of the extracted files. In npk.info you have a 128bit hash while in the archive you have a 32bit CRC so there is no direct reference except for the order. Currently I have made no other checks, this is just a quick update on the fly after I noticed your note.
Name_CRC is a 128-bit Hash??? I use the 0.1 script which happens to be three long, just 128, and, probably because of this Hash, causing the contents of the file error, such as the texture can not be opened (not just the content can not correspond to the problem) let me try.
aluigi wrote:No encryption/compression. When you see data with a sense and low entropy using a hex editor, it means that it's plain.
Hey ~aluigi. I noticed that the script does not extract the names of the other documents of the same type, you can try to update the script? Some NPK file doesn't even have the info, how can we get them the correct name? For this engine model, I made great progress, but I find that if you want to make a script that requires a full directory with the correct name of the file, can you help me?