Skip to content

Releases: ngthaihoc/CMP30HXmodtoGEN2

v3.0.0 - Clean End-User Distribution

Choose a tag to compare

@ngthaihoc ngthaihoc released this 12 Oct 03:18

CMP30HX Unlock v3.0.0

  • Clean end-user ZIP with runtime binaries, drivers, EFI payloads, Windows scripts, Linux installer, and required ReBAR tools.
  • Developer source, CI/CD files, internal docs, and test tooling excluded from the ZIP.
  • Main branch updated with archive filtering rules.

Download and extract CMP30HX_Unlock_v3.0.0.zip, then follow the included README.

v2.4 - AIO Review Fixes

Choose a tag to compare

@ngthaihoc ngthaihoc released this 12 Oct 13:18
7b3e184

CMP30HX Unlock v2.4

  • Fix AIO telemetry so background polling no longer loads/unloads BYOVD drivers.
  • Add explicit Riot optimization confirmation (-y / -confirm-riot).
  • Restore structured Gen2 status output and NVIDIA service restart after successful negotiation.
  • Integrate ComputeInspector diagnostics and correct PCIe status reporting.
  • Rebuild UnlockAIO.exe and UnlockRiotGame.exe.

Validation

  • AIO: 9 tests passed
  • UnlockRiotGame: 82 tests passed
  • 40hxcore: 41 tests passed
  • CI build: passed

Download CMP30HX_Unlock_v2.4.zip and follow the included README.

v2.3 - Modular WebUI, SSE Log Stream Fix, Hardware Limit Safeguard & CI/CD Restoration

Choose a tag to compare

@ngthaihoc ngthaihoc released this 11 Oct 02:55

⚡ Release v2.3: Modern Web Control Center, Auto-Discover Riot Games & UI Chooser

Bản phát hành v2.3 hoàn thiện giao diện Web Control Center, bổ sung hộp thoại chọn giao diện khi mở exe, tự động phát hiện Valorant và Liên Minh Huyền Thoại ở mọi thư mục cài đặt tùy biến và tái thiết lập CI/CD GitHub Actions.


🚀 Điểm mới & Nâng cấp nổi bật:

  1. Hộp thoại chọn giao diện tương tác (Web UI vs Go GUI Cổ điển):

    • Khi nhấp đúp 40HXInstaller.exe, hiển thị hộp thoại cho phép chọn mở Giao diện Web Hiện đại (Yes) hoặc Giao diện Go gốc Cổ điển (No).
    • Hỗ trợ chuyển đổi 2 chiều trực tiếp trong giao diện mà không cần tắt ứng dụng.
    • Thêm cờ dòng lệnh: -web / -ui-web (mở Web UI), -gui-classic / -classic (mở Go GUI).
  2. Tự động quét & cấu hình game Riot ở mọi thư mục cài đặt:

    • Tự động đọc đường dẫn cài đặt từ %ProgramData%\Riot Games\Metadata và Windows Registry Uninstall.
    • Cơ chế quét đĩa thông minh (Smart Scan) tự tìm VALORANT-Win64-Shipping.exe và League of Legends.exe dù người dùng cài ở bất kỳ ổ đĩa hay thư mục con nào.
    • Tự động gán GpuPreference=2 (High Performance) cho DirectX và thiết lập WindowMode=2 (Borderless) + DX11Support=1 cho game.cfg.
  3. Củng cố LinkNegotiator & An toàn phần cứng:

    • Khắc phục lỗi fast-path khi yêu cầu Gen2 trên phần cứng bị giới hạn eFuse / MaxSupportedGen. Hàm kiểm tra LinkTargetAllowed bảo vệ tuyệt đối thiết bị.
    • Toàn bộ unit test 40hxcore, inst40hx và unlockriot đều vượt qua 100%.

📦 Gói cài đặt đính kèm:

  • CMP30HX_Unlock_v2.3.zip: Gói phân phối All-In-One hoàn chỉnh nhất (chứa toàn bộ công cụ thực thi, scripts, kernel drivers và giao diện Web Control Center mới nhất).

v2.2.1 - Hotfix: Prebuilt Production Binaries & Standalone Release Assets

Choose a tag to compare

@ngthaihoc ngthaihoc released this 10 Oct 08:05

⚡ Hotfix v2.2.1: Prebuilt Production Binaries & Standalone Executable Assets

Bản cập nhật hotfix này khôi phục việc theo dõi các file thực thi .exe đã biên dịch trực tiếp trên kho lưu trữ GitHub và đính kèm đầy đủ các file chạy độc lập vào phần Assets của GitHub Releases, giúp người dùng có thể tải lẻ từng công cụ hoặc tải toàn bộ mã nguồn có sẵn file chạy mà không cần tự cài đặt Go compiler.


📦 Các tệp thực thi có sẵn trong kho lưu trữ & Release Assets:

File Name Dung lượng Chức năng chính
40HXInstaller.exe ~11.5 MB Trình điều khiển chính: Web Control Center & Hardware Cockpit thế hệ mới
40HXCheck.exe ~2.7 MB Chẩn đoán phần cứng: Kiểm tra tốc độ link PCIe, thanh ghi BAR0 và phân loại lỗi driver/HVCI
40HXUninstaller.exe ~2.6 MB Gỡ bỏ: Gỡ bỏ tác vụ tự động, dịch vụ kernel driver và khôi phục cài đặt gốc
UnlockRiotGame.exe ~5.9 MB Riot Vanguard Cockpit: Tối ưu Liên Minh Huyền Thoại / VALORANT không cần cài lại driver & ký chứng chỉ EFI
FixCMP30HX_CSM.exe ~6.0 MB Sửa lỗi Code 43: Khôi phục GPU bị ẩn hoặc nhận Microsoft Basic Display Adapter trên UEFI/CSM
Launch_WebUI.bat ~2 KB Trình khởi chạy 1-Click: Tự động xin quyền Administrator và quản lý vòng đời tiến trình WebUI
CMP30HX_Unlock_v2.2.1.zip ~20 MB Gói phân phối đầy đủ All-In-One: Chứa toàn bộ công cụ, scripts, drivers, và web interface

