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 07-29-10, 06:21 AM   #1
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

HI vickers03

The problem is that this is not one .DAT , but in one .GR2 file
But , if you have a solution for that , i take it immediately
BIGREG is offline   Reply With Quote
Old 07-29-10, 11:12 AM   #2
vickers03
Pooped from posting
 
Join Date: May 2007
Location: germany
Posts: 999
Downloads: 712
Uploads: 37


Default

Quote:
The problem is that this is not one .DAT , but in one .GR2 file
But , if you have a solution for that , i take it immediately
.DAT or .GR2 doesn't matter, i meant to hex-edit
the file, did that already with no problems.
vickers03 is offline   Reply With Quote
Old 07-29-10, 11:22 AM   #3
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

I have try to editing a .GR2 ,but that give a checksum error
and i have no idea how to recalculate
BIGREG is offline   Reply With Quote
Old 07-29-10, 11:27 AM   #4
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 vickers03 View Post
.DAT or .GR2 doesn't matter, i meant to hex-edit
the file, did that already with no problems.
Quote:
Originally Posted by BIGREG View Post
I have try to editing a .GR2 ,but that give a checksum error
and i have no idea how to recalculate
Yes, they are in a GR2 file, which we cannot edit. However, all hope is not lost. Hopefully with the update to S3d, we will have the ability to add nodes and import 3D objects into .sim .prt. or other controller files. If we do, we will be able to solve this problem and many others pretty easily. If not, someone could still manually hex edit in everything, but it would take a LOT of work.

Thanks for the input though vickers03, ideas are always welcome.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 07-29-10, 12:30 PM   #5
vickers03
Pooped from posting
 
Join Date: May 2007
Location: germany
Posts: 999
Downloads: 712
Uploads: 37


Default

you don't have to change that much,
in case of the labels for example i meant
to edit the name of the texture in the .GR2
file so that you can add a new texture with
that name in the tex folder.

Quote:
I have try to editing a .GR2 ,but that give a checksum error
and i have no idea how to recalculate
don't add/substract anything,
all you would have to do is search for the
texture name string you want to change,
like CR9C_2.DDS and rename to CR9C_3.DDS,
while keeping the size of the string.
vickers03 is offline   Reply With Quote
Old 07-29-10, 12:37 PM   #6
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 vickers03 View Post
you don't have to change that much,
in case of the labels for example i meant
to edit the name of the texture in the .GR2
file so that you can add a new texture with
that name in the tex folder.


don't add/substract anything,
all you would have to do is search for the
texture name string you want to change,
like CR9C_2.DDS and rename to CR9C_3.DDS,
while keeping the size of the string.
I know that what you are suggesting is possible. But, it is illegal. Ubi does not allow the editing or publishing of GR2 files in relation to their games. If we stay patient though, other solutions will be made available.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 07-29-10, 12:46 PM   #7
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

I don't think Ubisoft minds you changing GR2-files more than DAT-files. The problem with writing tools for GR2 is we can not use the Granny API.
skwasjer is offline   Reply With Quote
Old 07-29-10, 01:06 PM   #8
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

vickers03

I have try to change the texture name in .GR2 , not with a Hex Editor,but with a notepad and ...... it Works without bugs

If UBISOFT not give us the right, I can always give them my left
( in good place)
BIGREG is offline   Reply With Quote
Old 07-29-10, 01:26 PM   #9
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Are you sure Skwas, I have heard a lot of flak about touching the GR2 files.

I guess if Skwas thinks it is ok, and if someone wants to edit the GR2 files so that we can place different labels, I would be willing to make the new label image.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 07-29-10, 01:26 PM   #10
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

The only problem now is the job that will give us
BIGREG is offline   Reply With Quote
Old 07-29-10, 06:25 PM   #11
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 BIGREG View Post
vickers03

I have try to change the texture name in .GR2 , not with a Hex Editor,but with a notepad and ...... it Works without bugs

If UBISOFT not give us the right, I can always give them my left
( in good place)
What program did you use. Notepad is unable to open it for me.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 11:49 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.