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 10-24-13, 06:11 AM   #1
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 plj View Post
I'm not frustrated .. I'm intrigued .. and setting up monitoring so that I will be able to look back in detail what my system was doing right before the crash.

If my system would be reliably slow in certain spots or CTD at predictable situations, I would not be looking into this .. I would be upgrading my system
I unenebled my mod list today and the n reinstalled witht he Tasks/Load mod profile option . I noticed half way thru jsgme stopped responding . Ctds ever since then with a new campaign . Even after I reinstalled the game . Maybe a mod is corrupted , who knows .
THE_MASK is offline   Reply With Quote
Old 10-25-13, 12:07 PM   #2
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 989
Downloads: 1081
Uploads: 6
Default

Quote:
Originally Posted by sober View Post
I noticed half way thru jsgme stopped responding .
I have noticed in my situation that JSGME stops responding according to windows task manager. I do not get the CTDs like you mention in your situation because of a stop responding issue. I just let it run.

Does post #3 in my signature help with your issue?

On a side note, not related to PLJ's mission but, related to JSGME and possible CTDs:
I am not at my game computer at the moment. I am going to add some new information to JSGME help thread I created in about 12 hours for something else I discovered in JSGME issues. With all of the various threads about CTDs lately, perhaps it will help others.

The veterans Sober, gap, volodya61 trevally, have all helped with CTD and mod soup JSGME issues so much. Now vdr1981 and especially plj mentioning JSGME CTDs a lot. I hope know one feels left out.

Last edited by Mikemike47; 10-26-13 at 01:45 AM.
Mikemike47 is offline   Reply With Quote
Old 10-25-13, 01:01 PM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Mikemike47 View Post
I have noticed in my sitauation that JSGME stops responding according to windows task manager.
I can confirm: I had the same happening on my rig. It is probably connected with the enabling of burdensome mods or large mod lists, because it never happens when enabling small mods (in terms of Kb). What I do, is leaving JSGME alone: after a while the program gets back responding, and the mod(s) is/are enabled as supposed.
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-25-13, 01:36 PM   #4
plj
Captain
 
Join Date: Sep 2013
Posts: 542
Downloads: 70
Uploads: 0
Default

Quote:
Originally Posted by sober View Post
I unenebled my mod list today and the n reinstalled witht he Tasks/Load mod profile option . I noticed half way thru jsgme stopped responding . Ctds ever since then with a new campaign . Even after I reinstalled the game . Maybe a mod is corrupted , who knows .
I dont want to be too optimistic, but it looks like we are zooming in on the issue. It seems that under certain conditions, JSGME does not work propperly.

Quote:
Originally Posted by Mikemike47 View Post
I have noticed in my sitauation that JSGME stops responding according to windows task manager. I do not get the CTDs like you mention in your situation because of a stop responding issue. I just let it run.

Does post #3 in my signature help with your issue?

On a side note, not related to PLJ's mission but, related to JSGME and possible CTDs:
I am not at my game computer at the moment. I am going to add some new information to JSGME help thread I created in about 12 hours for something else I discovered in JSGME issues. With all of the various threads about CTDs lately, perhaps it will help others.

The veterans Sober, gap, volodya61 trevally, have all helped with CTD and mod soup JSGME issues so much. Now vdr1981 and especially plj mentioning JSGME CTDs a lot. I hope know one feels left out.
Same here .. if I do anything buy let JSGME run, it gets unresponsive, till it finished loading the list. No idea if still does its job like it should when it does that... any more info on JSGME is more then welcome .. fixing that will save me from having to load a list manualy :p

