Skip to content

rengare/rencounter_counter

Repository files navigation

Rencounter counter 0.0.2

Description

Encounter counter for the Pokemmo. It is a simple tool to keep track of the number of encounters in the game.

Features

  • Automaticaly Count the number of encounters
  • Reset the counter
  • Automaticaly state of the counter to a file
  • Automaticaly load the state of the counter from a file if exists
  • Start / pause mechanism

How to use

Watch the video

Linux

  • open terminal
  • go to the directory of app
  • run the following command
./rencounter_counter_linux

Mac

  • double click on the app
  • hit s
  • mac will ask you to give terminal permissions to take screenshots
  • hit ok
  • close terminal and run app again

Download stand alone app

If you don't want to install Rust and run the app from the terminal, you can download the stand alone app from the following link [Download the app(https://github.com/rengare/rencounter_counter/releases)

image

Recomendation

Rencounter grabs a screenshot of your screen, cuts the height in half and take upper half (see picture) It is recommended to play the game with 1920x1080 resolution and make the game bigger than half the width. Though you can still play with lower resolution but you need to find a good spot. image

How build it from source

Linux

  1. Install dependencies Ubuntu / Mint / Debian / PopOS
sudo apt-get install build-essential libxcb-shm0-dev libxcb-randr0-dev xcb git

Fedora / RedHat

sudo dnf install @development-tools gcc gcc-c++ make git libxcb-devel xcb-util-keysyms-devel xcb-util-devel xcb-util-wm-devel

Arch

sudo pacman -S base-devel git xcb-util xcb-util-keysyms xcb-util-wm

Windows

  1. Install Visual Studio 2022 with C++ build tools https://visualstudio.microsoft.com/downloads/

Mac

  1. Install Xcode from the App Store

All platforms

  1. Clone the repository
  2. Install Rust language from here
  3. Run the following command in the terminal
git clone github.com/rengare/rencounter_counter
cd rencounter_counter
cargo run --release

TODO

  • Add a stand alone app
  • Test on Windows and Mac(pre M1 and post)
  • Show top 5 mons with the most encounters
  • Remove reading/writing from file/to file every 100MS, use buffer instead
  • Save number of encounter per mon
  • Retrain AI model with Pokemmo fonts or use different fonts that work better with the current model
  • Detect when the game is covered by another app and pause the counter
  • Add a way for user to select encounter area on screen