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

Reply
 
Thread Tools Display Modes
Old 11-29-10, 05:38 PM   #1
fred8615
Saint of the seas
 
fred8615's Avatar
 
Join Date: Mar 2004
Location: Sorrento, Louisiana
Posts: 1,305
Downloads: 265
Uploads: 127
Default

Let me ask this outright since I'm still not sure. I have Win 7 64 bit. Should I use this?
fred8615 is offline   Reply With Quote
Old 11-29-10, 05:52 PM   #2
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Especially on a 64 bit system.
Make a backup copy of the SH4.exe before you run the Patch.
Just in case.
But it only changes one byte so there should be no problems.
  Reply With Quote
Old 11-29-10, 07:31 PM   #3
Jan Kyster
Ace of the Deep
 
Join Date: Oct 2006
Posts: 1,151
Downloads: 152
Uploads: 0


Default

Why would we use this for SH IV?
AFAIK we don't have issues with unstable or crashing SHIV due to lack of memory? Or at all? Don't ever recall it crashing...
Jan Kyster is offline   Reply With Quote
Old 11-29-10, 07:44 PM   #4
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

If a program is limited to how much memory it can use?
It could cause stutters, slow actions of many kinds, etc.........
If it can reach more memory?
It can work better in many ways.
Some ways would save read and writes to your HDDs.
If you need it, use it.
If you have no issues?
Don't use it.
Give it a try cause you can always get rid of it.
Or you may give a report to answer all questions that will henceforth be called...........

Jan Kyster's
'After testing the 4 Gig patch thingy? Here's the low down!'



And I am not being mean or sarcastic incase you wonder.
  Reply With Quote
Old 11-29-10, 08:02 PM   #5
Sailor Steve
Eternal Patrol
 
Sailor Steve's Avatar
 
Join Date: Nov 2002
Location: High in the mountains of Utah
Posts: 50,369
Downloads: 745
Uploads: 249


Default

Some time ago I went out and bought another two GB of memory. Now I find out I wasted my money, as my system is 32 bit.

Oh well.
__________________
“Never do anything you can't take back.”
—Rocky Russo
Sailor Steve is offline   Reply With Quote
Old 11-29-10, 08:01 PM   #6
Tonga
Formerly Kpt. Hess
 
Tonga's Avatar
 
Join Date: Sep 2008
Location: 39.20 nmi from U 9
Posts: 54
Downloads: 260
Uploads: 0
Default

Quote:
Originally Posted by fred8615 View Post
Let me ask this outright since I'm still not sure. I have Win 7 64 bit. Should I use this?
I also have Win 7 64 bit. You can give it a try, absolutely. The patching tool should make a backup by itself, but as privateer said, make sure you have one.

Quote:
Originally Posted by Jan Kyster View Post
Why would we use this for SH IV?
AFAIK we don't have issues with unstable or crashing SHIV due to lack of memory? Or at all? Don't ever recall it crashing...
I myself only found some improvements concerning SH3, a better overall performance, almost no program crashes etc. any more. However I did never experience that much of an improvement with SH4, so I guess it really depends on the system one uses. SH4 is indeed quite stable, but with SH3 that's still a different story. There you would never go without...

Just on a side note - there are other games that may also profit from this patch. German Truck Simulator for example now rewards me with almost 15 fps more since I patched the exe. Saint's Row 2 also shows a better fps performance (about 15-20 fps more on my notebook here). I am still testing this with Battlefield 2 and several mods as well as with GTA 4. The most obvious effect you might notice is a considerable decrease in loading time.
As long as you always make a backup, testing this with other games might prove quite useful.
Tonga is offline   Reply With Quote
Old 11-29-10, 08:06 PM   #7
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

The patch I posted here is only for SH4 version 1.5
That was done to avoid problems with the Programmer of the Universal Patcher and permissions.
And was also done in a way that works well for SubSim.
Since the Patch here is only for SH4 version 1.5?
(And the SH3 versions)
The downloads are targeted.
  Reply With Quote
Old 11-29-10, 09:08 PM   #8
Jan Kyster
Ace of the Deep
 
Join Date: Oct 2006
Posts: 1,151
Downloads: 152
Uploads: 0


Default

Right, done some testing now.

Before each test, these steps were followed:
- boot system
- wait 3 mins for W7 to settle
- load Process Monitor
- run the SH4.exe (made two: SH4-ORG.exe and SH4-LAA.exe)
- start process monitor
- play a bit
- exit SH4
- read Process Monitor

Test 1, standard TMO career, approaching harbour for attack, 9 ships in play.
Test 2, run single mission "Tokio-Saipan Convoy", 23 ships in play.

Screenshots of Process Monitor.

Test 1, org. and patched:





Test 2, org. and patched:





For Process Monitor and (another) LAA-program: http://forums.techpowerup.com/showthread.php?t=112556

I notice, the CPU barely breakes any sweat...


Conclusion:
I found no difference, but at least it didn't crash SH4. Seems to run unaffected.
Would like to test, if someone has a mission with a humongeous load of ships...


"Hey! It's only a drill!"

.
Jan Kyster is offline   Reply With Quote
Old 11-30-10, 08:49 PM   #9
Jan Kyster
Ace of the Deep
 
Join Date: Oct 2006
Posts: 1,151
Downloads: 152
Uploads: 0


An interesting update!

Thought of making a really heavy mission with quadzillions of ships, but then it struck me! The OM Museum!
Always known as a "Not To Be Used!" option because of crash!


So loaded OM with all stuff and quite right - SH4 crashed.


Here's the Process Monitor screendump.
Note how the max. memory use do not exceed 1.65 GB! but it still crashes...




