Skip to content

v0.4.0

Latest

Choose a tag to compare

@Zerojinny Zerojinny released this 02 Nov 05:47

DVT v0.4.0

DVT GUI

  • New page qBittorrent (seeder), at the top of the sidebar: downloads the newest stable qBittorrent (standard x64 build, SourceForge), unpacks the setup with 7-Zip into a temporary folder and copies only the program files to qbittorrent\ of the build folder (portable mode, qbittorrent\profile; nothing is installed in Windows). It then copies the ready-made settings file for the link speed of this PC (qbittorrent.ini.1G or .100) to profile\qBittorrent\config\qBittorrent.ini with the IP address and the network adapter of this PC (network interface, IP to bind to, tracker URL). Button "Update for this PC" sets these items again in the existing file. Data: data\qbt.ini.
  • Check image folder (qBittorrent page): checks the folder that becomes the torrent (folder name DL_NAME; required files backup.wim and dvt_check.txt; drivers\ and files\setpc.bat listed when present) and creates dvt_check.txt (about 4 KB of text) when it is missing.
  • Calculate disk size (qBittorrent page): reads backup.wim with wimlib-imagex info (image WIM_INDEX), adds the other files of the image folder, shows APPLIED_SIZE_MB and the smallest disk for a restore (download on another drive / on the same disk) and writes APPLIED_SIZE_MB to data\pe\config.cmd and data\Media\pe\config.cmd after a question. The applied size counts hard links once (Total Bytes - Hard Link Bytes) plus 4 KB per file and folder; the config.cmd comment is corrected.
  • Add firewall rules (qBittorrent page): adds inbound Windows Firewall rules for the peer port (TCP and UDP), the tracker port (TCP) of qBittorrent.ini and for qbittorrent.exe (one administrator prompt; rules "DVT qBittorrent ..." are replaced). A status line shows whether the rules exist. Install / update qBittorrent adds the rules by itself at the end.
  • Language: the GUI starts in English until a language is chosen (before: the Windows display language). The choice is kept in data\gui_settings.ini.
  • Downloads are used again: a WinPE tools zip in _output\tools_download whose SHA256 matches tools.ini, and a qBittorrent setup in _output\qbt_download whose SHA256 matches the .sha256 file written after its download, are not downloaded again.
  • Start page: chosen at the bottom of the sidebar (a page, or the last page shown) and kept in data\gui_settings.ini (start_page, last_page). The other lines of gui_settings.ini are kept when a setting is saved.
  • Short paths: on the USB / CD media tab "Torrent and aria2", files inside the build folder are shown with a short path (data\Media\config\...) instead of the full path of the PC.

Repository

  • .gitignore: site-specific files (ip.txt, *.torrent, gui_settings.ini), build results and third-party tools are never committed.

DVT v0.4.0

DVT GUI

  • qBittorrent (시더) 페이지 추가(사이드바 맨 위): 최신 안정 버전의 qBittorrent(표준 x64 빌드, SourceForge)를 받아 7-Zip으로 임시 폴더에 푼 뒤 프로그램 파일만 빌드 폴더의 qbittorrent\로 복사합니다(포터블 모드, qbittorrent\profile, Windows에는 설치하지 않음). 이어서 이 PC의 링크 속도에 맞는 설정 파일(qbittorrent.ini.1G 또는 .100)에 이 PC의 IP 주소와 네트워크 어댑터(네트워크 인터페이스, 바인딩할 IP, 트래커 URL)를 넣어 profile\qBittorrent\config\qBittorrent.ini로 복사합니다. "이 PC 기준으로 수정" 버튼은 기존 파일의 이 항목만 다시 설정합니다. 정보 파일: data\qbt.ini.
  • 이미지 폴더 점검(qBittorrent 페이지): 토렌트로 만들 폴더를 점검하고(폴더 이름 DL_NAME, 필수 파일 backup.wim과 dvt_check.txt, drivers\와 files\setpc.bat는 있으면 표시) dvt_check.txt가 없으면 약 4 KB의 텍스트로 만듭니다.
  • 디스크 크기 계산(qBittorrent 페이지): wimlib-imagex info로 backup.wim(이미지 WIM_INDEX)을 읽고 이미지 폴더의 다른 파일을 더해 APPLIED_SIZE_MB와 복원 가능한 최소 디스크(다른 드라이브에 다운로드 / 같은 디스크에 다운로드)를 보여주며, 확인을 받은 뒤 data\pe\config.cmd와 data\Media\pe\config.cmd의 APPLIED_SIZE_MB에 씁니다. 복원 후 크기는 하드 링크를 한 번만 세고(Total Bytes - Hard Link Bytes) 파일·폴더마다 4 KB를 더합니다. config.cmd의 설명도 고쳤습니다.
  • 방화벽 예외 추가(qBittorrent 페이지): qBittorrent.ini의 피어 포트(TCP, UDP), 트래커 포트(TCP)와 qbittorrent.exe에 대한 Windows 방화벽 인바운드 규칙을 관리자 권한 한 번으로 추가합니다("DVT qBittorrent ..." 규칙은 새로 바꿈). 규칙이 있는지 상태 줄에 표시됩니다. qBittorrent 설치 / 업데이트는 마지막에 이 규칙을 자동으로 추가합니다.
  • 언어: 언어를 고르기 전에는 항상 영어로 시작합니다(이전: Windows 표시 언어). 선택은 data\gui_settings.ini에 저장됩니다.
  • 내려받은 파일 재사용: _output\tools_download의 WinPE 도구 zip은 SHA256이 tools.ini와 같으면, _output\qbt_download의 qBittorrent 설치 파일은 내려받은 뒤 기록한 .sha256과 같으면 다시 받지 않습니다.
  • 시작 화면: 사이드바 아래에서 고르며(페이지 하나 또는 마지막 화면) data\gui_settings.ini(start_page, last_page)에 저장됩니다. 설정을 저장할 때 gui_settings.ini의 다른 줄은 그대로 둡니다.
  • 짧은 경로 표시: USB / CD 미디어의 "토렌트와 aria2" 탭에서 빌드 폴더 안의 파일은 PC의 전체 경로 대신 짧은 경로(data\Media\config\...)로 표시합니다.

저장소

  • .gitignore: 현장별 파일(ip.txt, *.torrent, gui_settings.ini), 빌드 결과물, 외부 도구가 커밋되지 않도록 했습니다.