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 06-06-12, 07:30 PM   #571
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
When you use code injection you cannot specify where the memory created will be placed. This makes it very hard to put commonly used functions in one place and call them from another place. With code injection you have code duplication because all the support functions needed for that chunk of code has to be included in that chunk of code.

With the way I have my new code setup I have commonly used functions placed in the first 0x2000 bytes of the new code sections. All the other functions fall after this 0x2000 bytes. I know the exact address of every support function (and every other function) - this means I can call a support function in SH5 from SHSim or vice versa if need be It's next to impossible to do this with code injection (it can be done but it's very messy)
I understand now. Thank you!
gap is offline   Reply With Quote
Old 06-06-12, 08:51 PM   #572
quink99
中国水兵
 
Join Date: Jul 2011
Posts: 278
Downloads: 941
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
That means you left some patches enabled with the old patcher. If you still have the patcher version that patched your files use it to ensure all patches are removed. If not you'll need to replace the files you want to patch with unmodified backups.
Still no joy, TDW. Here's what I've done up to this point;

1) Using JSGME I disabled New_UIs_TDC_6_9_0_ByTheDarkWraith.

2) Using the previous Generic File Patcher I disabled all the previously selected options.

3) I then deleted all the files associated with the previous patch.

4) Next I installed Generic File Patcher v 1.0.39.0

5) It was at this point, on trying to open the new Patcher, that I got the first ERROR message that I sent you prior to your above quoted message.

6) The next time I tried the new patcher after running CCleaner and Registry Booster and doing a shutdown and restart I got the following ERROR message upon trying to open the new Patcher again;

Error

X File to patch not specified in patch file

7) Using Notebook, I opened the file, TDW_SH5_pPatches.s5p file, and, sure enough, on the first two lines, [EXE] and then Path=, there is no file to patch specified.

Any ideas as to what I might try next?

Thanks, Quink
quink99 is offline   Reply With Quote
Old 06-06-12, 09:02 PM   #573
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

You should have backed up the exe shcollisions and shsim files before applying the patch . Too late now . Uninstall all the mods . Reinstall the game but choose to keep the saves . Patch to 1.2 . Backup the files then apply the patches .
THE_MASK is offline   Reply With Quote
Old 06-06-12, 09:05 PM   #574
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

To quink99

Maybe you should try to reinstall the game?

EDIT: Sober said it before me
__________________
.
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 06-06-12, 09:42 PM   #575
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by quink99 View Post
Still no joy, TDW. Here's what I've done up to this point;

1) Using JSGME I disabled New_UIs_TDC_6_9_0_ByTheDarkWraith.

2) Using the previous Generic File Patcher I disabled all the previously selected options.

3) I then deleted all the files associated with the previous patch.

4) Next I installed Generic File Patcher v 1.0.39.0

5) It was at this point, on trying to open the new Patcher, that I got the first ERROR message that I sent you prior to your above quoted message.

6) The next time I tried the new patcher after running CCleaner and Registry Booster and doing a shutdown and restart I got the following ERROR message upon trying to open the new Patcher again;

Error

X File to patch not specified in patch file

7) Using Notebook, I opened the file, TDW_SH5_pPatches.s5p file, and, sure enough, on the first two lines, [EXE] and then Path=, there is no file to patch specified.

Any ideas as to what I might try next?

Thanks, Quink
If the filename is missing in the s5p file then the s5p file is corrupt. The Path= being blank is ok - that means the app will prompt you for the path to the file.

If you have a corrupt s5p file then I would say your download of the patcher was corrupt. I'd try redownloading it again.
TheDarkWraith is offline   Reply With Quote
Old 06-06-12, 10:32 PM   #576
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

Hi TDW!

Your last two patches are not working correctly .. I'm still get the damage to the hull at the depth of 7-8 meters

and the doors don't close/open also..

Sorry pour English..
__________________
.
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 06-06-12, 10:55 PM   #577
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 volodya61 View Post
Hi TDW!

