AGENT SKILL

bc-drive

Deterministic ON-DEMAND driver for a LIVE Battle Cats (jp.co.ponos.battlecatsen, EN 15.4.1) instance on rooted BlueStacks. Reads engine state (scene/metrics) via crash-safe one-shot Frida NativeFunction calls (NO per-frame Interceptor) and actuates via OS-level `adb shell input tap` in device px. BC is a CUSTOM PONOS C++/GLES engine (not cocos2d-x). Use to script/inspect BC menu navigation, resolve its device<->drawable coordinate space, or read its scene state. Requires adb + frida-server up.

License 许可
MIT
最近更新
2026-11-02
Stars
★ 0
Forks
0

01 前言 Front Matter

name
bc-drive
description
Deterministic ON-DEMAND driver for a LIVE Battle Cats (jp.co.ponos.battlecatsen, EN 15.4.1) instance on rooted BlueStacks. Reads engine state (scene/metrics) via crash-safe one-shot Frida NativeFunction calls (NO per-frame Interceptor) and actuates via OS-level `adb shell input tap` in device px. BC is a CUSTOM PONOS C++/GLES engine (not cocos2d-x). Use to script/inspect BC menu navigation, resolve its device<->drawable coordinate space, or read its scene state. Requires adb + frida-server up.

02 资源文件 2

03 SKILL.md 正文

bc-drive — on-demand Battle Cats canvas driver

Control a live Battle Cats instance deterministically: read engine state on demand and actuate with OS-level taps. Built and validated against EN 15.4.1, x86_64 libnative-lib.so, on BlueStacks (adb 127.0.0.1:5555, frida 17.11.0).

CRITICAL CONSTRAINT — no per-frame Interceptor

A hook on the render/update path (appUpdateDraw @0x33F7E0 or any per-frame fn) crashes BC on scene transitions (the hot-path lesson). This driver therefore uses ONLY: (a) one-shot NativeFunction calls and (b) pure memory reads, invoked per request (attach → call → detach). The optional capture mode hooks a constructor (fires on scene-build, not per-frame) briefly. Actuation is OS-side adb input tap (no game-thread race).

Files

  • bc_agent.js — Frida agent (rpc.exports: scene, metrics, touchInfo, info, startCapture/stopCapture).
  • bc_drive.py — Python driver/CLI (attach-on-demand; tap via adb; screenshot; objective pixel-diff demo).

Verified offsets (RVA in libnative-lib.so; runtime = base + RVA)

RVA meaning verified
0x65D900 getGlobal() -> MyApplication* ✅ returns valid non-null ptr
0x668910 getScene(app) -> int = *(int*)(app+0x2F24) ✅ disassembled + called
0x1098C10 metrics struct ✅ decoded (below)
0x668C70 touch dispatch = vtable[+0x40] (vtable RVA 0xBED598) ✅ resolved read-only
0x65DD0F scene SETTER (writes +0x2F20 & +0x2F24) ✅ disassembled

Coordinate space (the key result — SOLVED)

Scene / state model (honest)

Widgets (best-effort)

Usage

Safety

What works vs what's inferred

04 同仓库更多 Skills

Prekzursil
Prekzursil/agent-skills-toolchain

clarify-requirements

Resolve genuine pre-execution ambiguity by scanning repo context, generating 1-6 grounded options, and asking 1-3 focused questions via AskUserQuestion. NOT for mid-task use (injection risk); NOT when the goal is already unambiguous; use to disambiguate vague prompts before any file edits.

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

openmm-md

Run FREE, open-source, Windows-native GPU molecular dynamics via the openmm-md MCP (OpenMM + CUDA on the local NVIDIA GPU). Use for protein / protein-ligand MD when you want a free stack or are on Windows without a Schrodinger license. Covers the full workflow (prepare, solvate, minimize, equilibrate, production, analyze, mmgbsa) AND an honest decision guide vs Schrodinger Desmond, including how to run Desmond legitimately on Linux or a cloud GPU with a real license. This is a deliberately LESSER free alternative and does NOT replace the schrodinger MCP tools. Do NOT use it to pick a free tool when a validated FEP+, WaterMap, IFD-MD, or Prime MM-GBSA result is actually required.

Skill与智能体开发
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

visual-review

Take screenshots of web pages and UI using Playwright for visual review and iteration

演示文稿测试与质量
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

status

Diagnostic status report — shows metaswarm installation state, project setup, and potential issues

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

start

Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work

Skill与智能体开发
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

setup

Interactive project setup — detects your project, configures metaswarm, writes project-local files

★ 0