🔧 Thay đổi kỹ thuật:

  • Đã bỏ quy tắc bỏ qua (.gitignore) đối với thư mục windows-v3.0/release/*.exe, files/ và gen2/drivers/.
  • Người dùng khi git clone kho lưu trữ về máy sẽ có ngay đầy đủ các file thực thi và driver để chạy mà không gặp lỗi thiếu file.

v2.2 - Deep LinkNegotiator, HVCI Driver Diagnostics & Core Simplification

Choose a tag to compare

@ngthaihoc ngthaihoc released this 10 Oct 07:54

Highlights

🚀 Deep LinkNegotiator & Unified PCIe Status Contract

  • Atomic HardwareBus Interface: Tinh gọn interface HardwareBus xuống 6 phương thức vật lý I/O nguyên tử (ReadPCIConfig, WritePCIConfig, ReadPhysical, WritePhysical, GetPhysicalBAR0, RestartNVDisplay). Loại bỏ hoàn toàn phương thức thừa và độ trễ giả lập.
  • ExecuteNegotiation Engine: Thống nhất toàn bộ quy trình đàm phán tốc độ PCIe từ kiểm tra năng lực phần cứng, fast-path kiểm tra tốc độ đạt sẵn, đàm phán đa giai đoạn (Stage 1 & Stage 2 soft reset), tối ưu MRRS 512B, cho đến xuất bản StatusContract và chỉ dẫn retry.
  • Hardware-Locked Guarding: Bảo vệ chống ép xung PCIe vượt ngưỡng phần cứng (chặn cưỡng bức Gen3 trên CMP 30HX do eFuse bit 3 bị thổi đứt).

🛡️ Windows HVCI, Memory Integrity & Driver Diagnostic Triage

  • ClassifyDriverLoadError Phân loại lỗi chuyên sâu: Tự động chuyển đổi các mã lỗi nạp driver thô trên Windows thành hướng dẫn khắc phục cụ thể bằng tiếng Việt:
    • Lỗi 1275 / Lỗi 5 (Access Denied): Phát hiện và hướng dẫn tắt Tính toàn vẹn bộ nhớ (Memory Integrity / HVCI), Danh sách chặn driver dễ bị tấn công (Vulnerable Driver Blocklist) hoặc Smart App Control trong Windows Security.
    • Lỗi 577: Cảnh báo tệp driver bị hệ thống chặn do chữ ký hoặc chính sách bảo mật.
    • Lỗi 1058 / 1072 / 1060: Xử lý tự động kích hoạt lại dịch vụ bị vô hiệu hóa hoặc tồn đọng trạng thái đánh dấu xóa.
  • EnsureDiagnosticDrivers: Tái cấu trúc quy trình triển khai và nạp driver chẩn đoán (ThrottleStop.sys, WinRing0x64.sys) dùng chung cho cả 40HXCheck.exe và 40HXInstaller.exe.

🔍 Nhận diện GPU linh hoạt (Hardware Detection)

  • Case-Insensitive & Registry Fallback: Bổ sung cơ chế dò tìm GPU không phân biệt hoa thường và quét dự phòng qua LocationInformation của Enum\PCI registry instance khi enum nhánh chính bị thiếu.

🌐 Tối ưu Trình khởi chạy Web Control Center

  • Quản lý tiến trình trong Launch_WebUI.bat: Thêm thông báo duy trì cửa sổ dòng lệnh và cơ chế đóng sạch tiến trình 40HXInstaller.exe khi người dùng kết thúc phiên làm việc, tránh việc tiến trình Web server chạy ngầm không kiểm soát.

Assets

CMP30HX_Unlock_v2.2.zip — Gói phân phối độc lập hoàn chỉnh dành cho người dùng cuối (bao gồm đầy đủ binaries, web assets, drivers và scripts):

Executable / Script Description
Launch_WebUI.bat Trình khởi chạy 1-Click cho Web Control Center với quyền Administrator và quản lý vòng đời tiến trình sạch
windows-v3.0/release/40HXInstaller.exe Trình cài đặt chính — Web Control Center & Hardware Cockpit thế hệ mới
windows-v3.0/release/UnlockRiotGame.exe Công cụ tối ưu Riot Vanguard, MSHybrid CASO & ký chứng chỉ EFI Authenticode
windows-v3.0/release/40HXCheck.exe Công cụ chẩn đoán phần cứng, thanh ghi PCIe và trạng thái driver
windows-v3.0/release/40HXUninstaller.exe Công cụ gỡ bỏ cấu hình và dọn dẹp driver
windows-v3.0/release/FixCMP30HX_CSM.exe Công cụ khôi phục lỗi GPU Error 43 trên hệ thống UEFI / CSM
Setup_CMP30HX_WindowsAIO.bat Script thiết lập tự động All-In-One cho Windows
Fix_CMP30HX_CSM_Error43.bat Script xử lý lỗi Microsoft Basic Display Adapter / Error 43
Setup_ReBar_CMP30HX.bat Script bật 8GB Resizable BAR trên CMP 30HX
Setup_CMP30HX_LinuxAIO.sh Script cấu hình tự động cho Linux / HiveOS

Changelog

Version Highlights
v1.0 CMP 30HX Gen2 x16, 8GB Resizable BAR AIO & Riot Vanguard baseline support
v1.1 AMD APU iGPU support, Anti-Cheat RAII & Deep LinkNegotiator
v1.2 Web UI, CSM Error 43 fix, Device Manager deep wake-up and GPU-Z unlock
v1.3 Web UI UTF-8 fix, Hardware Cockpit redesign & 100% bilingual VI/EN support
v2.0 Riot Vanguard Zero-Reinstall Unlock (LoL/Valorant), WebUI Cockpit integration, UnlockRiotGame GUI redesign
v2.1 Dọn dẹp kho lưu trữ, untrack gitignored binaries và tài liệu agent nội bộ
v2.2 Deep LinkNegotiator Seam, Chẩn đoán HVCI/Memory Integrity chi tiết, Fallback Registry Scan & Quản lý vòng đời WebUI

v2.1 - UAC Loop Fix, Robust ESP Mounting, RMW Shadow Registers & Multilingual Parity

Choose a tag to compare

@ngthaihoc ngthaihoc released this 05 Oct 02:29

Highlights

🚀 Launch_WebUI.bat UAC Loop Fix & Ampersand Syntax Resolution

  • Eliminated UAC Flashing Loop: Fixed an infinite window reopening loop when Launch_WebUI.bat was run without administrator privileges.
  • Ampersand Command Interpretation: Replaced unescaped ampersand (& $\rightarrow$ and) that broke Windows CMD argument parsing.
  • Multi-Tiered Elevation Defense: Implemented robust privilege detection using fltmc, fsutil, and %SystemRoot%\System32 temp file check, guarded with an -elevated recursion flag.

🛡️ ESP Mount Reuse & Drive Collision Prevention (probe.go)

  • Safe Drive Discovery: MountESP now checks for already mounted ESP partitions on candidate letters (Y:, X:, etc.) and reuses them immediately.
  • Drive Collision Guard: Avoids attempting to mount over existing user disks/volumes.
  • Clean Failure Recovery: Automatically calls UnmountESP if mountvol /S fails or the target letter lacks an \EFI directory.

⚡ Read-Modify-Write (RMW) for PL0 Shadow Registers (link.go)

  • Non-Destructive Bitmasking: Updated LINK_CONFIG_0 and PL_LINK_RATE for TU106 (CMP 40HX) to use Read-Modify-Write (RMW) bitmasking ((old &^ Mask) | Value) instead of constant overwrites.
  • Safe Fallback: Preserves default values if MMIO register read operations fail.

📝 BSOD Crash Resilient Log Synchronization (inst40hx)

  • Crash-Proof Logging: Background startLogSync routine flushes log buffers to disk (f.Sync()) every 100ms so critical debugging logs survive blue screens (BSOD).
  • Clean Goroutine Lifecycle: Controlled through a cancel closure to prevent background goroutine leaks upon application exit.

🔐 Robust Authenticode Signature Verification (unlockriot)

  • .NET X509Certificate2 Validation: Upgraded user-mode display driver signature checking to use direct .NET X509Certificate2.Verify() for reliable verification across diverse Windows installations.

🌐 Multilingual Documentation & Repository Sanitization

  • 1:1 Multilingual Parity: Completely synchronized section hierarchy, numbering, tables, and troubleshooting across Vietnamese (README.md), English (README_EN.md), and Simplified Chinese (README_ZH.md).
  • Repository Hygiene: Untracked internal developer notes, agent specs, and build artifacts from the remote git tree.

Assets

CMP30HX_Unlock_v2.1.zip — Clean End-User Distribution Package:

Executable / Script Description
Launch_WebUI.bat 1-Click launcher for Modern Web Control Center with fixed UAC elevation
windows-v3.0/release/40HXInstaller.exe Main installer — Modern Web Control Center & Hardware Cockpit
windows-v3.0/release/UnlockRiotGame.exe Standalone Riot Vanguard, MSHybrid CASO & EFI signing suite
windows-v3.0/release/FixCMP30HX_CSM.exe GPU Error 43 & missing device recovery tool for UEFI / CSM BIOS
windows-v3.0/release/40HXCheck.exe System hardware & PCIe register status inspector
windows-v3.0/release/40HXUninstaller.exe Configuration uninstaller
Setup_CMP30HX_WindowsAIO.bat Automated All-In-One batch setup script for Windows
Fix_CMP30HX_CSM_Error43.bat Batch script to resolve Microsoft Basic Display Adapter / Code 43
Setup_ReBar_CMP30HX.bat Script to enable 8GB Resizable BAR on CMP 30HX
Setup_CMP30HX_LinuxAIO.sh Automated setup script for Linux / HiveOS

Quick Start

  1. Download and extract CMP30HX_Unlock_v2.1.zip.
  2. Double-click Launch_WebUI.bat (or right-click windows-v3.0\release\40HXInstaller.exe -> Run as administrator).
  3. The CMP Control Center web interface will open automatically in your browser at http://127.0.0.1:40100.
  4. Click "Unlock PCIe Gen2 Now" to instantly unlock Gen2 x16 link speed (~6.4 GB/s throughput).

v2.0 - Riot Vanguard Zero-Reinstall Unlock, Modern WebUI Cockpit & MSHybrid CASO

Choose a tag to compare

@ngthaihoc ngthaihoc released this 04 Oct 07:49

Highlights

⚡ Riot Vanguard Zero-Driver-Reinstall Optimization

  • Zero-Driver-Reinstall Pipeline: Unlock and optimize Riot Games (League of Legends, Teamfight Tactics, VALORANT) with zero need to uninstall or reinstall NVIDIA display drivers.
  • BYOVD Driver Sanitization: Automatically terminates services and purges kernel interlock drivers (WinRing0x64.sys, ThrottleStop.sys) from System32\drivers to prevent detection by Riot Vanguard (vgk.sys), EAC, and BattlEye.
  • Testsigning Enforcement: Enforces Windows Testsigning = OFF (bcdedit /set testsigning off), fully satisfying Riot Vanguard's strict Code Integrity requirements.
  • MSHybrid CASO & DWM Tuning: Automatically configures Driver Class Registry keys (EnableMsHybrid=1, D3PConfig=0, PruneMode=0) for headless display adapters to minimize frame presentation latency across the PCIe bus.
  • DirectX High-Performance GPU Affinity: Automatically sets GpuPreference=2; for all VALORANT and League of Legends game executables.
  • League of Legends Borderless Automation: Scans all logical drives and automatically configures WindowMode=2 (Borderless Windowed) in game.cfg to leverage DWM Cross-Adapter Scan-Out (CASO) hardware acceleration.

🌐 Modern Web Control Center & Hardware Cockpit (40HXInstaller.exe)

  • Integrated Riot Vanguard Cockpit: Live status cards for League of Legends and VALORANT directly in your web browser at http://127.0.0.1:40100.
  • 1-Click Hero Actions:
    • ⚡ [1-CLICK] Riot Games & Vanguard Driver Optimization: Triggers end-to-end driver sanitization and system tuning with real-time log output streamed via SSE.
    • 🔐 Automated Personal EFI Authenticode Signing: Generates a self-signed .cer certificate and signs 40HXUNLK.EFI for enrollment into BIOS db (Authorized Signatures).
    • 📖 BIOS Key Management Guide & Firmware Reboot: Step-by-step interactive modal guide for BIOS setup with a 1-click reboot to firmware button (shutdown /r /fw /t 2).
  • Dynamic Silicon Architecture Adaptation: Automatically distinguishes CMP 40HX (Turing TU106 - Tensor Core) from CMP 30HX (Turing TU116 - Gen2 Hardware Lock), tailoring recommendations and options.

🖥️ Native Diagnostic Win32 GUI Redesign (UnlockRiotGame.exe)

  • 3-Part Diagnostic & Action Layout:
    1. Hardware Diagnostic Matrix: Live status for GPU model, OS build, Secure Boot, and game compatibility matrix.
    2. Hero Actions & Utility Suite: 1-Click optimization button, EFI Authenticode signing, user-mode driver signature verification (nvwgf2umx.dll), and PCIe ASPM explanation.
    3. Execution Console Log: Real-time execution tracking with clipboard copy and log clearing capabilities.
  • -json-status CLI Flag: Provides standardized JSON API output for seamless consumption by WebUI and automation scripts.

📦 Clean End-User Distribution Package

  • The release zip archive is sanitized for end users: development Go source trees, unit tests, and internal developer specs have been stripped, leaving only production binaries, drivers, automation scripts, and user documentation.
  • Added top-level Launch_WebUI.bat script with automatic UAC elevation to launch the Modern Web Control Center with a single double-click.

Assets

CMP30HX_Unlock_v2.0.zip — Clean End-User Distribution Package (Prebuilt Binaries & Scripts):

Executable / Script Description
Launch_WebUI.bat 1-Click launcher for Modern Web Control Center with Administrator elevation
windows-v3.0/release/40HXInstaller.exe Main installer — Modern Web Control Center & Hardware Cockpit
windows-v3.0/release/UnlockRiotGame.exe Standalone Riot Vanguard, MSHybrid CASO & EFI signing suite
windows-v3.0/release/FixCMP30HX_CSM.exe GPU Error 43 & missing device recovery tool for UEFI / CSM BIOS
windows-v3.0/release/40HXCheck.exe System hardware & PCIe register status inspector
windows-v3.0/release/40HXUninstaller.exe Configuration uninstaller
Setup_CMP30HX_WindowsAIO.bat Automated All-In-One batch setup script for Windows
Fix_CMP30HX_CSM_Error43.bat Batch script to resolve Microsoft Basic Display Adapter / Code 43
Setup_ReBar_CMP30HX.bat Script to enable 8GB Resizable BAR on CMP 30HX
Setup_CMP30HX_LinuxAIO.sh Automated setup script for Linux / HiveOS

Changelog

Version Highlights
v1.0 CMP 30HX Gen2 x16, 8GB Resizable BAR AIO & Riot Vanguard baseline support
v1.1 AMD APU iGPU support, Anti-Cheat RAII & Deep LinkNegotiator
v1.2 Web UI, CSM Error 43 fix, Device Manager deep wake-up and GPU-Z unlock
v1.3 Web UI UTF-8 fix, Hardware Cockpit redesign & 100% bilingual VI/EN support
v2.0 Riot Vanguard Zero-Reinstall Unlock (LoL/Valorant), WebUI Cockpit integration, UnlockRiotGame GUI redesign & clean End-User packaging

Quick Start

  1. Download and extract CMP30HX_Unlock_v2.0.zip.
  2. Double-click Launch_WebUI.bat (or right-click windows-v3.0\release\40HXInstaller.exe -> Run as administrator).
  3. The CMP Control Center web interface will open automatically in your browser at http://127.0.0.1:40100.
  4. Click "Unlock PCIe Gen2 Now" to instantly unlock Gen2 x16 link speed (~6.4 GB/s throughput).
  5. For League of Legends, TFT, or VALORANT: Click "⚡ [1-CLICK] Riot Games & Vanguard Driver Optimization".

v1.3 - Web UI UTF-8 Fix, Hardware Cockpit Redesign & Full Bilingual Support

Choose a tag to compare

@ngthaihoc ngthaihoc released this 03 Oct 04:40

What's Fixed

Critical Bugs

  • Fix_CMP30HX_CSM_Error43.bat & FixCMP30HX_CSM.exe: Khắc phục triệt để hiện tượng CMP 30HX biến mất khỏi Device Manager (Code 45) và nhận generic "Microsoft Basic Display Adapter" trên hệ thống UEFI. Chuẩn hóa phân giải Driver Class qua Enum PCI, bổ sung hướng dẫn cài driver NVIDIA qua Have Disk và cấu hình BIOS UEFI (khóa khe PCIe Gen2).
  • web/index.html & web/app.js: Fixed CP437 mojibake encoding corruption across all Vietnamese text labels and UI strings — now renders pure UTF-8 flawlessly
  • webserver.go: Explicitly enforced charset=utf-8 on all HTTP response headers (static assets, real-time SSE log stream, and JSON API endpoints) to prevent browser charset misdetection
  • main.go & gui.go: Restored pristine UTF-8 string encoding for both console output and classic Walk GUI

UI & UX Improvements

  • Frontend Design Redesign: Upgraded Web UI following hardware engineering workstation principles (deep silicon palette, 16 physical gold finger pin contacts, calibrated PCIe bandwidth gauge, and clean sentence/title case typography)
  • 100% Bilingual Support: Complete, seamless VI / EN localization across all components, audit items, driver policies, and log controls

Assets

CMP30HX_Unlock_v1.3.zip — full source + prebuilt binaries:

Executable Description
40HXInstaller.exe Main installer — Modern Web Control Center with hardware cockpit & clean UTF-8
40HXCheck.exe System status checker
40HXUninstaller.exe Uninstaller
UnlockRiotGame.exe Riot Vanguard unlock for CMP 40HX
FixCMP30HX_CSM.exe GUI + CLI tool to fix GPU Error 43 & missing devices under UEFI / CSM
Fix_CMP30HX_CSM_Error43.bat PowerShell batch script — deep PCIe wake, CASO and GPU-Z unlock

Changelog

Version Highlights
v1.0 CMP 30HX Gen2 x16, Resizable BAR AIO & Riot Vanguard support
v1.1 AMD APU support, Anti-Cheat RAII & Deep LinkNegotiator
v1.2 Web UI, CSM Error43 Fix, Device Manager Deep Wake-up and GPU-Z Unlock
v1.3 Web UI UTF-8 fix, hardware cockpit redesign, UEFI/CSM Basic Display fix & 100% bilingual support

Quick Start

  1. Download and extract CMP30HX_Unlock_v1.3.zip.
  2. Right-click windows-v3.0/release/40HXInstaller.exe -> Run as administrator (opens Modern Web Control Center at http://127.0.0.1:40100).
  3. Click "Mở khóa PCIe Gen2 ngay" to instantly unlock Gen2 x16 link speed.
  4. Verify link speed in GPU-Z (PCIe x16 2.0 @ x16 2.0).

v1.2 - Web UI Fix: JSON serialization, dynamic GPU detection, default launcher restored

Choose a tag to compare

@ngthaihoc ngthaihoc released this 03 Oct 01:53

What's Fixed

Critical Bugs

  • gui.go: Exported statusItem struct fields (Name/Ok/Note) with JSON tags — fixes Web UI status dashboard returning empty objects [{},{},{}] instead of real data
  • main.go: Restored runWebGUI() as the default launcher on double-click/UAC elevation; added -gui-classic flag to access the legacy Walk GUI; restored -ui/-web/-gui CLI flags
  • webserver.go: Restored dynamic GPU profile detection via hxcore.FindGPUWithProfile() — removes hardcoded strings (CMP 40HX / 30HX (Turing), VEN_10DE & DEV_1F0B) that broke multi-GPU and non-TU116 systems

Added

  • Web UI frontend assets committed to repo (index.html, app.js, style.css)

Assets

CMP30HX_Unlock_v1.2.zip — full source + prebuilt binaries:

Executable Description
40HXInstaller.exe Main installer — Web UI by default, use -gui-classic for legacy GUI
40HXCheck.exe System status checker
40HXUninstaller.exe Uninstaller
UnlockRiotGame.exe Riot Vanguard unlock for CMP 40HX
FixCMP30HX_CSM.exe GUI + CLI tool to fix GPU Error 43 under CSM/Legacy BIOS
Fix_CMP30HX_CSM_Error43.bat PowerShell batch script — registry patch for CSM Error 43

Changelog

Version Highlights
v1.0 CMP 30HX Gen2 x16, Resizable BAR AIO & Riot Vanguard support
v1.1 AMD APU support, Anti-Cheat RAII & Deep LinkNegotiator
v1.2 Web UI fix: JSON serialization, dynamic GPU detection, runWebGUI default

v1.1 - AMD APU Support, Anti-Cheat RAII & Deep LinkNegotiator

Choose a tag to compare

@ngthaihoc ngthaihoc released this 02 Oct 16:08

Highlights

  • AMD Ryzen & APU Support: Fixes ThrottleStop handle is zero (error 31) on AMD Ryzen APU platforms (e.g. 5600GT, B550) via seamless fallback to WinRing0 physical memory and PCI config link negotiation.
  • Anti-Cheat & Vanguard RAII: Kernel drivers load only for milliseconds during link retraining and are immediately unloaded and deleted from System32\drivers. Zero driver residue left behind for Riot Vanguard, Easy Anti-Cheat, or BattlEye.
  • Unified Native LinkNegotiator: Replaces external PowerShell processes with a native Go link engine, streamlining Target Link Speed (TLS) configuration and 75ms fast retrain polling.
  • Hardware Safety & eFuse Guard: Strictly enforces TU116 Gen2 silicon limits (5.0 GT/s max) and blocks destructive resets (Stage 2 Root Link Disable and PnP resets) on CMP 30HX.
  • Diagnostic & Stability Upgrades: Connects probe30HX() directly to scoped driver sessions, eliminates redundant driver management code, and adds mock unit tests (28/28 passing).

Full Changelog: v1.0...v1.1


Quick Start

  1. Download and extract CMP30HX_Unlock_v1.1.zip.
  2. Right-click Setup_CMP30HX_WindowsAIO.bat -> Run as administrator.
  3. Select [1] to unlock PCIe Gen2 x16.
  4. Verify link speed in GPU-Z (PCIe x16 2.0 @ x16 2.0).