削除方法 “マルチスレッドの削減” OMSI のポップアップ 2

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

それは何ですか

Explaining the concept of multithreading is out of scope for this guide, but in layman terms, “マルチスレッドの削減” 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 “マルチスレッドの削減” 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 doesnt 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 namedclosecheck” 代わりは – we get aFile access denied” エラー, 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.

現在, there is no option to disable this pop-up (apart from enabling “マルチスレッドの削減”), but you can remove it by patching the game executable.

  1. If you don’t have one, download and install a hex editor (高さ×奥行き will be used in this guide, ダウンロードできます ここ.
  2. Navigate to your OMSI 2 インストールフォルダ
    Open your Steam Library, right click on ああ、神様 2 そして選択 プロパティ
    – を選択 ローカル ファイル tab on your left, and then click the ブラウズ ボタン
  3. Create a backup of the game executableOmsi.exe, by copying and pasting it with a different name, 例えば 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, 引用符なしで: “75 4E 6A 08
    In HxD, する Ctrl+F そしてに行きます Hex-values タブ
    There should always be exactly one search result, between 2E86B9 and 2E86BC
  6. 交換してください 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 そして交換する EB とともに 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.

このガイドについて ああ、神様 2 によって書かれた brokenphilip. 原文はこちらからご覧いただけます リンク. このガイドに関してご不明な点がございましたら, お気軽にお問い合わせください ここ.

著者について