SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [TEC]GR2 files and Granny Viewer (https://www.subsim.com/radioroom/showthread.php?t=166641)

gimpy117 04-18-10 02:21 PM

Quote:

Originally Posted by Anvart (Post 1362488)
:D
Sorry, Mate...
You see 3ds Max 2009...
You not attentively read #7...

so i heard. Autodesk makes autocad so i now know that's why the 3d views look similar

im wondering if i can open or import those files..make stuff of my own i really want to make a proper sight for the Larger U-boat flak guns...the 30mm guns had a telescopic sight if im not mistaken.

HELLISH1 04-20-10 10:56 AM

Quote:

Originally Posted by Ailantd (Post 1360840)
Here one.

just dont flip the import in max, uncheck flip cordinates

Ailantd 04-20-10 11:06 AM

Quote:

Originally Posted by HELLISH1 (Post 1366669)
just dont flip the import in max, uncheck flip cordinates

Hehe, problem is that I don´t know where to download the importer, plugin or script. Do you ?

Madox58 04-20-10 05:06 PM

The problem with 3D print screen and the importer is the objects are not centered correctly
to the world.
They have a perspective view so all Pivot points are rotated.
And the Objects are off center to boot!
The script I'm working on places a correctly aligned object in the World,
Then adjusts the import from 3D printscreen to match,
then deletes the placer object.

I'm lazy and hate to do manual stuff over and over!
Like my Grandpappy use to tell me,
"Work smarter, not harder!"
:yeah:

Ailantd 04-20-10 08:16 PM

Quote:

Originally Posted by privateer (Post 1367212)
The problem with 3D print screen and the importer is the objects are not centered correctly
to the world.
They have a perspective view so all Pivot points are rotated.
And the Objects are off center to boot!
The script I'm working on places a correctly aligned object in the World,
Then adjusts the import from 3D printscreen to match,
then deletes the placer object.

I'm lazy and hate to do manual stuff over and over!
Like my Grandpappy use to tell me,
"Work smarter, not harder!"
:yeah:

I will wait for your script. I´m feeling lazy too.

Anvart 04-21-10 04:24 AM

Quote:

Originally Posted by privateer (Post 1367212)
The problem with 3D print screen and the importer is ...

More correctly (i think):
"The problem of all grabbers is ..."
...
It's not problem of grabbers... it's essence (sense) or feature of grabbers. :D
... grabber takes coordinates from the initial program...

Madox58 04-21-10 01:14 PM

Very good correction Anvart.
:up:

The script just helps adjust things so it's easier to work with the exports.

Madox58 04-21-10 03:02 PM

OK,
here is how to use the Granny Viewer with textures showing
to view the SH5 GR2 files.
:up:

I'll use E: as the main example but some files may be D:
You find the exact paths by looking at the GR2 files
in Granny Viewer - Material List tab.

The files are hard coded to look for the E: drive.
The Game is coded to look elsewhere of course.

Granny Viewer looks for that E: path in the GR2 files.
So we need to create that exact path.

If your DVD drive is E:?
You can burn a DVD with the path and textures.
But it's worthless for doing changes later on.

So let's change things and create a Virtual E: drive.

IF your DVD drive is E:
Here's how you change the drive letter:

(If there are programs looking for the DVD as E: they may get confused!)

Right-click My Computer,
and then click Manage.
Under Computer Management,
click Disk Management.
In the right pane, you'll see your drives listed.
CD-ROM drives are listed at the bottom of the pane.
Right-click the drive or device you want to change,
and then click Change Drive Letter and Paths.
Click Change,
click Assign the following drive letter,
click the drive letter you want to assign,
and then click OK.


Now create a Virtual E: drive

You'll need some software.
But it's free and we like that!
http://www.magiciso.com/tutorials/mi...c-overview.htm

Useing nearly any Burning software?
create an ISO of all the textures with the paths
then mount it with the software.

Then open Granny Viewer and open the GR2 file of choice.

If you did it all right?
You now have a textured view!
:rock:

I'll be glad to assist you if needed.

conus00 04-21-10 03:41 PM

Oh, I didn't know the paths were hardcoded.
No wonder that I couldn't find a way hoe to change them in Granny.

Thanks!

Madox58 04-21-10 04:17 PM

Right.
That's how Granny files work.
If it's hard Coded in the GR2 file?
Granny Viewer will look for that path.

As I said,
The SH5 Game knows when that path is called,
where to look in Game.

What we need to do is follow the exact path as coded in the GR2 files.
We do that by createing a path that Granny Viewer will find.

My way is not the only way I'm sure.
You could have an external drive named E: that will work.

My externals are named F: and D:
My DVD is named E:
My Virtual Drive is Z:

But I have a short cut to the Disk Management funtion.
So I can change things on the fly.

I'd change everything once, but there are to many things
installed at this time to make it easy.

It would require a total re-install and I'm not ready to do that yet.

Anvart 04-22-10 06:00 AM

Quote:

Originally Posted by privateer (Post 1368496)
...
SH5 Game knows when that path is called,
where to look in Game...

For this, grannyloader (.dll) exists... :haha: ... i'm almost the poet...
...
Are you able to change paths to files of textures in GR2-files? :06:

Madox58 04-22-10 04:41 PM

Here's a Snapshot of my Virtual Drive
Note the path in green.
http://i108.photobucket.com/albums/n...anny_Paths.jpg

By opening the GR2 files with Granny we can find the different paths for each file.

Create that path as I did above and copy the needed textures to it.
It's just like makeing mods ready for JSGME.
Create a folder, name it, create a folder in that folder, name it, etc, etc.
Then copy the needed files to the final folder.


You don't want a complete copy of SH5 in this setup.
:03:

Um kay?

Madox58 04-22-10 05:44 PM

Quote:

Originally Posted by Anvart (Post 1369071)
For this, grannyloader (.dll) exists... :haha: ... i'm almost the poet...
...
Are you able to change paths to files of textures in GR2-files? :06:


To tell the truth Mr. Poet
:DL

I've not tried on the GR2 files themselves.

Gremlin has a built in routine for selecting textures.
You can place any texture you like on the meshes
while viewing them.
It also knows not to follow exact paths as coded into the GR2 files.
So it looks in the proper places right off the bat.

Anvart 04-23-10 03:52 AM

How you think, is my patience boundless?
Where and when? :D ... lol

Madox58 04-23-10 03:05 PM

Quote:

Originally Posted by Anvart (Post 1370488)
How you think, is my patience boundless?
Where and when? :D ... lol


I'm a slow programmer.
:)
20 years ago I'd have been done by now.
But I was single then with no dogs, cats, or Home care to worry about.
And the Wife gets a bit upset if I don't pay her enuff attention.
:doh:

So to steal a phrase?
It will be ready when it's ready.
:rock:


All times are GMT -5. The time now is 02:21 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.