Quote:
Originally Posted by gap View Post
I can confirm: I had the same happening on my rig. It is probably connected with the enabling of burdensome mods or large mod lists, because it never happens when enabling small mods (in terms of Kb). What I do, is leaving JSGME alone: after a while the program gets back responding, and the mod(s) is/are enabled as supposed.
It does this when it has to copy large files .. like a large volume of sound files or the intro video. It indeed seems to have done its job .. JSGME validator agrees on that .. but the random CTD's we get kinda disagree .. and it seems that for an unstable list to become stable, all one has to do is disable and re-enable it .. or the other way around .. perfectly stable modlist becommes a CTD-ing one after dis- and re-enable of modlist.
plj is offline   Reply With Quote
Old 10-25-13, 07:45 PM   #5
Bathrone
Ensign
 
Join Date: Jan 2007
Posts: 234
Downloads: 82
Uploads: 0
Default

Its a red herring. That just usual windows behaviour with the file system and the latency/bandwidth limitations of moving the files around

If you wanted to get all scientific, you could run a checksum hashing algorithm over the unmoved mods files and then move it with a profile, see the not responding due to latency/bandwidth, then once the mod enabler has all moved the files, re run the hashing algorithm over the same files just moved and you *WILL* see that the hash values are identical

This is not the problem folks
Bathrone is offline   Reply With Quote
Old 10-25-13, 10:57 PM   #6
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 989
Downloads: 1081
Uploads: 6
Default

Quote:
Originally Posted by Bathrone View Post
you could run a checksum hashing algorithm over the unmoved mods files and then move it with a profile
Just curious. Running JSGME, tasks, generate snaphot of game files produces files with a whole bunch of numbers/letters afterwards. Is the whole bunch of numbers/letters considered a checksum hashing algorithm?

I have used his MD5Mate.
Mikemike47 is offline   Reply With Quote
Old 10-26-13, 01:28 AM   #7
plj
Captain
 
Join Date: Sep 2013
Posts: 542
Downloads: 70
Uploads: 0
Default

Quote:
Originally Posted by Bathrone View Post
Its a red herring. That just usual windows behaviour with the file system and the latency/bandwidth limitations of moving the files around

If you wanted to get all scientific, you could run a checksum hashing algorithm over the unmoved mods files and then move it with a profile, see the not responding due to latency/bandwidth, then once the mod enabler has all moved the files, re run the hashing algorithm over the same files just moved and you *WILL* see that the hash values are identical

This is not the problem folks
Given mike's finding here it seems that JSGME is err-ing sometimes for some reason.

I went through the documentation yesterday, and the unresponsive UI for JSGME is by design .. described as some sort of optimization to make JSGME focus on the task at hand .. while in fact, it's lazy coding. In that loop should be the equivalent of vbscripts DoEvents().

All scientific, the files could vastly differ due to how JSGME handles files .. open/locked files are ignored and will not be copied, so it takes as much as having a file open by accident in notepad++ or something, and en/dis-abling your modlist at that moment. This could even happen if windows for some reason wont release the lock on the file .. for instance cuz the game crashed.

But you are right in that the unresponsiveness is an issue .. it's just not so elegant coding :p
__________________
0x0000005 ruïning your day when trying to load the patched sh5.exe ? Click.
plj is offline   Reply With Quote
Old 10-26-13, 01:41 AM   #8
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

I am 99% sure most ctds are ubi game launcher related . TDW says that and the fact that I can reload all previous saves and the game works .
THE_MASK is offline   Reply With Quote
Old 10-26-13, 05:32 PM   #9
Bathrone
Ensign
 
Join Date: Jan 2007
Posts: 234
Downloads: 82
Uploads: 0
Default

Quote:
Originally Posted by plj View Post
Given mike's finding here it seems that JSGME is err-ing sometimes for some reason.

I went through the documentation yesterday, and the unresponsive UI for JSGME is by design .. described as some sort of optimization to make JSGME focus on the task at hand .. while in fact, it's lazy coding. In that loop should be the equivalent of vbscripts DoEvents().

All scientific, the files could vastly differ due to how JSGME handles files .. open/locked files are ignored and will not be copied, so it takes as much as having a file open by accident in notepad++ or something, and en/dis-abling your modlist at that moment. This could even happen if windows for some reason wont release the lock on the file .. for instance cuz the game crashed.

