Page 6 of 6

Re: granny engine .gr2 question

Posted: Mon May 21, 2012 11:55 am
by johnwhile
i think the best solution is using the tutorial inside the granny sdk and read the granny.chm document, in my opinion using directly the dll's function is too exotica.
I compiled this example with visual studio express because devc++ don't work with granny.h :
http://www.gamefront.com/files/21735401 ... torial.zip

my personal interest is about the .anim file, at the end of it there are a string : Exported with Granny 2.6.0 SDK etc.... i see that was very similar with raw file ... can someone help me to understand about it ? :bye:

Re: granny engine .gr2 question

Posted: Mon May 21, 2012 9:21 pm
by Pesmontis
johnwhile wrote:.. using directly the dll's function is too exotica.
I compiled this example with visual studio express..
I guess tazpn an federico just love exotic code ;-)
One difficulty with 'their' way - used generally - is that sometimes a DLL requires class instantiation, and I've seen a case where this can only be done by starting a game's engine.. Anyway, with respect to their granny2 code, a lot can be learned about what data is actually present inside a GR2 file, and about 'failsafe' methods to retrieve that data.
johnwhile wrote:.. the .anim file, at the end of it there are a string : Exported with Granny 2.6.0 SDK etc.... i see that was very similar with raw file ... can someone help me to understand about it ? :bye:
Tis is a first for me, I've never seen such a string at the end of a GR2 file.
Furthermore, people have started using the granny2 DLL for model extraction, because it was too difficult to do reverse engineering of the GR2 file format.

Re: granny engine .gr2 question

Posted: Sun May 27, 2012 9:50 pm
by Pesmontis
.. but i don't undestand now extract and reimport these animation data..
Extracting animations only works with 3DSmax 2008 and the NWN 2.0.1 import plugin by tazpn.

tazpn's code for animation data isn't complete and it's specifically written for GR2 animation files from NWN.
That it sometimes works for GR2 file from other games is just sheer luck, because the GR2 format defines an enormous lot of animation structs. It's quite a hassle for a programmer to create code for all that, and to correctly identify and read those structs. Then there's also differences in the file format and DLL functions definitions between v2.5.x, v2.6.x etc.
I don't think that a newer version is backward compatible, so a general GR2 reader would have to check the file version.

An updated version of grnreader is my 'grnreader98', debug v1.4.0.3, which I re-uploaded to http://tatooinebase.star-fleet.org/UPLO ... .debug.rar. This version was explicitly developed for the game Sacred 2, and a tutorial for it can be found here: http://darkmatters.org/forums/index.php ... r2-models/. It seems that it also works to some extent for Metin 2, Eve 2 (http://cargocollective.com/ThomasM/Eve- ... Characters), and for Microsoft Flight (http://forum.avsim.net/topic/365258-imp ... ge__st__25).

Re: granny engine .gr2 question

Posted: Wed May 30, 2012 4:51 pm
by Privateer
johnwhile wrote:i think the best solution is using the tutorial inside the granny sdk and read the granny.chm document
Admitting you have the SDK could get you in trouble with RAD Games real fast.
Generally they send you a message as a warning.
They may also contact the Admins here. Which is not a good thing.

I've had the 'pleasure' of dealing with persons at RAD Games on issues such as this in the past in several forums.
I'd not be surprised to get another message from them about this being posted in a forum I visit.
:lol:

Re: granny engine .gr2 question

