Welcome, Gamer! 👋
This guide will help you set up your AI bot step-by-step, even if you've never coded before. We'll use simple language and lots of screenshots. Let's get your bot farming for you!
Before we start, make sure you have:
- A Windows PC (Windows 10 or 11)
- Your game installed (Genshin Impact recommended)
- At least 5GB of free disk space
- About 1 hour of free time for setup
- Your game controller (optional, but helpful)
- A cup of coffee ☕ (optional, but recommended!)
Python is the programming language that powers the AI. Don't worry - you won't need to learn it!
- Go to: https://www.python.org/downloads/
- Click the big yellow "Download Python 3.11" button
- Save the file to your Downloads folder
- Double-click the downloaded file
- IMPORTANT: Check the box that says "Add Python to PATH" ✅
- Click "Install Now"
- Wait for it to finish (2-3 minutes)
- Click "Close"
- Press
Windows Key + R - Type
cmdand press Enter - In the black window, type:
python --version - You should see something like:
Python 3.11.x
✅ Success! Python is installed!
Now we'll download the bot software to your computer.
- Go to: https://git-scm.com/download/win
- Download will start automatically
- Run the installer
- Click "Next" through all options (defaults are fine)
- Click "Finish"
- Press
Windows Key + R - Type
cmdand press Enter - Copy and paste this command (right-click to paste in cmd):
cd DesktopPress Enter. This moves to your Desktop.
- Now paste this command:
git clone https://github.com/ruslanmv/BOT-MMORPG-AI.gitPress Enter and wait. You'll see text scrolling - that's normal!
- When it's done, you'll have a new folder on your Desktop called "BOT-MMORPG-AI"
✅ Success! You've downloaded the bot!
Now we'll install all the AI components.
Easiest option: Download the
.exeinstaller from the Releases page. No command line needed!For the desktop UI (Tauri): You also need Rust. This is NOT required for the training pipeline (data collection, training, testing).
- Open the "BOT-MMORPG-AI" folder on your Desktop
- Hold
Shiftand right-click in the empty space - Click "Open PowerShell window here" or "Open command window here"
Paste this command:
curl -LsSf https://astral.sh/uv/install.sh | shIf that doesn't work (on Windows), use this instead:
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"Wait for it to finish (1-2 minutes).
Paste this command:
make installDon't have make? No problem! Use this instead:
pip install -e .This will take 5-10 minutes. You'll see lots of text - that's normal! The AI is installing all its components.
☕ Pro Tip: This is a good time for that coffee!
✅ Success! The bot is installed!
Let's prepare your game for the bot to learn.
- Open your game (Genshin Impact)
- Set resolution:
- Press
ESC→ Settings → Graphics - Set to
1920 x 1080(fullscreen) - Apply and restart if needed
- Press
- Teleport to Mondstadt
- Go to the bridge (see screenshot above)
- Face towards Thousand Wind Temple
- Open your menu
- Set in-game time to 12:00 (noon)
- This keeps lighting consistent for the AI
If using a controller:
- Plug it in before starting
- Verify it works in game settings
- Set it to controller mode in game
✅ Success! Your game is ready!
Now the fun part - teaching the AI how YOU play!
In your command prompt (in the BOT-MMORPG-AI folder), type:
make collect-dataOr if that doesn't work:
python versions/0.01/1-collect_data.py- You'll see a countdown: 4... 3... 2... 1...
- Switch to your game window
- Play normally for 10-15 minutes:
- Walk around your farming route
- Fight some enemies
- Collect items
- Jump, run, use skills
The bot is watching and learning from you! 👀
While recording:
- Press
Tto pause/resume (if you need a break) - Press
Qto stop and save (when done)
Good recordings include:
- Walking your farming route 2-3 times
- Fighting the same enemies repeatedly
- Collecting items
- Normal gameplay patterns
Avoid:
- Opening menus
- Checking inventory
- Cutscenes
- AFK time
After recording, you should see files like:
preprocessed_training_data-1.npypreprocessed_training_data-2.npy- etc.
More files = Better training! Aim for at least 5-10 files (about 15 minutes of gameplay).
💡 Pro Tip: You can run this multiple times to collect more data!
✅ Success! You've taught the AI!
Now we'll train the AI on your gameplay.
In your command prompt, type:
make train-modelOr:
python versions/0.01/2-train_model.pyYou'll see text scrolling with numbers and progress. This is NORMAL!
Training Time:
- With NVIDIA GPU: 30-60 minutes ⚡
- Without GPU: 2-4 hours 🐌
What's happening:
- The AI is studying your gameplay
- It's learning which buttons to press
- It's building a "brain" (neural network)
You see messages like:
SAVING MODEL!- Training completes without errors
- You're back at the command prompt
Don't close the window! Let it finish completely.
✅ Success! Your AI is trained!
The moment you've been waiting for - let's run your bot!
- Open your game
- Go to the bridge of Mondstadt (same starting position)
- Set time to 12:00
- Make sure controller is connected (if you used one)
In command prompt:
make test-modelOr:
python versions/0.01/3-test_model.py- You'll see a countdown: 4... 3... 2... 1...
- Switch to your game window
- Take your hands OFF the controls! 🙌
- Watch the AI play!
While the bot is running:
- Press
Tto pause/resume the AI - Press
ESCto stop the bot completely
Bot is stuck?
- It will auto-escape after a few seconds
- Or press
Tto pause, reposition manually, pressTagain
Bot not moving?
- Make sure you're at the starting position
- Make sure time is set to 12:00
- Try recording more training data
Bot doing weird things?
- Normal at first! It learns from mistakes
- Record more training data
- Try training again
✅ Success! Your bot is farming for you!
1. More Training Data = Smarter Bot
- Record 30+ minutes of gameplay
- Play the same route multiple times
- Be consistent with your actions
2. Retrain Periodically
- If bot behaves badly, collect more data
- Retrain with:
make train-model - Each training session improves the AI
3. Multiple Routes
- You can train different bots for different routes
- Rename your model files to keep them separate
- Example:
model/mondstadt,model/liyue
Safety First:
- Don't leave completely unattended
- Check every few hours
- Respect the game's ToS (Terms of Service)
Power Settings:
- Set PC to never sleep
- Disable screen timeout
- Keep game in fullscreen
Performance:
- Close other programs
- Use a wired controller (more stable)
- Lower graphics settings if needed
A: Nope! Just follow this guide.
A: Use at your own risk. Read your game's Terms of Service. We recommend using this for educational purposes only.
A: Not recommended. This is designed for farming/grinding, not competitive play.
A: Possibly! Any 3D RPG/MMORPG might work. You'll need to experiment.
A: Record more training data showing how to navigate obstacles. The AI learns from you!
A: No, this only works on PC (Windows).
A: FREE! It's open source (Apache 2.0 license).
A: Join our Slack community: #bot-mmorpg-ai
- Read error messages - they usually tell you what's wrong
- Check our GitHub Issues: Issues Page
- Ask in Slack: #bot-mmorpg-ai
- Email: contact@ruslanmv.com
- What you were trying to do
- The exact error message (screenshot helps!)
- Your Windows version
- Your Python version (
python --version) - What you've already tried
You've successfully set up your AI gaming bot! Here's what you accomplished:
- ✅ Installed Python and all dependencies
- ✅ Downloaded the bot software
- ✅ Recorded your gameplay
- ✅ Trained an AI on your playstyle
- ✅ Got the bot running and farming for you!
Welcome to the future of gaming! 🚀
- Experiment with different routes
- Train multiple bots for different tasks
- Share your results in our community
- Help other gamers get started!
Got cool results? Share them!
- Post in our Slack channel
- Tweet with #BOTMMORPGAI
- Make a YouTube video
- Main README: README.md - Technical documentation
- Contributing: CONTRIBUTING.md - Want to improve the bot?
- Changelog: CHANGELOG.md - What's new in each version
Made with ❤️ by Ruslan Magana Vsevolodovna
- 🌐 Website: ruslanmv.com
- 📧 Email: contact@ruslanmv.com
- ⭐ Star this repo if it helped you!
Happy Farming! 🎮✨
Remember: Use responsibly and respect your game's Terms of Service. This is an educational project!



