This may be a neglected problem that has plagued me for a long time. I often do some game debugging (on the win7 system), my game crashed hundreds of times, every time I reopen the game I have to wait for it for a while.
I don't know why I don't care about this bug because it will always run successfully. But recently, I decided to find out the cause and fix it.
As MBK said, the game worked well in Windows XP...
So, you can guess that this bug is caused by the system. In win7 or higher, there is a game manager that comes with the system. Press the Win button and there is a game option in the sidebar of the Start menu.
It will automatically collect the game information you played. When you run a game, the system will run rundll32.exe to call a library gameux.dll, which is the case in many old games.
This library will update the game information online. When there is no network or no game information, it will block all the time and the game will not start. This is a bug in the win7 system, I have never used this game manager.
Since win xp does not have the file gameux.dll, this has never happened before.
I found three solutions:
I have provided a batch script Blade-QuickLaunch.bat, which runs ".exe" twice. When the second ".exe" window appears, the script will automatically close the first Blade.exe and rundll32.exe. This is a very effective method.
I have perfected the script and updated it to 1.1.
Rename the gameux.dll file so that it cannot be loaded.
Modify the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\GameUX\
There is an item like "S-1-5-21-284290709..." which contains some custom game information.
Just change the data of a key ConfigInstallType to 4 and the game manager will no longer check and update the game.
Multiple game versions need to modify the key ConfigInstallType in all items.
for /f "tokens=2" %%i in ('whoami /user ^| find /i "%username%"') do set "SID=%%i"
for /f %%i in ('reg query %r%\%SID%') do reg add %%i /v ConfigInstallType /t REG_SZ /d 4 /f
Copy the code to a text document and save it as DisableUpdate.bat. Running it will automatically disable the update information feature for all current games.
One defect is that if you add a copy of the game, its ConfigInstallType value defaults to 3, and you need to re-run DisableUpdate.bat once.
These three methods work well now.