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 > Silent Hunter 5
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 05-22-13, 03:00 PM   #1
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 994
Downloads: 1078
Uploads: 6
Default JSGME (Jonesoft Generic Mod Enabler)

JSGME related links:

JSGME Generic Mod Enabler information and download link (Use link at top of page, do not use bottom signature download link.)

JSGME download only

[LOOK] HOW TO INSTALL MODS [LOOK] by Sober. Works on any game that can be modded. Just change folder name from example given.

Picture of activating the available mods and saving profile by Silent Steel

stoianm How to install MODS in SH5 video tutorial Works on any game that can be modded. Just change folder name from example given.

JSGME V2.6 User Guide download link

Common JSGME errors and possible solutions

Game specific leftover files issues
For SH5 only - py files, Multiple UIs with TDC entries & CTDS or slower game loading. Go to post #6 for background information, post #8 for solutions.

How to configure JSGME for working with more than one game, without having to install/copy it each time by Gap

Golden rules for beginners. What we all have learned from experience by Gap

PM me if you find any errors or related links that you feel should be here. That way I can keep them on the first post of this thread.

Makes it easier this way when helping others. I won't have to continuously remember where I answer JSGME questions on individual mods anymore! Search option is not always the quickest answer if buried deep in a thread. Sometimes, others will not even try to read the documentation. Always referring back to these threads or copying another modders reply elsewhere. Took me a while to find them again.

Last edited by Mikemike47; 02-23-14 at 03:55 PM. Reason: updated links due to invalid file ID
Mikemike47 is offline   Reply With Quote
Old 05-27-13, 07:00 PM   #2
bill clarke
Captain
 
Join Date: Apr 2005
Location: Wagga Wagga, NSW Australia
Posts: 519
Downloads: 40
Uploads: 0
Default

Thanks Mike
bill clarke is offline   Reply With Quote
Old 09-18-13, 04:17 PM   #3
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 994
Downloads: 1078
Uploads: 6
Default Common JSGME errors

Multiple folder issue:
Some modders put multiple folders in their compressed file. You must uncompress the mod folder structure FIRST and check for accuracy of the modname\data folder level. I usually uncompress the mod to a temporary folder first and check for unneccesary folder levels. I move folders around until modname\data level is achieved. Once the folder structure is correct, I can drag and drop the mod to Game\MODS\. Now, the mod can be activated with JSGME and will work properly in the game.

Game\MODS\modname\data
NOT like this:
Game\MODS\modname\foldername\data

Mod enabling:
Generally speaking, look at individual folder and filename structure for a mod. Let new filenames overwrite over filenames from older mods, unless you want features of oldest mod.

JSGME Error Message something like:
X Access Violation at address 004823AC in module JSGME.exe. Read of address
00000004. Caused by error(s) in the ***.mep file.

Solution:
Look for the modlist name you are activating, usually *name*.mep. My *.mep files are in the My Documents folder. Open up the *.mep file with notepad, wordpad, or some other text editor.

The error you have is caused by three things.
Same mod name listed more than once in *.mep file. Delete one and save *.mep file
OR
A blank space between mods. Delete space and save mod.
OR
**.mep file is saved with the blinking cursor at next line or more from the last mod. The blinking cursor should be at the end of the last mod, NOT next line or more. I have had this error come up when all mods have been enabled OR when JSGME window shows some, but not all mods, appear in activated mods window. JSGME may or may not give you the message, "Not responding". You close JSGME, reopen program, and all mods are there.

Try reactivating modslist by JSGME now.


Another error type with JSGME.ini:
Check by using JSGME and disable all your mods. Nothing should be left behind in "Your drive letter:\Silent Hunter 5\MODS\!BACKUP folder." Nothing should be left behind in "Your drive letter:\Silent Hunter 5\MODS\!INSTLOGS" folder. Try to enable your modlist again.

If it does not work try a similar fix, like what happened to me for a power outage issue as I am disabling all mods at the moment.
Look for JSGME.ini in "Your drive letter:\Silent Hunter 5\MODS\JSGME.ini". This file became corrrupted. Open up the JSGME.ini file with notepad, wordpad, Word or some other text editor. Wordpad works well for me since it keeps formatting, low resource usage, but powerful enough.

It should look like something what is below. Mod names can be different.

Code:
[DEPENDANCIES] SteelViking's Interior Mod V1.2="SteelViking's Interior Mod V1.2.2 Patch""Fuel Gauge WoGaDi_SteelViking's Interior""sobers multi color mod V5""DynEnv v2.9 - 1. Main Mod""DynEnv v2.9 - 9. Sobers Best Ever Tweaks""Pascal-sh5-Crew-Uniforms""Equipment_Upgrades_Fix_v1_4_Patch_1 & hotfix""R.E.M_by_Xrundel_TheBeast_1.2""sobers Lights Cfg V5 SH5""sobers Depth of Field V6 SH5" 
[MODS] Accurate German Flags=1 
RemoveLogoIntroTheDarkWraith=2 
sobers game loading tips V8 SH5=3 
DBM Background Video=4 
sobers green spinning thing SH5=5 
SMission - D-Day Landings=6 
Grossdeutscher Rundfunk=7 
U-Boat Watch Crew Routine SFX=8
Delete everything in the JSGME.ini file EXCEPT [DEPENDANCIES]. Keep [DEPENDANCIES] in the file and save. Retry your modlist.


CTDs and still can't fix, and you suspect a mod:
Have lots of mods installed like I do? I have more than 80 running at a time.
Start with a new campaign to isolate your corrupted mod problem.
How about trying 10 mods at a time? Then the next group of 10, etc until you can narrow it down within 10 mods of where the CTD is. Once you have a crash (CTD) with 10, then try the first 5, then the other remaining 5, etc.. It is called a 1/2 step method. Then take the first 3 of 5. No CTD yet. Then try last 2.

Longer approach
Uninstall all mods and start a new campaign, adding one mod at a time. It can be time consuming, but it is often the best way to work out which is the offending mod.

(This one post is redirected from SH3, SH4 and Dangerous Waters threads.)
Click here to get back to SH3 JSGME thread.
Click here to get back to SH4 JSGME thread.
Click here to get back to Dangerous Waters thread.

Last edited by Mikemike47; 01-07-14 at 12:05 PM. Reason: Added blinking cursor comment.
Mikemike47 is offline   Reply With Quote
Old 09-19-13, 04:46 AM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Good thread Mike

May I suggest you to update the first post with the following link?

http://www.subsim.com/radioroom/show...67&postcount=4

It is a quick tip on how to configure JSGME for working with more than one game, without having to install/copy it each time. Nothing new (I took this information from the JSGME release thread already linked in your post) but a reminder might help someone
gap is offline   Reply With Quote
Old 09-24-13, 12:16 PM   #5
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 994
Downloads: 1078
Uploads: 6
Default Game specific leftover files issues

SH5 Leftover Files issues:
Disable all mods and TDW patcher if used. Nothing should be left behind in "Your drive letter:\Silent Hunter 5\MODS\!BACKUP or "Your drive letter:\Silent Hunter 5\MODS\!INSTLOGS" folder. If there is something left in the !BACKUP folder, that is the path to follow and fix your problem.

The game is patched to version 1.2 which has file dates older than May 2010. Verify files at the root folder of Silent Hunter5, and at least the Silent Hunter5\data and all the data subfolders having dates older than May 2010.

Folder date changes give you a clue where to search first for files. See if any files are much newer than May 2010 in your stock game without mods and TDW patcher. Newer files than May 2010 are the ones that can cause a problem.


SH4 Leftover Files issues:
Disable all mods. Nothing should be left behind in "Your drive letter:\Silent Hunter 4\MODS\!BACKUP or "Your drive letter:\Silent Hunter 4\MODS\!INSTLOGS" folder. If there is something left in the !BACKUP folder, that is the path to follow and fix your problem.

SH4 Wolves of the Pacific:
Can someone PM me with the date information I need? The game is patched to version 1.4 which has file dates older than ????. Verify files at the root folder of Silent Hunter4, and at least the Silent Hunter4\data and all the data subfolders having dates older than ????.

Folder date changes give you a clue where to search first for files. See if any files are much newer than ???? in your stock game without mods. Newer files than ???? are the ones that can cause a problem.

SH4 U-boat Missions:
The game is patched to version 1.5 which has file dates older than Dec 2007. Verify files at the root folder of Silent Hunter4, and at least the Silent Hunter4\data and all the data subfolders having dates older than Dec 2007.

Folder date changes give you a clue where to search first for files. See if any files are much newer than December 2007 in your stock game without mods. Newer files than December 2007 are the ones that can cause a problem.