Now the LAA patched SH4 Process Monitor screendump:






Conclusion:
Reason for SH4 crashing in Museum, is because of the 2GB limitation. Using the LAA patch now allows for opening the museum.
Max. memory 2.21 GB for OM!



However, the sea is very strange.
Like high speed water flow... but of course, noone has ever seen it before...



Been running with the LAA patch for some 10 hours and have found no side effects, so I would say it's safe to use.
And if you would like to see the Museum, it's a must have!



/edit, note re. memory use.

Extra memory used for 9 to 23 ships = 1.40GB to 1.48 = 80MB
With Max memory = 1.65GB = crash, then we have 1.64GB-1.48GB = 160MB in real overhead.

Which is only twice of what required to meet 22 ships in the open ocean. No harbour, shallows, land etc.

All my installs now have the LAA patch. Imho it's a must have. Thanks for the hint, BubbleHead!

Core i7-930, 6GB, Win7 64-bit used in test.

Btw. Bubble, you should change the thread title to "[Solved] What does the 4 gig Patch do?"
It does nothing but good!

Last edited by Jan Kyster; 12-01-10 at 12:42 AM. Reason: Final conclusion: it's a must have.
Jan Kyster is offline   Reply With Quote
Old 12-01-10, 09:31 AM   #10
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,250
Downloads: 320
Uploads: 11
Default

Jan Kyster
Thanks for the info;
This is an example of how good science works
State a problem, form a premise, gather data to support or refute the premise, form a conclusion supported by the gathered data,
Publish the results and invite comment.
I tested the premise and can confirm that the museum is viewable with the 4Gb patch installed on Win7, 64 bits.
__________________
Irish1958

Last edited by irish1958; 12-03-10 at 09:35 AM.
irish1958 is offline   Reply With Quote
Old 12-01-10, 10:15 AM   #11
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

@Jan Kyster,

Great report!
I knew you would give us the needed facts in a
concise way.
  Reply With Quote
Old 04-20-11, 11:51 AM   #12
fitzcarraldo
Argentinian Skipper
 
fitzcarraldo's Avatar
 
Join Date: Jul 2009
Location: Somewhere between Buenos Aires and the Bungo Suido
Posts: 5,141
Downloads: 3222
Uploads: 0


Default

Quote:
Originally Posted by Jan Kyster View Post
Thought of making a really heavy mission with quadzillions of ships, but then it struck me! The OM Museum!
Always known as a "Not To Be Used!" option because of crash!


So loaded OM with all stuff and quite right - SH4 crashed.


Here's the Process Monitor screendump.
Note how the max. memory use do not exceed 1.65 GB! but it still crashes...




Now the LAA patched SH4 Process Monitor screendump:






Conclusion:
Reason for SH4 crashing in Museum, is because of the 2GB limitation. Using the LAA patch now allows for opening the museum.
Max. memory 2.21 GB for OM!



However, the sea is very strange.
Like high speed water flow... but of course, noone has ever seen it before...



Been running with the LAA patch for some 10 hours and have found no side effects, so I would say it's safe to use.
And if you would like to see the Museum, it's a must have!



/edit, note re. memory use.

Extra memory used for 9 to 23 ships = 1.40GB to 1.48 = 80MB
With Max memory = 1.65GB = crash, then we have 1.64GB-1.48GB = 160MB in real overhead.

Which is only twice of what required to meet 22 ships in the open ocean. No harbour, shallows, land etc.

All my installs now have the LAA patch. Imho it's a must have. Thanks for the hint, BubbleHead!

Core i7-930, 6GB, Win7 64-bit used in test.

Btw. Bubble, you should change the thread title to "[Solved] What does the 4 gig Patch do?"
It does nothing but good!
LAA patch is the same 4GbPatch? I have this in SH4; TMO with RSRDC OK, but OM, without museum. Glup!

Regards.

Fitzcarraldo
__________________



My subject is War, and the pity of War. The Poetry is in the pity - Wilfred Owen.
fitzcarraldo is offline   Reply With Quote
Old 04-20-11, 02:35 PM   #13
Jan Kyster
Ace of the Deep
 
Join Date: Oct 2006
Posts: 1,151
Downloads: 152
Uploads: 0


Default

Quote:
Originally Posted by fitzcarraldo View Post
LAA patch is the same 4GbPatch?
No, it's not. But the end result should be the same. Setting the Large Address Awareness-bit.
However I prefer the "original" work since this have some more features and may handle all kinds of programs... follow links in above posts.

OM Museum - Glup??
Can open it at any time. It do take some time due to the massive amount of ships and planes, but eventually it gets there...

Impossible to open without allowing SH4 to use more RAM than it's native 2GB (=1.6GB) address limit permits... as screendumps above shows.
Jan Kyster is offline   Reply With Quote
Old 12-11-10, 03:08 PM   #14
Alky
Lieutenant
 
Join Date: Jun 2007
Location: Abbotsford BC Canada
Posts: 258
Downloads: 141
Uploads: 0
Default

Quote:
Originally Posted by Kpt. Hess View Post
Just on a side note - there are other games that may also profit from this patch.
I'd like to try it on other games but the patch looks for sh4.exe specifically, how do you get around that?
__________________

Alky is offline   Reply With Quote
Old 12-11-10, 03:18 PM   #15
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Alky View Post
I'd like to try it on other games but the patch looks for sh4.exe specifically, how do you get around that?
The patch hosted here is only for SH4 version 1.5
I did it that way to avoid problems with the Creator of the original
version that will patch nearly every program.
If you want the Multi-program that patches all kinds of stuff?
I can send you a link by PM.
  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:03 PM.


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