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, 08:01 PM   #1
Tonga
Formerly Kpt. Hess
 
Tonga's Avatar
 
Join Date: Sep 2008
Location: 39.20 nmi from U 9
Posts: 54
Downloads: 261
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   #2
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   #3
Jan Kyster
Ace of the Deep
 
Join Date: Oct 2006
Posts: 1,149
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   #4
Jan Kyster
Ace of the Deep
 
Join Date: Oct 2006
Posts: 1,149
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   #5
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,248
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   #6
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 12-02-10, 04:34 PM   #7
jldjs
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default Not sure how to install patch or if I should

I run SHIV 1.5 modded to TMO2 on XP Pro on x86 processor. I have 4GB memory. I tried to install patch by executing it and got error message saying it can't install 'cause it couldn't verify version of SH.exe. Huh? I installed it in C:\SHIV, not C:\Program Files\etc..etc. What am I doing wrong?
  Reply With Quote
Old 04-20-11, 11:51 AM   #8
fitzcarraldo
Argentinian Skipper
 
fitzcarraldo's Avatar
 
Join Date: Jul 2009
Location: Somewhere between Buenos Aires and the Bungo Suido
Posts: 5,381
Downloads: 3484
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   #9
Jan Kyster
Ace of the Deep
 
Join Date: Oct 2006
Posts: 1,149
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 04-20-11, 03:08 PM   #10
Fish40
The Old Man
 
Join Date: Aug 2006
Location: Yonkers, NY U.S.A.
Posts: 1,514
Downloads: 209
Uploads: 0
Default

There is a utility hosted here, just for the SH4exe. I also installed the LAA, and have used it for Il21946 with UP2.01, and BOBWOV with the 2.11 update and multiskin. It seems to have cured some random CTD's in both of them as well.
Fish40 is offline   Reply With Quote
Old 12-11-10, 03:08 PM   #11
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   #12
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
Old 12-11-10, 03:56 PM   #13
Alky
Lieutenant
 
Join Date: Jun 2007
Location: Abbotsford BC Canada
Posts: 258
Downloads: 141
Uploads: 0
Default

Quote:
Originally Posted by privateer View Post
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.
Ah, thank you, I didn't understand there was a second version. Thank you for the link, I have downloaded it
__________________

Alky is offline   Reply With Quote
Old 12-17-10, 01:04 AM   #14
I'm goin' down
Ocean Warrior
 
Join Date: Sep 2008
Location: Notify command we have entered the Grass Sea
Posts: 2,822
Downloads: 813
Uploads: 0
Default ?

I have a 2002 xp professional 32 bit. The game freezes temporarily and is slow to load and exit. Will a patch help? If so, point the way please.
I'm goin' down is offline   Reply With Quote
Old 12-17-10, 05:35 AM   #15
Jan Kyster
Ace of the Deep
 
Join Date: Oct 2006
Posts: 1,149
Downloads: 152
Uploads: 0


Default

Have a look here http://forums.techpowerup.com/showthread.php?t=112556

And check post #14 and #15 in this thread...


But I doubt it will help you against the freeze... that sounds more like a hardware problem to me.
Unless you mean it only freezes for some seconds and then continues?

On the other hand there are no negative sideeffects when using the LAA-fix, so it wouldn't harm anything trying it.
How much RAM do you have?
Jan Kyster 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 03:27 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.