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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-02-10, 12:27 AM   #1
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 11,223
Downloads: 171
Uploads: 0
Default

Quote:
Originally Posted by HanSolo78 View Post
No, the 4Gb Patch is also for 32 Bit Systems.

A note for clarification of the whole patching thing!

64bit systems like Vista 64Bit or Win7 64 Bit can use more than 3.5 Gb of Ram.
And the also can adress a programm to use more than 2Gb. BUT, the .exe should be allowed to use more than 2GB from the creator!
So.. the 4Gb patch only patches the exe file to let the exe file use more than 2GB for SH3.

The 3Gb switch for WInXP32 Bit let the operatings system adress more than 2GB for programmes (.exe files) like SH3.

So.. it does not make sense to apply the 4Gb patch if the operating system can not handle this like stock XP. This won´t have any effect.
So what you are saying is that the patch only will work on 32 bit win XP without adding switches to the boot.ini file?
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 03-02-10, 12:36 AM   #2
HanSolo78
The Old Man
 
Join Date: Apr 2005
Location: Austria
Posts: 1,570
Downloads: 100
Uploads: 3


Default

Quote:
Originally Posted by Reece View Post
So what you are saying is that the patch only will work on 32 bit win XP without adding switches to the boot.ini file?
No, the opposite! The 4Gb patch will only work WITH the change of the boot.ini file!
__________________
HanSolo78 is offline   Reply With Quote
Old 03-02-10, 12:46 AM   #3
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 11,223
Downloads: 171
Uploads: 0
Default

Quote:
Originally Posted by HanSolo78 View Post
No, the opposite! The 4Gb patch will only work WITH the change of the boot.ini file!
That is right, that is why the link: http://www.subsim.com/radioroom/showthread.php?t=162357
It is not worth patching the game when the 3Gb switch in the boot.ini file kills many other apps, Yes SH5 will run great but the cost is too high!!
I even set USERVA down to 2100 (USERVA=2100), but many other games and applications still would not work, this is a nasty side effect of forcing the kernel down lower than 2Gb.
More on this: http://www.subsim.com/radioroom/show...=160270&page=7 see #94 on.
and: http://www.subsim.com/radioroom/show...=160270&page=9 #123
Maybe if I applied the patch to all the applications giving problems, like my TV card.
__________________

Sub captains go down with their ship!

Last edited by Reece; 03-02-10 at 01:01 AM.
Reece is offline   Reply With Quote
Old 03-02-10, 01:11 AM   #4
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 879
Downloads: 10
Uploads: 1
Default

This is strange as [SJ]nailz has a 64bit system running Win7 at 4GB RAM. Win7 is able to allocate 4GB without any additional help. So, if 2GB are reserved for the system, then there is plenty of RAM left for applications. Besides he didn´t even mention anything about messing with the boot.ini. According to the LSH site, the 4GB patch is already included in their actual release. This however implies that they have either added a modified boot.ini to their mod, which i doubt, or this patch is indeed working without any alterations to this file.

On the other side both my laptops run the mod, naval academy, single mission, career.

1. T2300 @1.6GHz, 4GB RAM, Win7 Ultimate, ATI Mobility Radeon X1600
2. P9500 @2,?GHz, 4GB RAM, WinXP Pro Sp3, GF 9800M GT

The older one is having severe fps drops, but it´s loading fine without CTD.
I have not applied any mem patches or whatsoever. But I frequently use good old 'clearmem.exe' (DOS command).


Regards,
DD
DivingDuck is offline   Reply With Quote
Old 03-02-10, 01:16 AM   #5
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 11,223
Downloads: 171
Uploads: 0
Default

64 bit operating systems only need to patch (4gb_patch.exe) the sh3.exe file!
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 03-02-10, 03:05 AM   #6
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 11,223
Downloads: 171
Uploads: 0
Default

Memory problem! Need Vista or Win 7 64 bit!!
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 03-02-10, 03:20 AM   #7
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 11,223
Downloads: 171
Uploads: 0
Default

See post #194
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 03-02-10, 04:48 AM   #8
java`s revenge
Ace of the Deep
 
Join Date: Jan 2007
Location: at periscope depth
Posts: 1,204
Downloads: 97
Uploads: 0
Default

Quote:
Originally Posted by Reece View Post
64 bit operating systems only need to patch (4gb_patch.exe) the sh3.exe file!
Hi Reece,
About which patch are you talking about. I asked it someone in the
past but got no answer. I have win7 ultimate 64bit.

Thanks a lot in advance !
__________________
java`s revenge is offline   Reply With Quote
Old 03-02-10, 05:03 AM   #9
urfisch
Sea Lord
 
Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,944
Downloads: 42
Uploads: 0
Default

Quote:
Originally Posted by java`s revenge View Post
Hi Reece,
About which patch are you talking about. I asked it someone in the
past but got no answer. I have win7 ultimate 64bit.

Thanks a lot in advance !
there is a whole thread about this:

http://www.subsim.com/radioroom/show...&postcount=593
__________________


urfisch is offline   Reply With Quote
Old 03-02-10, 07:32 AM   #10
[SJ]nailz
Machinist's Mate
 
Join Date: Feb 2010
Location: Cultivating a full beard, mid-atlantic.
Posts: 121
Downloads: 46
Uploads: 0
Default

The 4GB patch is for 64bit only.

Quote:
Originally Posted by Author of 4GB Patch
I originally wrote this tool for a friend of mine who needed it. This very little tool patches x86 executables (meaning 32bit, like SH3) in order to let them have 4GB (instead of only 2) of virtual memory on x64 (64bit like Vista 64bit or Win7 64bit) platforms. This tool comes very handy for applications which need a great amount of virtual memory like games, 3D renderization, multimedia etc. To gain these 2GB, you just have to use this tool to patch the executable (*.exe file) of the software you want to have these additional GBs of virtual memory. It can be used by clicking on it and choosing the file or through command line (e.g.: "4gb_patch file.exe"). It automatically creates a backup copy of the original executable.

Why things are this way on x64 is easy to explain. On x86 applications have 2GB of virtual memory out of 4GB (the other 2GB are reserved for the system). On x64 these two other GB can now be accessed by 32bit applications. In order to achieve this, a flag has to be set in the file's internal format. This is, of course, very easy for insiders who do it every day with the CFF Explorer. This tool was written because not everybody is an insider, and most probably a lot of people don't even know that this can be achieved. Even I wouldn't have written this tool if someone didn't explicitly ask me to.
FACT.


Quote:
Originally Posted by java`s revenge View Post
Hi Reece,
About which patch are you talking about. I asked it someone in the
past but got no answer. I have win7 ultimate 64bit.

Thanks a lot in advance !
http://www.lsh3.com/v5/tools/4GBPatch.7z

That is a a direct link to the patch. I am not a computer programmer, so I cannot say for sure what it changed, but I'm pretty sure all it did was tweek the sh3.exe file. Everything else is runnig fine, with Win7 reporting a healthy 2900MB of free RAM at the desktop, with skype, WinLive and some other stuff running.

As I said in the last post I made, if you are getting constant CTD's, as I was, then what can it hurt to try this?

Win7 64bit
q6700 quad @ 2.6ghz
4GB RAM (+4GB SD as Dedicated ReadyBoost)
nVidia 9700 (the weak link but runs most games at native 1920x1080)
__________________
[SJ]nailz 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:13 PM.


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