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 12-16-15, 07:53 AM   #1
R-T-B
Sparky
 
Join Date: Aug 2008
Posts: 150
Downloads: 324
Uploads: 5


Default A refinement on MaMa's tonnage bar fix.

This isn't really my work (well, some is, most isn't), it incorporates ideas found by MaMa and a batch file written by someone else (I can't find where I got it, apologies, please claim if it's yours and I'll edit this to credit you).

What it does?

It makes it easier to launch MaMa's fix without having to elevate privileges to "high" everytime.

How does it do that?

It installs two files in your SH5 directory. One is called "SH5.cmd" and the other is "OSI.exe" SH5.cmd is a simple batch file that has to be run as admin to work and applies mama's fix. The other scary exe just launches SH5.cmd so you can make a shortcut and tell it to "Run as Administrator" every time (you can't do that on cmd files, must right click them. Since normal users can't elevate privileges in Win8 and above this is really helpful).

To install, just drop the two files in your SH5 directory, and point your desktop shortcut to "OSI.exe" (you can do this by right clicking your shortcut, selecting "Proprerties" and changing SH5.exe to OSI.exe in the "target" text box).

You also need to tell it to run as administrator. You can do that on the "compatability" tab in the same right-click->Properties menu.

This is a C# .net app, and requires the .net framework 3.5 to run. Please download here if it doesn't work at first:

https://www.microsoft.com/en-us/down...ils.aspx?id=21

Please let me know if you have any questions. Thanks!

PS: If there are any virus concerns about me uploading an exe, I included the source code in the download to look at. It's harmless.

Download here:

http://www.subsim.com/radioroom/down...o=file&id=4836

-R-T-B, longtime no see guys!

Last edited by R-T-B; 12-16-15 at 08:00 AM.
R-T-B is offline   Reply With Quote
Old 12-17-15, 06:54 AM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default



Thank you for sharing R-T-B!
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-17-15, 01:32 PM   #3
MaMa
Bosun
 
Join Date: Jun 2010
Location: Italy
Posts: 69
Downloads: 108
Uploads: 0
Default

Thank you R-T-B !

this could be of help on getting things easier for everyone .

Anyone can confirm if all is working fine with this "shortcut" ? i can't test it at the moment ...
MaMa is offline   Reply With Quote
Old 12-17-15, 03:13 PM   #4
THEBERBSTER
Growing Old Disgracefully
 
THEBERBSTER's Avatar
 
Join Date: Dec 2012
Location: Hythe - Southampton
Posts: 9,609
Downloads: 1133
Uploads: 0


Default

Link added to the tutorial Post #188

Peter
THEBERBSTER is offline   Reply With Quote
Old 12-17-15, 05:33 PM   #5
GT182
Ocean Warrior
 
GT182's Avatar
 
Join Date: May 2005
Location: New Castle of Delaware
Posts: 3,231
Downloads: 658
Uploads: 0
Default

R-T-B. how about this explanation for 8.1?

http://anewdomain.net/2013/10/21/how...lder-programs/

Also, should we get and install 2.0 and 3.0 service packs? I have nothing for either one installed on my 8.1. As said neither came with my 8.1.
__________________
Gary

No Borders, No Language, No Culture =s No Country

I'm a Deplorable, and proud of it.
GT182 is offline   Reply With Quote
Old 12-17-15, 09:06 PM   #6
R-T-B
Sparky
 
Join Date: Aug 2008
Posts: 150
Downloads: 324
Uploads: 5


Default

.net 3.5 is all you need. You don't need 2.0 or previous ones because .net 3.5 includes support for 3.0/2.0/1.1/etc. The .net 4.5 that comes with 8 and above though does NOT support 3.5 and below by default.

Leave it to microsoft to make it complicated, amirite?

I would've made it a non .net app, but my C++ is awful.

I'm sorry I don't have more time to write up a detailed tutorial, I've been really busy at work lately but just wanted to share my solution.
R-T-B 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 04:39 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.