No description
Find a file
2021-07-07 17:51:38 -04:00
astron darwin: Scripts are now executable 2021-07-07 17:51:38 -04:00
darwin darwin: Scripts are now executable 2021-07-07 17:51:38 -04:00
etc ai: Remove old magic word code 2021-07-07 14:07:44 -04:00
libotp libotp: Use the libotp that's in our Panda3D 2021-06-01 15:11:40 -04:00
libtoontown libtoontown: Use the libtoontown that's in our Panda3D 2021-06-01 14:55:48 -04:00
linux launcher: Use quick launcher by default 2021-07-03 22:02:19 -04:00
otp ai: Remove old magic word code 2021-07-07 14:07:44 -04:00
toontown ai: Remove old magic word code 2021-07-07 14:07:44 -04:00
win32 launcher: Use quick launcher by default 2021-07-03 22:02:19 -04:00
.gitignore launcher: Remove deprecated downloader code 2021-06-29 19:28:49 -04:00
LICENSE general: Add LICENSE 2019-11-08 18:57:25 -05:00
PPYTHON_PATH win32/linux: Add start up scripts and add win32 Astron binaries. 2021-06-05 01:23:03 -03:00
README.md readme: Include Panda3D for macOS + Instructions 2021-06-18 09:07:14 -03:00
requirements.txt Create requirements.txt 2019-12-30 20:54:25 -05:00

Open Toontown

This repository contains the code for Open Toontown, based on the latest version of Disney's Toontown Online (sv1.0.47.38).

Setup

After cloning the repository, you will need to clone the resources repository inside the directory where you cloned the source repo.

Secondly, you would have to install and use a specific version of Panda3D, which includes libotp and libtoontown. You can use the prebuilt installers for your operating system here:

Windows

You can install Panda3D SDK through the 32-bit (x86) or 64-bit (x86_64) installers here:

Panda3D SDK for Windows (Python 3.9, x86)

Panda3D SDK for Windows (Python 3.9, x86_64)

If you install Panda3D outside the default directory (or use the x86 installer), you may have to change the PPYTHON_PATH file located in the root directory and change it to your install directory.

macOS 10.9+

Panda3D Wheel for macOS 10.9+ (Python3.9, x86_64)

Installing the provided Panda3D wheel requires Python 3.9, which is not installed on your system by default whatsoever. We recommand installing Python 3.9 through Homebrew (Make sure that the xcode command line tools are installed first xcode-select --install):

$ brew install python@3.9

(This will symlink Python 3.9 to python3.9 and pip to pip3).

After installing Python 3.9. You can then install the wheel by using pip:

$ pip install panda3d-1.11.0-cp39-cp39-macosx_10_9_x86_64.whl

Linux (Building your own)

If you use Linux, or are interested in building Panda3D yourself, head on over to our Panda3D fork and read the "Building Panda3D" section on the README file there.

Starting the Server and Game

To start the server and run the game locally, go to your platform directory (win32 for Windows, darwin for Mac and linux for Linux), and make sure you start the following scripts in order:

Astron Server -> UberDOG (UD) Server -> AI (District) Server -> Game Client

Be sure to wait till the servers have finished booting before starting the next. If everything's done correctly, you should be able to make your toon and play the game! There is no support for Magic Words (commands) yet, but it is currently in the works!

Contributing

Submitting issues and Pull Requests are encouraged and welcome.

How you commit changes is your choice, but when committing, please include what you did as well as a basic description, just so we know exactly what you did. Here are some examples:

  • minigames: Fix crash when entering the trolley
  • racing: Fix possible race condition when two racers tied
  • golf: Refix wonky physics once and for all (hopefully)