Параметры для конкретных задач
Options For Specific Tasks
Запуск SDI для выполнения разовых операций
Running SDI for one-off operations
| Параметр | Описание | Switch | Description |
|---|---|---|---|
| -? | Показать окно справки. | Show this help window. | |
| -7z | Работа в режиме 7z-архиватора. | Run in 7z archiver mode. | |
| -7z | Пример: | Example: | |
SDI.exe -7z x DP_TV_Beholder_14020.7z |
|||
| -install <hwid> <inffile> | Установить драйвер с указанным <hwid> из <inffile>. Коды возврата: |
Install driver with specified <hwid> from <inffile>. Exit codes: |
|
| 1 - успешно установленоSuccessfully installed. 0x80000001 - успешно установлено (требуется перезагрузка)Successfully installed (reboot required). Прочие значения — ошибки.Other - Errors. |
|||
| -HWIDInstalled:<hwid>=<file> | Проверить, установлен ли драйвер <hwid> в сессии <file>. Коды возврата: |
Check if driver <hwid> installed in session <file>. Exit codes: |
|
| 0 - драйвер не установлен в сессии <file>Driver not installed in session saved in <file>. 1 - драйвер установлен в сессии <file>Driver has been installed in session saved in <file>. 24 - неверная длина: HWID короче 17 символовInvalid length. HWID is shorter than 17 characters. |
|||
| -save-installed-id[:<file>] | Сохранить HardwareID установленных драйверов в <file>. Если <file> не указан, сохраняет в %temp%\SDI2\InstalledID.txt. |
Saves HardwareIDs of installed driver in <file>. If <file> is not specified, saves at %temp%\SDI2\InstalledID.txt. |
|
| -PATH <pathToDrivers> | Работает как замена DPInst. Коды возврата — из документации DPInst. |
Runs as a replacement of DPInst. For exit codes refer to the documentation of DPInst. |
|
| -delextrainfs | Удаляет неиспользуемые INF-файлы после распаковки. | Deletes unused infs after extracting. | |
| -verbose:<flags> | Задаёт уровень детализации лога. | Sets log detail level. | |
| -ls:<file> | Загружает снимок (snapshot). | Loads snapshot. | |
| -nogui | Запуск без графического интерфейса. | Runs without GUI interface. | |
| -nologfile | Не создавать файлы логов. | Suppress creating logs. | |
| -nosnapshot | Не создавать снимки. | Suppress creating snapshots. | |
| -nostamp | Создавать логи и снимки без временных меток. | Creates logs and snapshot without timestamps. | |
| -getdevicelist:<file> | Сохранить список устройств в <file>. | Saves the device list to <file>. | |
| -filtersp | Показывать только наилучшее совпадение для каждого драйвера. | Show only the best match for each driver. | |
Параметры, сохраняемые в sdi.cfg
Options That Are Saved In sdi.cfg
Эти параметры сохраняются при выходе из программы
These options are persisted when the program exits
| Параметр | Описание | Switch | Description |
|---|---|---|---|
| -drp_dir:<dir> | Путь к драйверпакам. | Path to driverpacks. | |
| -index_dir:<dir> | Путь к индексам. | Path to indexes. | |
| -output_dir:<dir> | Путь к индексам в читаемом формате. | Path to indexes in human-readable format. | |
| -data_dir:<dir> | Путь к переводам и темам оформления. | Path to translations and themes. | |
| -log_dir:<dir> | Путь к логам и снимкам. | Path to logs and snapshots. | |
| -lang:<name> | Язык интерфейса. | Current interface language. | |
| -theme:<name> | Текущая тема оформления. | Current theme. | |
| -hintdelay:<time> | Задержка показа подсказок. | Sets hint delay. | |
| -wndwx:<num> | Ширина окна. | Sets window width. | |
| -wndwy:<num> | Высота окна. | Sets window height. | |
| -filters:<flags> | Настройка фильтров. | Sets filters. | |
| -expertmode | Включить экспертный режим. | Enable the expert mode. | |
| -license:<0|1> | Пропустить диалог лицензии (значение 1 — пропускать). | Suppress the license dialog (value 1 - suppress). | |
| -norestorepnt | Не создавать точку восстановления. | Suppress creating of restore point. | |
| -novirusalerts | Отключить предупреждения об антивирусах. | Suppress virus alerts. | |
| -showdrpnames1 | Показывать названия драйверпаков справа. | Shows driverpack names on the right. | |
| -showdrpnames2 | Показывать названия драйверпаков сверху. | Shows driverpack names above. | |
| -oldstyle | Список драйверов в старом стиле. | Shows driver list using old style. | |
| -keepunpackedindex | Не обновлять индексы распакованных драйверов. | Prevents updating of indexes for unpacked drivers. | |
| -preservecfg | Не обновлять sdi.cfg. | Prevents updating of sdi.cfg. | |
| -cfg:<FileName> | Загрузить <file> вместо "sdi.cfg". | Loads <file> instead of "sdi.cfg". | |
| -scale:<num> | Масштаб интерфейса (150–350, по умолчанию 256). | GUI scale (150-350, default 256). | |
| -wndsc:<num> | Масштаб окна. | Window scale. | |
| -nopreallocate | Не выделять место под скачиваемые файлы заранее (торрент). | Do not preallocate space for downloaded files (torrent). | |
| -hidepatreon | Скрыть ссылку на Patreon. | Hides the Patreon link. | |
| -proxy_host:<host> | Прокси-сервер для торрент-клиента. | Proxy server for the torrent client. | |
| -proxy_port:<num> | Порт прокси-сервера. | Proxy server port. | |
| -proxy_type:<type> | Тип прокси: 0 — нет, 1 — SOCKS4, 2 — SOCKS5, 3 — SOCKS5+PW, 4 — HTTP, 5 — HTTP+PW. | Proxy type: 0 - none, 1 - SOCKS4, 2 - SOCKS5, 3 - SOCKS5+PW, 4 - HTTP, 5 - HTTP+PW. | |
| -torrenturl:<url> | Основной URL торрента-обновления SDI.exe. | Main URL of the SDI.exe update torrent. | |
| -torrenturl_backup:<url> | Резервный URL торрента-обновления SDI.exe. | Backup URL of the SDI.exe update torrent. | |
| -torrent2url:<url> | Основной URL торрента драйверпаков. | Main URL of the driverpacks torrent. | |
| -torrent2url_backup:<url> | Резервный URL торрента драйверпаков. | Backup URL of the driverpacks torrent. |
Параметры управления торрентом
Options Controlling Torrent
Управление загрузкой драйверов через встроенный торрент-клиент
Managing driver downloads via the built-in torrent client
| Параметр | Описание | Switch | Description |
|---|---|---|---|
| -checkupdates | Проверять обновления онлайн. | Checks for updates online. | |
| -onlyupdates | Не уведомлять об отсутствующих драйверпаках. | Disables notification of missing driverpacks. | |
| -autoupdate | Начать загрузку автоматически. | Starts downloading automatically. | |
| -port:<num> | Порт для торрент-клиента. | Port for torrent client. | |
| -minport:<num> | Минимальный исходный порт торрент-клиента. | Sets minimum outgoing port. | |
| -maxport:<num> | Максимальный исходный порт торрент-клиента. | Sets maximum outgoing port. | |
| -downlimit:<num> | Ограничение скорости скачивания (КБ/с). | Sets download speed limit (in KBs). | |
| -uplimit:<num> | Ограничение скорости отдачи (КБ/с). | Sets upload speed limit (in KBs). | |
| -connections:<num> | Максимальное число соединений. | Sets the maximum number of connections. | |
| -activetorrent:<num> | Активный торрент: 0 — нет, 1 — обновление SDI.exe, 2 — драйверы. | Active torrent: 0 - none, 1 - SDI.exe update, 2 - drivers. | |
| -finish_upd_cmd:<cmd> | Команда, выполняемая по завершении загрузки. | Specifies a command executed upon completion of download. | |
| -autoclose | Закрыть программу после загрузки. | Close the application after downloading. |
Параметры эмуляции Windows
Options For Emulation
Эмуляция разрядности и версии Windows
Emulating the bitness and version of Windows
| Параметр | Описание | Switch | Description |
|---|---|---|---|
| -a:32 | Эмулировать 32-битную Windows. | Emulates 32-bit Windows. | |
| -a:64 | Эмулировать 64-битную Windows. | Emulates 64-bit Windows. | |
| -v:<version> | Эмулировать Windows конкретной версии. Например, для эмуляции Windows Vista используйте -v:60. | Emulates Windows of specific version. For example, in order to emulate Windows Vista use -v:60. |
Параметры автоустановки
Options For Autoinstall
Тихая автоматическая установка драйверов
Silent automatic driver installation
| Параметр | Описание | Switch | Description |
|---|---|---|---|
| -autoinstall | Немедленно начать установку драйверов. | Immediately start driver installation. | |
| -autoclose | Закрыть программу после установки. | Close the application after installation. | |
| -finish_cmd:<cmd> | Команда, выполняемая по завершении установки драйверов. | Specifies a command executed upon completion of driver installation. | |
| -finishrb_cmd:<cmd> | Команда по завершении установки драйверов, когда требуется перезагрузка. | Specifies a command executed upon completion of driver installation when reboot is required. | |
| -extractdir:<dir> | Путь к временной папке (TEMP). | Path to TEMP. | |
| -keeptempfiles | Сохранять временные файлы. | Keep temp files. | |
| -nostop | Не останавливать установку, если не удалось создать точку восстановления. | Do not stop installation if creating a restore point fails. |
Параметры отладки
Options For Debugging
Инструменты для поиска неисправностей
Troubleshooting utilities
| Параметр | Описание | Switch | Description |
|---|---|---|---|
| -showconsole | Показывать окно консоли. | Displays console window. | |
| -failsafe | Отключить индексирование WINDOWS\inf. | Disables indexing of WINDOWS\inf. | |
| -disableinstall | Запретить установку драйверов и создание точки восстановления. | Suppresses driver installation and creation of a restore point. | |
| -reindex | Принудительная переиндексация всех драйверпаков. | Forces reindexing of all driverpacks. | |
| -index_hr | Создавать индексы в читаемом формате. | Creates indexes in human-readable format. |
Подробное логирование (-verbose:<flags>)
Verbose Logging (-verbose:<flags>)
Параметр задаёт уровень детализации лога — суммируйте значения флагов
Sets log detail level — sum the flag values
Например, чтобы записывать только разделы DeviceInfo и manager_print, сложите значения: 4+16=20:
For example, to log only the DeviceInfo and manager_print sections, sum the values: 4+16=20:
SDI.exe -verbose:20
| Имя | Hex | Десятичное | Описание | Name | Hex | Decimal | Description |
|---|---|---|---|---|---|---|---|
| LOG_VERBOSE_ARGS | 0x0001 | 1 | Разделы: "Settings". | Sections: "Settings". | |||
| LOG_VERBOSE_SYSINFO | 0x0002 | 2 | Разделы: "Windows", "Environment". | Sections: "Windows", "Environment". | |||
| LOG_VERBOSE_DEVICES | 0x0004 | 4 | Разделы: "DeviceInfo". | Sections: "DeviceInfo". | |||
| LOG_VERBOSE_MATCHER | 0x0008 | 8 | Разделы: "{matcher_print". | Sections: "{matcher_print". | |||
| LOG_VERBOSE_MANAGER | 0x0010 | 16 | Разделы: "{manager_print". | Sections: "{manager_print". | |||
| LOG_VERBOSE_DRP | 0x0020 | 32 | Разделы: "Driverpacks". | Sections: "Driverpacks". | |||
| LOG_VERBOSE_TIMES | 0x0040 | 64 | Разделы: "Times". | Sections: "Times". | |||
| LOG_VERBOSE_LOG_ERR | 0x0080 | 128 | Сообщения об ошибках. | Error messages. | |||
| LOG_VERBOSE_LOG_CON | 0x0100 | 256 | Прочие сообщения. | Misc messages. | |||
| LOG_VERBOSE_LAGCOUNTER | 0x0200 | 512 | Счётчик задержек GUI. | GUI lag counter. | |||
| LOG_VERBOSE_DEVSYNC | 0x0400 | 1024 | Разделы: "{Updated". | Sections: "{Updated". | |||
| LOG_VERBOSE_BATCH | 0x0800 | 2048 | Пакетная обработка снимков. | Batch processing of snapshots. | |||
| LOG_VERBOSE_DEBUG | 0x1000 | 4096 | Отладочные сообщения. | Debug messages. | |||
| LOG_VERBOSE_TORRENT | 0x2000 | 8192 | Сообщения торрент-клиента. | Torrent messages. |
Скрипты
Scripts
Готовые скрипты для автоматизации SDI
Ready-made scripts for SDI automation
Скрипт обновления SDI.exe
Script For Keeping SDI.exe Updated
Поддерживает SDI.exe в актуальном состоянии вместе с последними драйверами и версией SDI_Rnnn.exe
Keeps SDI.exe updated with the latest drivers and version of SDI_Rnnn.exe
ECHO OFF ::******************************************************************** :: :: Keep SDI.exe updated with the latest drivers and version of SDI_Rnnn.exe :: :: NOTE: Put this batch file in the SDI_UPDATE directory with the SDI_Rnnn.exe file ::******************************************************************** :: ::SET SDIPath to location of batch file which should be with SDI_Rnnn.exe SET SDIPath=%~dp0 PUSHD %SDIPath% ::Get the newest SDI_Rnnn.exe file FOR /F "delims=|" %%I IN ('DIR "SDI_R\*.exe" /B /O:D') DO SET NewestSDI=%%I :: Run SDI update CALL %NewestSDI% /autoupdate /autoclose ::Make sure we still have most current executable in case one was just downloaded FOR /F "delims=|" %%I IN ('DIR "SDI_R\*.exe" /B /O:D') DO SET NewestSDI=%%I ::Copy current version to SDI.exe COPY %NewestSDI% SDI.exe /Y POPD
Скрипт распаковки всех драйверпаков
Script For Unpacking All Driverpacks
Требуется около 90 ГБ свободного местаRequires about 90GB
ECHO OFF ::Get the newest SDI_Rnnn.exe file for /f "tokens=*" %%a in ('dir /b /od "%~dp0SDI_R\*.exe"') do set "SDIEXE=%%a" for /F %%i in ('dir /b drivers\*.7z') do %SDIEXE% -7z x drivers\%%i -y -odrivers\%%~ni del indexes\SDI\unpacked.bin echo -keepunpackedindex >> sdi.cfg
💡 Подсказка: Для сисадминов особенно полезны параметры -autoinstall, -nogui и -autoclose — они позволяют полностью автоматизировать установку драйверов на множестве ПК.
💡 Tip: For sysadmins, the -autoinstall, -nogui, and -autoclose switches are especially useful — they let you fully automate driver installation across many PCs.