SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
01-16-17, 06:21 PM | #376 |
Growing Old Disgracefully
|
Hi TJ
Tonnage=true means that your objective is get a certain amount of tonnage. Tonnage=false means that your objective is to sink a number of ships. Tonnage and Ships comes under the guise of CRTAmount and Amount. Peter
__________________
LSH3-2015 <> TUTORIALS <> ALL YOU NEED TO KNOW <> ALL IN ONE PLACE SH4 <> TUTORIALS <> HOW TO DO IT <> INFORMATION <> DOWNLOAD LINKS SH5 <> TUTORIALS <> HOW TO DO IT <> INFORMATION <> DOWNLOAD LINKS Always Here To Help A Fellow 'Subber' | Need An Answer to A Question Just Send Me A PM |
01-16-17, 08:36 PM | #377 |
Gefallen Engel U-666
|
Welcome aboard!
dennisthefish!
__________________
"Only two things are infinite; The Universe and human squirrelyness; and I'm not too sure about the Universe" |
01-17-17, 06:59 AM | #378 | |
Soundman
Join Date: Mar 2016
Posts: 142
Downloads: 24
Uploads: 0
|
Quote:
|
|
01-17-17, 07:20 AM | #379 | |
Growing Old Disgracefully
|
Hi OC
Making those changes does not guarantee anything. Tonnage bar and campaign icons are broken and will work sometimes and not at other times. Quote:
Tonnage=0 For ships you would go to 'Amount' and it will show you the number of ships required to complete the mission. Here you have a problem because not all ships sunk count towards the objective. Peter
__________________
LSH3-2015 <> TUTORIALS <> ALL YOU NEED TO KNOW <> ALL IN ONE PLACE SH4 <> TUTORIALS <> HOW TO DO IT <> INFORMATION <> DOWNLOAD LINKS SH5 <> TUTORIALS <> HOW TO DO IT <> INFORMATION <> DOWNLOAD LINKS Always Here To Help A Fellow 'Subber' | Need An Answer to A Question Just Send Me A PM |
|
01-17-17, 07:41 AM | #380 |
Soundman
Join Date: Mar 2016
Posts: 142
Downloads: 24
Uploads: 0
|
Sorry yes, I did some more reading and latterly found http://www.subsim.com/radioroom/show...&postcount=233 .
I guess with the workaround/fix of changing the OSI task priority this is a system resources/timing issue between the sh5 and osi communication protocol. |
01-17-17, 10:44 AM | #381 |
Soundman
Join Date: Mar 2016
Posts: 142
Downloads: 24
Uploads: 0
|
Ok taking MaMa's fix one tiny step further (unless it's already been covered in the the forum) I've found a tool allowing us to set the priority of osi.exe just one time and thereafter forget about it.
Background: http://www.subsim.com/radioroom/show...&postcount=233 http://www.subsim.com/radioroom/show...&postcount=188 The theory being (at least as I understand it) that SH5 is a highly demanding process (particularly with the megamods installed) and that the osi.exe which it communicates with does not respond correctly or somehow quickly enough. By running the osi.exe process at a higher priority, it responds to the incoming requests. Ok so now for the automation tool. I'm not sure that I'm allowed to link to external file resources so I'll just say google SystemExplorer, install that (Win 7->10 compatible), choose custom install, choose the default Task Manager style view and say no to the security check as it's irrelevant to what we're doing. It'll install itself, and by default runs at startup and minimises to the task tray which is fine. Run Silent Hunter V and as expected the osi.exe process spawns (and latterly dies when SH5 is closed). So when SH is running, open System Explorer from the task tray, type in osi in the top right filter. The osi.exe process should appear within the main pane, so right click on that and set Process Priority to Real Time and check the Permanent option. That's all needed. Next time you boot up or run SHV, System Explorer will automatically set the osi to real time priority. Hopefully this works and simplifies the process if tonnage bar is wanted or required. |
01-17-17, 11:13 AM | #382 |
Navy Seal
|
To bad because the Windows it self doesn't have similar option...
An interesting and practical solution indeed, but again, this is close to a "rocket science" procedure for an average "I just wanna shoot ships and fill tonnage baaa" gamer... Can you confirm that it actually works?
__________________
Best regards... Vecko The Wolves of Steel v2.2.25_SH5 Expansion Pack_Full The Wolves of Steel v2.2.xx to v2.2.25 - Update PDF Install Instructions How to report an issue If You wish to support my work... Last edited by vdr1981; 01-17-17 at 11:25 AM. |
01-17-17, 11:54 AM | #383 | |
Soundman
Join Date: Mar 2016
Posts: 142
Downloads: 24
Uploads: 0
|
Quote:
I see the expected output in DbgView and cross-referencing with Windows Task Manager confirms the adjusted priority. I may have a simpler method, will let you know. Meanwhile it would be helpful if somebody with the issue could test the above. |
|
01-17-17, 12:16 PM | #384 | |
Nub
Join Date: Sep 2016
Posts: 3
Downloads: 75
Uploads: 0
|
Quote:
I have merely noticed that the crtamount portion of the .cfg file does change the tonnage in the game (Noticed to-day that one actually only need to change the value in the campaign.cfg found in the savedgame folder) and have actually completed some missions in the total Germany campain getting the iron crosses by changing the crtamount without leaving the harbour at all, but yes, it is not a solution and impractical |
|
01-17-17, 12:21 PM | #385 |
Gefallen Engel U-666
|
Welcome aboard!
Toby-Jazz!
__________________
"Only two things are infinite; The Universe and human squirrelyness; and I'm not too sure about the Universe" |
01-17-17, 12:27 PM | #386 | |
Nub
Join Date: Sep 2016
Posts: 3
Downloads: 75
Uploads: 0
|
Quote:
From my observations (Which is NOT extensive) the tonnage sometimes shows in Documents\SH5 folders\data\users\'campaign name'\'campaign start date' but not in Documents\SH5 folders\data\cfg\savedGames\000000001 (Or last saved game ID)\'campaign start date'\campaign.cfg All I noticed that when it stays 0 in the savedGames folder it shows a blank non progressive bar in game. and changing it in SavedGames shows it in game as changed to whatever I changed it to |
|
01-18-17, 10:12 AM | #387 |
Soundman
Join Date: Mar 2016
Posts: 142
Downloads: 24
Uploads: 0
|
Hi,
I've made an exe to try out, which spawns the ubisoft osi.exe at the realtime priority. If it works and the install steps could be automated by the patcher, it would simplify the fix process so no steps required by the user. Manual steps that would need automating: 1. Rename the original osi.exe to osi_ubisoft.exe 2. Copy my replacement osi.exe into the same folder as osi_ubisoft.exe, along with a file called subsim.args Then when SH5 starts, it runs my osi.exe instead of theirs. My exe spawns the exe that we renamed and creates the task at the priority specified by a line in the subsim.args file (by default real time). The comm pipe between SH5 and the listener still works (verified with DbgView). One caveat is that I've compiled it and tested it on Windows 7 64 bit. It would need some testing on other platforms and also by users who aren't by default 'administrator'. I don't know how to attach files to the forum, so guidance needed if this is something that people would like to try. |
01-20-17, 11:00 AM | #388 |
Soundman
Join Date: Mar 2016
Posts: 142
Downloads: 24
Uploads: 0
|
Anyone still have this tonnage bar issue want to try this? Somebody who can easily reproduce the problem I mean.
|
01-20-17, 11:54 AM | #389 |
Navy Seal
|
Work with the Man people! His solution can also solve sporadically problematic campaign transfers which are caused by the same issue...
Hi is trying ti give you the simplest solution so far for the long standing issue , yet no one seems to care.
__________________
Best regards... Vecko The Wolves of Steel v2.2.25_SH5 Expansion Pack_Full The Wolves of Steel v2.2.xx to v2.2.25 - Update PDF Install Instructions How to report an issue If You wish to support my work... Last edited by vdr1981; 01-20-17 at 12:03 PM. |
01-21-17, 08:21 AM | #390 | |||
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
Quote:
Quote:
Quote:
|
|||
|
|