自动处理MDRG中的烹饪小游戏
Auto-chef script for the cooking minigame in My Dystopian Robot Girlfriend.
- 自动识别萝卜(Z键)和茄子(X键) \ Auto-detect carrot (Z key) and eggplant (X key)
- 自动识别长条并进行对应操作 \ Auto-detect hold bars and release at the right time
- 高精确度的模板+颜色识别 \ Template matching + RGB color detection for high accuracy
- 自适应性的分辨率缩放 \ Adaptive full-resolution scaling based on reference layouts (by DrJason33564)
- 支持自定义识别阈值
MATCH_TH以调整执行动作时机 \ Support customizing matching thresholdMATCH_THto adjust timing of action (by DrJason33564)
- 从 [Releases] 下载
ChefBot-win64.zip\ DownloadChefBot-win64.zipfrom [Releases] - 双击
start.bat, 设置MATCH_TH,启动脚本 \ Double-clickstart.bat, set MATCH_TH, and run - 进入烹饪小游戏,按下 F10 键开始运行 \ Enter the cooking minigame, press F10 to start
- 关卡完成后,按下 F11 结束运行 \ Press F11 to stop after the level ends
- Ctrl+c 键以退出脚本 \ Crtl+c to quit
- 从 [Releases] 下载
ChefBot-v0.3.0.exe或ChefBot-cli.zip\ DownloadChefBot-win64.ziporChefBot-cli.zipfrom [Releases] - 双击启动脚本 \ Double-click and run
2.1 双击start.bat,设置Match_TH,启动脚本 \ Double-click
start.bat, set MATCH_TH, and run - 进入烹饪小游戏,按下 F10 键开始运行 \ Enter the cooking minigame, press F10 to start
- 关卡完成后,按下 F11 结束运行 \ Press F11 to stop after the level ends
- 退出软件 \ exit the application
git clone https://github.com/DrJason33564/My-Dystopian-Robot-Girlfriend-ChefBot.git
cd My-Dystopian-Robot-Girlfriend-ChefBot
pip install -r requirements.txt
python main.py| Key | Action |
|---|---|
| F10 | Start |
| F11 | Stop |
理论上适用所有16:9和16:10的屏幕,在 1366x768 分辨率下测试成功
Theoretically applicable to all 16:9 and 16:10 screens, and has been tested and working at 1366x768 resolution.
- Python 3.10+
- Windows (uses
keyboardandmsswhich require Windows for full functionality) - 如无法正常使用,以管理员模式运行 \ Run as Administrator if not functioning properly.
- 游戏应为全屏模式 \ Game should be in borderless windowed mode
GPL3.0
- 本项目修改自 Superloop7/My-Dystopian-Robot-Girlfriend-ChefBot
- 新版本merge了DrJason33564的新版本 感谢贡献: https://github.com/DrJason33564