v0.3.0 · Linux · terminalterminal
ross_tcgp
The game has no export, so this drives the phone: over adb it scrolls the My Cards screen of Pokémon TCG Pocket, recognises every card against ~4,600 official images, reads how many copies you own and saves it all as JSON. Then --quick only reads your new packs, in about 15 seconds.
El juego no tiene exportación, así que esto maneja el teléfono: por adb recorre la pantalla My Cards de Pokémon TCG Pocket, reconoce cada carta contra ~4.600 imágenes oficiales, lee cuántas copias tienes y lo guarda todo en JSON. Después, --quick lee solo tus sobres nuevos, en unos 15 segundos.
Install
Instalar
From the signed repository. It uses your system's Python, Pillow, NumPy and adb, which come as dependencies.
Desde el repositorio firmado. Usa el Python, Pillow, NumPy y adb de tu sistema, que llegan como dependencias.
If you haven't added the repository yet, do that first (one time). Then:
Si todavía no agregaste el repositorio, hazlo primero (una sola vez). Luego:
sudo pacman -Syu ross-tcgpIf you haven't added the repository yet, do that first (one time). Then:
Si todavía no agregaste el repositorio, hazlo primero (una sola vez). Luego:
sudo apt update && sudo apt install ross-tcgpIf you haven't added the repository yet, do that first (one time). Then:
Si todavía no agregaste el repositorio, hazlo primero (una sola vez). Luego:
sudo dnf install ross-tcgpThen run ross-tcgp update once: it downloads the card data and reference images (~70 MB) into ~/.cache/ross_tcgp. No game images are shipped in the package.
Luego corre ross-tcgp update una vez: descarga los datos de las cartas y las imágenes de referencia (~70 MB) a ~/.cache/ross_tcgp. El paquete no trae ninguna imagen del juego.
Use
Uso
Enable USB debugging on the phone, connect it, open the game on My Cards and don't touch it while it scans:
Activa la depuración USB en el teléfono, conéctalo, abre el juego en My Cards y no lo toques mientras escanea:
ross-tcgp scan # the whole collection (~5 min for ~900 cards)
ross-tcgp scan --quick # only new cards: sort the game list by "Recent cards" first
ross-tcgp show --name pika # list what you own
ross-tcgp show --json # the raw JSON, for other tools
ross-tcgp diff OLD.json # what changed since an older scan
ross-tcgp export # CSV for PackProphet or a spreadsheet
ross-tcgp export -f tcg-tracker # CSV for tcgpocketcollectiontracker.comWith export your collection goes to other trackers in seconds: PackProphet (which pack to open next; Collection → Import, no account) or TCG Pocket Collection Tracker (trades and friends; log in → Import, which replaces your collection there).
Con export tu colección pasa a otros trackers en segundos: PackProphet (qué sobre abrir; Collection → Import, sin cuenta) o TCG Pocket Collection Tracker (intercambios y amigos; inicia sesión → Import, que reemplaza tu colección allá).
Every scan is saved in ~/.local/share/ross_tcgp and compared with the previous one: new cards and extra copies are listed at the end.
Cada escaneo se guarda en ~/.local/share/ross_tcgp y se compara con el anterior: al final lista las cartas nuevas y las copias extra. Sus mensajes están en inglés.
Requirements
Requisitos
| Computer | Computadora | Linux with Python 3.10+Linux con Python 3.10+ |
| Phone | Teléfono | Android with USB debugging and Pokémon TCG PocketAndroid con depuración USB y Pokémon TCG Pocket |
| Note | Nota | Fan project, not affiliated with Nintendo, The Pokémon Company, Creatures, GAME FREAK or DeNA. It only scrolls and takes screenshots.Proyecto de fans, sin relación con Nintendo, The Pokémon Company, Creatures, GAME FREAK ni DeNA. Solo hace scroll y capturas. |
Changes
Cambios
[0.3.0] - 2026-11-26
Added
ross-tcgp export: a CSV for PackProphet and spreadsheets
(default), or --format tcg-tracker for
TCG Pocket Collection Tracker, translated to that
site's own card ids with its card list downloaded fresh.
[0.2.2] - 2026-11-26
Fixed
- pacman no longer warns "directory permissions differ" when installing or updating: the
package's directories are now recorded as a plain 755.
[0.2.1] - 2026-11-26
Fixed
scanchecks that the card grid is on screen before touching the phone; on any other
screen (a battle, the shop…) it stops without scrolling.
- A scan that reads no cards no longer saves a snapshot.
[0.2.0] - 2026-11-26
Added
- Linux packages for repo.rossmel.com:
ross-tcgpfor pacman,
APT and DNF, architecture-independent, using the system's Python, Pillow, NumPy and adb.
- Release workflow that installs and runs each package on Arch, CachyOS, Ubuntu 22.04 and 24.04,
Debian 13 and Fedora before publishing.
[0.1.0] - 2026-11-25
Added
ross-tcgp scan: reads the whole "My Cards" grid over adb, identifies every card against
~4,600 reference images and reads its copy count; --quick only reads what's new.
show,diffandupdatecommands; JSON snapshots in~/.local/share/ross_tcgp.scan --save-pages/--from-pagesto keep screenshots and re-read them offline.
[0.3.0] - 2026-11-26
Agregado
ross-tcgp export: un CSV para PackProphet y planillas
(por defecto), o --format tcg-tracker para
TCG Pocket Collection Tracker, traducido a los ids
propios de ese sitio con su lista de cartas descargada en el momento.
[0.2.2] - 2026-11-26
Corregido
- pacman ya no avisa "directory permissions differ" al instalar o actualizar: las carpetas del
paquete ahora quedan registradas como un 755 normal.
[0.2.1] - 2026-11-26
Corregido
scancomprueba que la grilla de cartas esté en pantalla antes de tocar el teléfono; en
cualquier otra pantalla (una batalla, la tienda…) se detiene sin hacer scroll.
- Un escaneo que no lee ninguna carta ya no guarda un archivo.
[0.2.0] - 2026-11-26
Agregado
- Paquetes para Linux en repo.rossmel.com:
ross-tcgppara
pacman, APT y DNF, independiente de la arquitectura, que usa el Python, Pillow, NumPy y adb del sistema.
- Flujo de release que instala y ejecuta cada paquete en Arch, CachyOS, Ubuntu 22.04 y 24.04,
Debian 13 y Fedora antes de publicar.
[0.1.0] - 2026-11-25
Agregado
ross-tcgp scan: lee toda la grilla de "My Cards" por adb, identifica cada carta contra
~4.600 imágenes de referencia y lee cuántas copias tienes; --quick lee solo lo nuevo.
- Comandos
show,diffyupdate; capturas de la colección en JSON en~/.local/share/ross_tcgp. scan --save-pages/--from-pagespara guardar las capturas y volver a leerlas sin el teléfono.