Posted: Sat Jun 02, 2012 4:01 pm
by johnwhile
ok. :[

Re: granny engine .gr2 question

Posted: Thu Oct 23, 2014 6:15 pm
by deltaone
Anyone can reupload 3ds Max importer (modded by federico) for NWN2 with animation support ?

thx ...

Re: granny engine .gr2 question

Posted: Sat Oct 25, 2014 7:52 am
by AZinX
Yes. Now find this file is very difficult. But I was able to :)
And sadly he is not working for my .gr2 files (

http://rghost.ru/58702093

and Federico is not responding :(

Re: granny engine .gr2 question

Posted: Sat Oct 25, 2014 2:49 pm
by federico
hello everybody. I had to dig really deep in some backup hdd. I attach to this post all the resources I found. GR2DecMax7 is a compiled version of the 3dsmax import plugin for 3dsMax 7. That's what I ended up using most of the time.

https://www.mediafire.com/?dbn8jja6fyex8c2
https://www.mediafire.com/?cng8zvb86l5xq3p
https://www.mediafire.com/?2mfe4a7ya8627bp
https://www.mediafire.com/?2mfe4a7ya8627bp

I think you could also browse the old website through archive.org

https://web.archive.org/web/20111230063 ... vista.org/

Sometimes after that the site was hacked and by that time I didn't have a local copy anymore.

Re: granny engine .gr2 question

Posted: Sun Oct 26, 2014 8:10 am
by AZinX
Finally I was able to import .gr2 animation into the 3ds max. It turned out it was all in the wrong version of granny viewer, which not corrent convert .grn to .gr2.

And, of course, federico thank's for that links. :)

Re: granny engine .gr2 question

Posted: Sun Nov 02, 2014 11:20 am
by fulgerul46
federico wrote:hello everybody. I had to dig really deep in some backup hdd. I attach to this post all the resources I found. GR2DecMax7 is a compiled version of the 3dsmax import plugin for 3dsMax 7. That's what I ended up using most of the time.

https://www.mediafire.com/?dbn8jja6fyex8c2
https://www.mediafire.com/?cng8zvb86l5xq3p
https://www.mediafire.com/?2mfe4a7ya8627bp
https://www.mediafire.com/?2mfe4a7ya8627bp

I think you could also browse the old website through archive.org

https://web.archive.org/web/20111230063 ... vista.org/

Sometimes after that the site was hacked and by that time I didn't have a local copy anymore.
Is possible to import gr2 models with skined model?

Re: granny engine .gr2 question

Posted: Sun Nov 02, 2014 7:21 pm
by ssringo
Is there any way to get 3DSMax 7 working on Win 7 64 bit? Or a plugin for more recent versions of 3DSMax or blender? Or maybe a different method to get gr2 models into better 3d programs.

I've looked around the net and as far as I can tell Max 7 won't work with Win 7 64bit and nobody ever released another way to work with gr2 models. Figured I'd ask here just in case someone here knows something.

Re: granny engine .gr2 question

Posted: Mon Nov 03, 2014 1:55 pm
by deltaone
ssringo wrote:Is there any way to get 3DSMax 7 working on Win 7 64 bit? Or a plugin for more recent versions of 3DSMax or blender? Or maybe a different method to get gr2 models into better 3d programs.

I've looked around the net and as far as I can tell Max 7 won't work with Win 7 64bit and nobody ever released another way to work with gr2 models. Figured I'd ask here just in case someone here knows something.
Just use virtual machine with Windows XP ...

Re: granny engine .gr2 question

Posted: Sat Nov 08, 2014 1:23 pm
by AZinX
I have worked on windows 7 64 bit in 3ds max 7. But, anyway, correctly imported into max from .gr2 does not work. Granny Viewer is almost always not correctly converted .grn to .gr2 model's skeleton therefore the animation of these parts when importing it from .gr2 files are not correctly displayed.

Very, very sad... :(

Re: granny engine .gr2 question

Posted: Sat Nov 30, 2019 3:44 pm
by trussive
hey, sorry to bump this, but does anyone have the link to the 3ds max 7 plugin? the mediafire link is gone, and I am desperate.

Re: granny engine .gr2 question

Posted: Sun Dec 01, 2019 4:36 am
by Henchman800
hey, sorry to bump this, but does anyone have the link to the 3ds max 7 plugin? the mediafire link is gone, and I am desperate.
Maybe my snocross (arcade) guide helps you. This workflow convertes .gr2 files to .obj and extracts their textures....at least for me :D

viewtopic.php?f=16&t=21279&p=157147&hil ... ss#p157147

Let me know if it helped :P