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 05-21-12, 05:31 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by sober View Post
Could you redownload it please . I cannot access the file .
Freakin gamefront is always having issues
I posted an Alternate link at post #1

Someone just give me confirmation that everything is ok with this now. Everything works for me perfectly but I need to know it works perfectly for you all also
TheDarkWraith is offline   Reply With Quote
Old 05-21-12, 08:29 PM   #2
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
Someone just give me confirmation that everything is ok with this now. Everything works for me perfectly but I need to know it works perfectly for you all also
Thank you TDW!

Everything works fine!

Brains already shut down.. for the first time didn't saw the fifth change and thought that nothing works.. reinstalled the game again..

already 5:30 AM, It's time to sleep

Thanks again..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 05-21-12, 08:48 PM   #3
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Quote:
Originally Posted by volodya61 View Post
Thank you TDW!

Everything works fine!

Brains already shut down.. for the first time didn't saw the fifth change and thought that nothing works.. reinstalled the game again..

already 5:30 AM, It's time to sleep

Thanks again..
You can call me the doctor . I jumped ahead in time , its 11:45 AM here .
THE_MASK is offline   Reply With Quote
Old 05-21-12, 09:26 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by volodya61 View Post
Thank you TDW!

Everything works fine!
I'll take that as the hang/freeze problem is fixed then

I have noticed that even though I set the duds to 100% I still get non-duds occassionally. I'll have to do more digging in SHSim.act to figure out why. I'm almost 100% certain it has to do with the code that gets the random number. The code calls MSVCR90.rand to get a random number. It then converts the value returned into a single-precision floating point number. Then it multiplies that number by what appears to be a conversion factor. Everywhere throughout SH5.exe and all the other .act files when MSVCR90.rand is called it's return value is always multiplied by this conversion factor. It's this conversion factor that throws me for a loop. I don't understand where they got it's value from. I need to figure out how MSVCR90.rand returns the random number (what registers it affects). I know EAX is affected and it appears ECX is also...

EDIT:
Found an old reference book of mine that gave me the info needed: rand returns the random value in EAX (31 bit number - high bit is always 0). The call to rand always trashes the ECX register - that's why ECX is always affected.

31 bits gives a max integer number of 4294967295. They are multiplying the random number returned by 0.003051851 (this value seems to change with every game load). What I need to do is scale the max 31 bit number to 100. So 4294967295 * x = 100. Do a little algebra....x = ~0.0000000232831...

EDIT2:

well MSVCR90.rand acts a little differently than my reference book says. The game always take the value in EAX and converts that to a floating point number. The high 16 bits of EAX are always 0 thus the maximum integer value is 65535. So 65535 * x = 100. Algebra says x = 0.0015259021896696. Time for a new version of the patcher again!

Last edited by TheDarkWraith; 05-21-12 at 10:55 PM.
TheDarkWraith is offline   Reply With Quote
Old 05-22-12, 12:10 AM   #5
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Great news TDW! Will test this in the evening!

The dud probability is a strange one, it really doesn't follow the percentage values in torpedo.sim. Of course it gives some direction, but like in previous games, we have put the percentage really high if we wan't to see duds.

But this sounds just great, thanks!
Rongel is offline   Reply With Quote
Old 05-22-12, 02:30 AM   #6
misha1967
Commander
 
Join Date: May 2004
Location: Texas, USA
Posts: 470
Downloads: 78
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
NOTE: DISABLE ALL PATCHES WITH OLD PATCHER BEFORE APPLYING NEW PATCHES WITH NEW PATCHER! THIS APPLIES ONLY TO PATCHES RELATED TO SHSIM.ACT AND SHCOLLISIONS.ACT
Now how exactly do you do that, other than uninstalling and reinstalling SH5?
__________________
Ansonsten, Herr Lutter, ist alles in Butter
Liqui-cooled Intel i2550K @ 4.2 GHz, 8 Gb RAM, GTX 970 GPU
misha1967 is offline   Reply With Quote
Old 05-22-12, 04:09 AM   #7
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 11,219
Downloads: 171
Uploads: 0
Default

