Skip to main content

A Python binary package that will help you calculate gag combinations on the fly!

Project description

TT-Damage-Calculator

Badge showing the current workflow status of the Toontown Damage Calculator Badge showing the latest release of the Toontown Damage Calculator. Badge showing the license of the Toontown Damage Calculator. Badge showing the number of downloads the Toontown Damage Calculator has received.

Gag damage calculator for Toontown Rewritten.

The Program

Downloading

Windows, Linux, and MacOS Executable

The executable version of the calculator requires the least setup, and is highly portable with the limitation that it only easily works on devices running the required operating system. You can find a download for the latest version of the executable either at https://github.com/Vhou-Atroph/TT-Damage-Calculator/releases/latest/ on GitHub, or at https://vhou.gloop.group/projects/gagcalc near the bottom of the page.

The downloaded archive should contain the executable, a LICENSE file, and the assets folder. Once you extract the zip file to your preferred directory, the calculator should run normally!

Note: The MacOS executable version of the gag calculator may not work properly, as it is untested due to a lack of access to the relevant hardware.

Linux Executable

The Linux executable is compiled on an Ubuntu Github Actions runner, but the application should work on any distribution that uses glibc.

TT-Damage-Calculator running on Arch Linux

Python Package

Downloading the Toontown Damage Calculator as a Python package will require downloading the Python programming language and pipx. Once this is done, you can open your command terminal and run the following command:

pipx install tt_damage_calculator

If you don't want to use pipx, pip install tt_damage_calculator should also work.

This will install the calculator as a Python package to your computer. You can run the calculator from the command line by inputting one of the following commands into your terminal:

tt-damage-calculator
tt_damage_calculator

If you are unable to download the calculator via pip for your system, you will need to build it yourself by following the Building: Wheels (All Platforms) guide on the wiki.

On Linux and MacOS

