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 08-25-12, 07:12 PM   #1
Kalleblom
Lieutenant
 
Join Date: May 2012
Location: Waterkant
Posts: 252
Downloads: 74
Uploads: 0
4gig Switch

For those who are interested, I've found something interesting in the German Ubisoft Forums.

"The 4GB patch is at a 32-bit executable in the file header, the bit-Falg ensures that this exe also address memory addresses above the 2GB limit.

The patch works so that it negates the bit is from 0 to 1, is from 1 to 0 1 means the exe can not address more than 2GB, 0 means they can only max. 2G address.

Now, the Romanian Ubisoft Developer and thought along the same SH5.exe with active bitflag compiles*so this game of home address more than 2GB can.

If now the 4GB ironed over it, then from the 1 is a 0, and then for the exe is end of the shaft *at 2GB."

It's translated with google and i Think it sounds logic.


Kalle
Kalleblom is offline   Reply With Quote
Old 08-25-12, 07:36 PM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kalleblom View Post
For those who are interested, I've found something interesting in the German Ubisoft Forums.

"The 4GB patch is at a 32-bit executable in the file header, the bit-Falg ensures that this exe also address memory addresses above the 2GB limit.

The patch works so that it negates the bit is from 0 to 1, is from 1 to 0 1 means the exe can not address more than 2GB, 0 means they can only max. 2G address.

Now, the Romanian Ubisoft Developer and thought along the same SH5.exe with active bitflag compiles*so this game of home address more than 2GB can.

If now the 4GB ironed over it, then from the 1 is a 0, and then for the exe is end of the shaft *at 2GB."

It's translated with google and i Think it sounds logic.


Kalle
I am not sure to undesrtand tha googlish english, but if the post that you are reporting is just relating to the existence of a 4GB patch, this is old news.

Thank you anyway Kalle
gap is offline   Reply With Quote
Old 08-25-12, 07:53 PM   #3
Kalleblom
Lieutenant
 
Join Date: May 2012
Location: Waterkant
Posts: 252
Downloads: 74
Uploads: 0
Default

Moin Gap,

It's from here:
http://forums-de.ubi.com/showthread....=1#post2100936

And i ask about here and got no satisfactory answer, so i thought for those you noticed that, but could not explain why oneself, it's i nice to know. And the declaration in Post One of this thread was misleading, at least for me.

Edit:and threads are often not even read to the end, although it should be.
So for the slow-witted like me, trevally can perhaps edit the first post.
Kalleblom is offline   Reply With Quote
Old 08-26-12, 05:22 AM   #4
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Hi Kalleblom

I am sorry but I do not understand that post in the German forum.

Does it mean:-
Ubi made the .exe with a higher address aware.
Using the 4GB patch switches this back to a 2GB limit

So users should not use the 4GB patch

__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 08-26-12, 05:40 AM   #5
Kalleblom
Lieutenant
 
Join Date: May 2012
Location: Waterkant
Posts: 252
Downloads: 74
Uploads: 0
Default

Moin Trevally,

That's what i understand in German. The 4gig switch limit the exe back to 2gb.

There's a editor with one you can check the exe and you can see the changes the switch will make allready is changed in the stock. I think it's this CFF Explorer. But i must confess that my knowledge about this is too low to verify.


Kalle

Last edited by Kalleblom; 08-27-12 at 03:13 AM.
Kalleblom is offline   Reply With Quote
Old 08-26-12, 06:19 AM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kalleblom View Post
Moin Trevally,

That's what i understand in German. The 4gig switch limit the exe back to 2gb.

There's a editor with one you can check the exe and you can see the changes the switch will make allready is changed in the stock. I think it's this hex editor. But i must confess that my knowledge about this is too low to verify.


Kalle
As far as I can understand from the automatic translation you have posted, I think that the original post on Ubi forum simply explains how the 4 gig patch is working.
But I can be wrong indeed. Any german speaking forum member should be able to unravel our doubts...
gap is offline   Reply With Quote
Old 08-26-12, 06:46 AM   #7
Kalleblom
Lieutenant
 
Join Date: May 2012
Location: Waterkant
Posts: 252
Downloads: 74
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
As far as I can understand from the automatic translation you have posted, I think that the original post on Ubi forum simply explains how the 4 gig patch is working.
But I can be wrong indeed. Any german speaking forum member should be able to unravel our doubts...
The first part explain how it works, the second part explain what happens, when you install the the 4gig Switch over the exe, which has already the changes in it. the result is that the switch back the file into the state you want to change.

So you want the switch to achieve that the exe adress 4 gb instead of 2GB, but exactly the opposite is happen.

In german i understand how it works, but i cannot explain it better in english

Sorry, i'm at my wits end!
Kalleblom is offline   Reply With Quote
Old 08-26-12, 06:51 AM   #8
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

I just tried pushing above the 2GB to test but this was as high as I could get (running around kiel firing AA guns and torps)

__________________
Trevally Mods for SH5
Trevally. 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 01:25 AM.


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.