Como remover “Multithreading reduzido” Pop-up no OMSI 2

A brief explanation of the annoyingReduced multithreadingpop-up and how to remove it.

O que é isso

Explaining the concept of multithreading is out of scope for this guide, but in layman terms, “Multithreading reduzido” simply tells the game to do less things at once. This option should remain disabled, as it is usually not the cause of the crash, and your game will run much worse.

When you launch OMSI 2, an empty file named closecheck gets created. Before this happens though, it checks if the file already exists, e, if it does, provided the “Multithreading reduzido” option is not already enabled, a pop-up will be shown asking you to enable it. Então, once you quit the game, as part of the final clean-up procedure, the file gets deleted. When the game freezes or crashes, or in any other way exits abruptly, it doesnt get to do a final clean-up, and the file never gets deleted.

Fato engraçado – if we delete or create this file ourselves, we can recreate this behavior. No entanto, something strange happens if we create a folder namedclosecheck” em vez de – we get aFile access deniederror, which interrupts the start-up procedure and the game refuses to start.

If a file namedclosecheckdoes not exist, it gets created; if the file exists, it does nothing. There are no checks for folders though, thus the game thinks it doesn’t exist and tries to create it, and on Windows you cant have a file with the same name as a folder in the same directory and vice versa, thus resulting in the error.

How to remove it

Please note that this tutorial is ONLY for the 2.3.004 version of the game and it will most likely NOT work with other versions.

Atualmente, there is no option to disable this pop-up (apart from enabling “Multithreading reduzido”), but you can remove it by patching the game executable.

  1. If you don’t have one, download and install a hex editor (HxD will be used in this guide, you can download it aqui.
  2. Navigate to your OMSI 2 installation folder
    Open your Steam Library, right click on OH MEU DEUS 2 e selecione Propriedades
    – Selecione os Ficheiros locais tab on your left, and then click the Navegar botão
  3. Create a backup of the game executableOmsi.exe, by copying and pasting it with a different name, por exemplo Omsi.exe.bak
    HxD should automatically create backups for you
  4. Open the game executableOmsi.exe, in your hex editor
  5. Search for the following hexadecimal bytes, without the quotes“75 4E 6A 08
    In HxD, fazer Ctrl+F and go to the Hex-values aba
    There should always be exactly one search result, between 2E86B9 and 2E86BC
  6. Replace the 75 you’ve found with an EB, and save
    In HxD, click just before the 75, tipo EB (it will show up in red) and do Ctrl+S (it won’t be red anymore)

A comparison of the unpatched (esquerda) and patched (certo) game executables

If you wish to bring the option back, either do the exact opposite (search for the bytes EB 4E 6A 08 and replace the EB with a 75), or just replace the executable with the backup you’ve made.

If the game doesn’t start anymore, you’ve probably made a mistakereplace the executable with the backup you’ve made and start over.

Este guia sobre OH MEU DEUS 2 Foi escrito por brokenphilip. Você pode visitar a publicação original neste link. Se você tiver alguma dúvida sobre este guia, por favor, não hesite em contactar-nos aqui.

Sobre o autor