Skip to content

c0nD/CreampuffBOT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CreampuffBOT

Creampuffbase

License: MIT python: 3.0+ poetry: 1.5+ Git
CRK Guild Battle OCR Data Logger

This bot/program's purpose is to take a folder of screenshots containing guild battle hits from Cookie Run: Kingdom and serialize them into a .csv file to perform further data analysis on.

Example output for an average week's worth of hits.

Install/Build Instructions

Prerequisites

Git Preinstalled on Macs and most Linux/Unix distros
Python (>3.0) Note: make sure to add it to PATH (Windows)
Poetry
FFmpeg For those who want to use the video -> screenshot feature

if Python is installed, you can do pip install poetry and check your installation with poetry --version

Dependencies

  • To install the Python dependencies using Poetry, navigate to the project root directory ./CreampuffBOT and run:

poetry install

if this doesn't work, you can do pip install -r requirements.txt

GPU / CUDA Info

  • This program is intended to be run on CUDA compatible GPUs. Because this program does a lot with image processing: having a GPU that can be properly taken advantage of by the program will dramatically improve runtime.
  • Is my GPU CUDA compatible? -- Most NVIDIA graphics cards are CUDA compatible. AMD cards are not compatible. Intel cards also do not currently support CUDA. For more information and to check if your card is compatible, check here: https://developer.nvidia.com/cuda-gpus

CUDA Installations

To take advantage of your GPU, you will need to have a few things downloaded:

  1. Your drivers should be up to date. https://www.nvidia.com/download/index.aspx
  2. The CUDA toolkit needs to be installed. https://developer.nvidia.com/cuda-toolkit
  3. PyTorch (CUDA) must be installed. https://pytorch.org/get-started/locally/
    The command for Windows + CUDA 11.7 was pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117 -- this may vary.

*NOTE: If you installed dependencies to a virtual environment with poetry, please do poetry shell before running this command

  • To check your installation, you can run these two commands in a python shell to test if you can successfully utilize your GPU with this program.
import torch
torch.cuda.is_available()

About

CRK Guild Battle OCR Data Logger

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages