Page 1 of 6
granny engine .gr2 question
Posted: Mon Mar 27, 2006 4:06 pm
by mambox
Hi,
i've got a .gr2 meshes,used in many games.
anyone know how it can be converted back to an editable format?
i speak about the granny radtoolgame o'course.
all help welcome

Posted: Mon Mar 27, 2006 5:47 pm
by Xela
Not having too much of an idea about those games in question, I am always afraid to state the obvious. But do you think that this link may be somehow helpfull

:
http://www.radgametools.com/
Posted: Tue Mar 28, 2006 3:38 pm
by mambox
well,helpful to spend $10k to get the sdk
sdk ftp only available to customers..well all links appreciated tough

Posted: Tue Mar 28, 2006 8:17 pm
by Xela
Mambox,
obviously youre right. 10K is for the much bigger guns.
Alternative I hear is reportedly Blitz3D + B3D Pipeline = $100
Anyway here is that thread, its funny in places:
http://www.blitzbasic.com/Community/pos ... opic=52800
Posted: Fri Mar 31, 2006 10:30 pm
by Paul Siramy
Granny 3D SDK Features
File format
* completely transparent and flexible file format
o all aspects of file format are exposed at the API level, so you can write your own Granny file readers and writers even without using the Granny API utilities for doing so
o file format is not hard-coded, so you can add your own extensions or even change it completely and use it for files other than your art assets
To me it means that any game that use Granny file version 2.x can use their own variation of the original file format. It also means that all the work you'll done to decode a .gr2 of 1 game won't necessary help you for decoding a .gr2 of another game

Posted: Sun Jan 14, 2007 3:15 pm
by Rheini
I once wrote a program for another game - can't remember what it was, maybe AoE3 - and I think there was a guy who figured out at least a part of the format.
edit: Yeah it was indeed Age3: This guy could load some gr2 files into 3dsmax:
http://aoe3.heavengames.com/cgi-bin/for ... =20#post21
Posted: Sun Jan 14, 2007 5:47 pm
by mambox
but i'm afraid it didnt ever shared his script,copyrights probs.
any gr2 converter would be funny

Posted: Sun Jan 14, 2007 8:27 pm
by Rheini
He didn't do anything with the format, he just used the granny.dll to load the mesh.
http://aoe3.heavengames.com/cgi-bin/for ... 25313,,all
Posted: Mon Jan 15, 2007 4:42 pm
by mambox
you're right!!!
missed it!
i'll try when gmax is installed again.
thanks!!
Posted: Tue Jan 16, 2007 10:51 pm
by Rheini
Did you try it?
So what about a community project to create header/lib files for the granny.dll? It's used in many games...
Posted: Wed Feb 07, 2007 7:33 am
by Wobble
[out]
Posted: Wed Feb 07, 2007 12:36 pm
by Rheini
Nice, uses a different approach than the granny reader above. What format do the files decompressed by this one have? Can they be read with 3DS?
I think the biggest problem is to get data back to granny format because there are probably no functions for that in the dll. The good news is that they don't really care about reversing and don't try to protect their stuff.
All functions are exported with their names and C helps us by providing the byte size of the parameters.

It has to figured out what those functions do and what parameters they want.
Posted: Wed Feb 07, 2007 12:44 pm
by mambox
Rheini wrote:Did you try it?
So what about a community project to create header/lib files for the granny.dll? It's used in many games...
btw sorry to you,i've no time to test the granny in gmax,have a tons of work atm.
Posted: Wed Feb 07, 2007 3:03 pm
by Wobble
[out]
Posted: Wed Feb 07, 2007 3:28 pm
by Rheini
I don't get your point. This function converts a granny file into some raw format, so what do you mean?