Skip to main content

An easier way to manage and launch sessions for Toontown Rewritten.

Project description

An easier way to manage and launch sessions for Toontown Rewritten.

What does it do?

Currently, tooner allows you to communicate with Toontown Rewritten's login API in order to log in and start a session with very few lines of code.

launcher = tooner.ToontownLauncher(directory="...")
launcher.play(username="username", password="password")

If you're crazy, you can even combine these lines into one!

All you have to do is supply the directory of your Toontown Rewritten installation (where the TTREngine is stored) and your login information. On Windows, check your program files directories. On MacOS, this is in your Application Support directory. Eventually, I'd like to make this library automatically find the installation.

The best part is that you can do this to play multiple toons at once.

Why does this exist?

Since I normally play on MacOS, there is no way for me to open multiple sessions of the Toontown Rewritten launcher without doing it from the terminal; this was really annoying to do every time I wanted to multitoon (which is a lot), so I set out to make this easier.

Ultimately, I was successful in making this functionality work the three major operating systems: Windows, MacOS, and, I assume, on Linux (I haven't been able to test this).

How do I get it?

It's easiest to simply install the package via pip using the following command:

pip install tooner

Otherwise, you can close this repository using the command

git clone https://github.com/jakebrehm/tooner.git

and then you can do whatever you want with it!

Future improvements

The most pressing major improvement that could be made is adding support for ToonGuard. The only problem is writing it in such a way that makes sense while keeping in mind tooner's two-line launcher paradigm, as it would require the user to enter a code after having run the script.

Projects using tooner

The following projects are using tooner:

  1. MultiTooner by Jake Brehm

Authors

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

tooner-1.0.4.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

tooner-1.0.4-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file tooner-1.0.4.tar.gz.

File metadata

  • Download URL: tooner-1.0.4.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.4 Darwin/19.5.0

File hashes

Hashes for tooner-1.0.4.tar.gz
Algorithm Hash digest
SHA256 b579219e15e2174e205535a64fb25a248f06c25c21ba0cb933eea72dd74f7a00
MD5 7b6c5754ae385a4d9e3c16f3a8bd17b3
BLAKE2b-256 93767f4f67874ed0144edfc226e45d44d400da77a871a399cdd3037af75b94da

See more details on using hashes here.

File details

Details for the file tooner-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: tooner-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.4 Darwin/19.5.0

File hashes

Hashes for tooner-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 14b355fa6994ddad95fc26eb27950d63a6eb9a83b36e9154534d882d61331d98
MD5 2bd3f7085b82a676553a9c9b8765899e
BLAKE2b-256 bbbc0050c8d5c59c90c58ae8c741a58a05e09da4d160336613d57080715d919c

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