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 03-26-11, 08:26 PM   #16
DelphiUniverse
中国水兵
 
Join Date: Mar 2010
Location: Scapa Flow, underneath a ferry
Posts: 272
Downloads: 125
Uploads: 0
Default

Quote:
Originally Posted by Dignan View Post
Ok. I tried the new script with the new download. Put it in my SH5 folder, created a shortcut to the desktop and added the new script line. No dice.

I'm guessing one of two things is wrong.

1. I put the scirpt in the Target line of the shortcut wrong. (Are the quotations right?) It looks like this EXACTLY.

%windir%\system32\cmd.exe /c start "runrealtime" /realtime "E:\Program Files\Ubisoft\Silent Hunter 5\sh5.exe"

or

2. I'm not in administrator mode. How do I confirm and/or change this?
I noticed something wrong that you are doing, you are not supposed to be putting the script inside a shortcut, you are supposed to use the batch script, put a shortcut of the batch script on your desktop, dont put the script inside the shortcut target, that will not work.

I will explain it again:

1: Download my script.
2: Put the script in the sh5 folder.
3: Edit the path inside the script to your own path
4: Drag a shortcut of that script to your desktop
5: Dont touch the shortcut, dont edit it, dont even smell on it
6: Right click the shortcut and "run as administrator"
OPTIONAL: 7: If you already use an admin account you can skip step 6 and just run it normally

Last edited by DelphiUniverse; 03-26-11 at 08:44 PM.
DelphiUniverse is offline   Reply With Quote
Old 03-26-11, 08:48 PM   #17
Dignan
Seasoned Skipper
 
Join Date: Mar 2008
Posts: 698
Downloads: 262
Uploads: 0
Default

Quote:
Originally Posted by DelphiUniverse View Post
I noticed something wrong that you are doing, you are not supposed to be putting the script inside a shortcut, you are supposed to use the batch script, put a shortcut of the batch script on your desktop, dont put the script inside the shortcut target, that will not work.

I will explain it again:

1: Download my script.
2: Put the script in the sh5 folder.
3: Edit the path inside the script to your own path
4: Drag a shortcut of that script to your desktop
5: Dont touch the shortcut, dont edit it, dont even smell on it
6: Right click the shortcut and "run as administrator"
OPTIONAL: 7: If you already use an admin account you can skip step 6 and just run it normally
When you say "edit the path inside the script" in step 3...how do I do that? The only thing I can think of is right click and "edit" to bring up the notepad file.

Also, when I right click the shortcut I don't see "run as administrator" as an option. I have Windows XP 32.
Dignan is offline   Reply With Quote
Old 03-26-11, 08:50 PM   #18
DelphiUniverse
中国水兵
 
Join Date: Mar 2010
Location: Scapa Flow, underneath a ferry
Posts: 272
Downloads: 125
Uploads: 0
Default

Quote:
Originally Posted by Dignan View Post
When you say "edit the path inside the script" in step 3...how do I do that? The only thing I can think of is right click and "edit" to bring up the notepad file.
You got it right. Edit it with notepad and change the driveletter and path to your own path. Thats it. Its very easy.

Quote:
Originally Posted by Dignan View Post
Also, when I right click the shortcut I don't see "run as administrator" as an option. I have Windows XP 32.
if you dont have "run as administrator" you should log onto an admin account and just run it normally from there. There are other ways to run processes as administrator such as RUNAS but that is sort of beyond the scope of this small script that I presented here, you can however look into it yourself.

When I made this script I assumed people would know how to run it as administrator, I can't do a full windows tutorial if you know what I mean I am not that good with the different windows versions.

Last edited by DelphiUniverse; 03-26-11 at 09:15 PM.
DelphiUniverse is offline   Reply With Quote
Old 03-26-11, 08:53 PM   #19
Dignan
Seasoned Skipper
 
Join Date: Mar 2008
Posts: 698
Downloads: 262
Uploads: 0
Default

Quote:
Originally Posted by DelphiUniverse View Post
You got it right. Edit it with notepad and change the driveletter and path to your own path. Thats it. Its very easy.



if you dont have "run as administrator" you should log onto an admin account and just run it normally from there.

Ok. Thanks. I've had a bit too much wine and been staring at these forums a bit too long tonight. Going to revisit this problem tomorrow and hopefully it will be more clear. I appreciate your efforts.
Dignan is offline   Reply With Quote
Old 03-26-11, 09:01 PM   #20
DelphiUniverse
中国水兵
 
Join Date: Mar 2010
Location: Scapa Flow, underneath a ferry
Posts: 272
Downloads: 125
Uploads: 0
Default

