READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

granny engine .gr2 question

Post questions about game models here, or help out others!
mambox
mega-veteran
mega-veteran
Posts: 188
Joined: Wed Mar 24, 2004 2:06 pm
Has thanked: 5 times
Been thanked: 4 times

granny engine .gr2 question

Post by mambox » Mon Mar 27, 2006 4:06 pm

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 :)

Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

Post by Xela » Mon Mar 27, 2006 5:47 pm

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/

mambox
mega-veteran
mega-veteran
Posts: 188
Joined: Wed Mar 24, 2004 2:06 pm
Has thanked: 5 times
Been thanked: 4 times

Post by mambox » Tue Mar 28, 2006 3:38 pm

well,helpful to spend $10k to get the sdk ;)

sdk ftp only available to customers..well all links appreciated tough :)

Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

Post by Xela » Tue Mar 28, 2006 8:17 pm

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

User avatar
Paul Siramy
ultra-n00b
Posts: 4
Joined: Fri Nov 04, 2005 11:31 am
Location: Paris
Contact:

Post by Paul Siramy » Fri Mar 31, 2006 10:30 pm

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 :roll:

Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 40 times
Contact:

Post by Rheini » Sun Jan 14, 2007 3:15 pm

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

mambox
mega-veteran
mega-veteran
Posts: 188
Joined: Wed Mar 24, 2004 2:06 pm
Has thanked: 5 times
Been thanked: 4 times

Post by mambox » Sun Jan 14, 2007 5:47 pm

but i'm afraid it didnt ever shared his script,copyrights probs.

any gr2 converter would be funny :)

Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 40 times
Contact:

Post by Rheini » Sun Jan 14, 2007 8:27 pm

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

mambox
mega-veteran
mega-veteran
Posts: 188
Joined: Wed Mar 24, 2004 2:06 pm
Has thanked: 5 times
Been thanked: 4 times

Post by mambox » Mon Jan 15, 2007 4:42 pm

you're right!!!

missed it!

i'll try when gmax is installed again.

thanks!!

Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 40 times
Contact:

Post by Rheini » Tue Jan 16, 2007 10:51 pm

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...

User avatar
Wobble
ultra-veteran
ultra-veteran
Posts: 585
Joined: Tue Jan 04, 2005 9:47 pm
Has thanked: 43 times
Been thanked: 112 times

Post by Wobble » Wed Feb 07, 2007 7:33 am

[out]
Last edited by Wobble on Sun Mar 12, 2017 12:35 pm, edited 2 times in total.

Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 40 times
Contact:

Post by Rheini » Wed Feb 07, 2007 12:36 pm

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.
Last edited by Rheini on Wed Feb 07, 2007 12:46 pm, edited 1 time in total.

mambox
mega-veteran
mega-veteran
Posts: 188
Joined: Wed Mar 24, 2004 2:06 pm
Has thanked: 5 times
Been thanked: 4 times

Post by mambox » Wed Feb 07, 2007 12:44 pm

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.

User avatar
Wobble
ultra-veteran
ultra-veteran
Posts: 585
Joined: Tue Jan 04, 2005 9:47 pm
Has thanked: 43 times
Been thanked: 112 times

Post by Wobble » Wed Feb 07, 2007 3:03 pm

[out]
Last edited by Wobble on Sun Mar 12, 2017 12:35 pm, edited 2 times in total.

Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 40 times
Contact:

Post by Rheini » Wed Feb 07, 2007 3:28 pm

I don't get your point. This function converts a granny file into some raw format, so what do you mean?

Post Reply