A lightweight Windows executable that detects running Riot Vanguard processes/vgk driver and launches CrossFire PH — designed for xygelcafe.net computer cafe machines.
CrossFire PH is incompatible with Riot Vanguard's kernel-level driver. The root cause: Vanguard's kernel driver (vgk.sys) explicitly blocks sgack.sys — a kernel-mode anti-cheat/safe-guard driver shipped with CrossFire PH. When vgk is active, sgack.sys cannot load, and CrossFire PH refuses to start, returning crossfire init failed.
This wrapper detects Vanguard upfront, warns the user, and prevents an unnecessary launch attempt.
- Scans running processes for
vgc.exeandvgtray.exe - Checks if the
vgkkernel service is active via SCM - If nothing is detected → launches
patcher_cf2.exe - If Vanguard is detected → shows a warning dialog, then a GUI with instructions
- After the user dismisses the guide, lets them retry — the launcher re-checks for Vanguard before launching
patcher_cf2.exe returns crossfire init failed when Vanguard is active.
GUI guide for manually exiting Vanguard via the system tray.
Place cfph-launcher.exe in the same directory as patcher_cf2.exe and run it. Optionally pass the game path as a command-line argument:
cfph-launcher.exe D:\Games\CrossFire PH\patcher_cf2.exe
It is recommended to replace the existing CrossFire PH desktop shortcut with one pointing to cfph-launcher.exe so players always launch through the wrapper.
cargo build --releaseRequires a Windows toolchain (x86_64-pc-windows-msvc).
MIT
CrossFire PH is a trademark of Smilegate Entertainment. This project is an unofficial utility and is not affiliated with, endorsed by, or sponsored by Smilegate or Riot Games. The CrossFire PH logo and icon are used solely for the purpose of identifying the game being launched. All trademarks and registered trademarks are the property of their respective owners.
