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 03-11-10, 05:07 PM   #1
Nicolas
Commander
 
Join Date: Jun 2007
Location: Uruguay
Posts: 453
Downloads: 194
Uploads: 4
Default [REL] Bearing To AOB + Sonar FIX



Video (Mods used TMO, Env, Easy AOB, my own fixes.)



Saw the difference?


--------Sonar FIX, From ("[Test] AI-FIX" post):
Ok, i have been frustated because of enemy ai always detect you when you are in front of them, i made tests dumbing the enemy ai but it gets too easy, if you leave it normal is almost impossible sneak into convoys/tf.

It's hardcoded and the only posible way to fix this is patch the game, the files or modify data when the game is running.

The thing work like this:

- You try to sneak into a convoy, i set enemy sonar range 1 meter,
- You get detected by visual or hydrophone or when you fire torpedoes, i set the range to the original value, and the escorts can ping.
- The is a counter 'Lost contact time' that 'loops' until the escorts gives up, when that happen this counter is set to 0 and i set to 1 the sonar range again.

--------Bearing to AOB fix

This do the AOB in the PK, to change to reflect new bearing you send (SH3 like but only when you send bearing/range).

i had to do some math with asm.

--------

13/03. updated.
--------
The program now let you choose if you want enable both fixes, or only Bearing to AOB.
Changed from 4 to 1 (degrees) a value that validates if a bearing send is correct (comparing the previous one).
--------

Download:
http://www.filefront.com/16309923/SH...-SonarFIX.zip/

Use:
Copy the file to silent hunter 4 folder, run it, launch sh4, when sh4 is in the menu press Ctrl-Alt-T, or Ctrl-Alt-U to enable bearing to AOB only.
If you hear a beep it's enabled and it will be enabled until you close sh4, (also when enabled The labels "Bearing To AOB + Sonar FIX" turns red.)

Note:
- Only works with 1.5 version. It supposed to address problems with fleet boats only.
You can use it with or without any mod, only matters if is 1.5 game version.
- I have avast antivirus and it say nothing about the program but some other AV or security program may report something. Because it works with data in other process memory.

Last edited by Nicolas; 04-29-10 at 10:21 PM.
Nicolas is offline   Reply With Quote
Old 03-11-10, 06:36 PM   #2
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,250
Downloads: 320
Uploads: 11
Default

Thanks Nicolas; this solves real problems.
__________________
Irish1958
irish1958 is offline   Reply With Quote
Old 03-12-10, 12:00 AM   #3
Nicolas
Commander
 
Join Date: Jun 2007
Location: Uruguay
Posts: 453
Downloads: 194
Uploads: 4
Nobody told me nothing.
But i think i will stop here doing more of these kind of mods. Already subsim moderators were kind to allow the releases. And i don't want to abuse.

Thank you.

However i would like to help resolve in the future the fuel issue.
Nicolas is offline   Reply With Quote
Old 03-12-10, 09:07 AM   #4
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,250
Downloads: 320
Uploads: 11
Default

You are right; the refueling problem is a major issue that has not been solved. Fleet boats often traveled with the fleets which had refueling ships.
And I can't believed that if you run out of fuel 50 miles from a base you couldn't be refueled.
__________________
Irish1958
irish1958 is offline   Reply With Quote
Old 03-12-10, 09:31 AM   #5
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,250
Downloads: 320
Uploads: 11
Default

Quote:
Originally Posted by Nicolas View Post
Nobody told me nothing.
I guess you mean lack of feedback. If a mod is clear and has no problems, you won't get any.
I have had over 1,000 downloads of my mods, and have received ZERO feedback. None, zip, nada.
Either they are so awful that they are discarded immediately, or they are so clear that they need no comment.
Nicolas, your mods are all terrific and solve real problems in the games you have modified. Please don't give up.
__________________
Irish1958
irish1958 is offline   Reply With Quote
Old 03-12-10, 10:30 AM   #6
TH0R
XO
 
Join Date: Jul 2009
Location: Croatia
Posts: 420
Downloads: 52
Uploads: 0
Default

I am very interested in this mod. Many thanks for this.

But I am also curious - I see it is only an .exe which needs to be run after the game has been lunched. Does it change (temporary overwrites) files or just changes their values? I am asking this because of the compatibility.

There is no question about it, Bearing to AOB would be very useful in RFB. Which leads me to another question - is this how TDC could have been used in real life?
__________________
My IL2 stuff: LEVEL BOMBING MANUAL v2.0 | 'MUSTANG'
TH0R is offline   Reply With Quote
Old 03-12-10, 11:31 AM   #7
Nicolas
Commander
 
Join Date: Jun 2007
Location: Uruguay
Posts: 453
Downloads: 194
Uploads: 4
"I guess you mean lack of feedback."

Irish, yes i feel like that sometimes it's true.
But i meant more to say, that the fix writes in sh4 'memory space' when it is running, and it's a hack. When Sh4 closes the code just dissapear with the game.
It's like a 'Trainer':
http://en.wikipedia.org/wiki/Cheating_in_video_games
See 'Trainer' section and 'Code injection'

