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-26-13, 01:21 PM   #31
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
You first uttered the forbidden word
I make amends. May the Force keep me away from the lures of unclean words!
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-26-13, 02:03 PM   #32
plj
Captain
 
Join Date: Sep 2013
Posts: 542
Downloads: 70
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
Double clicking the exe doesn't bypass the launcher, no matter if the game is set to offline mode or not. This is UBI's way to know that you own a legitimate copy of the game. The only way to bypass it, is by using an "hacked" copy of sh5.exe
In offline, it does nothing, but be annoying. No communication with the server, requirement is that you have logged in once.

You are not using uplay in offline.

That being said, I switched to a DRM free one cuz it gets annoying fast if you are messing with modlists and constantly open/close the game. Which is perfectly legal under most laws btw... I am allowed a backup.

Quote:
Originally Posted by gap View Post
I make amends. May the Force keep me away from the lures of unclean words!
Yeah, you should set a filter for DRM .. it's insane that **** gets *ed, but DRM doesnt.
__________________
0x0000005 ruïning your day when trying to load the patched sh5.exe ? Click.
plj is offline   Reply With Quote
Old 10-26-13, 04:40 PM   #33
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Try ticking every option in the ubi launcher settings then exit out . Start a new campaign and see how that goes .
THE_MASK is offline   Reply With Quote
Old 10-26-13, 05:32 PM   #34
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-26-13, 05:48 PM   #35
plj
Captain
 
Join Date: Sep 2013
Posts: 542
Downloads: 70
Uploads: 0
Default

Leftover NewUI files are an issue .. as their names dont change between versions. They SHOULD get overwritten, but apperantly this doesnt always happen .. could be due to JSGME abuse .. has to be checked tho.

My deleted (from within save menu) savegame's deathmarks showed up on a new game (same captain name) 20 days before they happened in that game. These are deatmarks from patrol 2 while I'm on patrol one. This should not happen an is only explainable with leftovers remaining while they shouldnt.

I'm poking around atm, and I'll start hashing my gamedir after mod enabling/disabling with reference to .mep used and date and list changes if they occur.
__________________
0x0000005 ruïning your day when trying to load the patched sh5.exe ? Click.
plj is offline   Reply With Quote
Old 10-27-13, 02:21 AM   #36
Bathrone
Ensign
 
Join Date: Jan 2007
Posts: 234
Downloads: 82
Uploads: 0
Default

Sounds like a good avenue of investigation PLJ. It would be easy to write a clean up script that cleans out those sorts of cruft if they are found to have gameplay problems. The procedure could be, dump all mods, run the cleanup script, reload the mods.
Bathrone is offline   Reply With Quote
Old 10-27-13, 02:24 AM   #37
Bathrone
Ensign
 
Join Date: Jan 2007
Posts: 234
Downloads: 82
Uploads: 0
Default

Also I want to offer something TDW shared with me. Where there is the modding and debug options in the CFG file, there is an undocumented minidump option too. As you aware a major issue is that CTDs occur with no real logging of what the stack dump is and why it happened. Through trial and error Ive been able to isolate some causes like excess GPU RAM utilisation but in no way is the game robust

In the debugview, there was a red herring about the Uplay DRM packet but I discovered that this particular message occurs on normal shutdown anyway. Typically in CTDs there is no windows error reporting and no debugview messages of help - atleast with my test setup

If this minidump option could be understood and analysed perhaps that will give us a keyhole into the actual register state at the crash any exactly it crashed
Bathrone is offline   Reply With Quote
Old 10-28-13, 08:25 AM   #38
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   #39
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   #40
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   #41
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, 01:54 PM   #42
plj
Captain
 
Join Date: Sep 2013
Posts: 542
Downloads: 70
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
sounds plausible



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
Always right is way too much credit .. but I've been diagnosing computer problems professionaly for about 20 years now .. I should be somewhat close to the issue in not too much time .. else I would be kinda overpaid :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, 02:00 PM   #43
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
Old 10-28-13, 03:45 PM   #44
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Just update your computer system to nividia titan quad and all should be ok
THE_MASK is offline   Reply With Quote
Old 10-28-13, 05:06 PM   #45
plj
Captain
 
Join Date: Sep 2013
Posts: 542
Downloads: 70
Uploads: 0
Default

Quote:
Originally Posted by Trevally. View Post


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
Any semi-hard data on how long it takes to cause issues ? Is best described in game-time or file-size or is that unknown ?

Quote:
Originally Posted by sober View Post
Just update your computer system to nividia titan quad and all should be ok
I lag behind a year or 2 with my system .. consequently, I pay less then 1/3rd of what others shell out to buy a new system :p
__________________
0x0000005 ruïning your day when trying to load the patched sh5.exe ? Click.
plj 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:21 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.