Jump to content

Identity V Assets (.npk) zlib compression


Go to solution Solved by TeaEffTeu,

Recommended Posts

  • Engineers
Posted
8 minutes ago, Zambies said:

im sorry for question but when i run exe it show console flash then never does anything else 😥 do i put exe somewhere special or download other files? i put on desktop and ran 😥 sry

This is a command-line tool, you'll need to run it through cmd or any other console.

  • Thanks 1
  • 3 weeks later...
Posted
On 2/10/2025 at 9:32 PM, Zambies said:

thank u!!! it works well now!! 🙌

Heyy could you please tell me how you ran that tool? I tried cmd but this is what its showing. I don't know how to navigate beyond this. 

Screenshot (99).png

  • Engineers
Posted

You can run `nxre help export` for more info. Otherwise, just run `nxre export file.npk` to quickly export one or more NPKs.

Posted
On 3/4/2025 at 6:49 PM, TeaEffTeu said:

You can run `nxre help export` for more info. Otherwise, just run `nxre export file.npk` to quickly export one or more NPKs.

What is the string of characters that we need to type in the cmd after the `nxre help export`? 

sorry actually i don't have much idea on how to use cmd so i just need to know what exactly to type in.

Posted
15 hours ago, Aerlene_ said:

What is the string of characters that we need to type in the cmd after the `nxre help export`? 

sorry actually i don't have much idea on how to use cmd so i just need to know what exactly to type in.

example: ./nxre.exe export res.npk

  • 2 weeks later...
Posted (edited)

Is there a bms script or other script that decrypts nxs3 available, I have tried multiple nxs3 decryption scripts since the text file was encrypted to nxs3, but they all have errors
I've also tried writing scripts from quickbms myself, but it seems to be prompting for related errors for the key

Edited by wq223
  • Engineers
Posted
14 minutes ago, wq223 said:

Is there a bms script or other script that decrypts nxs3 available, I have tried multiple nxs3 decryption scripts since the text file was encrypted to nxs3, but they all have errors
I've also tried writing scripts from quickbms myself, but it seems to be prompting for related errors for the key

I believe NeoXtractor does, but I'm not sure if the latest research has been published.

  • 2 weeks later...
Posted
2 hours ago, Zhang189509 said:

似乎已经更新了加密版本,对于新的script.npk所开包的文件全是nxs3,目前还有bms的更新脚本吗?

 

2 hours ago, Zhang189509 said:

似乎已经更新了加密版本,对于新的script.npk所开包的文件全是nxs3,目前还有bms的更新脚本吗?

There is a tool written by a master on github, denpk2, but because the required dependency pytools was deleted by master, the program cannot be compiled and run. I deleted other contents of this tool and canceled the pytools dependency, only targeted the decryption logic of nxs3, and adjusted the script

All .nxs files in one folder can now be processed in batches and outputted to another folder

Just locate the Cargo.toml directory and use

cargo build --release command compiler

You will get a new folder and include the executable program

Create a folder to import the .nxs file and run the executable command

cargo run --release -- input folder output folder

denpk2.zip

  • Engineers
Posted
9 hours ago, ymnex said:

Is this doable?

Unfortunately, the NPK has an encrypted header (this is new) and an updated index table format (and possibly also encrypted). Without knowing either of the encryption methods/keys, it's incredibly difficult. It's not feasible to come up with a clean solution without brute forcing each NPK.

Posted
On 4/2/2025 at 4:31 AM, TeaEffTeu said:

不幸的是,NPK 有一个加密的标头(这是新的)和更新的索引表格式(可能也是加密的)。在不知道任何加密方法/密钥的情况下,这非常困难。如果不对每个 NPK 进行暴力破解,就想出一个干净的解决方案是不可行的。

I extracted npk files from an installation package from 2018 and found there's no standard header. This seems to have been the case for many years.

Posted
37 minutes ago, ymnex said:

我从 2018 年的安装包中提取了 npk 文件,发现没有标准头文件。这种情况似乎已经持续了很多年了。

I'm very interested in knowing which game this is, is it that every file keeps the same head? It seems to be valid plaintext after the head, but not sure if it contains compression

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...