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 07-06-13, 11:45 AM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Ever heard of the phrase DLL hell? It's what you are experiencing. My UIs mod contains DLLs that I wrote. The Generic Patcher contains DLLs I wrote. They both share 2 common DLLs. You can't let one overwrite the other's DLLs (they could be different versions). That is why you need to use the Generic Patcher as a stand-alone app and DO NOT unzip it to your \Silent Hunter 5 folder. Place it on your desktop, create a new folder for it, whatever just don't place it in your \Silent Hunter 5 folder.

Last edited by TheDarkWraith; 07-06-13 at 11:57 AM.
TheDarkWraith is offline   Reply With Quote
Old 07-06-13, 12:01 PM   #2
ygirouard
Seaman
 
Join Date: Jul 2013
Posts: 40
Downloads: 48
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Ever heard of the phrase DLL hell? It's what you are experiencing. My UIs mod contains DLLs that I wrote. The Generic Patcher contains DLLs I wrote. They both share 2 common DLLs. You can't let one overwrite the other's DLLs (they could be different versions). That is why you need to use the Generic Patcher as a stand-alone app and DO NOT unzip it to your \Silent Hunter 5 folder. Place it on your desktop, create a new folder for it, whatever just don't place it in your \Silent Hunter 5 folder.
Hi TheDarkWraith, and thanks for answering one of my questions (indirectly though). FYI I did not unzip in the install directory and followed the instructions from Trevally that you linked in your thread (you should revise them though cause they are not all up to date).

That said, since you're the author, would you care to answer my other questions as well ? That would be most helpful.
ygirouard is offline   Reply With Quote
Old 07-06-13, 12:37 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Install my UIs mod as you've already done.
Extract Generic Patcher to desktop (or folder of your choice)
Run the Generic Patcher and enable the patches you want (you'll need to point the app to the files in your \Silent Hunter 5 folder or to the folder containing those files it needs to patch)
If a patch has a Files= entry that does not say None then you need to double click it. It will open the appropriate app on your computer for the file.
In the case of the torpedo patches you need to place one of those folders it brings up into your \Silent Hunter 5\MODS folder. This is because the patch for the torpedoes expects ALL values to be in 0.0-1.0 range (which they are not in the stock torpedoe's .sim file). Which folder you pick depends on the mods you have installed.
TheDarkWraith is offline   Reply With Quote
Old 07-06-13, 12:56 PM   #4
ygirouard
Seaman
 
Join Date: Jul 2013
Posts: 40
Downloads: 48
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Install my UIs mod as you've already done.
Ok, easy enough.

Quote:
Originally Posted by TheDarkWraith View Post
Extract Generic Patcher to desktop (or folder of your choice)
Run the Generic Patcher and enable the patches you want (you'll need to point the app to the files in your \Silent Hunter 5 folder or to the folder containing those files it needs to patch)
If a patch has a Files= entry that does not say None then you need to double click it. It will open the appropriate app on your computer for the file.
Can you list the files I need to backup first? I can't find an up-to date list of those.

Quote:
Originally Posted by TheDarkWraith View Post
In the case of the torpedo patches you need to place one of those folders it brings up into your \Silent Hunter 5\MODS folder. This is because the patch for the torpedoes expects ALL values to be in 0.0-1.0 range (which they are not in the stock torpedoe's .sim file).
Do I just put it in the MODS folder or I also have to activate it with JSGME? Can you be clear please?

Quote:
Originally Posted by TheDarkWraith View Post
Which folder you pick depends on the mods you have installed.
Can you be more detailed on this statement? Depends on what mods? If I only install your NewUI mod in addition to the Generic Patcher, which one do I need to pick? I appreciate your help, but please be clear!
ygirouard is offline   Reply With Quote
Old 07-06-13, 01:04 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by ygirouard View Post
Can you list the files I need to backup first? I can't find an up-to date list of those.

When the app has loaded all the patches you will see a treenode entry for each patch file it loaded. If you expand that treenode you'll see the file the patches are for. That is the file you need to backup. You can also click File-->Backup



Do I just put it in the MODS folder or I also have to activate it with JSGME? Can you be clear please?

It's understood that if you want to use a mod that you have placed in the MODS folder you have to enable it via JSGME



Can you be more detailed on this statement? Depends on what mods? If I only install your NewUI mod in addition to the Generic Patcher, which one do I need to pick? I appreciate your help, but please be clear!

When you double click that link it opens the application for unzipping you currently have set in your window's registry. If you open the first folder you'll find a file called Readme.txt that was made by volodya71. It's pretty clear what the folders are for if you open that up. If you have my FX_Update mod installed then you need to choose of the folders for FX_Update. If you don't then you need to choose one of the two other folders. If you want magnetic detonator range set to 3m (vice stock 2m) then select the folder with 3m in it.
See above in yellow. I was prior Navy and the expression "quit nukeing it!" comes to mind currently. Those who were Nukes also will understand that expression!
TheDarkWraith is offline   Reply With Quote
Old 07-06-13, 02:05 PM   #6
ygirouard
Seaman
 
Join Date: Jul 2013
Posts: 40
Downloads: 48
Uploads: 0
Default

Quote:
It's understood that if you want to use a mod that you have placed in the MODS folder you have to enable it via JSGME


See? Not really... If you say put it in that folder, but don't say to activate it, I thought the patcher just needed it to be there to load something from it or something. You're assuming we know how your app works in the background... If you had said "load the mod using JSGME" then it would have be clear that you needed to copy it in that MODS folder first and then load it, but that's not what you wrote. That's what I meant by "ambiguous".

Quote:
Originally Posted by TheDarkWraith View Post
See above in yellow. I was prior Navy and the expression "quit nukeing it!" comes to mind currently. Those who were Nukes also will understand that expression!
Thanks... It's the FX Update part I didn't know what it was... I'm new to this forum, so I'm not familiar with all the mods you've ever written. A link to that mod in the readme would have been helpful to understand that.

You assume everyone knows what you know or that what you know should be obvious to everyone. You shouldn't... keep that in mind the next time you write a readme

I'm done "nuking" it for now... but I've never seen a mod or application so badly documented before.
ygirouard is offline   Reply With Quote
Old 07-06-13, 02:26 PM   #7
Sjizzle
Count Dracula
 
Sjizzle's Avatar
 
Join Date: Aug 2012
Location: 46°13′N, 24°47′E
Posts: 1,807
Downloads: 405
Uploads: 0


Default

it's not bad documented at all....u can finde the solution for all problems on this forum .... from how to enable mods till how to hunt a convoy ....
Sjizzle 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 03:42 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.