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
The Forum is up for sale: XeNTaX Forum looking for new owner
[PS2] Gantz NKP models and texture files
-
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
ok so i finally managed to convert texture to tga, each nkt texture have this structure:
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
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 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
_-=<(¯`·._.·[ CodeMan ]·._.·´¯)>=-_
- 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
Kaddyhttp://www.alhexx.com/releases/kaddy.htmlshadowmoy wrote:what do you used to unpack the nkp files ?
-
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
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
- nkp extractor
- nkt2tga converter
(seems some pics are swizled or something ( will look at it later)
http://www.mediafire.com/?mi12chyuvmoa4ug
_-=<(¯`·._.·[ CodeMan ]·._.·´¯)>=-_
