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

Search found 643 matches

by Rheini
Tue Apr 10, 2007 2:16 pm
Forum: 3D/2D models
Topic: need help with DK2 models
Replies: 25
Views: 13249

So here the current binary template, maybe someone can help using this as a start.
Any help is appreciated, this format makes me go crazy :)

P.S.: Are you still alive alera? ;) You aren't online in ICQ anymore.
by Rheini
Tue Apr 10, 2007 7:35 am
Forum: Compressed files and methods
Topic: In Cold Blood SEX file
Replies: 3
Views: 3166

can't find something that indicates compression. much plain text in there.
And look at that "m01_investigate_mine\office_building.SEX".
by Rheini
Mon Apr 09, 2007 8:48 pm
Forum: Compressed files and methods
Topic: In Cold Blood SEX file
Replies: 3
Views: 3166

Seems to be an archive, doesn't it?
The strings are preceded by some numbers that could be the offsets of the corresponding string. But I didn't test it.
by Rheini
Thu Mar 22, 2007 9:00 pm
Forum: 3D/2D models
Topic: need help with DK2 models
Replies: 25
Views: 13249

Yeah I only know that they are dword sized, can be floats of course. I forgot that there's still another int coming before those bytes in SPRS chunks. Edit: The number of bytes in SPRS is equal the described sum multiplied by 3! So this could indeed be some triangle definition. The indices in those ...
by Rheini
Thu Mar 22, 2007 7:39 pm
Forum: 3D/2D models
Topic: need help with DK2 models
Replies: 25
Views: 13249

You can grab a trial here . It's really worth a try. Nevertheless those files are only text files with C-like structure definitions. I can't say for sure, but GEOM (in MESH files!) seems to hold vertices. I imported the ones of an imp into 3ds Max and the vertices indeed made up something that looke...
by Rheini
Thu Mar 22, 2007 12:53 pm
Forum: 3D/2D models
Topic: need help with DK2 models
Replies: 25
Views: 13249

I don't think so. The ITAB has as much integers as the number of vertices in the mesh. Besides there are also static meshes with no ANIM files, so the key to the problem seems to be the SPRS chunk. I found out that the GEOM chunk in MESH files contains the vertices for that mesh (3 floats for each v...
by Rheini
Wed Mar 21, 2007 10:08 am
Forum: 3D/2D models
Topic: granny engine .gr2 question
Replies: 89
Views: 64652

Still wondering how they save the bones and that stuff.
by Rheini
Wed Mar 21, 2007 9:53 am
Forum: 3D/2D models
Topic: need help with DK2 models
Replies: 25
Views: 13249

need help with DK2 models

This is what I know so far: The files are made up of chunks starting with a fourcc at the beginning followed by the size of the whole chunk. struct { char fourcc[4]; int size; byte data[size-8]; } CHUNK; This is the structure of a file. There is either a MESH chunk or an ANIM chunk. KMSH int version...
by Rheini
Tue Mar 20, 2007 11:01 pm
Forum: Game Archive
Topic: Dungeon Keeper 2
Replies: 9
Views: 5007

Started to figure out mesh format.
viewtopic.php?t=2546
by Rheini
Tue Mar 20, 2007 5:01 pm
Forum: Graphic file formats
Topic: Command and Conquer 3 - TGA files
Replies: 7
Views: 3852

I wonder if there is any good documentation of this compression. Don't want to go through all that code.
by Rheini
Tue Mar 20, 2007 4:20 pm
Forum: 3D/2D models
Topic: granny engine .gr2 question
Replies: 89
Views: 64652

Compiled it myself.
by Rheini
Tue Mar 20, 2007 3:44 pm
Forum: Compressed files and methods
Topic: zlib unpacker [Request]
Replies: 22
Views: 21409

I think the honor goes to the zlib authors ;)
by Rheini
Tue Mar 20, 2007 12:34 pm
Forum: Compressed files and methods
Topic: zlib unpacker [Request]
Replies: 22
Views: 21409

If you use a bruteforce approach, it probably would be the best idea to implement zlib directly in your program.
Then you could also use in-memory decompression.
I used some ideas from here for my program.
by Rheini
Mon Mar 19, 2007 7:29 pm
Forum: 3D/2D models
Topic: granny engine .gr2 question
Replies: 89
Views: 64652

So I assume that you mean only 1 wheel of the car was imported into gmax.
The cause might be that the program only exports the first mesh in the file.
Here's a slightly modified version that outputs all meshes.
by Rheini
Mon Mar 19, 2007 12:16 pm
Forum: 3D/2D models
Topic: granny engine .gr2 question
Replies: 89
Views: 64652

I tested Ykkrosh's approach on a Settlers 2: building. works quiet well.
http://img106.imageshack.us/my.php?image=bildhy8.jpg