But you are right in that the unresponsiveness is an issue .. it's just not so elegant coding :p
Hi there mate

With concerns about locked files etc from the mod enabler, this is easy for people who are concerned to test. Ive suggested one method of using a hashing algorithm. I'd encourage people to test out these ideas so it becomes empirical and certain. If there is error handling problems with the mod enabler, perhaps the mod enabler can be enhanced to be more robust with these sort of error conditions. If the tests prove there isnt a robustness problem for error conditions, then we can all relax in that certainty.

As for MikeMike and a bit of cruft being left over with the mod enabler, I dont see this as a problem if it is indeed cruft. Again people can easily test this instead of being superstitious For example, if I created a cruft file named:

thisfileisguunactdmygame.py

Since the file is obviously made up, it not used by anything in SH5, it is indeed cruft and will have no impact on the game.
Bathrone is offline   Reply With Quote
Old 10-28-13, 08:25 AM   #10
plj
Captain
 
Join Date: Sep 2013
Posts: 542
Downloads: 70
Uploads: 0
Default

Quote:
Originally Posted by plj View Post
Try: save at least every 2 game hours .. dont use TC over 512, save immediately after useing a good amount of TC.

For me, this halves CTD's .. could you confirm this?
Quote:
Originally Posted by plj View Post
Yeah .. to a certain extend, it is to be expected untill the current WIP's combine to form a true megamod .. but that needs a bit of work :p

Did the tips I gave help to an extend ?
Quote:
Originally Posted by SnipersHunter View Post
I already try to fix it like tervally said first try vinall than activate about 5 mods than another 5 mods.
Yes you tipps helped me but i still get ctd

Can anybody guestimate what happens during save ? Why does this have a possitive effect in trying to reduce CTD's .. anybody any wild guesses ?
__________________
0x0000005 ruïning your day when trying to load the patched sh5.exe ? Click.
plj is offline   Reply With Quote
Old 10-28-13, 09:11 AM   #11
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by plj View Post
Can anybody guestimate what happens during save ? Why does this have a possitive effect in trying to reduce CTD's .. anybody any wild guesses ?
My guess is that the game is freeing up memory from data which is written on file, but I already know that you won't like this answer
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-28-13, 11:43 AM   #12
plj
Captain
 
Join Date: Sep 2013
Posts: 542
Downloads: 70
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
My guess is that the game is freeing up memory from data which is written on file, but I already know that you won't like this answer
In a way this could verry well be .. but then it would not be due to video memory, but due to the limited size of an array that is overstepped, resulting in devision by 0 and consequential CTD.

It would mean that sh5 works with an incremental copy of events, in memory, untill you save. This is what I'm guessing is the issue .. but I dont want to focus on that too much, as I will then discard evidence based on my fixed outcome :p If I'm right, I will end up there whetter I like it or not :p
__________________
0x0000005 ruïning your day when trying to load the patched sh5.exe ? Click.
plj is offline   Reply With Quote
Old 10-28-13, 11:50 AM   #13
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by plj View Post
In a way this could verry well be .. but then it would not be due to video memory, but due to the limited size of an array that is overstepped, resulting in devision by 0 and consequential CTD.

It would mean that sh5 works with an incremental copy of events, in memory, untill you save.
sounds plausible

Quote:
Originally Posted by plj View Post
This is what I'm guessing is the issue .. but I dont want to focus on that too much, as I will then discard evidence based on my fixed outcome :p If I'm right, I will end up there whetter I like it or not :p
It seems to me that you have the rare ability to always be right, and this is the one thing I know for sure about this SH5 crash issue
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-28-13, 02:00 PM   #14
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by gap View Post
My guess is that the game is freeing up memory from data which is written on file, but I already know that you won't like this answer


I would also chuck in here the issue with long patrols that cause a HUGE .mis file to be written.
Patrol after patrol without ending it and banking achievements = issues
__________________
Trevally Mods for SH5
Trevally. 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 08:15 AM.


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.