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.3.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tooner-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 62b0c92990e3d53545ec202e60331008020c4b8d822a470955f0231948a34127
MD5 70723b4f0d77f552037c4f56da3c0373
BLAKE2b-256 a7e516f6e8050c2299f602ea85df7f7f18e3433a2614d766a3e15d3ba12985fc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tooner-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c0f0378a63c8892a5c4c5cb0e245209c47eefed77bbd2d5289c017886a20fd29
MD5 024e37f1facd6b0a5ac8c116b0b91d55
BLAKE2b-256 a4a6227beb07dd31b3566029ec949e6d6247c15a30efb82f670deedcf3316604

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