bcsfe-save-roundtrip
Use when pulling, editing, or pushing a Battle Cats (EN, rooted BlueStacks) SAVE_DATA file - the byte-exact PowerShell + HOME-key flush pull, the headless BCSFE-Python library edit (no interactive menu), and the in-place cat-redirect push that preserves uid 10065 and the SELinux app_data_file context so the game accepts the save. Includes the MSYS path-conversion gotcha that silently truncates the device file to 0 bytes (cost a full wipe), the force-stop-before-push rule, and the Ototo cannon-unlock fields. NOT for non-rooted devices or the iOS save format.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- bcsfe-save-roundtrip
- license
- MIT
- description
- Use when pulling, editing, or pushing a Battle Cats (EN, rooted BlueStacks) SAVE_DATA file - the byte-exact PowerShell + HOME-key flush pull, the headless BCSFE-Python library edit (no interactive menu), and the in-place cat-redirect push that preserves uid 10065 and the SELinux app_data_file context so the game accepts the save. Includes the MSYS path-conversion gotcha that silently truncates the device file to 0 bytes (cost a full wipe), the force-stop-before-push rule, and the Ototo cannon-unlock fields. NOT for non-rooted devices or the iOS save format.
03 SKILL.md 正文
BCSFE Save Round-Trip (Battle Cats EN, rooted BlueStacks)
Edit the live Battle Cats EN save end to end: pull byte-exact, edit headlessly, push in place so uid + SELinux context survive. The non-obvious parts (RAM flush, in-place
cat >, MSYS path mangling) are what bite.
Environment
- Package
jp.co.ponos.battlecatsen; save at/data/data/<pkg>/files/SAVE_DATA(~539 KB primary). Siblings:SAVE_DATA.OLD= BC's own rollback,BACKUP_SAVE_DATA= cloud/transfer,SAVE_DATA4= secondary slot. - adb =
C:\ADB\adb.exe, device127.0.0.1:5555. App uidu0_a65= numeric 10065. BCSFE-Python 3.3.0 venv:D:\ReverseTools\Android\BCSFE-Python\.venv. - Serial changes across BlueStacks restarts (
emulator-5554vs127.0.0.1:5555) —adb devicesfirst, then target-s <serial>.
PULL (byte-exact, no CRLF/MSYS mangling)
Do it in PowerShell, not git-bash (MSYS rewrites /data & /sdcard args).
BC holds the save in RAM, so flush first:
& C:\ADB\adb.exe shell input keyevent KEYCODE_HOME # backgrounding flushes to disk
Start-Sleep -Seconds 3 # mtime should now ~= device clock
& C:\ADB\adb.exe shell "su -c 'cp /data/data/jp.co.ponos.battlecatsen/files/SAVE_DATA /sdcard/SAVE_DATA && chmod 666 /sdcard/SAVE_DATA'"
& C:\ADB\adb.exe pull /sdcard/SAVE_DATA D:\WSA\saves\SAVE_DATA
(Force-stop does not flush — only backgrounding does. Confirm freshness by mtime ≈ device clock.)
EDIT headlessly (no interactive menu)
... mutate parsed objects (sf.catfood, sf.ototo.cannons, ...) ...
PUSH safely (the non-obvious part)
MSYS PUSH GOTCHA (cost an empty-file wipe — also applies to event_0 pushes)
Ototo cannon unlock (the "no equip button" fix)
04 同仓库更多 Skills
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.
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.
visual-review
Take screenshots of web pages and UI using Playwright for visual review and iteration
status
Diagnostic status report — shows metaswarm installation state, project setup, and potential issues
start
Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work
setup
Interactive project setup — detects your project, configures metaswarm, writes project-local files