Steam

Steam

34 ratings
Отключаем подготовку к первому запуску игр Steam / Removing Steam First-Time Setup [RUS|ENG]
By GreenPeas
Если вам надоело или просто не нравится, что при первом запуске установленной игры дополнительно и в скрытом режиме ставятся пакеты DirectX, VC++ и т.д., то это руководство стоит вашего внимания.
If you are tired or just do not like that when you first start the game additionally installed in quiet mode and put packages DirectX, VC ++, etc., then this guide is worth your attention.
   
Award
Favorite
Favorited
Unfavorite
Введение / Introduction
По-русски
Прежде чем что-либо описывать дальше, я предполагаю, что вы являетесь уверенными пользователями ПК и своевременно поддерживаете и обновляете до актуального состояния ваши драйверы, системные и программные библиотеки и т.п.
Итак, что мы ставим нашей основной целью? Правильно! Отключение подобных диалоговых окон.

Мы рассмотрим несколько основных способов.

In English
Before anything further to describe, I guess you are a advanced PC users, and in a timely manner to maintain and update the current status of your drivers, system and software library, etc.
So, what we set our main goal? Right! Disabling these dialogs.

We'll look at a few basic ways.
Способ №1: Использование .bat-файла / Way №1: Using batch file
По-русски
Использование .bat-файла помогает в большинстве таких случаев.
Создаем текстовый документ в директории, куда установлены ваши Steam-игры (к примеру здесь: Steam/steamapps/common), добавляем в него эти строки:
for /R %%i in (*install*.vdf) do type "%%i" | findstr /v DXSETUP | findstr /v dxsetup | findstr /v DXSetup | findstr /v D3D11Install | findstr /v vcredist | findstr /v gfwlivesetup.exe | findstr /v PhysX | findstr /v msiexec | findstr /v dotnetfx | findstr /v Framework | findstr /v xliveredist | findstr /v Uplay | findstr /v uplay | findstr /v wmfdist11 | findstr /v UbisoftGameLauncherInstaller | findstr /v pbsvc > "%%i"
Сохраняем этот файл с любым названием и расширением .bat.
Как работает это файл? При каждом запуске этого файла происходит поиск игровых файлов с расширением .vdf и при наличии совпадения требуемых строк, они автоматически удаляются из файла. Как следствие, Steam считает, что для игры ничего доустанавливать не требуется.
Недостаток этого способа всего один. Иногда некоторые игры сбрасывают .vdf-файлы до их первоначального состояния (из-за обновлений или проверок кэша), поэтому файл приходится повторно запускать.
Также, вы можете воспоьзоваться уже готовым .bat-файлом. Скачиваете и кладете в директорию: Steam/steamapps/common.

In English
Using the .bat-file helps in most such cases.
Create a text document in a directory where you installed your Steam-games (for example here: Steam/steamapps/common), add these lines to it:
for /R %%i in (*install*.vdf) do type "%%i" | findstr /v DXSETUP | findstr /v dxsetup | findstr /v DXSetup | findstr /v D3D11Install | findstr /v vcredist | findstr /v gfwlivesetup.exe | findstr /v PhysX | findstr /v msiexec | findstr /v dotnetfx | findstr /v Framework | findstr /v xliveredist | findstr /v Uplay | findstr /v uplay | findstr /v wmfdist11 | findstr /v UbisoftGameLauncherInstaller | findstr /v pbsvc > "%%i"
Save the file with any name and extension .bat .
How does it work? Each time you run this file is searched for files with the extension .vdf and the matching of lines required, they are automatically removed from the file. As a consequence, Steam believes that games do not need to install anything.
The disadvantage of this way is only one. Sometimes some games reset vdf-files to their original state (due to update or check the cache), so you need to launch .bat-file again.
You can also use a ready .bat-file. Download and put in the directory: Steam/steamapps/common.
Способ №2: Удаление файла installscript.vdf / Way №2: Deleting installscript.vdf
По-русски
Просто удаляем такой файл из директории с игрой. Такие файлы имеют названия:
installscript.vdf; game ID*_install.vdf и, возможно, runasadmin.vdf.

