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, 10:42 AM   #421
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by volodya61 View Post
OK. I'll disable the Magnetic Detonators 4m by TDW and will try it again now.
What is SH5 RUS?
TheDarkWraith is offline   Reply With Quote
Old 05-21-12, 10:46 AM   #422
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
What is SH5 RUS?
It's just Russian translation from the localized version.

EDIT: I'll disable it too to make sure)
__________________
.
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, 11:00 AM   #423
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

If disabling all mods doesn't work then try patching the files in the game's root folder - don't use JSGME to enable patched files. Make a backup of them first of course.
I've seen JSGME 'hiccup' when it comes to enabling/disabling files
TheDarkWraith is offline   Reply With Quote
Old 05-21-12, 11:18 AM   #424
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
If disabling all mods doesn't work then try patching the files in the game's root folder - don't use JSGME to enable patched files. Make a backup of them first of course.
I've seen JSGME 'hiccup' when it comes to enabling/disabling files
Just tried the stock game. Only Test mission was enabled.
First torp is dud, second torp is dud, third torp while hitting the target.. and game freeze.

All files were patched in the game's root folder. I haven't used the JSGME to enable patched files.

I think, I'll try to reinstall the game and look 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, 11:31 AM   #425
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by volodya61 View Post
Just tried the stock game. Only Test mission was enabled.
First torp is dud, second torp is dud, third torp while hitting the target.. and game freeze.

All files were patched in the game's root folder. I haven't used the JSGME to enable patched files.

I think, I'll try to reinstall the game and look again.
Is this different behavior than before? Did the game always freeze on first torp? Have you ever had duds before?
TheDarkWraith is offline   Reply With Quote
Old 05-21-12, 11:46 AM   #426
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
Is this different behavior than before?
No, the same
Did the game always freeze on first torp?
No, sometimes second, sometimes third, sometimes other
Have you ever had duds before?
Yes
Nothing has changed
__________________
.
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, 12:14 PM   #427
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

I finally got the game to hang with the dud patch enabled. It only hung when I enabled a salvo. If I always shot single torpedoes it never hung. Don't use the dud patch anymore till I figure out why salvos cause the game to hang with this patch enabled
TheDarkWraith is offline   Reply With Quote
Old 05-21-12, 12:26 PM   #428
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Unfortunately, not only salvo..
__________________
.
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, 03:37 PM   #429
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by volodya61 View Post
Unfortunately, not only salvo..
Looks like I figured out why the game was being hung...appears I didn't clean up the floating point stack in my new functions (one reason) Main reason is because I forgot to increase the size of the code section for my new functions Sometimes the windows loader would allocate more than enough space for the new functions, sometimes it wouldn't. Explains why sometimes it works, sometimes it doesn't (it would either interpret the bytes it found as code or as data - if as data game hung). Now that the code section size has been increased this problem is eliminated.

I'm testing the new patch file currently...
TheDarkWraith is offline   Reply With Quote
Old 05-21-12, 03:41 PM   #430
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
I'm testing the new patch file currently...
Good news

Because I've reinstalled the game and it doesn't help
__________________
.
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, 04:05 PM   #431
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by volodya61 View Post
Good news

Because I've reinstalled the game and it doesn't help
Much better! I've fired 12 salvos of 4 torps and not a single hang. Fired mutliple single torps also with no hang. Should have new version of patcher available soon
TheDarkWraith is offline   Reply With Quote
Old 05-21-12, 04:33 PM   #432
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
Much better! I've fired 12 salvos of 4 torps and not a single hang. Fired mutliple single torps also with no hang. Should have new version of patcher available soon
Did you tested it with yours Magnetic Detonators 4m?

EDIT: Sometimes I get confused with the verbs
__________________
.
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, 04:39 PM   #433
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by volodya61 View Post
Did you tested it with yours Magnetic Detonators 4m?

EDIT: Sometimes I get confused with the verbs
Sure did

No problems

Final testing now. I just updated the patch file and re-enabled the patch. Ensuring code looks correct in Debugger and game functions without error and then I'll post new version for download.
TheDarkWraith is offline   Reply With Quote
Old 05-21-12, 04:41 PM   #434
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

Quote:
Originally Posted by TheDarkWraith View Post
Much better! I've fired 12 salvos of 4 torps and not a single hang. Fired mutliple single torps also with no hang. Should have new version of patcher available soon
Thankyou
THE_MASK is offline   Reply With Quote
Old 05-21-12, 04:52 PM   #435
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

V1.0.25.0 released. See post #1

This version fixes the hang problem with the torpedo dud patch.

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

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 03:08 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.