The Forum is up for sale: XeNTaX Forum looking for new owner

[PS2] Gantz NKP models and texture files

Post questions about game models here, or help out others!
Post Reply
shadowmoy
veteran
Posts: 153
Joined: Sat Feb 21, 2009 2:29 pm
Has thanked: 19 times
Been thanked: 43 times

[PS2] Gantz NKP models and texture files

Post by shadowmoy »

hi there , just found out this mangas and the ps2 game derived from it, here is the nkp model files for kishiro if someone want to help on this one

the nkp files are packages containing several files, in it you can found:
- nkt witch is texture block that is also like tim2 files (paletized 256 color textures at what i have seen)
- nkm witch seems to be the mesh blocks
- some text files containing pointers ???
- nka for animations

i have not started to work really on this one yet as i am busy with lot of other projects so if someone want to start working on it , sample files are here:

http://www.mediafire.com/?ui9neo62n0u6adh
_-=<(¯`·._.·[ CodeMan ]·._.·´¯)>=-_
User avatar
youngmark
veteran
Posts: 145
Joined: Thu Sep 02, 2010 1:38 pm
Has thanked: 30 times
Been thanked: 6 times

Re: [PS2] Gantz NKP models and texture files

Post by youngmark »

Here are the files unpacked
I am sorry I cannot be of much help.
Last edited by youngmark on Fri Apr 13, 2012 7:29 pm, edited 1 time in total.
shadowmoy
veteran
Posts: 153
Joined: Sat Feb 21, 2009 2:29 pm
Has thanked: 19 times
Been thanked: 43 times

Re: [PS2] Gantz NKP models and texture files

Post by shadowmoy »

ok so i finally managed to convert texture to tga, each nkt texture have this structure:

Code: Select all

type nktheader
%magic         '//always &h1A54B4E ==441731918 ==( NKT &H1A 
$unkna * 36  '// 9 unknown integers
%paloffset     '//palette offset
%palsize       '//size of palette data in bytes (must be divided by 4 to get BGRA count)
$unkb * 224  '// another block of integers unknown
%width         '//texture width
%height        '//texture height 
$unkc * 168  '// another block of integers unknown
end type 
then you read the palette array
then you read the image indice data witch is always datasize= width * height
once done rebuild the image using the palette entries and do some stuffs to fix the palette order if needed
quite simple in fact.

now i will try my hands on the mesh format that looks real pain in ass :D
_-=<(¯`·._.·[ CodeMan ]·._.·´¯)>=-_
shadowmoy
veteran
Posts: 153
Joined: Sat Feb 21, 2009 2:29 pm
Has thanked: 19 times
Been thanked: 43 times

Re: [PS2] Gantz NKP models and texture files

Post by shadowmoy »

what do you used to unpack the nkp files ?
_-=<(¯`·._.·[ CodeMan ]·._.·´¯)>=-_
User avatar
youngmark
veteran
Posts: 145
Joined: Thu Sep 02, 2010 1:38 pm
Has thanked: 30 times
Been thanked: 6 times

Re: [PS2] Gantz NKP models and texture files

Post by youngmark »

shadowmoy wrote:what do you used to unpack the nkp files ?
Kaddyhttp://www.alhexx.com/releases/kaddy.html
shadowmoy
veteran
Posts: 153
Joined: Sat Feb 21, 2009 2:29 pm
Has thanked: 19 times
Been thanked: 43 times

Re: [PS2] Gantz NKP models and texture files

Post by shadowmoy »

here are the tools i just wrote for this app:
- nkp extractor
- nkt2tga converter
(seems some pics are swizled or something ( will look at it later)
http://www.mediafire.com/?mi12chyuvmoa4ug
_-=<(¯`·._.·[ CodeMan ]·._.·´¯)>=-_
Post Reply