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 07-10-05, 04:18 PM   #16
Duke of Earl
Medic
 
Join Date: Feb 2003
Location: 20 Meter von einer Wasserbombe
Posts: 169
Downloads: 0
Uploads: 0
Default Re: .dat files

Quote:
Originally Posted by v!por
Gents:

located the necessary files but ... are they in hex format? I was able to open one with a hex editor utility .... I am unable to open them otherwise ... what utility prog would u recommend and if they are in hex.... i have no clue what I am reading and certianly how to edit them:<)
v!por
I use the 'XVI32' utility and the 'find/replace' function to edit the appropriate string in the .dat file... there are several other hex editor utilities that you can use, mostly freeware, and easy to locate with a Google search...

Cordialement, Duke of Earl
__________________
U-627.... das \'Wabo-Magnet\'
Duke of Earl is offline   Reply With Quote
Old 07-10-05, 09:30 PM   #17
Jungman
Samurai Navy
 
Join Date: Apr 2005
Location: Iowa, USA
Posts: 596
Downloads: 0
Uploads: 0
Default

Duke of Earl

Quote:
By the way, I believe the hex value for 25,000 is 40 D8 6A, correct?
Not what I used. It is 50 C3 46

I have not tested for airplanes yet. What altitude do they fly at anyway? I assume letting them see to the games Max (same for Radar) height could not hurt....

I know about the problem, maybe there is a solution to it. I have not done any testing except collecting data in game and watching the behaviour. I am getting better warning, but alot still is after the fact.
Jungman is offline   Reply With Quote
Old 07-10-05, 09:52 PM   #18
sdcruz
Loader
 
Join Date: Jun 2005
Posts: 84
Downloads: 0
Uploads: 0
Default

JungMan

Can you post your updated file somewhere so we can download it.

Thanks
Shelton.
__________________
MORS OMNIA VINCIT
sdcruz is offline   Reply With Quote
Old 07-10-05, 10:13 PM   #19
Duke of Earl
Medic
 
Join Date: Feb 2003
Location: 20 Meter von einer Wasserbombe
Posts: 169
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by Jungman
Duke of Earl

Quote:
By the way, I believe the hex value for 25,000 is 40 D8 6A, correct?
Not what I used. It is 50 C3 46

I have not tested for airplanes yet. What altitude do they fly at anyway? I assume letting them see to the games Max (same for Radar) height could not hurt....

I know about the problem, maybe there is a solution to it. I have not done any testing except collecting data in game and watching the behaviour. I am getting better warning, but alot still is after the fact.
Got it... I just remembered that I have to reverse the order in the .dat file.. so, 46 C3 50 (32 bit hex) = 25,000 (floating point decimal) = 50 C3 46 (SH3 .dat code)

My number (40 D8 6A hex = 6A D8 40 SH3) was the 64 bit double precision hex value.. I used the wrong one from the converter... thanks for pointing that out to me... now, off to edit the .dat file and get it right...

I'm not sure what altitude the jabos fly at.. they come in low, turn around, and fly away high.. that's about all I know without an altimeter...

I will check to see of this edit changes radar spotting behaviour...

Cordialement, Duke of Earl
__________________
U-627.... das \'Wabo-Magnet\'
Duke of Earl is offline   Reply With Quote
Old 07-10-05, 10:47 PM   #20
CWorth
Grey Wolf
 
Join Date: Apr 2005
Location: Gettysburg PA
Posts: 845
Downloads: 38
Uploads: 0
Default

Quote:
Originally Posted by Jungman
Well I did. Set visibility to 10 km. The only way I got a report was to ask the WO personlly and he replied "Nearest visual contact at 9200 meters".

I also set light factor to 1.0 instead of 0.8. Makes him more blind at night as he should be.

I did notice, it is good to set the range factor to other than 0.5 since the enemy AI seems to get a range boost too.

I increased Hydrophone from 6 km to 8 km, I was hearing out to 20 km and the sonar guy was much more reactive.

You can also set use crew effeciency and fatigue true or flase.

Interesting results....Seems to work but need to ask your WO for an update -and he is not always right ( 20 to 50%). Between 8 to 10 km with Visual Range in AiSensors set for 10 Km.

Also you can get airplanes detected further out if you take off the 10,000 meter altitude cap. It should be 25,000. Then your Watch will see airplanes coming from about 10 km away instead of dropping bombs on you from 3 km....in a few a seconds.

