View Single Post
  #1  
Old 10-09-2010, 01:00 PM
Brigadier Graham Brigadier Graham is offline
Junior Member
 
Join Date: Oct 2010
Posts: 24
Default Out of memory leaks on 64 bit systems Fix!

Must admit I am jolly well enjoying this game as well as XIII Century Gold Edition.. other developers had better watch out especially when real warfare 2 comes along next year...
Any way... I hear people have various problems with memory leaks on 64 bit systems.. had the same problem on one of the total war games, and here is a similar fix that works.. Ive tried it, and can confirm it works on my system .. Windows 7 64 bit.
I stumbled on this purely by accident, so I joined the forums to let you chaps know of it.
Hope it might work for you chaps...Its very simple

For some reason, the game is coded in a way where it can only accept a maximum of 2Gb, although ironically it works just fine on a 32bits installation! The game suffers from memory leaks on a 64bits installation, which in turn causes the memory load to reach around 3.5GB! In order to fix this simple issue, follow these simple steps.. you can also download a 32 bit version from the site as well.

1 - Download CFF Explorer (http://www.ntcore.com/exsuite.php)
2 - Run CFF Explorer
3 - Click File -> Open
4 - Search for engine.exe in X:\Program Files\1C Company\Real Warfare 1242
Replace X:\ by the letter in which your game is currently installed in
5 - Once found, go to Nt Headers -> File Header
6 - You will now get the file headers of engine.exe. In there, search for 'Characteristics' (at the bottom) and click where it says 'Click here'
7 - A new window will pop up and all you have to do is make sure that "App can handle >2gb address space is CHECKED
8 - Apply the changes, then go to File -> Save
9 - Enjoy the game in 64bits!


Good luck
Brig

P.S. this works for XIII Century: Blood of Europe etc as well.

Last edited by Brigadier Graham; 10-10-2010 at 09:01 PM.
Reply With Quote