Your last two patches are not working correctly .. I'm still get the damage to the hull at the depth of 7-8 meters

and the doors don't close/open also..

Sorry pour English..
Doors open = F7 .
THE_MASK is offline   Reply With Quote
Old 06-06-12, 11:28 PM   #578
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 sober View Post
Doors open = F7 .
Thanks Sober..
I'm not so stupid Russian.. I can read..
It's not working at my game..
F7 working.. but the doors are not close/open..

I will try to do it more time..

Thanks anyway
__________________
.
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 06-06-12, 11:30 PM   #579
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by volodya61 View Post
Hi TDW!

Your last two patches are not working correctly .. I'm still get the damage to the hull at the depth of 7-8 meters

and the doors don't close/open also..

Sorry pour English..
You have to enable/disable the battlestations ability (F7) in order for the doors to close/open

What do you mean by still get the damage to the hull at the depth of 7-8 meters? Where was this occurring at (what place on map)? Your sub was in very shallow waters of 7-8 meters and you were taking damage to the hull?
TheDarkWraith is offline   Reply With Quote
Old 06-06-12, 11:46 PM   #580
Fidd
Captain
 
Join Date: Apr 2005
Location: Blighty!
Posts: 542
Downloads: 10
Uploads: 0


Default

is this patch still relevant for stock 1.2 version of the game?

(incredible work btw)
Fidd is offline   Reply With Quote
Old 06-07-12, 12:07 AM   #581
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 do you mean by still get the damage to the hull at the depth of 7-8 meters? Where was this occurring at (what place on map)? Your sub was in very shallow waters of 7-8 meters and you were taking damage to the hull?
No.. Not in shallow waters..
I mean, when I going to the bottom from the surface (it was 100-150 meters under the keel) and the distance to the bottom is 7-8 meters, I'm starting to get damage like before the patch..
I hope you could understand what I mean..
Sorry my English again..

EDIT:
Quote:
Originally Posted by Fidd View Post
is this patch still relevant for stock 1.2 version of the game?
Yes, it is..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel

Last edited by volodya61; 06-07-12 at 12:23 AM.
volodya61 is offline   Reply With Quote
Old 06-07-12, 12:38 AM   #582
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by volodya61 View Post
No.. Not in shallow waters..
I mean, when I going to the bottom from the surface (it was 100-150 meters under the keel) and the distance to the bottom is 7-8 meters, I'm starting to get damage like before the patch..
I'll have to fire up OllyDebug and see what's going on. Can you give me approximate map coordinates of where you were?
TheDarkWraith is offline   Reply With Quote
Old 06-07-12, 01:28 AM   #583
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

Yes, sure I can..
It will take a little time .. something happened with my network..
I'll post it in this post like "EDIT:"

EDIT: These are some screens (patch Sub on bottom fix) - http://www.gamefront.com/files/21810160/To+TDW.7z

EDIT2: Patch Close/open sub doors on Battlestations activated/deactivated works fine.. it was a problem with my PC.. (something wrong with F7-button)
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel

Last edited by volodya61; 06-07-12 at 02:12 AM.
volodya61 is offline   Reply With Quote
Old 06-07-12, 02:01 AM   #584
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 volodya61 View Post
Thanks Sober..
I'm not so stupid Russian.. I can read..
It's not working at my game..
F7 working.. but the doors are not close/open..

I will try to do it more time..

Thanks anyway
But i am stupid or drunk aussie
THE_MASK is offline   Reply With Quote
Old 06-08-12, 08:38 PM   #585
quink99
中国水兵
 
Join Date: Jul 2011
Posts: 278
Downloads: 941
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
If the filename is missing in the s5p file then the s5p file is corrupt. The Path= being blank is ok - that means the app will prompt you for the path to the file.

If you have a corrupt s5p file then I would say your download of the patcher was corrupt. I'd try redownloading it again.
As usual, the Gospel according to St. TDW is correct! It was, indeed, a corrupt download of the patcher. Afer downloading a new one all now works perfectly.

My sincere thanks
quink99 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 08:51 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.