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 05-15-10, 08:53 PM   #1
jwilliams
Ace of the Deep
 
Join Date: Nov 2009
Location: New Zealand
Posts: 1,013
Downloads: 124
Uploads: 0
Default Enabling 3GB switch on Windows XP

Can someone please tell me how to enable the 3GB switch on Windows XP.

The readme from patch 1.2 says :-

Quote:
5.2 Enabling 3GB switch on Windows XP or Windows Vista

Advanced users may know that the virtual address space of processes and applications is still limited to 2 GB unless the /3GB switch is used. Activating this option in Windows greatly enhance Silent Hunter 5 performance.
__________________
Windows 7, 64bit. Phenom II 965BE (OC 4cores @ 3.8 Ghz).
Radeon HD4870 (1gb gddr5). 6gb Ram.
jwilliams is offline   Reply With Quote
Old 05-15-10, 09:41 PM   #2
vois2
Engineer
 
Join Date: Apr 2005
Location: Southwestern Ohio
Posts: 213
Downloads: 0
Uploads: 0
Below is how you want to make your boot.ini file look.

Add a few lines to your boot file, so that it gives you options when Windows first starts up. In other words, you would select the 3GB line at start up, if you plan to play 3GB switch that session.

Or, you would select one of the other options if you aren't planning to play 3GB that session. You should copy the below into boot.ini . The way I have it set up below it will give you 6 seconds to decide, before the WIndows login screen appears.

Here is what you want. Please copy-and-paste this into boot.ini
below the dots
.
.
.





[boot loader]
timeout=6
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windo ws XP Professional SP2" /noexecute=optin /fastdetect
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windo ws XP Professional w/3GB" /fastdetect /3GB /Userva=2560







When you plan to play 3GB switch, restart the machine and during those 6 seconds, you need to select the 3rd option above, the one which says "Windows XP Professional w/3GB "

See if that helps.
__________________

I donate to Subsim because it is one of the best communities on the Interwebs.
Stick around a couple of years, and you will see. You're never far from a friend here.
Sunk at location vois22 [at] gmail . com
vois2 is offline   Reply With Quote
Old 05-15-10, 09:51 PM   #3
jwilliams
Ace of the Deep
 
Join Date: Nov 2009
Location: New Zealand
Posts: 1,013
Downloads: 124
Uploads: 0
Default

Thankyou for the clear and fast response.

done and about to reboot to test.

thanks again.
__________________
Windows 7, 64bit. Phenom II 965BE (OC 4cores @ 3.8 Ghz).
Radeon HD4870 (1gb gddr5). 6gb Ram.
jwilliams is offline   Reply With Quote
Old 05-15-10, 09:53 PM   #4
vois2
Engineer
 
Join Date: Apr 2005
Location: Southwestern Ohio
Posts: 213
Downloads: 0
Uploads: 0
Default

no problem.
I don't know why the extra spaces (spacebar) appear in the code above, but you should remove the extra spaces.
__________________

I donate to Subsim because it is one of the best communities on the Interwebs.
Stick around a couple of years, and you will see. You're never far from a friend here.
Sunk at location vois22 [at] gmail . com
vois2 is offline   Reply With Quote
Old 05-16-10, 08:08 AM   #5
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

Just be aware that you're messing with the memory management, shifting kernel space to user space. Simply put, you're taking away reserved memory space from the kernel ("central component of most computer operating systems"), making it more likely for it to run out. More of a concern for servers, but just be aware it's not without it's complications.

If you run into any unexplained issues, first thing I'd try in troubleshooting is disabling that switch.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 05-16-10, 11:31 AM   #6
Los
Seaman
 
Join Date: May 2010
Posts: 35
Downloads: 25
Uploads: 0
Default

Notice any improvement in SHV with the 3G on?
Los is offline   Reply With Quote
Old 05-16-10, 11:50 AM   #7
Kromus
Lieutenant
 
Join Date: Mar 2007
Posts: 250
Downloads: 140
Uploads: 0
Default

Quote:
Originally Posted by vois2 View Post
no problem.
I don't know why the extra spaces (spacebar) appear in the code above, but you should remove the extra spaces.

Well, his bootup procedure is kaput if he copied exactly this:

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S

Lets hope he did not. (text in "...." does not matter since it`s only text to display before bootup sequence to choose from)

I remember funny episode from my school days when I was helping administrator friend setting up win NTs/98s and we forgot to make content (files) of C:\ folder hidden... Luckily, he was left after few days of schooling on them with at least few computers untouched so we had to copy crucial files (like boot.ini NT, IO.sys or msdos.sys 98) back from floppys.
Kromus is offline   Reply With Quote
Old 05-16-10, 11:06 PM   #8
jwilliams
Ace of the Deep
 
Join Date: Nov 2009
Location: New Zealand
Posts: 1,013
Downloads: 124
Uploads: 0
Default

Quote:
Originally Posted by Kromus View Post
Well, his bootup procedure is kaput if he copied exactly this:

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S

Lets hope he did not. (text in "...." does not matter since it`s only text to display before bootup sequence to choose from)
LOL.. Poota booted up fine, I musta done something right.

