Important information: this site is currently scheduled to go offline indefinitely by end of the year.

granny engine .gr2 question

Post questions about game models here, or help out others!
johnwhile
ultra-n00b
Posts: 7
Joined: Tue Nov 29, 2011 7:44 pm

Re: granny engine .gr2 question

Post 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:
User avatar
Pesmontis
beginner
Posts: 33
Joined: Sun Jun 20, 2010 5:10 pm
Location: The Netherlands
Been thanked: 9 times
Contact:

Re: granny engine .gr2 question

Post 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.
User avatar
Pesmontis
beginner
Posts: 33
Joined: Sun Jun 20, 2010 5:10 pm
Location: The Netherlands
Been thanked: 9 times
Contact:

Re: granny engine .gr2 question

Post 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).
Privateer
veteran
Posts: 104
Joined: Fri Oct 21, 2011 1:33 pm
Location: On my Network, unless I'm somewhere else
Has thanked: 9 times
Been thanked: 30 times

Re: granny engine .gr2 question

Post 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:
Give a man a fish and he'll eat for a day.
Try to teach a man to fish and he'll gripe at you for not just giving him the Damn Fish!
johnwhile
ultra-n00b
Posts: 7
Joined: Tue Nov 29, 2011 7:44 pm

Re: granny engine .gr2 question

Post by johnwhile »

ok. :[
deltaone
beginner
Posts: 37
Joined: Sat Feb 19, 2011 1:18 am
Has thanked: 4 times
Been thanked: 13 times

Re: granny engine .gr2 question

Post by deltaone »

Anyone can reupload 3ds Max importer (modded by federico) for NWN2 with animation support ?

thx ...
AZinX
ultra-n00b
Posts: 3
Joined: Sun Oct 19, 2014 4:38 pm
Has thanked: 1 time
Been thanked: 1 time

Re: granny engine .gr2 question

Post 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 :(
federico
beginner
Posts: 28
Joined: Wed Sep 27, 2006 6:00 pm
Been thanked: 4 times

Re: granny engine .gr2 question

Post 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.
AZinX
ultra-n00b
Posts: 3
Joined: Sun Oct 19, 2014 4:38 pm
Has thanked: 1 time
Been thanked: 1 time

Re: granny engine .gr2 question

Post 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. :)
fulgerul46
ultra-n00b
Posts: 3
Joined: Sun Aug 10, 2014 5:15 pm
Has thanked: 4 times

Re: granny engine .gr2 question

Post 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?
ssringo
veteran
Posts: 98
Joined: Sat Apr 19, 2014 8:02 am
Has thanked: 46 times
Been thanked: 13 times

Re: granny engine .gr2 question

Post 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.
deltaone
beginner
Posts: 37
Joined: Sat Feb 19, 2011 1:18 am
Has thanked: 4 times
Been thanked: 13 times

Re: granny engine .gr2 question

Post 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 ...
AZinX
ultra-n00b
Posts: 3
Joined: Sun Oct 19, 2014 4:38 pm
Has thanked: 1 time
Been thanked: 1 time

Re: granny engine .gr2 question

Post 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... :(
trussive
ultra-n00b
Posts: 9
Joined: Tue Mar 05, 2019 10:51 pm
Has thanked: 3 times

Re: granny engine .gr2 question

Post 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.
User avatar
Henchman800
mega-veteran
mega-veteran
Posts: 308
Joined: Fri Nov 16, 2018 5:00 pm
Has thanked: 72 times
Been thanked: 34 times

Re: granny engine .gr2 question

Post 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
Post Reply