From 8fb7b6b032a68b1927af6def987ae28417bb9bc7 Mon Sep 17 00:00:00 2001 From: Paravis Date: Sat, 7 Nov 2026 20:46:29 +0300 Subject: [PATCH] README in Russian --- README.md | 72 +++++++++++++++++++++++++++---------------------------- 1 file changed, 35 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 8c427e3..3525008 100644 --- a/README.md +++ b/README.md @@ -1,64 +1,62 @@ -# Change BootLoader — C++ port +# Установщик загрузчика PARAVIS -Native Win32 port of `Change_bootloader\Change_bootloader.au3` with the same -window, buttons, actions and messages. +Нативная Win32-версия `Change_bootloader.au3` на C++. Окно, кнопки, действия и +сообщения те же, что в AutoIt-версии. -## Build +## Сборка -Requirements: Visual Studio 2022 (Desktop C++) and CMake 3.20+. +Требования: Visual Studio 2022 (Desktop C++) и CMake 3.20+. ```bat build.cmd ``` -Output: +Результат: ``` build\Release\Change_BootLoader.exe ``` -The executable is 32-bit, uses a static CRT (no VC++ redistributable), and -requests administrator rights through the embedded manifest. +Программа 32-битная, использует статическую CRT (VC++ Redistributable не +нужен) и запрашивает права администратора через встроенный манифест. -## How it works +## Как работает -- The program must be started from the root of a PARAVIS flash drive, for - example `F:\Change_BootLoader.exe`. -- It derives the drive from its own path and checks for - `\efi\Paravis\Boot\bootice.exe` and `\efi\Paravis\Boot\NOT.DEL`. -- If those files are missing, it shows the original error and exits. -- Seven buttons perform the same operations as the AutoIt version: +- Запускать с корня флешки PARAVIS, например `F:\Change_BootLoader.exe`. +- Диск определяется по пути к самой программе; проверяются + `\efi\Paravis\Boot\bootice.exe` и `\efi\Paravis\Boot\NOT.DEL`. +- Если этих файлов нет, показывается исходное сообщение об ошибке и выход. +- Семь кнопок выполняют те же операции, что и AutoIt-версия: - Legacy BIOS: XorBoot, Bootmgr, Grub4Dos, Grub2 - UEFI: Bootmgr, Grub2, Xorboot -- Bootice, xcopy and the GRUB2 MBR helper script are invoked exactly like - the AutoIt version. The helper script is +- Bootice, xcopy и скрипт создания MBR для GRUB2 вызываются так же, как в + AutoIt-версии. Скрипт: `\efi\Paravis\Boot\grub2\bios\make-paravis-mbr.ps1`. -## Notes +## Примечания -- The UI matches the AutoIt version (376 × 208, same fonts, positions, - hover/pressed colors). -- Message boxes are native `MessageBoxW` dialogs with the same titles and - texts. -- The debug log is disabled by default. Set `PARAVIS_DEBUG_LOG=1` to write - `%TEMP%\cbl_cpp_debug.log`. -- The GRUB2 Legacy action uses the same bootice `/sectors` commands as the - AutoIt version. On some virtual disks bootice displays its own sector - confirmation/error dialogs; on a real PARAVIS USB flash it behaves the - same as the original. +- Интерфейс совпадает с AutoIt-версией (376×208, те же шрифты, позиции, + цвета наведения и нажатия). +- Диалоги — нативный `MessageBoxW` с теми же заголовками и текстами. +- Отладочный лог по умолчанию выключен. `PARAVIS_DEBUG_LOG=1` включает + запись в `%TEMP%\cbl_cpp_debug.log`. +- Действие «GRUB2 Legacy» использует те же команды bootice `/sectors`, что и + AutoIt-версия. На виртуальных дисках bootice может показывать свои + диалоги подтверждения; на реальной флешке PARAVIS поведение совпадает с + оригиналом. -## Repository layout +## Структура репозитория ``` -src/ C++ sources and resources -legacy-au3/ original AutoIt script -build.cmd release build +src/ исходники и ресурсы C++ +legacy-au3/ исходная версия на AutoIt +build.cmd сборка релиза ``` -## License +## Лицензия -MIT. See [`LICENSE`](LICENSE). +MIT, см. [`LICENSE`](LICENSE). -This repository contains source code only. Third-party binaries used at -runtime (`bootice.exe`, `xcopy`, `powershell.exe`) are not distributed here -and must be supplied by the system or by the PARAVIS flash image. +В репозитории только исходный код. Сторонние бинарники (`bootice.exe`, +`xcopy`, `powershell.exe`) не распространяются и берутся из системы или из +образа флешки PARAVIS.