A C++ implementation of the Toontown OTP's Message Director component for improved performance over the Python implementation with bindings for Python.
To compile libotp, run python build.py.
When the compilation finished, there should now be a libotp.pyd / libotp.so (depending on your platform) generated. This file gets placed in the source repository of the game
- The Panda3D SDK (get it here)
- CMake 2.6 or higher (get it here)
- windows only: The thirdparty folder installed in the Panda3D sdk folder (See here)
For compiling on Windows 32 bit:
- Visual Studio 2010/2015
For compiling on Windows 64 bit:
- Visual Studio 2010/2015
- Windows SDK 7.1 (be sure to tick the VC++ 64 bit compilers option)
Please clean up your built directories after changing the configuration! You can
do so with passing --clean in the command line.
Command line options are:
--optimize=Nto override the optimize option. This overrides the option set in theconfig.ini--cleanto force a clean rebuild
Further adjustments can be made in the config.ini file:
- You can set
generate_pdbto0or1to control whether a.pdbfile is generated. - You can set
optimizeto change the optimization. This has to match the--optimize=option of your Panda3D Build. - You can set
require_lib_eigento1to require the Eigen 3 library - You can set
require_lib_bulletto1to require the Bullet library - You can set
require_lib_freetypeto1to require the Freetype library - You can set
verbose_igateto1or2to get detailed interrogate output (1 = verbose, 2 = very verbose)