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

Reply
 
Thread Tools Display Modes
Old 09-24-07, 11:06 AM   #1
GerritJ9
Sonar Guy
 
Join Date: May 2007
Location: Netherlands
Posts: 389
Downloads: 47
Uploads: 6
Default Hex editor use

I have a few questions regarding the use of a hex editor. At the moment I am using HHD Free Hex Editor, dut are there any editors which are more suitable for modding?

At the moment I am modding a vessel in various ways; its original speed is 35 knots, but this has to be reduced to 26 knots. Opening the .sim file with the hex editor shows : max_speed.....B...... which in the table on the left corresponds to a figure of 42. How does one determine which letter corresponds to the reduced max. speed, as there is no readout of a real value in knots?
Engine power also has to be reduced, this corresponds to f0 d2 46 which should correspond to a real-life figure of 27,000 SHP and has to be reduced to approx. 11,000 SHP.
Engine RPM, too has to be reduced, is represented by 44 4f. I don't have a full speed RPM figure for the ship concerned but this has to be reduced proportionally to speed i.e. 26/35 of full speed RPM.
Finally, can I change the name in the RH cloumn from (in this case) NDD_Clemson to NDE_PB102 by simply altering the text? Thanks in advance!
__________________
Quamvis Patiens Acris

My SH3/SH4 mods: http://www.gamefront.com/files/user/GerritJ9
GerritJ9 is offline   Reply With Quote
Old 09-24-07, 11:23 AM   #2
bigboywooly
Rear Admiral
 
Join Date: Apr 2006
Location: Swindon, England
Posts: 10,151
Downloads: 35
Uploads: 0
Default

You can use mini tweaker for altering the stuff in the sim

http://www.delraydepot.com/tt/sh3sdk.htm - grab the tweak files too

Changing the name NDD_Clemson to NDE_PB102 will need additional hexing
If you keep the letter count the same its a straight replace job

Just a tip
If you rename the rudder\propellers as well then the ship usually wont move due it losing its tie in with the sim

Am only a noob at hexing myself and there are far better people on here than I
__________________


My mediafire page http://www.mediafire.com/?11eoq19bq9r41
bigboywooly is offline   Reply With Quote
Old 09-24-07, 02:14 PM   #3
GerritJ9
Sonar Guy
 
Join Date: May 2007
Location: Netherlands
Posts: 389
Downloads: 47
Uploads: 6
Default

Thanks for the reply, BBW. I will have to study this a bit- seems to be rather involved. The ship is actually the SH4 version rather than SH3 but I suppose the programme will work on SH4 files as well. Alternatively, I could modify the relevant SH3 file and substitute it for the SH4 version. I take it this work has to be done before cloning using Pack3D?
__________________
Quamvis Patiens Acris

My SH3/SH4 mods: http://www.gamefront.com/files/user/GerritJ9
GerritJ9 is offline   Reply With Quote
Old 09-24-07, 02:17 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

You might want to give this a look see:

http://dodownload.filefront.com/8008...01efeffbc68972

I haven't updated it in awhile but it contains a lot of information for people new to the SH3 files and file system. It might answer a lot of your questions (and might cause some new questions from you).
TheDarkWraith is offline   Reply With Quote
Old 09-24-07, 06:09 PM   #5
GerritJ9
Sonar Guy
 
Join Date: May 2007
Location: Netherlands
Posts: 389
Downloads: 47
Uploads: 6
Default

Downloaded the minitweaker and files, checked some figures. According to the .sim file for the Clemson class, speed is 35 knots, SHP is 27,000 HP and max prop rpm is 572; for the C&D class the figures are 36 knots, 36,000 HP and 500 rpm. While in both cases the figures for speed and SHP are correct, the figures for rpm for the C&D class is way out- the correct figure according to several reference books should be 350 rpm. Unfortunately, I don't have any rpm figure for the Clemsons; checking the Hunt (I) class similarly shows an incorrect figure for prop rpm- 500 vs. real figure of 380 rpm.

Tried the effect of changing the name NDD_Clemson to NDE_PB102 in the .sim file by simply changing the name for rudder and the props in the RH column, suffice to say that the props still work after the name change, as does the rudder. Changing the name also changes the hex values so I think that it can be safely done.
Now to figure out how to change the speed, power and rpm values...............
__________________
Quamvis Patiens Acris

My SH3/SH4 mods: http://www.gamefront.com/files/user/GerritJ9
GerritJ9 is offline   Reply With Quote
Old 09-26-07, 09:21 AM   #6
GerritJ9
Sonar Guy
 
Join Date: May 2007
Location: Netherlands
Posts: 389
Downloads: 47
Uploads: 6
Default

I think I've worked it out. Using the SH3 Minitweaker and the relevant tweakfile for the Clemson, the speed of 35 knots is represented by value 00 00 0C 42; the required speed of 26 knots requires this to be altered to 00 00 D0 41. Similarly, the required new power and rpm values can be determined and the values in the .sim file altered.
Also altered the max rpm value for the C&D class to the correct value, next on the list is the rpm correction for the Hunts. No doubt the rpm values for the J and N classes are also incorrect, but I have to check this. And I strongly suspect the max rpm value for the Clemson is incorrect as well, 572 rpm seems way too high. Does anybody have a figure for this?
__________________
Quamvis Patiens Acris

My SH3/SH4 mods: http://www.gamefront.com/files/user/GerritJ9
GerritJ9 is offline   Reply With Quote
Reply


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 12:50 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.