Makes airplane raid much more fun because you will have time to react to them with flak (instead of after the fact as is now).

This sounds interesting...what do I need to edit to get the seetings above..I figured out the light factor but how d you set the ranges etc?
CWorth is offline   Reply With Quote
Old 07-11-05, 03:00 AM   #21
sdcruz
Loader
 
Join Date: Jun 2005
Posts: 84
Downloads: 0
Uploads: 0
Default

It looks like this:


00002731: A 41 065 101 01000001
00002732: I 49 073 111 01001001
00002733: _ 5F 095 137 01011111
00002734: V 56 086 126 01010110
00002735: i 69 105 151 01101001
00002736: s 73 115 163 01110011
00002737: u 75 117 165 01110101
00002738: a 61 097 141 01100001
00002739: l 6C 108 154 01101100
00002740: 00 000 000 00000000
00002741: 0A 010 012 00001010
00002742: 00 000 000 00000000
00002743: 00 000 000 00000000
00002744: 00 000 000 00000000
00002745: FF 255 377 11111111
00002746: FF 255 377 11111111
00002747: FF 255 377 11111111
00002748: FF 255 377 11111111
00002749: 1C 028 034 00011100
00002750: 00 000 000 00000000
00002751: 00 000 000 00000000
00002752: 00 000 000 00000000
00002753: C8 200 310 11001000
00002754: : 3A 058 072 00111010
00002755: FC 252 374 11111100
00002756: 1C 028 034 00011100
00002757: B9 185 271 10111001
00002758: ; 3B 059 073 00111011
00002759: F 46 070 106 01000110
00002760: 1F 031 037 00011111
00002761: t 74 116 164 01110100
00002762: D9 217 331 11011001
00002763: / 2F 047 057 00101111
00002764: F3 243 363 11110011
00002765: 83 131 203 10000011
00002766: v 76 118 166 01110110
00002767: 1A 026 032 00011010
00002768: y 79 121 171 01111001
00002769: 00 000 000 00000000
00002770: o 6F 111 157 01101111
00002771: b 62 098 142 01100010
00002772: j 6A 106 152 01101010
00002773: _ 5F 095 137 01011111
00002774: S 53 083 123 01010011
00002775: e 65 101 145 01100101
00002776: n 6E 110 156 01101110
00002777: s 73 115 163 01110011
00002778: o 6F 111 157 01101111
00002779: r 72 114 162 01110010
00002780: 00 000 000 00000000
00002781: 06 006 006 00000110
00002782: 00 000 000 00000000
00002783: 00 000 000 00000000
00002784: 00 000 000 00000000
00002785: 00 000 000 00000000
00002786: 00 000 000 00000000
00002787: 00 000 000 00000000
00002788: 00 000 000 00000000
00002789: ED 237 355 11101101
00002790: 00 000 000 00000000
00002791: 00 000 000 00000000
00002792: 00 000 000 00000000
00002793: C8 200 310 11001000
00002794: : 3A 058 072 00111010
00002795: FC 252 374 11111100
00002796: 1C 028 034 00011100
00002797: B9 185 271 10111001
00002798: ; 3B 059 073 00111011
00002799: F 46 070 106 01000110
00002800: 1F 031 037 00011111
00002801: 00 000 000 00000000
00002802: 00 000 000 00000000
00002803: 00 000 000 00000000
00002804: 00 000 000 00000000
00002805: 00 000 000 00000000
00002806: 00 000 000 00000000
00002807: 00 000 000 00000000
00002808: 00 000 000 00000000
00002809: D9 217 331 11011001
00002810: 00 000 000 00000000
00002811: 00 000 000 00000000
00002812: 00 000 000 00000000
00002813: D5 213 325 11010101
00002814: 00 000 000 00000000
00002815: 00 000 000 00000000
00002816: 00 000 000 00000000
00002817: o 6F 111 157 01101111
00002818: b 62 098 142 01100010
00002819: j 6A 106 152 01101010
00002820: _ 5F 095 137 01011111
00002821: S 53 083 123 01010011
00002822: e 65 101 145 01100101
00002823: n 6E 110 156 01101110
00002824: s 73 115 163 01110011
00002825: o 6F 111 157 01101111
00002826: r 72 114 162 01110010
00002827: 00 000 000 00000000
00002828: 09 009 011 00001001
00002829: 00 000 000 00000000
00002830: 00 000 000 00000000
00002831: 00 000 000 00000000
00002832: T 54 084 124 01010100
00002833: y 79 121 171 01111001
00002834: p 70 112 160 01110000
00002835: e 65 101 145 01100101
00002836: 00 000 000 00000000
00002837: 00 000 000 00000000
00002838: 00 000 000 00000000
00002839: 00 000 000 00000000
00002840: 00 000 000 00000000
00002841: 0D 013 015 00001101
00002842: 00 000 000 00000000
00002843: 00 000 000 00000000
00002844: 00 000 000 00000000
00002845: M 4D 077 115 01001101
00002846: i 69 105 151 01101001
00002847: n 6E 110 156 01101110
00002848: R 52 082 122 01010010
00002849: a 61 097 141 01100001
00002850: n 6E 110 156 01101110
00002851: g 67 103 147 01100111
00002852: e 65 101 145 01100101
00002853: 00 000 000 00000000
00002854: 00 000 000 00000000
00002855: 00 000 000 00000000
00002856: 00 000 000 00000000
00002857: 00 000 000 00000000
00002858: 0D 013 015 00001101
00002859: 00 000 000 00000000
00002860: 00 000 000 00000000
00002861: 00 000 000 00000000
00002862: M 4D 077 115 01001101
00002863: a 61 097 141 01100001
00002864: x 78 120 170 01111000
00002865: R 52 082 122 01010010
00002866: a 61 097 141 01100001
00002867: n 6E 110 156 01101110
00002868: g 67 103 147 01100111
00002869: e 65 101 145 01100101
00002870: 00 000 000 00000000
00002871: 00 000 000 00000000
00002872: 00 000 000 00000000
00002873: FA 250 372 11111010
00002874: E 45 069 105 01000101
00002875: 0E 014 016 00001110
00002876: 00 000 000 00000000
00002877: 00 000 000 00000000
00002878: 00 000 000 00000000
00002879: M 4D 077 115 01001101
00002880: i 69 105 151 01101001
00002881: n 6E 110 156 01101110
00002882: H 48 072 110 01001000
00002883: e 65 101 145 01100101
00002884: i 69 105 151 01101001
00002885: g 67 103 147 01100111
00002886: h 68 104 150 01101000
00002887: t 74 116 164 01110100
00002888: 00 000 000 00000000
00002889: 00 000 000 00000000
00002890: 00 000 000 00000000
00002891: 00 000 000 00000000
00002892: 00 000 000 00000000
00002893: 0E 014 016 00001110
00002894: 00 000 000 00000000
00002895: 00 000 000 00000000
00002896: 00 000 000 00000000
00002897: M 4D 077 115 01001101
00002898: a 61 097 141 01100001
00002899: x 78 120 170 01111000
00002900: H 48 072 110 01001000
00002901: e 65 101 145 01100101
00002902: i 69 105 151 01101001
00002903: g 67 103 147 01100111
00002904: h 68 104 150 01101000
00002905: t 74 116 164 01110100
00002906: 00 000 000 00000000
00002907: 00 000 000 00000000
00002908: P 50 080 120 01010000
00002909: C3 195 303 11000011
00002910: F 46 070 106 01000110

