BibaYanji README

The project's README from github.com/Bibapcs/BibaYanji. As one markdown file: README.md.

笔吧验机

二手/新机到手后的硬件配置核对工具:一键采集 CPU、显卡、内存、硬盘、网卡、屏幕(含色域估算)、电池信息, 人工与订单配置逐项核对,确认无误后标记通过(左侧导航圆点变绿)。

全部硬件采集基于开源组件与 Windows 自带接口,不含任何闭源商业软件。

功能

运行环境

构建

需要 .NET SDK 10(目标框架 net10.0-windows10.0.19041.0):

dotnet build 验机软件.slnx
dotnet run --project 验机软件

说明:LibreHardwareMonitorLib 以其上游要求固定按 x64 平台构建(解决方案已配置平台映射, 请勿改回 AnyCPU,否则其 CsWin32 源生成器会跳过部分 API 导致编译失败)。

安装

直接下载:到 Releases 下载最新安装包 (当前 v0.0.4:BibaYanjiSetup-v0.0.4.exe,约 116 MB,Inno Setup 中文向导):

自行构建安装包(先出 publish 再打 Inno 包,顺序不可换):

dotnet publish FurMark/FurMark.csproj -p:PublishProfile=FolderProfile
dotnet publish 验机软件/验机软件.csproj -p:PublishProfile=FolderProfile
"%ProgramFiles(x86)%\Inno Setup 6\ISCC.exe" installer\setup.iss   # 产物 installer\笔吧验机Setup-v0.0.4.exe

安装包内容:验机软件.exe + 全套自包含运行时 + YanJi.PluginSdk.dll(插件契约)+ plugins\(六个验机模块插件,试音曲 mp3 在 plugins\av\)+ Tools\prime95\(CPU 烤机)+ Tools\furmark\(GPU 烤机)+ Tools\pawnio\PawnIO_setup.exe(PawnIO 驱动官方签名安装器—— 0.0.2 起安装向导默认安装该驱动;不装也能跑,只是散热测试页 CPU 温度/功耗两路不可用, 页面也有一键安装按钮,装完无需重启)。

开源组件与协议(致谢)

程序内致谢随各模块插件展示(顶栏「插件管理」窗口,逐模块列出);下表为汇总:

