How dsvva/kuro_scanner works
KuRo_Scanner is a Windows desktop tool for managing Wuthering Waves accounts and logging in by scanning QR codes from either the screen or a live stream. The main workflow starts in the main window, runs a selected scanner, decodes a QR code, and uses KuRo service logic to confirm login; SMS confirmation is also supported. Account storage, preferences, and account-adding login methods are separate supporting branches. Relationships involving unsampled implementation details are omitted or marked unverified.
Main entry points: WindowMain.cpp Main Window · KuRoService.h KuRo Service Logic · WindowLogin.cpp Account Login · QRCodeForScreen.cpp Screen Scanner
Components 19
Desktop UI
- Main Window
src/UI/WindowMain.cpp - Account Login
src/UI/WindowLogin.cpp - SMS Dialog
src/UI/WindowSms.cpp - About Window
src/UI/WindowAbout.cpp
QR Scanning
- Screen Scanner
src/UI/QRCodeForScreen.cpp - Stream Scanner
src/UI/QRCodeForStream.cpp - Screen Capture
src/Core/ScreenShotDXGI.hpp - Stream Link Resolver
src/Core/LiveStreamLink.cpp - QR Decoder
src/Core/QRScanner.cpp
Account and Login
- Account Manager
src/Core/AccountManager.cpp - Account File
- Preferences
src/UI/ConfigManager.cpp - Settings File
- KuRo Service Logic
src/Core/KuRoService.h - KuRo API Client
src/Core/KuRoApi.cpp - GeeTest Window
src/UI/WindowGeeTest.cpp
External Inputs
- KuRo Backend
- Live Platforms
Other components
- User
Connections 20
- User → Main Window: operates
README.md - Main Window → Screen Scanner: starts or stops
- Main Window → Stream Scanner: starts or stops
- Main Window → Stream Link Resolver: resolves room
- Main Window → Account Manager: manages accounts
- Main Window → Preferences: loads preferences
- Main Window → Account Login: opens login
- Main Window → SMS Dialog: uses dialog
src/UI/WindowMain.cpp - Screen Scanner → Screen Capture: captures frames
src/UI/QRCodeForScreen.cpp - Screen Scanner → QR Decoder: decodes frames
src/UI/QRCodeForScreen.cpp - Stream Scanner → QR Decoder: decodes frames
src/UI/QRCodeForStream.cpp - Stream Scanner → KuRo Service Logic: confirms login
- Stream Link Resolver → Live Platforms: gets stream data
- Account Login → GeeTest Window: opens challenge
- Account Login → KuRo API Client: requests account data
src/UI/WindowLogin.cpp - KuRo Service Logic → KuRo API Client: calls login methods
src/Core/KuRoService.h - KuRo Service Logic → KuRo Backend: requests authentication
- SMS Dialog → KuRo Service Logic: uses SMS service
src/UI/WindowSms.cpp - Account Manager → Account File: reads and writes
src/Core/AccountManager.cpp - Preferences → Settings File: stores settings