Jump to content

Identity V Assets (.npk) zlib compression


Go to solution Solved by TeaEffTeu,

Recommended Posts

34 minutes ago, Furaex said:

Hello, identity v has recently been updated with a new engine. After exporting, the file format is X-4. Is there any solution? Do you have a backup of the old version?

Please ensure that you are using v0.4.3 of the archive extraction script. Any earlier versions do not support the encryption that came with the NeoX 2 engine update.

Link to comment
Share on other sites

On 6/10/2024 at 8:37 AM, vioywv said:

heya! were u able to find info ab this or eventually find emmas files?! i really want the model, but im encountering the same problem. 😞

unfortunately, i could never figure out the issue. i have reason to believe its something related to RMAViewer and not the bms script itself. we'll just have to wait and see if someone makes an alternative to RMAViewer and see if ripping becomes easier lol

i could only ninjarip the hello kitty emma sadly so you'll have to manually rig stuff

Link to comment
Share on other sites

On 9/15/2024 at 2:59 AM, TeaEffTeu said:

Please ensure that you are using v0.4.3 of the archive extraction script. Any earlier versions do not support the encryption that came with the NeoX 2 engine update.

While the script does help extracting the npk files, the dat files inside are not loadable in RMA anymore. Maybe a few load, if at all. This goes for the CHR NPK files. Any idea how to open them or maybe a new bms script is needed?

Link to comment
Share on other sites

1 hour ago, Minako said:

While the script does help extracting the npk files, the dat files inside are not loadable in RMA anymore. Maybe a few load, if at all. This goes for the CHR NPK files. Any idea how to open them or maybe a new bms script is needed?

RMAViewer cannot load the new model version, you can try using https://github.com/zhouhang95/neox_tools to view the models.

Link to comment
Share on other sites

5 minutes ago, TeaEffTeu said:

RMAViewer cannot load the new model version, you can try using https://github.com/zhouhang95/neox_tools to view the models.

Yes, I've already tried that before making my earlier post, and none of the dat files can be converted to iqe anymore either. I just keep getting errors, whereas before, it always worked. I'm guessing it's because that github tool is for the previous engine version and not for Neox2 unfortunately. In case I'm doing something wrong, are you able to open the new dat files with the github tool? Otherwise, I feel this is a lost cause unless someone makes a better RMA or an updated Neox2 tool 

Link to comment
Share on other sites

7 minutes ago, Minako said:

Yes, I've already tried that before making my earlier post, and none of the dat files can be converted to iqe anymore either. I just keep getting errors, whereas before, it always worked. I'm guessing it's because that github tool is for the previous engine version and not for Neox2 unfortunately. In case I'm doing something wrong, are you able to open the new dat files with the github tool? Otherwise, I feel this is a lost cause unless someone makes a better RMA or an updated Neox2 tool 

The tool is unstable. It works sometimes, but it crashes for reasons I don't understand. I don't think it's an issue with the new engine; I've opened models of the same version from other games, and they cause the tool to behave similarly.

Link to comment
Share on other sites

14 minutes ago, TeaEffTeu said:

The tool is unstable. It works sometimes, but it crashes for reasons I don't understand. I don't think it's an issue with the new engine; I've opened models of the same version from other games, and they cause the tool to behave similarly.

Strange. I've never had issues with the tool. It has never crashed for me, and it has converted dat files perfectly on the previous Neox engine. Whenever I try the new dat files from Neox 2 though, every single one of them give me an error and just cannot be converted. I've tried dat files from two npk's and they're all impossible now. That's why I'm assuming this is due to Neox 2 engine because I've never had issues beforehand using python, but now suddenly every single new dat file just errors out and can't be converted.

Link to comment
Share on other sites

3 minutes ago, Minako said:

Strange. I've never had issues with the tool. It has never crashed for me, and it has converted dat files perfectly on the previous Neox engine. Whenever I try the new dat files from Neox 2 though, every single one of them give me an error and just cannot be converted. I've tried dat files from two npk's and they're all impossible now. That's why I'm assuming this is due to Neox 2 engine because I've never had issues beforehand using python, but now suddenly every single new dat file just errors out and can't be converted.

All existing models have been updated to use the new model version. The tool does not fully support it which is why you've been experiencing these problems. Unfortunately, you'll have to wait until the tool is updated to support the new models.

  • Like 1
Link to comment
Share on other sites

  • 2 months later...

Currently when using the nxpk.bms script, the texture file (which I think is in astc format) is renamed to .dat
For the astc file renamed to .dat, you only need to check whether it meets the astc requirements and then modify the suffix to open it with a picture viewer.
There is also an astc file that is missing the file header, with the suffix .com, but it contains width and height metadata. I don’t know why, but the block size seems to default to 6x6. At least now, there are rarely undisplayable contents.
So I wrote a script to convert .com files to .astc, it's a bit weird but it works
Just type the command in the command line interface
python com.py Input folder Output folder

 

id5-astc.thumb.jpg.f19b6aba7ec3ad8bdb351ba835a77d30.jpg

 

 

com.py

  • Like 1
Link to comment
Share on other sites

7 minutes ago, wq223 said:

Currently when using the nxpk.bms script, the texture file (which I think is in astc format) is renamed to .dat
For the astc file renamed to .dat, you only need to check whether it meets the astc requirements and then modify the suffix to open it with a picture viewer.
There is also an astc file that is missing the file header, with the suffix .com, but it contains width and height metadata. I don’t know why, but the block size seems to default to 6x6. At least now, there are rarely undisplayable contents.
So I wrote a script to convert .com files to .astc, it's a bit weird but it works
Just type the command in the command line interface
python com.py Input folder Output folderid5-astc.thumb.jpg.f19b6aba7ec3ad8bdb351ba835a77d30.jpg

com.py 1.59 kB · 1 download

I was having trouble determining the CompBlks format by myself, thanks for figuring it out.

I can't really do anything interesting with the nxpk script other than add/change compression and encryption methods. I ran into limitations with QuickBMS while trying to implement a custom extension guesser. I'm currently developing a new experimental tool, but I suggest using NeoXtractor which was released recently.

Link to comment
Share on other sites

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...