User Tools

Site Tools


en:games:explorer-hack

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:games:explorer-hack [2019-02-03-10-55]
7saturn removed
en:games:explorer-hack [2019-02-03-10-56] (current)
7saturn created
Line 1: Line 1:
-====== ​Explorer hack ====== +[[Explorer hack|Continue ​to Explorer ​hack]]
-Especially under Win 7 several games show wrong colors. The problem can be solved by quitting the explorer.exe before playing. As long as it is running or restarted, the color errors occur. Therefore it makes sense to point to a batch file instead of the usual program shortcut, which first closes the Explorer, starts the game, and after finishing the game starts the Explorer again. In this way it is relatively convenient to start the game without getting the color problems. A generic variant would look like this: +
-===== example script ===== +
-For example, an init script can have the following structure:​ +
-<code batch starter.bat>​ +
-echo off +
-cls +
-echo Killing explorer.exe... +
-rem ping 127.0.0.1 -n 2 +
-taskkill /f /IM explorer.exe +
-pause +
-rem ping 127.0.0.1 -n 2 +
-echo Starting <game name> ... +
-cmd.exe /C start /affinity 1 <game executable>​ +
-rem <Press Enter to restart Explorer>​ +
-pause +
-cls +
-echo Restarting explorer.exe... +
-start explorer.exe +
-exit +
-</​code>​ +
-The ''<​game name>''​ is a meaningful name, so that it is clear what happens next. ''<​game executable>''​ means the ''​.exe''​ file, which would otherwise usually be started via the shortcut or directly. Now you can let already existing desktop or start menu shortcuts point to it and assign them the icon from the binary. So the whole thing looks exactly as if everything would run normally, only that before the game the query occurs so that the Explorer has enough time to vanish from memory before the game is started. +
- +
-[[gamesdatenbank|Back to the games database]]+
en/games/explorer-hack.txt · Last modified: 2019-02-03-10-56 by 7saturn