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 03-12-16, 01:56 PM   #1
siege00
Officer
 
Join Date: Aug 2010
Location: USA
Posts: 237
Downloads: 114
Uploads: 0
Default

Whichever app you start first is the one that has to run as administrator. So if you start SH5 via the SH5 icon (assuming Uplay isn't running already), SH5 will then start Uplay and spawn OSI.exe as administrator. If you start via Uplay, then it'll run the subsequent items as administrator. The same follows for if you start SH5 via KSD Commander as administrator, again provided something isn't already running.
__________________
SH3 Guide: S3G by BLITZKR!EG

Currently - SH5 TWoS
- SH3 GWX + MaGui and more
- SH3 LSH 2015 + Ahnenerbe's Gui
siege00 is offline   Reply With Quote
Old 03-13-16, 03:33 AM   #2
Husksubsky
XO
 
Join Date: May 2008
Location: oslo,Norway
Posts: 424
Downloads: 254
Uploads: 0
Default

Quote:
Originally Posted by siege00 View Post
Whichever app you start first is the one that has to run as administrator. So if you start SH5 via the SH5 icon (assuming Uplay isn't running already), SH5 will then start Uplay and spawn OSI.exe as administrator. If you start via Uplay, then it'll run the subsequent items as administrator. The same follows for if you start SH5 via KSD Commander as administrator, again provided something isn't already running.
Thx a lot for info Appreciated
So Its not really needed to set OCI.EXE to run as administrator then?If I understand: "then it'll run the subsequent items as administrator" right.Not that it matters but I like to understand just a bit of this.

I can add that I did not see OXI.EXE at all if I didn t run uplay as administrator. That makes sense to me at least, but I don t think it was mentioned I HAD to run wichever startup as administrator except I think it was said as a general rule elsewhere.

Someone said we should start game through uplay too. Can it really matter?
I will try out KSD commander, but we have to start game through KSD then?
Also curious whether it matters if we are online or offline in Uplay while we play. There was some back and forth about that, but that must be like 3 yrs ago . Dont remember any conclusion.
Husksubsky is offline   Reply With Quote
Old 03-13-16, 12:32 PM   #3
siege00
Officer
 
Join Date: Aug 2010
Location: USA
Posts: 237
Downloads: 114
Uploads: 0
Default

Quote:
Originally Posted by Husksubsky View Post
Thx a lot for info Appreciated
So Its not really needed to set OCI.EXE to run as administrator then?If I understand: "then it'll run the subsequent items as administrator" right.Not that it matters but I like to understand just a bit of this.
I haven't tried it that way since one of the first instructions of the fix was to set OSI to run an admin, but yes, if you run anything as administrator, all subsequent processes should spawn in that context. Of course there's a way within code to override that but developers only override user context when necessary.

Quote:
I can add that I did not see OXI.EXE at all if I didn t run uplay as administrator. That makes sense to me at least, but I don t think it was mentioned I HAD to run wichever startup as administrator except I think it was said as a general rule elsewhere.
OSI will fail to run if the exe is marked as "Run as administrator" but the spawning process isn't started as administrator. The spawning process won't have the permission to run the subsequent process and you'll likely get an error about Internet connection being down if you try to play a campaign. This happened to me.

Quote:
Someone said we should start game through uplay too. Can it really matter?
I rarely ever start the game via Uplay. Wish there was a hack to get rid of it altogether. lol. There may be some reason to do so, so I don't want to disagree with any prior posts on the subject, but from my experience it has made no difference. It's possible though that this could be specific to how I have the game set up.

I also turned off game save syncing. I still get the message in-game, but my files are not duplicated to Uplay directory or cloud.

Quote:
I will try out KSD commander, but we have to start game through KSD then?
Also curious whether it matters if we are online or offline in Uplay while we play. There was some back and forth about that, but that must be like 3 yrs ago . Dont remember any conclusion.
It's not required to start the game through KSD Commander, but doing so will keep your KSD commander information in sync. I believe I read that on the KSD forum. You can still sync it manually through KSD Commander, but starting if from KSD Commander makes it so you don't have to. I really enjoy KSD Commander.

Also, doesn't matter, again from my experience, whether you are online / offline for Uplay.

You're very welcome Kaleun. Gute Jagd!
__________________
SH3 Guide: S3G by BLITZKR!EG

Currently - SH5 TWoS
- SH3 GWX + MaGui and more
- SH3 LSH 2015 + Ahnenerbe's Gui
siege00 is offline   Reply With Quote
Old 03-14-16, 04:47 AM   #4
Husksubsky
XO
 
Join Date: May 2008
Location: oslo,Norway
Posts: 424
Downloads: 254
Uploads: 0
Default

Quote:
Originally Posted by siege00 View Post
I haven't tried it that way since one of the first instructions of the fix was to set OSI to run an admin, but yes, if you run anything as administrator, all subsequent processes should spawn in that context. Of course there's a way within code to override that but developers only override user context when necessary.



OSI will fail to run if the exe is marked as "Run as administrator" but the spawning process isn't started as administrator. The spawning process won't have the permission to run the subsequent process and you'll likely get an error about Internet connection being down if you try to play a campaign. This happened to me.



I rarely ever start the game via Uplay. Wish there was a hack to get rid of it altogether. lol. There may be some reason to do so, so I don't want to disagree with any prior posts on the subject, but from my experience it has made no difference. It's possible though that this could be specific to how I have the game set up.

I also turned off game save syncing. I still get the message in-game, but my files are not duplicated to Uplay directory or cloud.



It's not required to start the game through KSD Commander, but doing so will keep your KSD commander information in sync. I believe I read that on the KSD forum. You can still sync it manually through KSD Commander, but starting if from KSD Commander makes it so you don't have to. I really enjoy KSD Commander.

Also, doesn't matter, again from my experience, whether you are online / offline for Uplay.

You're very welcome Kaleun. Gute Jagd!
Thank you so much. My KSD just crashes when I click the exe. Must be doing something wrong. I should reread KSD thread I just skimmed it.
Anyway its more important to have the core game work properly.
I try to use DBGview now to see if I see those files MAMA highlighted, but not sure what I m doing. You know if I need set debugscript =yes in main cfg?mean remove the ";" in front. I try find some "how to " with the viewer.
Husksubsky is offline   Reply With Quote
Old 03-14-16, 07:07 AM   #5
Husksubsky
XO
 
Join Date: May 2008
Location: oslo,Norway
Posts: 424
Downloads: 254
Uploads: 0
Default

experimented with DBGVIEW.
After reloadin like 20 times 5 of them was corrupted and rest good with the parameters Mama showed. Same gamesave could sometimes appear corrupted and other times appear ok. So maybe the loadprocess is messing then?
I start my games with checking Dbgview now even the first bunkersave. Anyway I can check that without alt tab?

Last edited by Husksubsky; 03-16-16 at 10:06 PM.
Husksubsky is offline   Reply With Quote
Old 11-06-16, 10:29 AM   #6
Cthulhus
Planesman
 
Join Date: Jan 2002
Location: Bordeaux, France
Posts: 191
Downloads: 136
Uploads: 0
Default

Hello

I try to reproduce this, but I don't have any OSI.exe on my window's Task Manager.

I set it with Run as Administrator on the indicated folder (C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\data\3\osis\13\OSI.exe)

Launch the game, wait for the main menu. And then, press CTRL+ALT+SUPP to display the Task Manager. On that list, no OSI at all...

What's wrong ?

Thanks!
__________________
Xavier Jehl - Bordeaux
Cthulhus 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:06 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.