Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.
/ CPR-Tools Public archive

some small scripts to make your time in Club Penguin: Rewritten a little easier.

License

Notifications You must be signed in to change notification settings

BLovegrove/CPR-Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

CP:Rewritten Tools

Some small scripts to make your time in Club Penguin: Rewritten a little easier.

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact

About The Project

Recently got my little group of gaming buddies into club penguin for a nostalgia trip. Unfortunately, I love decorating my igloo and very much do not like spending a year building up my gold reserves enough to do it properly.
when I finished the script that solved the gold issue (jackhammer-3001), I found it hard to keep up with certain minigames and the pizzatron-3001 was born.


(back to top)

Built With

(back to top)

Getting Started

Setting this up for yourself is fairly easy if you're on Linux. If you're on Windows, you'll need to find out how to get Tesseract running and I can't offer any guarantees as to performance or even basic functionality as tesseract has no official Windows binaries for its latest version(s) as of writing this.
Though if you've neevr tried linux, I'd highly recommend rying Pop!_os by System76 - It's a fantastic operating syustem and one that I use exclusively

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • Python 3.10
    sudo apt install python3.10 # Debian Linux
  • pipenv for python 3.10
    python3.10 pip install pipenv
  • Latest OpenCV version
    sudo apt install python3-opencv # Debian Linux
  • latest Tesseract version
    sudo apt install tesseract-ocr # Debian Linux

Installation

  1. Download / clone a copy of this repo
  2. Install prerequisits
  3. Run pipenv install inside cloned directory for dependencies
  4. Edit [display] category in the config.toml file to match your monitor

(back to top)

Usage

Pizzatron 3000 helper (AHK script)

Just start your script + pizzatron game, cover the pizza in sauce + cheese/sprinkles and then you can hit they keys 1/2/3/4 to instantly grab the 1st/2nd/3rd/4th ingredient from the cheese/sprinkles and move it to where your cursor is. This makes it as easy as following the pizza with your cursor and spamming the right key sequence. It doesnt work 100% of the time so just make sure it isnt dropping any toppings.

(Please note: This is old code so I won't be providing install or setup instructions. It's fairly straight forward though - just head to Auto Hotkey's website and ahve a look.)


Pizzatron 3001 Automaton (W.I.P)

Once you've run through your install process, jump into a terminal window inside the cloned git location (I'd recommend running VSCode as an editor which does this for you) and run the command 'pipenv run python -m toolbox' to start the bot.

The bot will wait until it finds the pizza ingredients / stats billboard before it starts running anything heavy. When it starts you'll get a p[op-up window that will update when the minigame starts. You can resize it and move it wherever is most convenient for you before the game starts.

Currently the bot is only capable of tracking objects and displaying a preview of what its tracking with labels / bounding boxes / tracking points. The next step I'm working on will allow the bot to add sauce + cheese/sprinkles to the pizza and any toppings required based on the name of the pizza you're being asked to make.

(back to top)

Roadmap

  • Simplify the Pizzatron-3000 ingredient gameplay to selecting a single key per ingredient
  • Use computer vision and OCR to completely automate the Pizzatron-3000
  • Automate more minigames!

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the Apache 2.0 License. See LICENSE.txt for more information.

(back to top)

Contact

Brandon Lovegrove - @B_A_Lovegrove - [email protected]

Project Link: https://github.com/BLovegrove/cpr-tools


Like my work?

Buy Me A Coffee

(back to top)

About

some small scripts to make your time in Club Penguin: Rewritten a little easier.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published