Unfortunately the "how to use patcher" picture links are dead!
http://www.subsim.com/radioroom/show...postcount=7773
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 05-22-12, 04:50 AM   #8
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

double click on the sh5patcher\file\open\TDW_SH5_Patches.s5p
select path to sh5exe ending with silent hunter 5
click ok
make all False
do the same for all the patches

Extract the new patcher to your sh5 main game folder overwriting the old patcher . Repeat the process to enable true on all the patches . Copy the blue exe icon (4.17mb) to your desktop and launch from that .
THE_MASK is offline   Reply With Quote
Old 05-22-12, 07:00 AM   #9
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by sober View Post
You can call me the doctor . I jumped ahead in time , its 11:45 AM here .
Doctor who
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 05-22-12, 07:07 AM   #10
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by Trevally. View Post
Doctor who
Dr. Hannibal Lecter?
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 05-22-12, 08:02 AM   #11
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Trevally. View Post
Doctor who
Herr Dkt. Zober, the most controversial scientist of the Third Reich. Several years after the German defeat, his time machine was found abandoned in the parking of a supermarket in Fremantle, Australia. From then on, no other proof of his existence was found, at least until yesterday at 11:45 AM, local time of Adelaide.
gap is offline   Reply With Quote
Old 05-22-12, 04:20 PM   #12
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Do you have dud torpedoes checked in the ingame options ?
THE_MASK is offline   Reply With Quote
Old 05-22-12, 09:06 AM   #13
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by col_Kurtz View Post
Maybe I`m wrong.
Open by old SH5patcher and set these values (True) to False = Not patched?
After this try to patch with newest one, again from False to True?
Quote:
Originally Posted by sober View Post
double click on the sh5patcher\file\open\TDW_SH5_Patches.s5p
select path to sh5exe ending with silent hunter 5
click ok
make all False
do the same for all the patches

Extract the new patcher to your sh5 main game folder overwriting the old patcher . Repeat the process to enable true on all the patches . Copy the blue exe icon (4.17mb) to your desktop and launch from that .
Correct
TheDarkWraith is offline   Reply With Quote
Old 05-23-12, 01:01 AM   #14
misha1967
Commander
 
Join Date: May 2004
Location: Texas, USA
Posts: 470
Downloads: 78
Uploads: 0
Default

Quote:
Originally Posted by sober View Post
double click on the sh5patcher\file\open\TDW_SH5_Patches.s5p
select path to sh5exe ending with silent hunter 5
click ok
make all False
do the same for all the patches

Extract the new patcher to your sh5 main game folder overwriting the old patcher . Repeat the process to enable true on all the patches . Copy the blue exe icon (4.17mb) to your desktop and launch from that .
Thanks, sober, and you too, Kurtz!

Now it makes perfect sense!

Now, next silly question: The "dud fix", does that mean that now magnetic detonators might actually work occasionally too? Because up until now I haven't really needed a fix to make some of my magnetic eel duds since they all were. Never once managed to get one to detonate under the keel, and I've tried many times, including using test missions with stationary targets firing the whole load at different depths under the keel.
__________________
Ansonsten, Herr Lutter, ist alles in Butter
Liqui-cooled Intel i2550K @ 4.2 GHz, 8 Gb RAM, GTX 970 GPU
misha1967 is offline   Reply With Quote
Old 05-23-12, 02:28 AM   #15
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by misha1967 View Post
Thanks, sober, and you too, Kurtz!

Now it makes perfect sense!

Now, next silly question: The "dud fix", does that mean that now magnetic detonators might actually work occasionally too? Because up until now I haven't really needed a fix to make some of my magnetic eel duds since they all were. Never once managed to get one to detonate under the keel, and I've tried many times, including using test missions with stationary targets firing the whole load at different depths under the keel.
If you enable magnetic torp fix patch the magnetic detonators will work (your sub will also take hull damage from DCs with this patch)!
The dud fix fixes the problem with impact duds
I added a new patch that will give a 10% chance for magnetic 'duds' It's available in newest version released.
TheDarkWraith 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 07:41 PM.


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.