carmelosantana / rok-monster-schema

Standards for data capture, interface coordinates and UI actions for Rise of Kingdom utilities.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RoK Schema

🌽 This repository will attempt the following;

  • Provide up-to-date interface coordinates for Rise of Kingdoms UI elements.
  • Unify OCR processes in the RoK data capture community.

📢 Important: All coordinates currently reference a UI of 1920 x 1080.


📌 Areas that need improvement and could use help from the community;

  • Native tools to help build action, ocr, and input templates.
  • Determine how best to handle other resolutions when using coordinate arguments.

Definitions

Schema Purpose
Action Grouping of inputs to perform an action.
Input Allowed inputs as defined by adb.
OCR Instructions for optical character recognition.

Actions

Lists several inputs to perform a particular action. Actions should be limited to a single task.

Definition

Key Type Description
name string Unique identifier
description string Describe action
input array Ordered list of inputs to perform
  • Keyed by unique (string) ID
  • 1 action per file

Example

{
    "gather-resource-cropland": {
        "name": "Gather corn",
        "description": "Collect resources from Cropland.",
        "input": [
            "map-castle",
            "search-build",
            "search-food",
            "search-food-plus",
            "search-food-search",
            "resource-gather",
            "new-troops",
            "search-march"
        ]
    }
}

Tools

Utilities to help explore the schema and build valid action and input mappings.

Community

Have a question, idea, or need help getting started? Checkout our Discord!

Funding

If you find rok-monster-schema useful you can help fund future development by making a contribution to one of our funding sources below.

  • PayPal
  • Bitcoin bc1qx7v5vvxwnhpl3dssggy0hytcx2rpq5dkkfwyy4
  • Ethereum 0xA8Ebb6e5EC503E90551dD1bdE2d00B6C126eD5C5
  • Tron TPnGEfkUZ2py6CFkh8wgqqYehJ29EbMWVw

License

The code is licensed MIT and the documentation is licensed CC BY-SA 4.0.

About

Standards for data capture, interface coordinates and UI actions for Rise of Kingdom utilities.

License:MIT License