On certain Linux distributions and MacOS, your installation of Python may not come with tkinter, which will greatly restrict your ability to run the program (you won't be able to). You can fix this with one of the below commands:

sudo apt-get install python3-tk # Debian based distributions
sudo dnf install python3-tkinter # Fedora based distributions
sudo yum install python3-tkinter # RHEL based distributions
sudo pacman -Syu tk # Arch based distributions
sudo zypper in python-tk # openSUSE based distributions
sudo xbps-install python3-tkinter # Void based distributions
brew install python-tk # MacOS

For other distributions, you will need to consult your wikis:

Arch User Repository

If you use an Arch-based Linux distribution, you can download the calculator through the AUR! To do so, you can run the following commands through your terminal:

git clone https://aur.archlinux.org/tt-damage-calculator.git
cd tt-damage-calculator
makepkg -si

Alternatively, you can use an AUR helper to install the package. Once it is installed, you will be able to run the program on the command line just as if you downloaded it as a Python package:

tt-damage-calculator

Building

There are guides on the repository's wiki for building the calculator:

Usage

The TT-Damage-Calculator wiki has several guides on the usage of the program:

Gag Selection

Click any gag on the grid to add it to the calculation.

Statuses/Modifiers

There are three buttons available above the gag selection that allow for certain functionalities: if a cog being lured that round, whether a gag is organic or not, and the ability to reset the current calculation. Other cog modifiers such as defense can be found in the menu bar under "Calculations."

Other Features

There are two buttons in the bottom right corner of the program.
'Clear History' will clear all text in the History panel, which logs previous calculations.
'Show Health and SOS Cards' brings up a grid of all cog health values from Level 7 to Level 20, as well as the major SOS cards for Trap, Sound, and Drop. This can be toggled by clicking on it a second time.

The program has various keybinds to expedite calculation:

Keybind Description
shift Toggle Organic
ctrl+l Toggle Lure
ctrl+r Reset Calculation
ctrl+d Cycle Defense
alt+d Cycle Negative Defense
ctrl+x Lock/Unlock statuses
alt+up Toggle Pinned Window

It is possible to change these keybinds. There is a guide on the wiki to doing so on the Usage: Keybinds page.

License

Code in TT-Damage-Calculator is licensed under the GNU General Public License v3.0.

Final Notes

ko-fi

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tt_damage_calculator-4.3.2.tar.gz (2.3 MB view details)

Uploaded Source

Built Distributions

tt_damage_calculator-4.3.2-cp312-none-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.12 Windows x86-64

tt_damage_calculator-4.3.2-cp312-none-win32.whl (1.6 MB view details)

Uploaded CPython 3.12 Windows x86

tt_damage_calculator-4.3.2-cp312-cp312-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

tt_damage_calculator-4.3.2-cp312-cp312-macosx_10_12_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12 macOS 10.12+ x86-64

tt_damage_calculator-4.3.2-cp311-none-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.11 Windows x86-64

tt_damage_calculator-4.3.2-cp311-none-win32.whl (1.6 MB view details)

Uploaded CPython 3.11 Windows x86

tt_damage_calculator-4.3.2-cp311-cp311-manylinux_2_34_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.34+ x86-64

tt_damage_calculator-4.3.2-cp311-cp311-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

tt_damage_calculator-4.3.2-cp311-cp311-macosx_10_12_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11 macOS 10.12+ x86-64

File details

Details for the file tt_damage_calculator-4.3.2.tar.gz.

File metadata

File hashes

Hashes for tt_damage_calculator-4.3.2.tar.gz
Algorithm Hash digest
SHA256 5f17f66b7d86cfd8f27cfdd51c28064d306a0daa5b8db9d2e45c96b40340d980
MD5 8fb2448e66cda7e5bee699eaeb9a8ef5
BLAKE2b-256 66df696f674406f37fd6675a9baa00a9321563734fca25026c36d6746155314d

See more details on using hashes here.

File details

Details for the file tt_damage_calculator-4.3.2-cp312-none-win_amd64.whl.

File metadata

File hashes

Hashes for tt_damage_calculator-4.3.2-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 dbf6da6fa62719503355feee4f349ff0e663305d4888a4f83d535a1089c38f17
MD5 3a71e3210223e6a5e9e07dc56e7d48f4
BLAKE2b-256 50940046cbb8623c2c9802d6fb95d1585854d0089c87bdcb35b9e885333358b9

See more details on using hashes here.

File details

Details for the file tt_damage_calculator-4.3.2-cp312-none-win32.whl.

File metadata

File hashes

Hashes for tt_damage_calculator-4.3.2-cp312-none-win32.whl
Algorithm Hash digest
SHA256 e4b14c904a4e28d39f9acd7c48fd1aaf06f2c792ab8388b1ca6d373e1e4573f3
MD5 18d82299ecd39aeb0916aa3ea8b139dd
BLAKE2b-256 2db96a8f9e838802e10ab09ced568cdd9d9d0060ae7242e1cd7adc9cd44597bb

See more details on using hashes here.

File details

Details for the file tt_damage_calculator-4.3.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tt_damage_calculator-4.3.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5e78cd1ba8a6e4d83ba9d5201aba7091e64d8202e5a245c390ad27a630756ece
MD5 81b09f01a255af452fa3a0f7982bc8e5
BLAKE2b-256 50170838a04f67737f48623230de2d6979b49451316ce6f47895a89ea2292b2d

See more details on using hashes here.

File details

Details for the file tt_damage_calculator-4.3.2-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for tt_damage_calculator-4.3.2-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 65d2ef9c7c0630a9186bad25feddd58c2d7c39b489d5e75e6a53982c350f3f21
MD5 dafa3990a46eb1559dca22e8b88acb9d
BLAKE2b-256 3e1728213cf42476b84943e43b6b0c059bcf33ca9c31427c9133bbde8667906a

See more details on using hashes here.

File details

Details for the file tt_damage_calculator-4.3.2-cp311-none-win_amd64.whl.

File metadata

File hashes

Hashes for tt_damage_calculator-4.3.2-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 d29b86f391c985222e333ea785b33589f08defb320728f6e68db79ffd63222c2
MD5 ebfce9a5a36375435512eee66cf73230
BLAKE2b-256 1cc68219b9ae96300e3f1f5fd0cab2aa4cde1d7d2e0e492c8c80dc80bb10ce91

See more details on using hashes here.

File details

Details for the file tt_damage_calculator-4.3.2-cp311-none-win32.whl.

File metadata

File hashes

Hashes for tt_damage_calculator-4.3.2-cp311-none-win32.whl
Algorithm Hash digest
SHA256 b5e4904e6f09c7b4c5c62eac07ff36c52f39ac52331f9b0cf765b383f59af818
MD5 41b3718ed13535735331873ac514856d
BLAKE2b-256 6dffaa76f28b542ee19514b925427e39589e564373f53ba163df5d51b14adeee

See more details on using hashes here.

File details

Details for the file tt_damage_calculator-4.3.2-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for tt_damage_calculator-4.3.2-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 bd2d28aa31bab31a42f25ba1a32dcf6a1ebff66ca0c686799fffd4d12d5822e5
MD5 54f12841171c486d5cfdd7523fe994fb
BLAKE2b-256 5db3f979e8f03cedf571a0d2fac1da17c7118ee2006d9a7b956981d071420932

See more details on using hashes here.

File details

Details for the file tt_damage_calculator-4.3.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tt_damage_calculator-4.3.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a32193b02c9614385b7915b2eacd0b19705493fdf2145ecf971a27bfc625c265
MD5 4a6929bfb2364e47cc1fa2224b10b014
BLAKE2b-256 aadfc591cbee5ab9bb0ee2bda4497e3c1f91aeb6b73583b4ecd0ae4f39aa4187

See more details on using hashes here.

File details

Details for the file tt_damage_calculator-4.3.2-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for tt_damage_calculator-4.3.2-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 df2d43544e04b2b155bb09fe615021b849e7f712cb344625bdfffc081d1ff033
MD5 e45673b2bddb6d62290dd41c1173fba2
BLAKE2b-256 50d9672ef74cd5cdb2e361805a6a1b3486456d9e4a0d1ec5f68f0dd372c9cf12

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page