Help with .xnt's from PSU

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
Aeternal
ultra-n00b
Posts: 7
Joined: Wed Sep 28, 2016 2:54 am

Help with .xnt's from PSU

Post by Aeternal »

I'm attempting to decrypt Phantasy Star Universe's filetypes. They use a modified version of Ninja Chunk (used in PSO). In some cases they use the same formats as PSO but they're encrypted under another compression method. In this .xnt contains various .xvr's (similar enough to .dds to the point that you can simply change the header and open it). I need help trying to get the .xvr's out. From the file names I can only assume that these are textures for the main menu options.

https://mega.nz/#!M4Vy2ADa!q18xgaUhljrI ... S9OyVIXkVo
Aeternal
ultra-n00b
Posts: 7
Joined: Wed Sep 28, 2016 2:54 am

Re: Help with .xnt's from PSU

Post by Aeternal »

Here's another file with more "exciting" textures inside.

https://mega.nz/#!E0MD1IhY!8Cz0GkvWVJmH ... dPsddV6CDg
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 869 times

Re: Help with .xnt's from PSU

Post by Acewell »

neither of your samples store texture data, look at the file size, unless they are tiny textures
they look like index files for something else or maybe it was an incomplete extraction. :]
Aeternal
ultra-n00b
Posts: 7
Joined: Wed Sep 28, 2016 2:54 am

Re: Help with .xnt's from PSU

Post by Aeternal »

AceWell wrote:neither of your samples store texture data, look at the file size, unless they are tiny textures
they look like index files for something else or maybe it was an incomplete extraction. :]
.xnt's aren't the actual textures. They are some sort of archive for the textures. Viewing the data of the file's will show that they contain the actual textures (.xvr's). I need help with being able to extract the textures from .xnt's.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 869 times

Re: Help with .xnt's from PSU

Post by Acewell »

Aeternal wrote:.xnt's aren't the actual textures
i know, they contain no texture data. :]
They are some sort of archive for the textures
no it is not an archive, there is nothing to extract
Viewing the data of the file's will show that they contain the actual textures (.xvr's).
no textures, just texture names, looks like an index for another file like i said before.
I need help with being able to extract the textures from .xnt's.
until you provide some samples with actual texture data there is nothing more to be done here. (:
Aeternal
ultra-n00b
Posts: 7
Joined: Wed Sep 28, 2016 2:54 am

Re: Help with .xnt's from PSU

Post by Aeternal »

AceWell wrote:
Aeternal wrote:.xnt's aren't the actual textures
i know, they contain no texture data. :]
They are some sort of archive for the textures
no it is not an archive, there is nothing to extract
Viewing the data of the file's will show that they contain the actual textures (.xvr's).
no textures, just texture names, looks like an index for another file like i said before.
I need help with being able to extract the textures from .xnt's.
until you provide some samples with actual texture data there is nothing more to be done here. (:
Ah I see. Sorry it's my first time doing this sort of research.

These .xnt's are typically accompanied by the actual model file and what I can only assume are particles (also an index file maybe?) or they are data switches of some sort that are applied on the model. These other files are .xnj's and usually .xna's (this file varies).

Here are all of the files: (the .nbl is the archive in which this room object was packed. Forgot to remove it)
https://mega.nz/#!Rh93lLJQ!s3vL7YGVaaGj ... tLRSIDvWvA
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 869 times

Phantasy Star Universe

Post by Acewell »

i still have not seen any texture data yet but there is surely a model in ob_xxx_amy.xnj :D
1st submesh of 4
ob_xxx_amy_xnj.png
what platform did your samples come from?
You do not have the required permissions to view the files attached to this post.
Aeternal
ultra-n00b
Posts: 7
Joined: Wed Sep 28, 2016 2:54 am

Re: Phantasy Star Universe

Post by Aeternal »

AceWell wrote:i still have not seen any texture data yet but there is surely a model in ob_xxx_amy.xnj :D
1st submesh of 4
ob_xxx_amy_xnj.png
what platform did your samples come from?
These samples came from the PC version of PSU. Extracted using Gasetools from Essen's Github.

Also, awesome work!
Aeternal
ultra-n00b
Posts: 7
Joined: Wed Sep 28, 2016 2:54 am

Re: Phantasy Star Universe

Post by Aeternal »

AceWell wrote:i still have not seen any texture data yet but there is surely a model in ob_xxx_amy.xnj :D
1st submesh of 4
ob_xxx_amy_xnj.png
what platform did your samples come from?
Hmm, the texture data is held in the TMLL header chunk (the other header inside the .nbl archive). Current tools can only extract the NMLL header chunk. Ya think someone could look into researching the chunk a bit more? I'm not experienced enough to research and create a proper extractor for this.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 869 times

Re: Help with .xnt's from PSU

Post by Acewell »

from the looks of the gasetools source on github, there is some encryption and compression involved.
i would run this by aluigi on zenhax, he likes C programming and has a knack for converting tools to
simple bms scripts, post a few nbl samples and a link to the gasetools nbl source and maybe he can help. :D
https://github.com/essen/gasetools/tree/master/nbl
Post Reply