AliceJump/ok-end-field
About
End Field automation based on ok-script
Productivity & AutomationMeasured star growth
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +4
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_en.md
Original
![]()
Downloads
ok-ef
An image-recognition-based automation tool for End Field, some actions support background mode (partial support; keyboard-operated actions are not supported), developed with ok-script.
Automates parts of End Field via screen recognition and simulated user inputs.
Operates by simulating Windows user input. No memory reading, no file modification.
Official Website: https://alicejump.github.io/ok-end-field/ (bilingual docs, feature guides, development & maintenance)
中文说明 | English Readme
Demo & Tutorial:
⚠️ Disclaimer
This software is an external assistance tool intended to automate parts of End Field. It interacts with the game by simulating normal user interface operations and complies with relevant laws and regulations. The project aims to reduce repetitive actions, does not break game balance or provide unfair advantages, and never modifies any game files or data.
This software is open-source and free for personal learning and communication only. Commercial or profit-oriented use is prohibited. The development team reserves the right of final interpretation. Any issues arising from use of this software are unrelated to the project or its developers.
According to the official fair-operation statement for End Field:
The use of any third-party tools that disrupt gameplay is strictly prohibited. We will severely penalize the use of cheats, accelerators, bot scripts, macro tools, etc. This includes but is not limited to auto-farming, skill acceleration, invincibility, teleportation, or game data modification. Once verified, we may take actions including but not limited to deducting illegal gains, freezing, or permanently banning accounts.
By using this software, you acknowledge that you have read, understood, and agreed to the above statement and assume all potential risks.
🚀 Quick Start
- Download the installer: From GitHub Releases, download the latest
ok-ef-win32-Global-setup.exeinstaller. - Install: Double-click
ok-ef-win32-Global-setup.exeand follow the setup wizard. - Run: Launch
ok-effrom the desktop shortcut or Start Menu after installation.
📥 Download Sources
- GitHub: Official release page with fast global access. (Download the
setup.exeinstaller, not theSource Codearchive) - Mirrorchyan: China mirror (may require a CD-KEY purchase).
- Baidu Pan: Free download.
- Quark Drive: Free download.
Runtime Requirements & Recommendations
- OS: Windows
- Game resolution: 16:9 at 1600×900 (900P) or above required; lower than 900P is not guaranteed to work
- Language: some features currently support Simplified Chinese only
- Privilege: run as Administrator recommended (required for source mode)
- Path: prefer pure-English install/runtime path
- Frame rate: stable 60 FPS recommended for combat and navigation tasks
Documentation
- Documentation index: docs/README.md
- Developer quick start: docs/dev/QUICKSTART.md
- API reference: docs/dev/API.md
- Windows Task Scheduler: docs/Windows%20计划任务.md
🎮 Feature Overview (by task type)
One-time tasks (manual click to run)
- Daily Task: gift giving, outpost exchange, delivery handling, market trading, stamina farming, reward claim, and more
- Stamina Farming: normal/high-tier stages, danger stages, heavy energy nodes, skill timeline support
- Delivery Commission Pickup: filter by ticket type + reward range and auto pickup
- Auto Delivery: Wuling delivery automation for 73.1k/79.8k/119k/159k/163k ticket targets
- Warehouse Transfer: cross-warehouse batch transfer for selected items
- Demo Draw: repeat draws at the demo platform until the level-change condition is met
- Yingtuo Monument: complete all currently available normal stages
启动一次游戏,120s后自动关闭: exact registered visible task name; scheduled pre-launch/check task. The120sis the timeout for reaching the main screen; actual default behavior waits 15 seconds after reaching it, then exits- Realtime Detection: loop YOLO detection for model debugging
- Test and Diagnosis: development and framework diagnostic tools
PeriodicScreenshotTaskand other debug/test tasks are registered in the one-time task list. The former Graduation Essence task has been removed.
Trigger tasks (background loop detection, partial support)
- Auto Combat: battle-state detection and automatic skill release
- Auto Interaction: auto skip dialog + auto click teleport
- Auto Pickup: whitelist pickup + blacklist filtering
- Item Navigation: item gathering point navigation driven by the shared
world.poseruntime state
Scheduled tasks
- Daily Task, Auto Delivery, Yingtuo Monument, and
启动一次游戏,120s后自动关闭declare built-in scheduling support - Windows Task Scheduler can also invoke any registered one-time task by its list index
🔧 Troubleshooting
If you encounter issues, check the following in order:
- Install path: Install under a pure English path (e.g.,
D:\Games\ok-ef). AvoidC:\Program Filesor folders with non-ASCII characters. - Antivirus: Add the install directory to your antivirus (including Windows Defender) allow-list to avoid deletion/quarantine.
- Display settings:
- Disable all GPU filters (such as NVIDIA Game Filter) and sharpening features, unless certain features specifically require them.
- Use the game’s default brightness settings.
- Disable overlays (MSI Afterburner, FPS counters, etc.).
- Custom keybinds: If you changed in-game keybinds, sync them in
ok-efsettings. Only listed keys are supported. - Software version: Ensure you’re running the latest
ok-efrelease. - Game performance: Keep the game at a stable 60 FPS. If unstable, lower graphics or resolution.
- Disconnects: If frequent, launch the game manually for 5 minutes before running this tool, or re-login directly after disconnect without exiting the game.
- Get help: If all above fails, submit a detailed error report via the community channels.
- Game/Software language: Some features support Simplified Chinese only.
🛠 Maintenance Zone
Maintenance Documentation
| Document | Description |
|---|---|
| Auto Delivery Area Maintenance Workflow | Use when adding or adjusting delivery areas; explains how to maintain area data, template resources, and validation steps |
| Daily Gift Maintenance Workflow | Use when adding character contacts or gift-giving features; explains how to add character data and contact templates |
| Master Data Maintenance Workflow | Use when adding or adjusting game regions, stages, or product data; explains maintenance methods for all world data structures |
💻 Developer Zone
Developer Documentation
| Document | Description |
|---|---|
| Quick Start Guide (QUICKSTART.md) | Minimal workflow to run from source, launch the software, and create trigger/one-time tasks |
| Development Guide (DEVELOPMENT.md) | Architecture, repository structure, task registration, testing, and release workflow |
| API Reference (API.md) | Detailed API docs for BaseEfTask, Mixin, ScreenPosition, KeyConfigManager, and more |
| i18n & OCR Configuration | Runtime locale, language JSON, OCR matching, and text-fix workflow |
| Keyboard System (键盘操作体系.md) | Hotkey mapping, key binding conventions, and send_key exception list |
Run from source (Python)
This project supports Python 3.12 only. Run CMD, PyCharm, or VSCode as Administrator. Dependencies are managed with uv (install uv first).
# If your first clone did not include submodules, initialize them first
git submodule update --init --recursive
# Create the virtual environment and install/update dependencies
uv sync
# Run Release version
uv run python main.py
# Run Debug version
uv run python main_debug.py
Command-line arguments
You can auto-start tasks via CLI:
CLI arguments are parsed by the underlying ok-script launcher. The project entry point main.py passes task configuration from src/config.py.
# Start after automatically executing the 1st task 'Daily Task' and exit upon completion
ok-ef.exe -t 1 -e
-tor--task: Automatically run the Nth task.1is the first task in the list src/config.pyonetime_tasks, which is Daily Task.-eor--exit: Exit automatically after the task completes.
Development debug & tests
# Run all scripts under tests/ (PowerShell)
./scripts/testing/run_tests.ps1
# Or run unittest case-by-case
python -m unittest tests/TestGameWindow.py
For OCR/template/color-recognition features, prefer debugging with main_debug.py and inspect logs/screenshots for
faster diagnosis.
💬 Join Us
- Community: Find Discord, QQ groups, and QQ channels (links are maintained in community_links.yml).
- QQ Group:
940581952(answer:终末地) - QQ Channel: Click to join (full or updates)
- Developer Group:
1079581542(Note: for developers with GitHub accounts who can run the project from source.)
This project is built on ok-script, which is easy to maintain. Developers are welcome to build their own automation projects with ok-script.
🔗 Projects using ok-script
- End Field https://github.com/AliceJump/ok-end-field
- Wuthering Waves https://github.com/ok-oldking/ok-wuthering-waves
- Wuthering Waves (Daily Task Enhanced Version) https://github.com/zzc-tongji/ok-ww-enhanced
- Genshin Impact (maintenance stopped, background story automation available) https://github.com/ok-oldking/ok-genshin-impact
- Girls’ Frontline 2 https://github.com/ok-oldking/ok-gf2
- Star Rail https://github.com/Shasnow/ok-starrailassistant
- Star Resonance https://github.com/Sanheiii/ok-star-resonance
- Duet Night Abyss https://github.com/BnanZ0/ok-duet-night-abyss
- Neverness to Everness https://github.com/BnanZ0/ok-nte
- Kaersi Dream https://github.com/baoxin1100/ok-kes
- Bai Jing Corridor (maintenance stopped) https://github.com/ok-oldking/ok-baijing
❤️ Sponsors & Acknowledgements
Contributors
Sponsors
- EXE signing: Free code signing provided by SignPath.io, certificate by SignPath Foundation.
Acknowledgements
Explore related projects
Loading…