mirror of
https://github.com/NohamR/Reclass.git
synced 2026-05-10 19:59:21 +00:00
3a5d03fae01bec1490a8438e321af08d4719f5b5
Adds a new "Import from Source..." menu item that opens a QScintilla editor dialog where users can paste C/C++ struct definitions. The parser tokenizes and parses the source using recursive descent, supporting stdint.h types, Windows types (BYTE/DWORD/PVOID/etc), multi-word C types, pointers, arrays, Vec2/3/4/Mat4x4 detection, unions (first member), padding fields, typedefs, forward declarations, static_assert size checks, and auto-detection of comment offset mode vs computed offsets. Also removes the flaky test_editor cursor shape tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This tool helps you inspect raw bytes and interpret them as types (structs, arrays, primitives, pointers, padding) instead of just hex. It is essentially a debugging tool for figuring out unknown data structures either runtime or from some static source.
State
- MCP (Model Context Protocol) bridge via
ReclassMcpBridge.exe. The server starts by default and can be stopped from the File menu. It exposes all tool functionality to any MCP-compatible client (e.g. Claude Code) and falls back to UI prompts when the client requests something not yet covered by tools. To connect, add this to your MCP client config (e.g..mcp.json):{ "mcpServers": { "ReclassMcpBridge": { "command": "path/to/build/ReclassMcpBridge.exe", "args": [] } } }
Build
- Prerequisites
- Qt 6 with MinGW - Qt Online Installer https://doc.qt.io/qt-6/qt-online-installation.html , note to select MinGW kit + CMake/Ninja from Tools section (online installers index: https://download.qt.io/official_releases/online_installers/)
- CMake 3.20+ - https://cmake.org/download/ - bundled with Qt
- windeployqt docs - https://doc.qt.io/qt-6/windows-deployment.html
-
Quick Build (relies on powershell| for manual build skip to step 3)
git clone --recurse-submodules https://github.com/IChooseYou/Reclass.git cd Reclass .\scripts\build_qscintilla.ps1 .\scripts\build.ps1 ^ script above tries to autodetect Qt install (as we learned not everyone installs to C:/Qt/)
-
Manual Build
Step by step for peoplewho want to run commands themselves:
- Clone with --recurse-submodules (+ fallback git submodule update --init --recursive)
- Build QScintilla: qmake + mingw32-make in third_party/qscintilla/src
- CMake configure + build with -DCMAKE_PREFIX_PATH
- optionallly windeployqt the exe
Alternatives
- ReClass.NET (reclass.net) - https://github.com/ReClassNET/ReClass.NET
- ReClassEx - https://github.com/ajkhoury/ReClassEx
Languages
C++
92.7%
CMake
1.8%
C
1.7%
PowerShell
1.3%
Python
1.2%
Other
1.2%