SH3 Leftover Files issues:
Can someone PM me with the date information I need?
Does anyone have Silent Hunter 3 version 1.3b (or whatever the latest version is)? If so, please disable all mods, then look around in the root folder and data folder and data subfolders. I need the latest file dates (month and year is good) as a reference point for JSGME issues.

IIRC, GWX 3.0 installer overwites stock files permanently which I have installed.

Click here to get back to SH3 JSGME thread.
Click here to get back to SH4 JSGME thread.

Last edited by Mikemike47; 01-24-14 at 02:23 PM.
Mikemike47 is offline   Reply With Quote
Old 10-25-13, 11:36 PM   #6
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 994
Downloads: 1078
Uploads: 6
Default py files, Multiple UIs with TDC entries and CTDs or slower game loading

I discovered a problem with residual data similar to **.py script errors post while trying to eliminate CTDs using smaller mod lists than I normally used. To my surprise, I found these files leftover in the Silent Hunter 5\data\Scripts\Menu folder shown below in the attachment. I alt-tab (or ctrl-alt-delete) and found the **.py error window. The problem turned out to be newer **.py files compared to stock.

Multiple times I tried to start a campaign using silentotto with a smaller modlist I was surprised to see how long the game was still taking to load.

I disabled all mods and the **.py files was still there. Over the months past, I have disabled all mods during CTD testing. Everyone remember silentotto CTDs!! I never thought to check for this Silent Hunter 5\data\Scripts\Menu folder folder possibility of errors before.

This time I manually deleted all **.py files that are not stock. Thank goodness for the archived 1.2 silent hunter DVD to compare to. I reenabled all mods according to my original mod list, disabled them multiple times for test purposes, BUT these **.py files are no longer there, which is supposed to happen.
Attached Images
File Type: jpg Data.scripts.menu.filename.py.JPG (78.2 KB, 109 views)

Last edited by Mikemike47; 01-24-14 at 02:31 PM. Reason: Simplified description
Mikemike47 is offline   Reply With Quote
Old 10-26-13, 12:44 AM   #7
plj
Captain
 
Join Date: Sep 2013
Posts: 542
Downloads: 70
Uploads: 0
Default

Interesting .. so it did not clean up like it should ... I'm gonna reinstall here, make a snapshot, and keep comparing .. see it the newUI py files are the only left-over's .. thanx
__________________
0x0000005 ruïning your day when trying to load the patched sh5.exe ? Click.
plj is offline   Reply With Quote
Old 10-26-13, 12:53 AM   #8
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 994
Downloads: 1078
Uploads: 6
Default py files, Multiple UIs with TDC entries and CTDs or slower game loading

I added this post to this thread after seeing another possibility of why CTDs or slower game loading happens in general.

Disable all your mods. Go to your Silent hunter 5 root folder. Delete all your Page******_Draggables.TDW files manually. The game will recreate them when you start another game.

1) Go to your Silent hunter 5 root folder. Delete all your TDW***.dll files manually.
2) Go to your Silent hunter 5\data\Scripts\Menu folder. Delete all the ****.py files that are newer than May 2010. Most **.py files are from Multiple UIs for SH5 with TDC. One **.py file is Page CampaignSelection.py from Open Horizons II.


One or more of these suggestions may fix CTD issues or speed up game loading.

Last edited by Mikemike47; 03-22-14 at 02:57 PM. Reason: corrected date error
Mikemike47 is offline   Reply With Quote
Old 10-26-13, 12:56 AM   #9
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 994
Downloads: 1078
Uploads: 6
Default

Quote:
Originally Posted by plj View Post
Interesting .. so it did not clean up like it should ... I'm gonna reinstall here, make a snapshot, and keep comparing .. see it the newUI py files are the only left-over's .. thanx
See this related link.

Have you seen any pros/cons to use the snapshot feature vs. load/save profile? I only used the snapshot feature just recently for curiosity.

Last edited by Mikemike47; 10-26-13 at 01:07 AM.
Mikemike47 is offline   Reply With Quote
Old 10-26-13, 01:11 AM   #10
plj
Captain
 
Join Date: Sep 2013
Posts: 542
Downloads: 70
Uploads: 0
Default

I havent used the snapshot feature from JSGME yet. It's documentation talks about what it's usefull for a little .. it might be of use too, but atm I wont rely on it.

I was talking about snapshots of my install dir and using midnight commander and similar tools to file compare what should be identical situations:

compare stock install with mods placed in mod-dir, but not enabled VS install wheren mods have been enabled and disabled again.

