SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
03-30-10, 07:36 PM | #1 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
[TEC]GR2 files and Granny Viewer
As alot of misconceptions and good information is being spread through
many different threads? I'll start a thread dedicated to the GR2 stuff. First, if you don't have the Granny Viewer and know how to use it? You're working blind! Go get it here: http://www.radgametools.com/granny/download.html I'll start some basic info I am sure of and add info as the days go by. GR2 files in SH5 are not compressed but Goblin and SH5 can still use them both. SH5 uses the granny2.dll which is coded to read compressed and non-compressed GR2 files. Ubi did not change the granny2.dll in any way. I'm not even sure if they would be allowed to change that dll. The exporter can be modified, I think, from reading the Granny Viewer info, and what I know from other sources. Ubi did not seem to modify the granny exporter in anyway and used nearly an 'off the shelf' setup for exporting. Which means decodeing them should be a fairly straight forward project. There are Granny exporters for several 3D programs out there. Useing them to import for SH5 could lead to Legal troubles! I suggest takeing the High Road and not doing it! You will get caught! I'm also not sure of total compatability between versions. There are exporters out there to extract from the GR2 format. None seem to work for me to my satisfaction. I invite anyone to send me a Completely extracted GR2 file from SH5. Even a complete Model with all the meshes is OK. Haveing all the Bones is a plus! There is Source code out there for some Granny stuff. Some of the best is very old but still useful. Here's an example: http://www.koders.com/cpp/fid6594068....aspx?s=matrix It's about the old Granny format but useful nonetheless. Last edited by Madox58; 03-30-10 at 08:07 PM. |
03-30-10, 07:37 PM | #2 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
reserved for future use thank you
|
03-30-10, 08:20 PM | #3 |
Black Magic
|
tried every exporter I could find on the web (even the NWN2 ones and AOE3) and couldn't get any to export correctly, if even at all. There is one trick that does work. The GLXtractor will extract meshes from the Granny Viewer but they are not positioned in 3D correctly (they are sheared from their origin). It takes a little time but using the Goblin editor you can find where 'center' is and reposition the meshes using 3DS Max or Wings3D (I setup the GLXtractor to extract the meshes into .obj form). This does not give any bone info though - just the raw mesh data (Seadler helpmed me with that )
|
03-30-10, 08:40 PM | #4 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Does it extract the UV's?
I have it but it does not want to work right for some reason. And getting a model that's all whacked out of position is a pain also. |
03-30-10, 08:55 PM | #5 |
Black Magic
|
yep, it'll extract the texture coords also. If it would only position the model correctly when it extracts it it would be a useful tool.
|
03-30-10, 09:40 PM | #6 |
Swabbie
Join Date: Nov 2005
Posts: 8
Downloads: 19
Uploads: 1
|
I think the key is the grannyloader.dll which puts that all together. This dll is from UBI.
For example: Open the NSS_Uboat7b.GR2 one time in Gobblin-Editor and then in Granny Viewer. In Granny Viewer you will only see what is in the NSS_Uboat7b.GR2 file. No interior, only a few doors and hatches. In Gobblin you will see the contents of many gr2 files put together. |
03-31-10, 06:57 PM | #7 |
Admiral
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
|
Extracted from Granny Viewer through 3D PrintScreen (for D3D & OGL) into 3Dxml:
... and MaxScript for importing *.3Dxml into 3ds Max 9...11(2009) ... ... "3D XML is a universal lightweight XML-based format for quick and easy sharing of 3D data." .................................................. .................................................. ........................ Example shown more low... * Load file into Goblin; * "Extract" from Goblin using 3D PrintScreen into *.3Dxml format; * Import into 3ds Max using maxscript. And no any superfluous "body's movements" ...
__________________
Alex ® Moses said: "Don't create yourself an idol"... Last edited by Anvart; 04-02-10 at 06:24 AM. |
03-31-10, 08:02 PM | #8 |
Black Magic
|
|
03-31-10, 08:23 PM | #9 |
Admiral
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
|
1:1
Look second pic: pantalons, torso, head, eyes and helmet... all are on correct places... ... glXtractor ---> former OGLE(xtractor) + GLIntercept... limited using... not convenient... May be the latest is not bad? URL: http://members.chello.at/alexan/ogle/GLXtractor.zip Size: 1368649 P.S. If you grabs mesh from Goblin... you have displacement as in Goblin... If you grabs from Gr-Viewer... you have displacement as in Gr-Viewer...
__________________
Alex ® Moses said: "Don't create yourself an idol"... Last edited by Anvart; 05-14-10 at 02:23 AM. |
03-31-10, 08:25 PM | #10 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
|
04-01-10, 07:32 AM | #11 |
Seaman
Join Date: Dec 2008
Posts: 33
Downloads: 26
Uploads: 0
|
Maby http://www.deep-shadows.com/hax/3DRipperDX.htm ?
Unfortunately there is still question how to export 3d model from max so SH5 can read it. |
04-01-10, 08:40 AM | #12 | |
Black Magic
|
Quote:
|
|
04-01-10, 05:11 PM | #13 |
Seaman
Join Date: Dec 2008
Posts: 33
Downloads: 26
Uploads: 0
|
Which part? I was able to capture all the geometry and textures.
It works great. Since there is no 3dr importer for 3dmax2009 I've used option to export model as .obj and as such I've imported it into max When I've seen scene at first it looked like a some kind of egg, but then when I've zoomed in I've found ship that I've captured from museum. One thing: when capturing scene I've set camera at side of ship and lowered camera almost to surface of water. First I've tried default view capture but 3d model was totally,ehm...twisted. This way when I set camera at side and to surface 3d model needs to be stretched but it is just few clicks in max. |
04-01-10, 05:12 PM | #14 | |
Black Magic
|
Quote:
What version of 3D ripper? I have 1.7 Did you use the 'start global system monitoring' or the normal launch button? |
|
04-01-10, 05:26 PM | #15 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
3D ripper will work for the game as the game uses Direct X.
It won't work for the Granny viewer as it uses Opengl. |
Thread Tools | |
Display Modes | |
|
|