How evenblad3/cheat-trainers works
This repository provides Windows cheat trainers for Assault Cube and Yamagi Quake II. In Assault Cube, the trainer launches a menu, reads game values, and writes selected changes to the game process; the sampled GUI source shows ammo and nickname controls. In Yamagi Quake II, startup runs a game-state update thread alongside the UI renderer. The UI uses Dear ImGui with Win32/DX11. The README names both game targets, but unsampled cheat and drawing implementations prevent confidently mapping their detailed features or wiring.
Main entry points: gui.cpp Menu and memory controls · UI.cpp UI renderer · cheat/main.cpp Trainer entry · cheat/main.cpp Trainer entry
Components 19
Assault Cube
- Trainer entry
assaultcube/cheat/main.cpp - Menu and memory controls
assaultcube/cheat/gui.cpp - Game memory helpers
assaultcube/cheat/hack.cpp - Assault Cube process
Yamagi Quake II
- Trainer entry
yquake2/cheat/main.cpp - Game-state updater
yquake2/cheat/hack.cpp - Memory interface
yquake2/cheat/hack.hpp - Cheat operations
yquake2/cheat/cheat.cpp - Game state
yquake2/cheat/gamestate.hpp - UI renderer
yquake2/cheat/UI.cpp - Drawing layer
yquake2/cheat/Drawing.cpp - Yamagi Quake II process
UI rendering
- Dear ImGui
assaultcube/imgui/imgui.cpp - DX9 renderer backend
assaultcube/imgui/imgui_impl_dx9.cpp - Win32 input backend
assaultcube/imgui/imgui_impl_win32.cpp - Dear ImGui
yquake2/imgui/imgui.cpp - DX11 renderer backend
yquake2/imgui/imgui_impl_dx11.cpp - Win32 input backend
yquake2/imgui/imgui_impl_win32.cpp
Other components
- Trainer user
Connections 12
- Trainer user → Trainer entry: launches
- Trainer entry → Menu and memory controls: starts render loop
- Menu and memory controls → Dear ImGui: builds menu with
- Menu and memory controls → DX9 renderer backend: renders through
- Menu and memory controls → Win32 input backend: handles input through
- Menu and memory controls → Assault Cube process: reads and writes process memory
- Trainer user → Trainer entry: launches
- Trainer entry → Game-state updater: starts update thread
- Trainer entry → UI renderer: runs renderer
- UI renderer → Dear ImGui: builds UI with
- UI renderer → DX11 renderer backend: renders through
- UI renderer → Win32 input backend: handles input through