READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Tianji model file ^^

Post questions about game models here, or help out others!
Post Reply
babebabe
beginner
Posts: 36
Joined: Fri Jan 06, 2006 5:19 pm

Tianji model file ^^

Post by babebabe » Thu Nov 01, 2007 5:09 pm

Here is model file from Tianji game (tj.ferrygame.com)
Believed that format is modified from mdx and m2 of WoW, someone pls help me figure out their format :D
http://www.bibabibo.net/yishou.zip

fatduck
mega-veteran
mega-veteran
Posts: 315
Joined: Wed Aug 02, 2006 10:07 pm
Has thanked: 10 times
Been thanked: 93 times

Post by fatduck » Mon Nov 05, 2007 7:00 pm

warcraft & WOW models are tag based. So they are very easy to understand! I spent ten minutes to come up with these:

Code: Select all

each tag:
char[4]     tag
dword       tagLength
<data>
The geometry data was in "geom" tag. and each geometry(3d model) could have many "chks"(chunks/parts).

Code: Select all

chks tag format:
char[4]     tag              //"chks"
dword       tagLength
dword       nVerts
dword       nFaces
dword       nMaterialIndex
struct Vert {
float X 3   pointXYZ
} Vert[nVerts]
struct Normal {
float X 3   pointXYZ
} Normal[nVerts]
struct UV {
float X 2   textureUV
} UV[nVerts]
struct BoneVert {
dword       boneIndex
} BoneVert[nVerts]
struct Face {
word X 3   faceIndex
} Face [nFaces]
...
another tag
...
No more Fatduck, no more FatImporter, Byebye everyone!

CakeIsALie
n00b
Posts: 16
Joined: Thu Oct 04, 2007 9:04 pm

Re: Tianji model file ^^

Post by CakeIsALie » Tue Apr 15, 2008 6:47 pm

Thanks for this!
This helped me too.

Lol 666 posts

Karpati
mega-veteran
mega-veteran
Posts: 305
Joined: Thu Dec 07, 2006 11:25 pm
Has thanked: 7 times
Been thanked: 58 times

Re: Tianji model file ^^

Post by Karpati » Mon Apr 21, 2008 3:59 pm

CakeIsALie,

Did you read the PM I sent to you 2 days ago ?

Karpati
mega-veteran
mega-veteran
Posts: 305
Joined: Thu Dec 07, 2006 11:25 pm
Has thanked: 7 times
Been thanked: 58 times

Re: Tianji model file ^^

Post by Karpati » Fri Apr 25, 2008 6:41 pm

CakeIsALie,

Did you see this little gallery ?

http://web.t-online.hu/karpo/gallery_tianji_online.html

finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 296 times

Re: Tianji model file ^^

Post by finale00 » Fri Aug 12, 2011 2:19 am

These models are pretty nice :)

But it looks like the words are mirrored again.
There is something inherently wrong with how I am parsing the files cause all of my words are constantly mirrored! Though I guess I can just flip the x-value for the coordinate to mirror the model.

It seems like there are more meshes than there are materials too.
You do not have the required permissions to view the files attached to this post.

Post Reply