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:19 PM   #1
Dignan
Seasoned Skipper
 
Join Date: Mar 2008
Posts: 698
Downloads: 262
Uploads: 0
Default

Quote:
Originally Posted by DelphiUniverse View Post
You do not have to edit the shortcut at all. Download my realtime script again, it is changed. Then put it in the E:\Program Files\Ubisoft\SilentHunter 5 folder, then drag a shortcut of that script to your desktop, then launch the game by using the shortcut.

Sorry for the mess:

Change script to this: %windir%\system32\cmd.exe /c start "runrealtime" /realtime "C:\Ubisoft\Silent Hunter 5\sh5.exe"

My bad again. Remember to set correct path first. Some may have other paths. This time it will work.
Ok I'll try that. Should this be the path for both my desktop shortcut AND the batch file in my SH5 folder?
Dignan is offline   Reply With Quote
Old 03-26-11, 08:23 PM   #2
Dignan
Seasoned Skipper
 
Join Date: Mar 2008
Posts: 698
Downloads: 262
Uploads: 0
Default

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?
Dignan is offline   Reply With Quote
Old 03-26-11, 08:26 PM   #3
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   #4
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   #5
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   #6
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   #7
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-26-11, 08:23 PM   #8
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'll try that. Should this be the path for both my desktop shortcut AND the batch file in my SH5 folder?
Yep.

But like I said you dont need to edit the shortcut, the target folder will be filled in automatically when you copy a shortcut of the batch to your desktop.
DelphiUniverse 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 11:26 PM.


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.