Offtopic: Into Commodore 64 (6502) coding, pixeling or music?
Xentax is looking for new members for the C64 activities!
Just drop us a message at forum@xentax.com and join the Scene Team!

Forum rules: Click here

help ntp3 to dds

Get your graphics formats figures out here! Got details for others? Post here!
User avatar
dj082502
mega-veteran
mega-veteran
Posts: 202
Joined: Wed Oct 13, 2010 3:47 am
Has thanked: 37 times
Been thanked: 21 times

help ntp3 to dds

Post by dj082502 » Tue Jan 17, 2012 1:26 pm

Hi all
I have some textures in .nut file from Naruto Shippuden:Ultimate Ninja Storm 2
File headers are in "NTP3", the similar format Idolm@ster uses for texture files.
I don't know how to convert nut file to dds file.
Just open the nut file to TextureFinder.
Image
Image
Can someone help me convert nut to dds!!!

Here is some nut file
http://www.mediafire.com/?x4bybrqy0e427hi

User avatar
dj082502
mega-veteran
mega-veteran
Posts: 202
Joined: Wed Oct 13, 2010 3:47 am
Has thanked: 37 times
Been thanked: 21 times

Re: help ntp3 to dds

Post by dj082502 » Wed Jan 18, 2012 3:50 am

Here is another nut file.
Image

Image

Is no one interested in this post.

User avatar
chrrox
Moderator
Posts: 2552
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1289 times

Re: help ntp3 to dds

Post by chrrox » Wed Jan 18, 2012 5:02 am

try this it may work its probably the same format.
viewtopic.php?f=16&t=4814

User avatar
dj082502
mega-veteran
mega-veteran
Posts: 202
Joined: Wed Oct 13, 2010 3:47 am
Has thanked: 37 times
Been thanked: 21 times

Re: help ntp3 to dds

Post by dj082502 » Wed Jan 18, 2012 5:18 am

chrrox wrote:try this it may work its probably the same format.
viewtopic.php?f=16&t=4814
Thanks for your interest.
But, an error has occurred
Image

0xFAIL
VVIP member
VVIP member
Posts: 50
Joined: Fri Oct 21, 2011 10:59 am
Has thanked: 7 times
Been thanked: 20 times

Re: help ntp3 to dds

Post by 0xFAIL » Wed Jan 18, 2012 10:13 pm

I saw NT*3 somewhere before... *thinks* Right!
Eternal Sonata features NTX3 files in the XBOX 360 demo (Probably the 'X' is for XBOX and the 'P' for Playstation),
they also have the same structure.

But there was something else... *thinks* ah...., .nut files! I remember them from Tales of Symphonia (PS2 version)! They had TIM2 instead of NT*3
(funny thing I was currently working on them anyways :-D)

All of them (ES,ToS and those files) have the same structure (eXt and GIDX readable in the first few bytes)