Основной недостаток этого способа заключается в том, что в таких файлах могут содержаться необходимые инструкции для установки библиотек в редких случаях.

In English
Just delete such file from the directory with the game.
These files have names:
installscript.vdf; game ID*_install.vdf & possibly, runasadmin.vdf.

The main disadvantage of this method is that in which files may contain the necessary instructions to set up libraries in rare cases.
Способ №3: Удаление файлов библиотек / Way №3: Deleting runtimes executables
По-русски
Перейдите в директорию, куда установлена ваша игра. Далее находим и удаляем исполняемые файлы DirectX, vcredist, PhysX и т.д.


In English
Go to the directory where you installed your game. Next, we find and delete the executable files DirectX, vcredist, PhysX, etc.
Способ №4: Редактирование реестра / Way №4: Modifying The Registry
По-русски
Вы можете отредактировать необходимые ключи реестра, чтобы перенацелить Steam на запрет установки различных библиотек. Путь реестра к какой-либо игре выглядит примерно вот так:
Для х86
HKEY_LOCAL_MACHINE\SOFTWARE\System32\Valve\Steam\Apps\*ID игры*
Для х64
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Valve\Steam\Apps\*ID игры*
Все, что нам требуется, это проставить в ветке игры флаги для "якобы" установленных библиотек.
Покажу на примере простенькой игры LYNE. Эта игра автоматически устанавливает для своего запуска библиотеки VC++. Давайте поставим запрет на это.
Легче будет объяснить по пунктам:
  1. Открываем файл installscript.vdf любым текстовым редактором (обычно такие файлы лежат в корне установленной игры, либо вместе с исполняемыми файлами библиотек);
  2. Смотрим структуру файла:

    Красным выделено то, какие ветви реестра будут созданы при первом запуске игры, а синим - какие значения будут выставлены.
    Как можно догадаться, мы сделаем ход конем и проставим все эти параметры вручную.
  3. Изучив содержимое файла installscript.vdf, создаем необходимые ветки реестра и выставляем нужные значения (параметр DWORD 32-bit) на единицу. Получится примерно так:

  4. Все. Закрываем реестр и пробуем включить игру. Если все сделано верно, то игра должна запуститься сразу без всяких подготовок.
Способ может показаться слишком сложным для неподготовленного пользователя. Но главным его достоинством является то, что даже после обновления игры или проверки кэша, назойливые установочные окна не будут появляться.

In English
You can edit the necessary registry keys to refocus the Steam to prevent the installation of different libraries. Registry path to any game looks something like this:
For х86
HKEY_LOCAL_MACHINE\SOFTWARE\System32\Valve\Steam\Apps\*game ID*
For х64
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Valve\Steam\Apps\*game ID*
All we need is to put down in the tree of the game the flags for "allegedly" installed libraries.
I will show the example of a simple little game LYNE. This game is automatically installs C++ libraries. Let's put a ban on it.
It's easier to explain point by point:
  1. Open the file installscript.vdf with any text editor (usually these files are at the root of the installed game, or with the executables libraries);
  2. Watch the file structure:

    The red color which registry keys will be created when you first start the game, and blue - which values will be set.
    As you might guess, we will make move of the knight and place all these parameters manually.
  3. After examining the contents of the file installscript.vdf, we create the necessary registry keys and set the desired value (a DWORD value 32-bit) to the value of one. It will turn something like this:

  4. That's all. Close the registry and try to launch the game. If done right, the game should start immediately without any preparations.
The method may be too difficult for a beginner. But its main advantage is that even after a game update or verify the cache intrusive installation windows do not will appearing.
Заключение / Conclusion
По-русски
Надеюсь, благодаря этому руководству вы в полной мере ощутите контроль над тем, какие игры вы устанавливаете и что устанавливается вместе с ними. Вам ведь не хочется держать на машине по несколько предыдущих версий одной и той же библиотеки VC++ любого года? ;)

In English
Hopefully, thanks to this guide, you will feel the full control over which games you are installing and what is installed along with them. You don't want to keep several previous versions of the same library VC ++ of any year? ;)