Ok wirh help of chrrox and finale00, we get unpacker for 9Dragones, so well here I upload some samples for check it.
Web: 9Dragons
Client: Client
9Dragons 2D-3D Samples
The rules have been updated, read them now: Rules!
[Request] 9Dragons
- CriticalError
- double-veteran
- Posts: 674
- Joined: Sun Jul 05, 2009 2:03 am
- Has thanked: 97 times
- Been thanked: 37 times
-
- M-M-M-Monster veteran
- Posts: 2382
- Joined: Sat Apr 09, 2011 1:22 am
- Has thanked: 170 times
- Been thanked: 300 times
Re: [Request] 9Dragons
-vertex and index buffers are obvious.
-The number of textures for a particular mesh does not seem to be determined beforehand. May have to do some rough checks just to deal with those.
-found two different vertex structs. Not obvious how to determine which one to use

EDIT: looks like they use a float to determine the mesh type. You can find this float right after the first integer (idstring maybe)
0.72 is skinned mesh
0.73 is static mesh (buildings and stuff)
That should be how the number of textures is determined.
-The number of textures for a particular mesh does not seem to be determined beforehand. May have to do some rough checks just to deal with those.
-found two different vertex structs. Not obvious how to determine which one to use

EDIT: looks like they use a float to determine the mesh type. You can find this float right after the first integer (idstring maybe)
0.72 is skinned mesh
0.73 is static mesh (buildings and stuff)
That should be how the number of textures is determined.
-
- M-M-M-Monster veteran
- Posts: 2382
- Joined: Sat Apr 09, 2011 1:22 am
- Has thanked: 170 times
- Been thanked: 300 times
Re: [Request] 9Dragons
Ok I've parsed the mesh format and it loads both types of models.
http://db.tt/8JM9Mnso
The section after the index buffer is vertex weights.
The skeleton is located in the .Xbp file.
I may change the script so that you should place all textures in a folder called "texture", just because all of the textures are stored in the same folder.
When you unpack the files, you should consider re-organizing them.
So for example, move all of the textures with the word "object" into a folder for objects only.

Static and skinned meshes all loaded.

http://db.tt/8JM9Mnso
The section after the index buffer is vertex weights.
The skeleton is located in the .Xbp file.
I may change the script so that you should place all textures in a folder called "texture", just because all of the textures are stored in the same folder.
When you unpack the files, you should consider re-organizing them.
So for example, move all of the textures with the word "object" into a folder for objects only.

Static and skinned meshes all loaded.