compare modded game to game where mods have been disabled and enabled again.

compare different .mep orders, to eachother, see which files differ in the end result if the same mods have been used otherwise.

and the one I look forward to most: manually mod a game with the 70+ mods from sober's list .. and compare that to a JSGME modded one and other above results.

It looks like JSGME can do this too .. but atm, I dont trust JSGME untill I verified that what is does is what it is supposed to do
__________________
0x0000005 ruïning your day when trying to load the patched sh5.exe ? Click.
plj is offline   Reply With Quote
Old 10-28-13, 07:35 AM   #11
Silent Steel
Sea Lord
 
Join Date: Jun 2008
Location: Noch dabei
Posts: 1,732
Downloads: 618
Uploads: 0
Default

Quote:
Originally Posted by plj View Post
I havent used the snapshot feature from JSGME yet. It's documentation talks about what it's usefull for a little .. it might be of use too, but atm I wont rely on it.

I was talking about snapshots of my install dir and using midnight commander and similar tools to file compare what should be identical situations:

compare stock install with mods placed in mod-dir, but not enabled VS install wheren mods have been enabled and disabled again.

compare modded game to game where mods have been disabled and enabled again.

compare different .mep orders, to eachother, see which files differ in the end result if the same mods have been used otherwise.

and the one I look forward to most: manually mod a game with the 70+ mods from sober's list .. and compare that to a JSGME modded one and other above results.

It looks like JSGME can do this too .. but atm, I dont trust JSGME untill I verified that what is does is what it is supposed to do
You're right, JSGME shouldn't be trusted all the time.

But, it is a great help to activate/deactivate mods. Even so, JSGME can mess things up and in that case Webster's instruction http://www.subsim.com/radioroom/show...28&postcount=1 is the one for those who think a corrupted JSGME install is the culprit.

BTW - as I haven't seen this before - could you please explain the differnce between 'manually mod a game/JSGME modded'?

If you mean to apply mods by dropping them into the C:\Ubisoft\Silent Hunter 5 folder I can just say - that's a risky way to go.

When/if disabling mods in that folder this has proven to leave leftovers that mess the whole game up.
Silent Steel is offline   Reply With Quote
Old 11-27-13, 10:49 AM   #12
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 994
Downloads: 1078
Uploads: 6
Default

Added more details at post #3.
Mikemike47 is offline   Reply With Quote
Old 11-28-13, 04:34 PM   #13
Chigley
Sailor man
 
Join Date: Jan 2012
Posts: 45
Downloads: 225
Uploads: 0
Default

Quote:
Disable all mods and TDW patcher if used. Then verify stock 1.2 folders and files having dates from May 2010 or older.
Mike,

I'm a bit confused by this statement. When you say "verify stock 1.2 folders and files having dates from May 2010 or older." do you mean the stock SH5 folder C:\Ubisoft\Silent Hunter5 that is v1.2 enabled or are you referring to other folders/files?

Thanks
Ian
Chigley is offline   Reply With Quote
Old 11-28-13, 05:28 PM   #14
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 994
Downloads: 1078
Uploads: 6
Default

Quote:
Originally Posted by Chigley View Post
Mike,

I'm a bit confused by this statement. When you say "verify stock 1.2 folders and files having dates from May 2010 or older." do you mean the stock SH5 folder C:\Ubisoft\Silent Hunter5 that is v1.2 enabled or are you referring to other folders/files?

Thanks
Ian
Game patched to 1.2 for files relating to May 2010. Not enabled as far as mods go. Disable all mods and TDW patcher. Verify the root folder C:\Ubisoft\Silent Hunter5, at least the C:\Ubisoft\Silent Hunter5\data and all data subfolders. I would not expect anything in the C:\Ubisoft\Silent Hunter5\MODS or C:\Ubisoft\Silent Hunter5\Support folders to crash any game yet.

Last edited by Mikemike47; 11-29-13 at 10:41 AM.
Mikemike47 is offline   Reply With Quote
Old 11-29-13, 01:01 PM   #15
Chigley
Sailor man
 
Join Date: Jan 2012
Posts: 45
Downloads: 225
Uploads: 0
Default I'm being thick

Quote:
Verify the root folder C:\Ubisoft\Silent Hunter5, at least the C:\Ubisoft\Silent Hunter5\data and all data subfolders.
If after checking for files and folders that are older than May 2010, what should I do with them if I find any?
Chigley 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 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.