组件 用途 协议
LibreHardwareMonitor 硬件信息采集库(源码项目引用 集成开源项目代码/LibreHardwareMonitor-master/LibreHardwareMonitorLib) MPL-2.0
CrystalDiskInfo 硬盘信息采集的实现参考(C++/MFC 无法直接引用,其思路经由 LibreHardwareMonitorLib 的 DiskInfoToolkit Storage 支持落地) MIT
NAudio 2.2.1 麦克风/扬声器(WASAPI 设备枚举、电平监听、录制、播放) Ms-PL
Prime95(GIMPS,George Woltman) CPU 烤机( torture test)。由本项目用 VS18/MSBuild 按其公开源码编译(prime95-build/ 叠加工程,见 AGENTS.md),附带的 libgmp-gw1.dll / libcurl-x64.dll / libhwloc-15.dll 与其官方构建同源 GIMPS freeware(随附 license.txt)
FurMark(Python 版)(StanislavPetrovV) GPU 烤机的渲染原型:本项目的 GPU 烤机为其 C# / OpenTK 重实现(FurMark/ 工程),原 GLSL 着色器与贴图随附其许可文件(Assets/LICENSE.FurMark.txt) MIT
OpenTK 4.x FurMark 重实现的 OpenGL 窗口(GLFW)与绑定 MIT
StbImageSharp FurMark 重实现的贴图解码(stb_image 的 C# 移植) 公有领域
PawnIO(namazso) CPU/主板传感器的 Ring0 内核驱动(LibreHardwareMonitor 经设备 IOCTL 与其通信)。分发的是官方签名安装器(pawnio.eu → PawnIO.Setup releases,原样未修改,随附于 Tools/pawnio/,由用户点击后才安装) GPL-2.0(带例外:独立模块经设备 IOCTL 接口通信不构成衍生作品)
CrystalDiskMark 9.0.3(hiyohiyo / Crystal Dew World) 硬盘跑分引擎:源码原封编译为 CdmHost 控制台宿主(Plugins/DiskMark/CdmHost/,全程无窗口),引擎 DiskBench 直接驱动测速 MIT
diskspd 2.0.20a(Microsoft,hiyohiyo 定制 fork) 硬盘测速子进程(由 CDM 引擎拉起,吞吐经退出码回报;随插件分发于 Plugins/DiskMark/CdmHost/CdmResource/diskspd/) MIT

开发/打包工具致谢:Inno Setup(安装向导制作,仅打包用不进运行时,免费可商用)。

另使用 Windows 自带接口:WMI(System.Management)、注册表 EDID、Win32 显示 API、WinRT Windows.Media.Capture(摄像头预览)。

试音曲「不死のバイオレット」Copyright© 幻月遠征隊,使用已经著作权人同意,详见 AUDIO-LICENSE.md。

感谢上述开源项目的作者与贡献者。

BibaYanji (Bibapcs/BibaYanji)

sysadmin
Searching Database…

What is this?BibaYanji (笔吧验机) is a Windows desktop tool for checking a new or secondhand PC against its order spec: it auto-collects CPU, GPU, RAM, disk, network card, screen and battery info so you can verify them item by item and mark the machine as passed, plus it bundles keyboard, dead-pixel, camera/mic/speaker, stress-test and disk-benchmark checks.
Is this a background monitoring app or a one-time checkup tool?It's a guided one-time checkup app, not a background monitor: each check (hardware info, keyboard, dead pixel, AV, stress test, disk benchmark) is a separate plugin shown in a side-navigation list, and you confirm each module as 'passed' before moving to the next.
How do I install and run it?Download the installer from the Releases page (e.g. BibaYanjiSetup-v0.0.4.exe, ~116MB, Inno Setup wizard in Chinese), choose which modules to install, then launch from the desktop/Start menu — it will prompt for admin rights (UAC) on launch.
Do I need to install .NET or extra drivers myself?No separate .NET runtime is needed since it ships self-contained for win-x64, but it must run as administrator for disk SMART data, and it will silently install the signed PawnIO kernel driver (needed for CPU temp/power readings) during setup or on demand.
Does it work on any Windows PC?It only runs on Windows 10 2004 (19041) or Windows 11, x64, and requires administrator rights for SMART disk health/power-on time and some sensor data; without the PawnIO driver, CPU temperature/power readings in the stress test are unavailable.
Is it Windows-only?Yes, it's a Windows-only x64 desktop application (Windows 10 2004+/11); there's no mention of macOS or Linux support.
Does it need an internet connection to work?No cloud service, account, or online dependency is mentioned anywhere — all hardware detection, testing and benchmarking runs locally on the machine via WMI, registry, and Win32 APIs.
What does the stress-test feature actually do?It runs CPU single-burn (a compiled Prime95), GPU single-burn (a C#/OpenTK reimplementation of FurMark), or both together, while LibreHardwareMonitor feeds four live charts of CPU/GPU temperature and power.
What disk benchmark does it run?It integrates CrystalDiskMark's engine as a windowless 'CdmHost' process with a custom diskspd child process, running SEQ1M Q8T1 and RND4K Q1T1 read/write tests and saving results as JSON/CSV under %APPDATA%\YanJi\diskresult.
Can I add or remove inspection modules?Yes — the installer lets you pick which plugin modules to install, and the app's Plugin Manager lets you import zip plugin packages (batch import from v0.0.2) or delete them, reloading automatically.
Can developers build their own check modules?Yes, each inspection module is an independent plugin against the YanJi.PluginSdk.dll contract; plugin development guidance is documented in the project's AGENTS.md file.
Creator
Bibapcs
Size
20.7 MB
Stars
957
Age
1mo
Commits · 90 Days