00002911: 0F 015 017 00001111
00002912: 00 000 000 00000000
00002913: 00 000 000 00000000
00002914: 00 000 000 00000000
__________________
MORS OMNIA VINCIT
sdcruz is offline   Reply With Quote
Old 07-11-05, 06:33 AM   #22
Lanzfeld
Grey Wolf
 
Join Date: Jan 2002
Location: New Tripoli, PA
Posts: 994
Downloads: 64
Uploads: 0
Default

So somebody is testing this to see if it does indeed make your crew spot aircraft sooner?
Lanzfeld is offline   Reply With Quote
Old 07-11-05, 10:16 AM   #23
Duke of Earl
Medic
 
Join Date: Feb 2003
Location: 20 Meter von einer Wasserbombe
Posts: 169
Downloads: 0
Uploads: 0
Default

@sdcruz... where do those strings come from?

Cordialement, Duke of Earl
__________________
U-627.... das \'Wabo-Magnet\'
Duke of Earl is offline   Reply With Quote
Old 07-11-05, 04:42 PM   #24
v!por
Watch
 
Join Date: Apr 2005
Location: South Florida
Posts: 26
Downloads: 0
Uploads: 0
Default Hex editor and 25k numbers

Thank you Duke of Earl for the info on XVI32... works well.... if I knew what i was doing... I will learn....:<)

