Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision |
formats:gr2 [2009-10-24 06:52] – created edheldil | formats:gr2 [2009-11-09 16:13] – edheldil |
---|
==== GR2 File ==== | ==== GR2 File ==== |
| |
[[http://www.radgametools.com/granny|RAD Game Tools, Inc.]] | 3D models for Granny library by [[http://www.radgametools.com/granny|RAD Game Tools, Inc.]] |
| |
[[http://www.radgametools.com/granny/download.html|Viewer from RAD]] | These files are used [ FIXME: mainly? ] for avatar models (PC, NPCs, spirits, ...) and for inventory items (FIXME: anything more?). They can contain meshes, textures and animations, but it seems that Lionheart has animations in separate GR2 files, probably to ease sharing the anims between different models. |
| |
[[http://aoe3.heavengames.com/cgi-bin/forums/display.cgi?action=ct&f=1,23622,0,10|Rather useless thread about reading GR2 files]] | The file contents seem to be obfuscated - while the strings reported by the [[http://www.radgametools.com/granny/download.html|GR2 viewer]] aren't visible anywhere in a GR2 file, from the sheer amount of zeros it's clear that majority of bytes is not compressed nor encrypted. Possibly some file chunks are compressed/obfuscated, while others aren't. Or maybe it uses obfuscation algorithm which skips over zeros in order to avoid revealing a XOR key ... My guess is that it IS a XOR key :) and common cryptanalysis techniques with cribs from the viewer would be enough to recover it. |
| |
| In any case, the viewer reveals loads of interesting information about GR2 files, including structure definitions and their content. |
| |
| === Notes and Links === |
| [[http://aoe3.heavengames.com/cgi-bin/forums/display.cgi?action=ct&f=1,23622,0,10|Rather useless thread about reading GR2 files]]\\ |
| [[http://forum.xentax.com/viewtopic.php?t=1805|A bit more interesting thread, but it relies on original Granny DLL]] |