SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 08-02-10, 12:30 PM   #1
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Make a simple step...
Describe and publish your stuffs.
__________________
Alex ®


Moses said: "Don't create yourself an idol"...
Anvart is offline   Reply With Quote
Old 08-03-10, 12:19 AM   #2
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I used gr2meshconv1_3 which exports a .ms file.
I changed a few areas in the Header of the GR2 files with a hex editor
which allowed a perfect export as MaxScript.
But large script files will CTD 3D max.
So now I've converted the source files to export as an .obj file.


A few more tweaks tomorrow should have it done.
  Reply With Quote
Old 08-03-10, 01:27 AM   #3
Royale-Adio
Officer
 
Join Date: Jul 2009
Posts: 238
Downloads: 119
Uploads: 5
Default

You mean we could edit GR2 models with that?
__________________
Lurking In The Dark...
Royale-Adio is offline   Reply With Quote
Old 08-03-10, 05:19 AM   #4
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by privateer View Post
I used gr2meshconv1_3 ...
So now I've converted the source files to export as an .obj file.


A few more tweaks tomorrow should have it done.
Limited solution... but is interesting to see your stuff in work...
__________________
Alex ®


Moses said: "Don't create yourself an idol"...
Anvart is offline   Reply With Quote
Old 08-04-10, 03:40 PM   #5
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

As a stress test I exported the meshes in Room_CR.GR2 today.

Here's the result.


Every mesh is exported to a seperate file for a very simple reason haveing to do with faces.

All meshes retain thier positions just as they are in the GR2 file.
So there's no need to worry about where things belong in 3D.

There's still some final work to polish things
but I'll try to get a teaser version out ASAP.
  Reply With Quote
Old 08-04-10, 05:04 PM   #6
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Excellently... good luck.
What you can say about UV map and textures?
__________________
Alex ®


Moses said: "Don't create yourself an idol"...
Anvart is offline   Reply With Quote
Old 08-04-10, 05:39 PM   #7
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Here's the Teaser version complete with a hex edited gr2 file.
http://www.mediafire.com/?b749r0za7t9ddxw

It's a command line program at this point so just click the run.bat file.

This version has all the UV mapping but the Materials library stuff is not finished in this version.

The top of the gr2 file has been edited and when compared to the SH5
original, is easy to spot.
I'll get some screenshots posted soon also.

I've still got alot to do on this yet but it works.

I am not the original author of the base program.
I just modified existing code.
  Reply With Quote
Old 08-04-10, 05:56 PM   #8
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Just downloaded it privateer. It sounds pretty promising, but I can't wait for the full version
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 08-05-10, 01:24 PM   #9
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by privateer View Post
...
The top of the gr2 file has been edited ...
For using this old stuff (reworked code), you changed Magic Value, header size, file version and Type Tag as in old (6) version of gr2-file. Right?
...
But the same Magic Value (as in SH5) was used in 6 version of gr2-file.
Is it limitation (error) of old code (and old coder )? ... or we have initially different Magic Value in files... you and me?
I have Buka's version of game with patch 2...
**********************************
Stock Magic value for this file:
29 DE 6C C0 BA A4 53 2B 25 F5 B7 A5 F6 66 E2 EE

P.S. My conclusion... For work of your code (reworked old code) is enough to change Magic Value only.
And this limitation (error) must be corrected...
... and need to use game's granny2.dll ver. 2.8.30.0...
...
/////////////////////////////////////////////////////////////////
Example:
File CharacterBodyParts.GR2 with changed Magic Value only.
Using Privateer's exe-file characters body parts have been extracted.
Using DE textures (diffuse and normal) have been attached to body parts (material has been created).
You see D_Torso02 body-part:

__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 08-05-10 at 03:52 PM.
Anvart is offline   Reply With Quote
Reply

Tags
edit the gr2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:06 PM.


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.