I will start tomorrow to write a generic .nut converter (will take 2-3 weeks I'm slow :-D ) with a GUI
because this seems useful for multiple games and the format seems pretty straightforward.



Alternatively if you just want a few files converted I can do it by hand (slapping a custom DDS header on them)



Edit after reading linked topic above:
Maybe just changing the endianess in the script to little could do the trick, PS3 is little endian if I remember correct (didn't test it)

User avatar
dj082502
mega-veteran
mega-veteran
Posts: 202
Joined: Wed Oct 13, 2010 3:47 am
Has thanked: 37 times
Been thanked: 21 times

Re: help ntp3 to dds

Post by dj082502 » Thu Jan 19, 2012 5:49 am

0xFAIL wrote:I saw NT*3 somewhere before... *thinks* Right!
Eternal Sonata features NTX3 files in the XBOX 360 demo (Probably the 'X' is for XBOX and the 'P' for Playstation),
they also have the same structure.
But there was something else... *thinks* ah...., .nut files! I remember them from Tales of Symphonia (PS2 version)! They had TIM2 instead of NT*3
(funny thing I was currently working on them anyways :-D)
All of them (ES,ToS and those files) have the same structure (eXt and GIDX readable in the first few bytes)
I will start tomorrow to write a generic .nut converter (will take 2-3 weeks I'm slow :-D ) with a GUI
because this seems useful for multiple games and the format seems pretty straightforward.
Alternatively if you just want a few files converted I can do it by hand (slapping a custom DDS header on them)
Edit after reading linked topic above:
Maybe just changing the endianess in the script to little could do the trick, PS3 is little endian if I remember correct (didn't test it)
Thanks for your interest.
I'm looking forward to it.

0xFAIL
VVIP member
VVIP member
Posts: 50
Joined: Fri Oct 21, 2011 10:59 am
Has thanked: 7 times
Been thanked: 20 times

Repository

Post by 0xFAIL » Thu Jan 19, 2012 8:45 am

I will update here, but if you want to see the progress live:
Repository Link

Currently researching all the files.

Eternal Sonata looks like the header is slightly different.

User avatar
dj082502
mega-veteran
mega-veteran
Posts: 202
Joined: Wed Oct 13, 2010 3:47 am
Has thanked: 37 times
Been thanked: 21 times

Re: Repository

Post by dj082502 » Thu Jan 19, 2012 7:34 pm

0xFAIL wrote:I will update here, but if you want to see the progress live:
Repository Link

Currently researching all the files.

Eternal Sonata looks like the header is slightly different.
At least four ntp3 that i know of.
Naruto Narutimate Storm(=Naruto Ultimate Ninja Storm)
Naruto Shippuden: Narutimate Storm 2(=Naruto Shippuden: Ultimate Ninja Storm 2)
Dragon Ball Z: Burst Limit
Last edited by dj082502 on Fri Jan 27, 2012 9:16 am, edited 1 time in total.

0xFAIL
VVIP member
VVIP member
Posts: 50
Joined: Fri Oct 21, 2011 10:59 am
Has thanked: 7 times
Been thanked: 20 times

Re: help ntp3 to dds

Post by 0xFAIL » Sat Jan 21, 2012 7:14 pm

Progress!

Figured out most of the Tales of Symphonia .nut file structure and it matches with the NTP3 files.
(see LINK for results)

What I would like to have:
3 (or more) example files per game (please make a new folder for each game) in a zip file uploaded to mediafire.
Could you upload them please?

Why are the files needed?
I have to look if there are any more image data formats.
So far I only have found DXTn and 8BPP+256 Color CLUT.

What comes next?
1)Completing file spec.
2)completing DDS header creator in the toolbox.
3)Writing converter.

User avatar
dj082502
mega-veteran
mega-veteran
Posts: 202
Joined: Wed Oct 13, 2010 3:47 am
Has thanked: 37 times
Been thanked: 21 times

Re: help ntp3 to dds

Post by dj082502 » Sat Jan 21, 2012 7:54 pm

0xFAIL wrote:Progress!

Figured out most of the Tales of Symphonia .nut file structure and it matches with the NTP3 files.
(see LINK for results)

What I would like to have:
3 (or more) example files per game (please make a new folder for each game) in a zip file uploaded to mediafire.
Could you upload them please?

Why are the files needed?
I have to look if there are any more image data formats.
So far I only have found DXTn and 8BPP+256 Color CLUT.

What comes next?
1)Completing file spec.
2)completing DDS header creator in the toolbox.
3)Writing converter.
The related file had been sent as an attachment to PM.

User avatar
youngmark
veteran
Posts: 144
Joined: Thu Sep 02, 2010 1:38 pm
Has thanked: 30 times
Been thanked: 5 times

Re: help ntp3 to dds

Post by youngmark » Sat Jan 28, 2012 9:02 am

Any news about the ntp3 format?

0xFAIL
VVIP member
VVIP member
Posts: 50
Joined: Fri Oct 21, 2011 10:59 am
Has thanked: 7 times
Been thanked: 20 times

Re: help ntp3 to dds

Post by 0xFAIL » Mon Jan 30, 2012 1:45 am

Short update

I'm currently having a problem with the Mip Maps, I have to find a way to reliablely detect them (and the irregular header that
comes with them).

Also working on the DDS header generator is slow cause I have to understand DXT/STC3 a bit more. :o

viperzerofsx
veteran
Posts: 92
Joined: Thu May 27, 2010 5:07 am
Has thanked: 7 times
Been thanked: 5 times

Re: help ntp3 to dds

Post by viperzerofsx » Fri Feb 10, 2012 12:37 am

star fox assault has a .nut and it is also a namco game see if it helps
You do not have the required permissions to view the files attached to this post.

User avatar
dj082502
mega-veteran
mega-veteran
Posts: 202
Joined: Wed Oct 13, 2010 3:47 am
Has thanked: 37 times
Been thanked: 21 times

Re: help ntp3 to dds

Post by dj082502 » Mon Mar 05, 2012 2:33 am

Here's a NTP3 unpack quickbms script

Code: Select all

idstring NTP3
endian big
get version short
get files short
goto 0x10
for i = 0 < files
savepos offset
get size long
get name basename
string name + i
string name + .dds
log name offset size
math offset + size
goto offset
next i
I have altered chrrox's NTXR quickbms script.
viewtopic.php?p=40987#p40987

User avatar
Nathen41
advanced
Posts: 43
Joined: Sun Apr 18, 2010 8:35 am
Location: Under Your Pillow
Has thanked: 2 times
Been thanked: 1 time

Re: help ntp3 to dds

Post by Nathen41 » Sat Sep 01, 2012 2:00 am

Ugh, so close and yet so far away lol. Trying to find Pain's Cloak Texture T_________T maybe im not looking in right place... /sigh
Nathen41 A.K.A Unaisis of Fenrir

Post Reply