Poll & Discussion: We wish the site to continue (Y/N)
Rusty Hearts
-
chrrox
- Moderator
- Posts: 2602
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1397 times
Re: Rusty Hearts
the format is very simple just need to parse the skeleton and it should be done.
the motion is in the .ma files.
the motion is in the .ma files.
-
chrrox
- Moderator
- Posts: 2602
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1397 times
Re: Rusty Hearts
Here is a 3ds max importer
Supported so far
Verts,Normals,UV's,Faces

Supported so far
Verts,Normals,UV's,Faces

You do not have the required permissions to view the files attached to this post.
-
finale00
- M-M-M-Monster veteran

- Posts: 2382
- Joined: Sat Apr 09, 2011 1:22 am
- Has thanked: 170 times
- Been thanked: 303 times
Re: Rusty Hearts
Hmm, is there way to parse the file without jumping from offset to offset? Or is that how the format is structured? (I notice many of your scripts store offsets and then jump around to store data. Don't know if this is just something that is convenient in max script)
-
chrrox
- Moderator
- Posts: 2602
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1397 times
Re: Rusty Hearts
There is a Chunk Table at the start of this file that gives the offset , size , and chunk type.
i just seek to chunk type 6 mesh
i just seek to chunk type 6 mesh
-
finale00
- M-M-M-Monster veteran

- Posts: 2382
- Joined: Sat Apr 09, 2011 1:22 am
- Has thanked: 170 times
- Been thanked: 303 times
-
chrrox
- Moderator
- Posts: 2602
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1397 times
Re: Rusty Hearts
it just gives an id string
then it gives a version?
then it gives the number of chunks
then there is a list of offsets * the number of chunks
then a list of the chunk size * the number of chunks
then there is a chunk id/type * the number of chunks
i just store these in an array then loop through them and when chunk type == 6 go to that offset and read the mesh.
i am not sure where you are confused.
then it gives a version?
then it gives the number of chunks
then there is a list of offsets * the number of chunks
then a list of the chunk size * the number of chunks
then there is a chunk id/type * the number of chunks
i just store these in an array then loop through them and when chunk type == 6 go to that offset and read the mesh.
i am not sure where you are confused.
-
finale00
- M-M-M-Monster veteran

- Posts: 2382
- Joined: Sat Apr 09, 2011 1:22 am
- Has thanked: 170 times
- Been thanked: 303 times
Re: Rusty Hearts
I got the chunk table part after looking at the script. Didn't know what it was when I first looked at it.
- CriticalError
- double-veteran

- Posts: 678
- Joined: Sun Jul 05, 2009 2:03 am
- Has thanked: 104 times
- Been thanked: 41 times
Re: Rusty Hearts
the importer just don't do nothing, don't know why, just try import Mgm files and nothing happened anyway thanks for Importer CHROXfinale00 wrote:I got the chunk table part after looking at the script. Didn't know what it was when I first looked at it.
-
chrrox
- Moderator
- Posts: 2602
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1397 times
Re: Rusty Hearts
this adds bones no weights yet because i am not sure on how the bone id's work yet.
thanks to help from reveal8n
thanks to help from reveal8n
You do not have the required permissions to view the files attached to this post.
- CriticalError
- double-veteran

- Posts: 678
- Joined: Sun Jul 05, 2009 2:03 am
- Has thanked: 104 times
- Been thanked: 41 times
Re: Rusty Hearts
well don't know really, I only get bones in MAX and you show a picture up with model working :S
You do not have the required permissions to view the files attached to this post.
-
chrrox
- Moderator
- Posts: 2602
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1397 times
-
Karpati
- ultra-veteran

- Posts: 456
- Joined: Thu Dec 07, 2006 11:25 pm
- Has thanked: 9 times
- Been thanked: 92 times
Re: Rusty Hearts
Try the sample files at the first post. Most of these files have type 5 not type 6.chrrox wrote:what file are you loading?
Type 5 has an extra 9 floats before the Vertices datas.
-
finale00
- M-M-M-Monster veteran

- Posts: 2382
- Joined: Sat Apr 09, 2011 1:22 am
- Has thanked: 170 times
- Been thanked: 303 times
Re: Rusty Hearts
chrrox has the client and I'm guessing he's only interested in doing characters lol
I only uploaded small stuff like items, which happen to be type 5. Skinned vs unskinned maybe?
I only uploaded small stuff like items, which happen to be type 5. Skinned vs unskinned maybe?
-
Karpati
- ultra-veteran

- Posts: 456
- Joined: Thu Dec 07, 2006 11:25 pm
- Has thanked: 9 times
- Been thanked: 92 times
Re: Rusty Hearts
As I tried the Type 5 works as Type 6 except the Type 5 has an extra 9 floats before the Vertices datas.finale00 wrote:I only uploaded small stuff like items, which happen to be type 5. Skinned vs unskinned maybe?
I downloaded the public client but I don't know how can I extract the .pck files under Vista 64.
I tried the pwpack.exe, but nothing happened.
Last edited by Karpati on Wed Aug 10, 2011 5:01 pm, edited 1 time in total.
