Skip to content

kxzk/pokebot

Repository files navigation



phone



screen_size: 1080x2340


references


  • limitless tcg deck builder
https://my.limitlesstcg.com/builder
  • scrape all card data
# GET
https://api.dotgg.gg/cgfw/getcards?game=pokepocket&mode=indexed&cache={cache_idx}
  • scrape all card image data
https://ptcgpocket.gg/cards/
  • static URL for card images
https://static.dotgg.gg/pokepocket/card/{card_number}.webp
  • name of app
jp.pokemon.pokemontcgp


openai models


# (if share, increased free token limits)
# ** - supports image upload
o3-2025-04-16** -> (10 per 1M)
o4-mini-2025-04-16 -> (1.1 per 1M)
gpt-4.1-nano-2025-04-14** -> (0.1 per 1M)
gpt-4.1-mini-2025-04-14** -> (0.4 per 1M)
gpt-4o** -> (10 per 1M)
gpt-4o-mini** -> (0.60 per 1M))
o3-mini -> (4.40 per 1M)


scrcpy


./scrcpy --start-app=jp.pokemon.pokemontcgp
-Sw # stay-awake + turn-screen-off = prevent device from sleeping

--show-touches         # show touches


adb


adb shell pidof -s jp.pokemon.pokemontcgp # get pid
adb logcat --pid=<pid> # get logcat for pid

adb shell getevent -lt > touches.log # get touch events

adb shell ls # list files in device
adb shell rm # remove files in device

# screenshots
adb exec-out screencap -p > screen.png
adb shell screencap /sdcard/test.png
adb pull /sdcard/test.png test.png

adb shell wm size # get current resolution
adb shell input tap <X> <Y>           # tap
adb shell input swipe <X1> <Y1> <X2> <Y2> <duration> # swipe
adb shell input text 'Charmander' # type text

adb shell settings get system show_touches # get show_touches values


About

🐍 [wip] pokemon pocket bot, zig, LLM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published