Thank you Jungman for info on the new numbers for 25K

Anyone know the string within dat files for 6km and what should be replaced with to 8 km??/ and where would find...

v!por
v!por is offline   Reply With Quote
Old 07-11-05, 05:04 PM   #25
sdcruz
Loader
 
Join Date: Jun 2005
Posts: 84
Downloads: 0
Uploads: 0
Default

@Duke of Earl

Those in yellow are the ones you need to change in the AI_Sensors dat file (as provided by Jungman).

You need a hex editor to open up that file.

Hope that helps

Shelton.
__________________
MORS OMNIA VINCIT
sdcruz is offline   Reply With Quote
Old 07-11-05, 10:25 PM   #26
Duke of Earl
Medic
 
Join Date: Feb 2003
Location: 20 Meter von einer Wasserbombe
Posts: 169
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by sdcruz
@Duke of Earl

Those in yellow are the ones you need to change in the AI_Sensors dat file (as provided by Jungman).

You need a hex editor to open up that file.

Hope that helps

Shelton.
Well, I can't find the yellow string locations you are referring to with my editor... the address row numbers on the left do not correspond to my address locations.. converting your decimal (or is it binary?) code into hex is a bit difficult... I'll try again...

Cordialement, Duke of Earl
__________________
U-627.... das \'Wabo-Magnet\'
Duke of Earl is offline   Reply With Quote
Old 07-12-05, 03:26 AM   #27
sdcruz
Loader
 
Join Date: Jun 2005
Posts: 84
Downloads: 0
Uploads: 0
Default

these are the new values!! not the old ones so you wont find it.

Look for AI VISUAL (it is going down vertically on that output) in the dat file when you open it up in a HEX editor - I used the one in Linux so cant help you there.

Regards
Shelton.
__________________
MORS OMNIA VINCIT
sdcruz is offline   Reply With Quote
Old 07-12-05, 05:37 AM   #28
Duke of Earl
Medic
 
Join Date: Feb 2003
Location: 20 Meter von einer Wasserbombe
Posts: 169
Downloads: 0
Uploads: 0
Default

@sdcruz... sorry, can't correllate your Linux OS hex values... the format is totally different... I have a Win XP OS using XVI32...

In any event, I hex edited the AI_Sensors.dat file this way...

In the AI_Visual section, I changed Max Range to 10,000 and Max Height to 25,000...

In the AI_Hydrophone section, I changed Max Range to 8,000.. and in the FuMO_23 section, I changed Max Range to 10,000...

So far, I haven't seen any substantial change with the detection range of aircraft.. they still get within 4000 before they get spotted... more observations will be required...

One thing I have noticed about the Sonarman is that he does not get the bearing to the nearest warship correct very much anymore... not as accurate as before... especially when there are more than 6 warships nearby... don't know if it's because I changed the AI_Hydrophone Max Range to 8000 or not...

Cordialement, Duke of Earl
__________________
U-627.... das \'Wabo-Magnet\'
Duke of Earl is offline   Reply With Quote
Old 07-12-05, 07:42 PM   #29
CCIP
Navy Seal
 
Join Date: Apr 2005
Location: Waterloo, Canada
Posts: 8,700
Downloads: 29
Uploads: 2


Default

Oh, Jungman - Re: fog visibility - changing it to 0 in sim.cfg does NOT have the right effect. Sim.cfg seems to be completely for AI ship sensors. Meaning that with 0 fog factor, I just had a merchant shell me from about 2km away with actual visibility limit at 300m

I think setting it higher might help a bit though :hmm:
__________________

There are only forty people in the world and five of them are hamburgers.
-Don Van Vliet
(aka Captain Beefheart)
CCIP is offline   Reply With Quote
Old 07-12-05, 09:59 PM   #30
Sawdust
Planesman
 
Join Date: Jun 2005
Location: Quadrant DB22
Posts: 198
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by CCIP
Oh, Jungman - Re: fog visibility - changing it to 0 in sim.cfg does NOT have the right effect. Sim.cfg seems to be completely for AI ship sensors. Meaning that with 0 fog factor, I just had a merchant shell me from about 2km away with actual visibility limit at 300m
I think setting it higher might help a bit though :hmm:
There's a fog factor in both sim.cfg and in sensors.cfg. Maybe one file is for enemy ships' AI and one file is for your crew's AI.
__________________
.-. --- ..- --. .... ... . .- ... .- .... . .- -..
Sawdust 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 03: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.