Quote:
Originally Posted by Dignan View Post
Ok. Thanks. I've had a bit too much wine and been staring at these forums a bit too long tonight. Going to revisit this problem tomorrow and hopefully it will be more clear. I appreciate your efforts.
%windir%\system32\cmd.exe /c start "runrealtime" /realtime "E:\Program Files\Ubisoft\Silent Hunter 5\sh5.exe"

You already have the right path here.

Edit the batch file and paste it, and you're set.
DelphiUniverse is offline   Reply With Quote
Old 03-27-11, 05:32 PM   #21
Dignan
Seasoned Skipper
 
Join Date: Mar 2008
Posts: 698
Downloads: 262
Uploads: 0
Default

Quote:
Originally Posted by DelphiUniverse View Post
%windir%\system32\cmd.exe /c start "runrealtime" /realtime "E:\Program Files\Ubisoft\Silent Hunter 5\sh5.exe"

You already have the right path here.

Edit the batch file and paste it, and you're set.
Well, I'm not sure what the problem is. I put the script you recommended above in my batch file (by editing notepad), made a shortcut of that file to the desktop but the game refuses to start in realtime. I don't think it's the administrator thing because I can alt-tab out, change it to realtime in task manager and it works. I can't for the life of me figure this one out.

Thanks for all your help though. I may look around on the internet for other ways to do this. In the meantime, I'll just keep alt-tabbing out to change the priority to realtime because it makes such a huge difference in the explosion and water spray graphics.
Dignan is offline   Reply With Quote
Old 09-07-12, 03:23 AM   #22
blkdimnd
Planesman
 
Join Date: May 2010
Location: Vermont, USA
Posts: 186
Downloads: 492
Uploads: 0
Default

The links seem to be broken.

Dose anyone have the files and are willing to share?


Or the running SH5 in High Priority not needed?
I'm experiencing Mouse Courser Lag.
__________________
My Mod Soup and System Specs.

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
Benjamin Franklin, Historical Review of Pennsylvania, 1759

AB1TA
blkdimnd is offline   Reply With Quote
Old 09-07-12, 06:48 AM   #23
hitmanuw
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by DelphiUniverse View Post
When you launch silent hunter 5 normally, you get normal priority on the process, which is at priority 8. When you launch the game using high or realtime priority you get 13 for high or 24 for realtime.

When using high priority you get almost doubled priority compared to normal priority. And when using realtime you get tripled priority.

Realtime offers the best priority but you need administrator privilege to run in realtime. If you dont have admin privileges you can settle for high priority.
Choose the preferred one from below:

Download here:

"HIGH" PRIORITY DOWNLOAD
"REALTIME" PRIORITY DOWNLOAD


Install instructions:

  1. Copy the batch script to your "Ubisoft\Silent Hunter 5" directory
  2. Right click the batch script and drag a shortcut to your desktop
  3. Rename the shortcut to "Silent Hunter 5 (HIGH PRIORITY)"
  4. Right click shortcut once again and choose properties and change icon and go to sh5 dir to find icon
  5. Done. When you launch using this shortcut it will start with higher priority automatically
your link doesnt work ... can u give anther one ?
  Reply With Quote
Old 09-07-12, 07:06 AM   #24
dottore
Seaman
 
Join Date: Mar 2010
Location: Hungary
Posts: 32
Downloads: 138
Uploads: 0
Default Script link

I can make one to you .
dottore is offline   Reply With Quote
Old 09-07-12, 07:08 AM   #25
0rpheus
Grey Wolf
 
Join Date: Jul 2011
Location: UK
Posts: 857
Downloads: 87
Uploads: 3
Default

Quote:
Originally Posted by blkdimnd View Post
The links seem to be broken.

Dose anyone have the files and are willing to share?


Or the running SH5 in High Priority not needed?
I'm experiencing Mouse Courser Lag.
Quote:
Originally Posted by hitmanuw View Post
your link doesnt work ... can u give anther one ?
I'd highly suggest NOT doing this guys - setting SH5 to realtime priority (or any other program, for that matter) is not recommended. For several explanations why, go here:

http://www.tomshardware.co.uk/forum/...ocess-priority

If you're having graphics stutter, get the D3D Antilag mod
0rpheus is offline   Reply With Quote
Old 09-07-12, 07:40 AM   #26
dottore
Seaman
 
Join Date: Mar 2010
Location: Hungary
Posts: 32
Downloads: 138
Uploads: 0
Default

I agree. Use at your own risk. Mod: It can make your system instable if you run third party softwares in real time depends on what softwares you already run in memory and your system specs. Even can cause BSOD. You drain resources from your system.

Download here:
High priority:
http://www.mediafire.com/?mrb8b3z71hmg0c0

Realtime priority:
http://www.mediafire.com/?brnyzuw4b6l20e5

Put it in your Silent Hunter 5 directory. Change your start exe to this batch file in your Desktop icon.
dottore 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 11:59 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.