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-05-10, 01:24 PM   #1
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
Old 08-05-10, 04:17 PM   #2
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Hi rowi58,

The UV maps are there, I just did not add the usemtl command or
write out the mtl libraries yet.
The next release version will have them included.


Hi Anvart,

The old code needed the hex editing trick.
I have corrected that with code from a different exporter that
can use the SH5 granny2.dll file.
(not bad for an old coder right? )

The next release version will have a UI also.
So no bat file will be needed.
And if I have the time?
I'll add the ability to select a single Mesh for export.

Last edited by Madox58; 08-05-10 at 04:34 PM.
  Reply With Quote
Old 08-05-10, 05:05 PM   #3
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
Default

So does this mean things like playable subs (9, II, etc) will be a possibility?
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 08-05-10, 06:19 PM   #4
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Other subs are possible now by useing the dat format.
But now we can take the interiors from the GR2 files and modify them for the new subs to come.


Just confirmed a new build that uses the SH5 granny2.dll is working.

No more Hex editing the GR2 files from SH5!!


(And it also exports from older GR2 files just as well!)
  Reply With Quote
Old 08-05-10, 07:04 PM   #5
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Quote:
Originally Posted by privateer View Post
Other subs are possible now by useing the dat format.
But now we can take the interiors from the GR2 files and modify them for the new subs to come.


Just confirmed a new build that uses the SH5 granny2.dll is working.

No more Hex editing the GR2 files from SH5!!


(And it also exports from older GR2 files just as well!)
Awesome!
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 08-05-10, 07:09 PM   #6
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
Default

Excellent

Does this also add the possibility of cramping up the current interiors (more foodstuffs, crew members, etc?)

As well as changing them to (those unrealistic but fun) Modern Sub or different ship types (ala PT boat/Eboat, etc)
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 08-05-10, 11:13 PM   #7
rowi58
Eternal Patrol
 
Join Date: Jun 2006
Location: Karlsruhe
Posts: 679
Downloads: 56
Uploads: 0
Default

Hi prtivateer,

thanks, i've got it. The uv-mapping is fine. Was my mistake: i forgot to zoom-out in wings3d (mapping section) to see the uv-mapping .

Once again: absolutly great work.

Greetings
rowi58
__________________
rowi58 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 08:03 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.