nah i didnt copy and paste it in.

I just copied this single line:-
Quote:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windo ws XP Professional w/3GB" /fastdetect /3GB /Userva=2560
and pasted it to the end of my boot.ini. then deleted the space in the word Wind ows. Prob wouldn't matter to the bootup file as its displayed text (between quotes " ").

PC booted up fine. selected 3gb mode.... about to test if it makes any diferance to SH5.
__________________
Windows 7, 64bit. Phenom II 965BE (OC 4cores @ 3.8 Ghz).
Radeon HD4870 (1gb gddr5). 6gb Ram.

Last edited by jwilliams; 05-17-10 at 12:21 AM.
jwilliams is offline   Reply With Quote
Old 05-17-10, 07:01 AM   #9
Kromus
Lieutenant
 
Join Date: Mar 2007
Posts: 250
Downloads: 140
Uploads: 0
Default

Good to hear you did everything right Let us know if helped SH5 performance.
Kromus is offline   Reply With Quote
Old 05-18-10, 12:17 AM   #10
jwilliams
Ace of the Deep
 
Join Date: Nov 2009
Location: New Zealand
Posts: 1,013
Downloads: 124
Uploads: 0
Default

Does it make SH5 run better. ?????

It's hard to tell. Could be a placebo effect, but.....

You know when you use 256x accelerated time (or higher) and sometimes the games pauses for a sec, then continues..... Well it doesnt do that so much.

And i was able to track a contact from 40 KM away and not lose it. before I'd lose contacts from alot less distance.


So it seems to work... Guess it loads alot more in to memory, making the game smoother and contacts stay on map for greater distance....

Or it could just be a placebo.....

But i'll continue to use the 3GB switch.
__________________
Windows 7, 64bit. Phenom II 965BE (OC 4cores @ 3.8 Ghz).
Radeon HD4870 (1gb gddr5). 6gb Ram.

Last edited by jwilliams; 05-18-10 at 04:59 AM.
jwilliams is offline   Reply With Quote
Old 05-18-10, 04:10 AM   #11
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

Contact distance would be placebo, but smoother TC is possible.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 06-08-10, 05:21 AM   #12
Pintea
Sparky
 
Join Date: Jan 2010
Posts: 152
Downloads: 6
Uploads: 0
Default

No, it won't run "faster", but it will avoid glitches like missing harbors for example, or some crashes.
Pintea is offline   Reply With Quote
Old 06-24-10, 08:44 AM   #13
The General
The Old Man
 
Join Date: Aug 2006
Location: Mountain Ash, Wales, U.K.
Posts: 1,548
Downloads: 179
Uploads: 3
Default

First off, thanks you guys

Secondly, where is this boot.ini of which you speak?

Thirdly, in the lines of code you want me to cut & paste from above, I have Vista, so I must exchange 'Windows XP' for 'Windows' Visa right?

For example:

[boot loader]
timeout=6
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windo ws Vista SP2" /noexecute=optin /fastdetect
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windo ws Vista w/3GB" /fastdetect /3GB /Userva=2560
__________________
***THE GENERAL***
The General is offline   Reply With Quote
Old 06-24-10, 08:59 AM   #14
vois2
Engineer
 
Join Date: Apr 2005
Location: Southwestern Ohio
Posts: 213
Downloads: 0
Uploads: 0
It's a hidden file (boot.ini) in the C: root (Go to My Computer, and turn on view of hidden files via Tools --> Folder Options --> View )

Do a Google search before messing with the Vista boot.ini to make sure the 3GB switch applies the same there (assuming you are using 32-bit Vista). However, I believe this kind of boot.ini dialogue is legacy for all Windows versions. Doublecheck that by Googling. :-)

Also, yes change the text to Vista.

Finally, be sure this line appears with NO spaces (spacebar) throughout:
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
__________________

I donate to Subsim because it is one of the best communities on the Interwebs.
Stick around a couple of years, and you will see. You're never far from a friend here.
Sunk at location vois22 [at] gmail . com
vois2 is offline   Reply With Quote
Old 06-24-10, 09:11 AM   #15
The General
The Old Man
 
Join Date: Aug 2006
Location: Mountain Ash, Wales, U.K.
Posts: 1,548
Downloads: 179
Uploads: 3
Default

Apparently this is the case:
Quote:
In Windows Vista, the boot.ini file has been replaced with Boot
Configuration Data (BCD). This file is more versatile than boot.ini, and it
can apply to Computer platforms that use means other than basic input/output
system (BIOS) to start the computer. If you need to make changes to BCD,
such as removing entries from the list of displayed operating systems, use
the command line tool Bcdedit, an advanced tool intended for administrators.
I don't think I can do this.
__________________
***THE GENERAL***
The General 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 06:33 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.