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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 08-10-16, 03:11 PM   #1
cdrsubron7
Sink'em All
 
cdrsubron7's Avatar
 
Join Date: Mar 2001
Location: Naperville, IL
Posts: 2,239
Downloads: 305
Uploads: 1


Default

Just guessing here, but changing the merchant ship names and tonnages can be done the cfg ship filles, correct?
__________________



Head Deep and Keep'em Astern" - LtCDR Samuel D Dealy
SHIV Guide | Imperial Japanese Navy | US Submarines



cdrsubron7 is offline   Reply With Quote
Old 08-10-16, 05:29 PM   #2
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
Uploads: 0


Default

If you change the name in the Ships cfg file?
Check the Names.cfg in Roster folder.
THEN check each Countries Roster Folders for that Unit.
It's also possible to whack Campaign files and such by a name change!
This is a prime reason I use 010 to do a search and replace.


Yep. Just verified if you rename the class it whacks the campaign files also.
Now the Search and replace in 010 will do it for you as it is.
But it will search through a lot of files if not set up right.
Make sure you tell it the file extensions!!

If you don't have 010 you can download a free 30 day trail version.
I highly recommend it!!

Last edited by Jeff-Groves; 08-10-16 at 05:49 PM.
Jeff-Groves is offline   Reply With Quote
Old 08-10-16, 06:46 PM   #3
cdrsubron7
Sink'em All
 
cdrsubron7's Avatar
 
Join Date: Mar 2001
Location: Naperville, IL
Posts: 2,239
Downloads: 305
Uploads: 1


Default

Quote:
Originally Posted by Jeff-Groves View Post
If you change the name in the Ships cfg file?
Check the Names.cfg in Roster folder.
THEN check each Countries Roster Folders for that Unit.
It's also possible to whack Campaign files and such by a name change!
This is a prime reason I use 010 to do a search and replace.


Yep. Just verified if you rename the class it whacks the campaign files also.
Now the Search and replace in 010 will do it for you as it is.
But it will search through a lot of files if not set up right.
Make sure you tell it the file extensions!!

If you don't have 010 you can download a free 30 day trail version.
I highly recommend it!!
I appreciate the warning and the advice about the name changing affecting the campaign files.

How high is the learning curve for this 010 Hex Editor? I've never used something like this before.

Would the Hex Editor XV132 in the Subsim Downloads area work as well?
__________________



Head Deep and Keep'em Astern" - LtCDR Samuel D Dealy
SHIV Guide | Imperial Japanese Navy | US Submarines



cdrsubron7 is offline   Reply With Quote
Old 08-10-16, 07:38 PM   #4
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
Uploads: 0


Default

Quote:
Originally Posted by cdrsubron7 View Post
I appreciate the warning and the advice about the name changing affecting the campaign files.

How high is the learning curve for this 010 Hex Editor? I've never used something like this before.

Would the Hex Editor XV132 in the Subsim Downloads area work as well?
No.
The free hex editor will not do the needed stuff.
I started with that and moved on to a better which is 010.
010 is much more then a hex editor!
Don't let that part of it fool you!

Now I will pay for one license for this project.
The good people at Sweetscape know I'm willing to do that and will switch whatever to see one of you get's the license.
I just need a final name to do this.
Jeff-Groves is offline   Reply With Quote
Old 08-11-16, 06:43 AM   #5
Rockin Robbins
Navy Seal
 
Join Date: Mar 2007
Location: DeLand, FL
Posts: 8,844
Downloads: 136
Uploads: 50


Default

Quote:
Originally Posted by Jeff-Groves View Post
No.
The free hex editor will not do the needed stuff.
I started with that and moved on to a better which is 010.
010 is much more then a hex editor!
Don't let that part of it fool you!

Now I will pay for one license for this project.
The good people at Sweetscape know I'm willing to do that and will switch whatever to see one of you get's the license.
I just need a final name to do this.
As much as I would love to play with it, I'm not the guy to get the best use out of it. That leaves a bunch of people.

We could just have a simple duel to the death, single elimination I guess, and the winner gets it but that would decimate the project.

It seems to me that objectively, CapnScurvy would put it to best use, but I'm open to reasoning, persuasion, coercion, collusion and bribes!

And Jeff, I can't say enough how much we appreciate your help. Miss one ship name in a hidden campaign file hidden in the weeds and you mess up the game. 010 will fix that with its great search and destroy feature.
Rockin Robbins is offline   Reply With Quote
Old 08-10-16, 11:42 PM   #6
CapnScurvy
Admiral
 
CapnScurvy's Avatar
 
Join Date: Apr 2005
Location: Dayton, Ohio
Posts: 2,292
Downloads: 474
Uploads: 64


Default

Quote:
Originally Posted by cdrsubron7 View Post
Just guessing here, but changing the merchant ship names and tonnages can be done the cfg ship files, correct?
You don't change the names of the ships in the .cfg file. That "ClassName=" is the UnitName I was talking about. It's used through out the game to keep track of the particular model it represents.

You want to change the name of the ship within the Names.cfg file. So it shows in the Recognition Manual, the TDC, and the Ships Log for sunk ships.

Use the ClassName found in the ships .cfg file to track down the correct entry in the Names.cfg file.....you change the name there. Here's an example:

Look up the NKLSS_Hansa in the Data/Sea folder. The NKLSS_Hansa.cfg file lists the "ClassName" as "KLSSHansa". Don't change this name. This is the internal name the game uses in several places to represent the ship in question....don't mess with it.

Now, open the Roster/Names.cfg and find the entry....KLSSHansa. You'll find it like this.....KLSSHansa=Big Split Merchant. You will want to change the name "Big Split Merchant" to something appropriate like Hansa Maru..... or whatever you think is best to describe the ship.

The name changing is done in the Names.cfg file.

As far as the tonnage changing, yes the ships .cfg file is where you can change what's shown in the Recognition Manual. If you think the figure for "Displacement=xxxx" is off.....you can make the correction there. Don't expect the displacement to make a difference in the ships appearence in sitting in the water.....it doesn't do it there. It will only change the figure in the RM. Don't mess with the other figures though. The Mast or Length need to be checked by more than just what's reported in a book. Each ship model is only a representive of the real life ship......in no way is it going to be close to measuring correctly in-game just because a book says so.
__________________


The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813

USS Chesapeake Captain James Lawrence lay mortally wounded...
Quote:
.."tell the men to fire faster, fight 'till she sinks,..boys don't give up the ship!"

Last edited by CapnScurvy; 08-11-16 at 12:15 AM.
CapnScurvy 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 01:38 AM.


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