This kind of hack is just innocent for me. And more when it suppose to address things the game makers left behind . Others don't feel like that.

I really had fun making this, learning assembler is actually a lot easier than i expected. It's something i always wanted to do...

Cheers.
Nicolas is offline   Reply With Quote
Old 03-12-10, 12:04 PM   #8
virtualpender
Sonar Guy
 
Join Date: Apr 2007
Posts: 381
Downloads: 281
Uploads: 0
Default

I concur - thank you, Nicolas. This was definitely needed. I have not tried this little fix yet but I am running the original AI FIX and it makes attacks feel more realistic. I appreciate you making this happen. Well done.
virtualpender is offline   Reply With Quote
Old 03-12-10, 02:18 PM   #9
Munchausen
Commodore
 
Join Date: Jul 2002
Posts: 608
Downloads: 25
Uploads: 1
Default

Quote:
Originally Posted by Nicolas View Post
This kind of hack is just innocent for me.
The word "hack" gets people nervous ... try using the phrase "unofficial patch" instead.
Munchausen is offline   Reply With Quote
Old 03-12-10, 03:18 PM   #10
Nicolas
Commander
 
Join Date: Jun 2007
Location: Uruguay
Posts: 453
Downloads: 194
Uploads: 4
Default

Yeah. I know. But what i can do to it?

Hacking (English verb to hack, singular noun a hack) refers to the re-configuring or re-programming of a system to function in ways not facilitated by the owner, administrator, or designer. The term(s) have several related meanings in the technology and computer science fields, wherein a "hack" may refer to a clever or quick fix to a computer program problem, or to what may be perceived to be a clumsy or inelegant (but usually relatively quick) solution to a problem (see also "kludge").

Nicolas is offline   Reply With Quote
Old 03-12-10, 05:06 PM   #11
TH0R
XO
 
Join Date: Jul 2009
Location: Croatia
Posts: 420
Downloads: 52
Uploads: 0
Default

May I kindly ask for a stand alone Bearing to AOB mod? DD's in RFB are 'domestic' enough (for me at least).
__________________
My IL2 stuff: LEVEL BOMBING MANUAL v2.0 | 'MUSTANG'
TH0R is offline   Reply With Quote
Old 03-12-10, 10:47 PM   #12
Hylander_1314
Sea Lord
 
Join Date: May 2006
Location: 5 Miles Inland West Of Lake Huron
Posts: 1,936
Downloads: 139
Uploads: 0
Default

Thanks Nicholas for your unofficial patch! I was always frustrated about ai destroyers. Yeah it's fun to have them chase you and thrilling trying to outmanoeuver them, but after a while, it gets irritating when you can't even get close to a convoy or task force to make an attack.
__________________
A legislative act contrary to the Constitution is not law.
-John Marshall Chief Justice of the Supreme Court

---------------------

Hylander_1314 is offline   Reply With Quote
Old 03-13-10, 01:52 PM   #13
Munchausen
Commodore
 
Join Date: Jul 2002
Posts: 608
Downloads: 25
Uploads: 1
Default

Quote:
Originally Posted by Nicolas View Post
Yeah. I know. But what i can do to it?
Your quote looks to be taken directly from Wikipedia. Further down the same page, Wiki also says (about the word "hack"):
Quote:
The term has since acquired an additional and now more common meaning, since approximately the 1980s; this more modern definition was initially associated with crackers. This growing use of the term "hack" is to refer to a program that (sometimes illegally) modifies another program, often a computer game, giving the user access to features otherwise inaccessible to them.
... and also:
Quote:
Companies take different attitudes towards such practices, ranging from open acceptance (such as Texas Instruments for its graphing calculators and Lego for its Lego Mindstorms robotics gear) to outright hostility (such as Microsoft's attempts to lock out Xbox hackers or the DRM routines on Blu-ray Disc players designed to sabotage compromised players).
But Wikipedia has this to say about the word "patch":
Quote:
Programmers publish and apply patches in various forms. Because proprietary software authors withhold their source code, their patches are distributed as binary executables instead of source. This type of patch modifies the program executable—the program the user actually runs—either by modifying the binary file to include the fixes or by completely replacing it.
So, you be the judge ... it's your mod. Which definition does it best fit?
Munchausen is offline   Reply With Quote
Old 03-13-10, 05:13 PM   #14
Nicolas
Commander
 
Join Date: Jun 2007
Location: Uruguay
Posts: 453
Downloads: 194
Uploads: 4
Default

Quote:
Originally Posted by TH0R View Post
May I kindly ask for a stand alone Bearing to AOB mod? DD's in RFB are 'domestic' enough (for me at least).
Yes. It's not hard at all.
Nicolas is offline   Reply With Quote
Old 03-13-10, 06:36 PM   #15
Nicolas
Commander
 
Join Date: Jun 2007
Location: Uruguay
Posts: 453
Downloads: 194
Uploads: 4
Default

Quote:
Originally Posted by Munchausen View Post
So, you be the judge ... it's your mod. Which definition does it best fit?
A good intended strange fix.
Nicolas 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 05:40 AM.


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