A brief explanation of the annoying “Reduced multithreading” pop-up and how to remove it.
What it is
Explaining the concept of multithreading is out of scope for this guide, but in layman terms, “Reduced Multithreading” 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, و, if it does, provided the “Reduced Multithreading” option is not already enabled, a pop-up will be shown asking you to enable it. ثم, 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 doesn’t get to do a final clean-up, and the file never gets deleted.
حقيقة ممتعة – if we delete or create this file ourselves, we can recreate this behavior. لكن, something strange happens if we create a folder named “closecheck” بدلاً من – we get a “File access denied” error, which interrupts the start-up procedure and the game refuses to start.
If a file named “closecheck” does 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 can’t 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.
حالياً, there is no option to disable this pop-up (apart from enabling “Reduced Multithreading”), but you can remove it by patching the game executable.
- If you don’t have one, download and install a hex editor (HxD will be used in this guide, you can download it هنا.
- Navigate to your OMSI 2 installation folder
– Open your Steam Library, right click on OMSI 2 واختر الخصائص
– حدد ملف ملفات محلية tab on your left, and then click the تصفح زر - Create a backup of the game executable, Omsi.exe, by copying and pasting it with a different name, فمثلا Omsi.exe.bak
– HxD should automatically create backups for you - Open the game executable, Omsi.exe, in your hex editor
- Search for the following hexadecimal bytes, without the quotes: “75 4E 6A 08”
– In HxD, do Ctrl+F and go to the Hex-values التبويب
– There should always be exactly one search result, between 2E86B9 and 2E86BC - استبدل ملف 75 you’ve found with an EB, and save
– In HxD, click just before the 75, يكتب EB (it will show up in red) and do Ctrl+S (it won’t be red anymore)
A comparison of the unpatched (غادر) and patched (حقا) 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 mistake – replace the executable with the backup you’ve made and start over.