4GB Patch [ENG]

Bald ist es soweit: Unsere nächste Leitstellenfahrt findet statt. Weitere Informationen findet ihr hier.

  • The 4GB patch is an additional external tool to increase the available memory for OMSI(2). Especially on large cards with many lines and extensive AI traffic, the tool can improve playability.

    1. Background

    Microsoft Windows supports two different processor platforms: 32Bit (or x86) and 64Bit (or x64). The number here refers to the maximum working memory that the operating system can address directly. A processor that supports x64 can - together with a 64-bit operating system - thus manage more memory. This means that larger amounts of data can be processed at the same time and calculations with large numbers can be performed more quickly. Another major difference is that 32-bit systems are limited to a maximum working memory of 4GB. Modern desktop PC systems, which are equipped with 8GB or even more working memory, are therefore 64Bit systems. All in all, it can be said that 64Bit systems are becoming the industry standard these days.


    OMSI is a 32Bit program and can have a maximum of 2GB in "normal operation" - the rest is reserved (for 32Bit applications) for the operating system. Even if the system has more than 4GB RAM, the RAM available to OMSI is automatically limited to 2GB by the operating system. Especially with large cards with many lines and extensive AI traffic, the computing power is artificially limited here.


    The 4GB patch is an external tool that ensures that a 32-bit program (as the name already suggests) can now be allocated 4GB instead of 2GB. In the context of OMSI this means that OMSI may use a maximum of 4GB.

    2. The technology behind it

    The small tool modifies the so-called Large-Address-AwareFlag in the .exe file. This flag tells the operating system that this program is able to manage up to 4GB of memory. For OMSI there are no known negative side effects when setting the flag, so that we strongly recommend the use for large maps.


    Installation


    The installation is very easy and also possible for laymen.

    1. First you have to download the 4GB-patch from here.
    2. The .exe file in the archive is ideally stored directly in the OMSI main directory, but can also be placed anywhere.
    3. To apply the 4GB patch to OMSI, there are the following possibilities:
    • Start the 4GB patch as administrator, then a window will open where the Omsi.exe is selected.


    • Drag the Omsi.exe to the 4gb_patch.exe


    4. A dialogue box then confirms that the action has been successfully completed.

    38311-4gb-patch-3-jpg


    An Omsi.exe.backup is also automatically created, which can be renamed back to Omsi.exe if necessary (e.g. problems) and thus the original file can be restored.

    3. Pitfalls

    The 4GB patch directly manipulates the .exe file that OMSI executes. This has the consequence that the 4GB setting is lost with every Steam update from OMSI or a Steam error check. The 4GB patch must be reinstalled in this case.

    4. Further links and discussions

    Attention all links lead to German language pages!

Teilen

CC BY-SA 4.0

Sämtliche Inhalte unseres OMSI-Wiki sind unter Creative Commons Namensnennung & Weitergabe unter gleichen Bedingungen (CC BY-SA 4.0) lizensiert.