Create a folder and download these files:
- AvatarEngine.py📥 Download
- install_engine.bat📥 Download
- Stockfish🔗 stockfishchess.org
- Your JSON profile (generated from the homepage)
⚠️ Windows will display a warning
This is normal! Windows protects against downloaded .bat files. Click "More info" then "Run anyway".
💡 The code is 100% open source and visible in the downloaded files.
✨ The script automatically detects your JSON file, keep its original name!
Double-click on install_engine.bat (the script will request administrator rights). Follow the instructions to compile AvatarEngine.exe with PyInstaller.
In Fritz 20/ChessBase
- Open File → Open → Engines (or Module → UCI Module)
- Click New Engine / ... to browse
- Select AvatarEngine.exe
- Your bot appears in the list!
In Arena
- Open Engines → Install new engine
- Select AvatarEngine.exe
- Your bot appears in the list!
pip blocked (Device Guard) / PyInstaller unavailable
Contact your administrator to allow pip, or compile AvatarEngine.exe on a PC where pip works and copy the exe.
Windows blocks the .bat file
Right-click → Properties → Check "Unblock" → OK
Python not found
Install Python from python.org (check "Add Python to PATH")
Engine not responding
Check that Stockfish and profile.json are in the same folder as AvatarEngine.exe.