Skip to main content

A PyQt-backed program with a collection of tools and editors that make it easy to work with kotor files

Project description

HolocronToolset

A PyQt/PySide application that can edit the files used by the KotOR game engine.

Requirements

  • Python 3.8 through 3.12
  • qtpy (abstraction layer for pyqt5/6 and pyside2/6)
  • (Optional) A KotOR I or II game installed on your machine somewhere.

Local Run

With uv (from PyKotor repo root):

# End users (latest from PyPI)
uvx --refresh holocrontoolset

# Developers (local source)
uvx --with-editable Libraries/PyKotor --with-editable Tools/HolocronToolset holocrontoolset
uv run --directory Tools/HolocronToolset/src --module toolset

Without uv (activated venv, from Tools/HolocronToolset):

Windows

python -m pip install -r requirements.txt
$env:PYTHONPATH = (Get-Location).Path
python toolset/__main__.py

Unix

python3 -m pip install -r requirements.txt
PYTHONPATH=$PWD python3 toolset/__main__.py

Note for Alpine users:

You might get this error:

pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' instead

While we're not sure what the exact problem is, it seems newer python versions won't correctly be able to build pyqt5. If you don't have a binary available (--only-binary=:all: returns no versions) you'll need to downgrade python preferably to 3.8 or you won't be able to use qt5! See this issue for more information

Local Development

  • Clone PyKotor. Use uvx --with-editable to run from local source, or run install_python_venv.ps1 for a traditional venv setup.

Accessing the GUI Designer

python -m pip install qt5-applications

Then navigate to your Python's site-packages folder:

python -m site --user-site

Then navigate to ./site-packages/qt5_applications/Qt/bin and open the designer.exe file.

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

holocrontoolset-4.0.0b18.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

holocrontoolset-4.0.0b18-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

Details for the file holocrontoolset-4.0.0b18.tar.gz.

File metadata

  • Download URL: holocrontoolset-4.0.0b18.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for holocrontoolset-4.0.0b18.tar.gz
Algorithm Hash digest
SHA256 5d0f353b26696eb7d8a20d3942814b7fea6d13f49a3ebfab1407e1d27c25296f
MD5 d0b65b239797f6448ccd39fdab85151c
BLAKE2b-256 c1bec444805c5422fb492b2c01de48331c7f7ee9b6ba62e218977b2caea0716f

See more details on using hashes here.

File details

Details for the file holocrontoolset-4.0.0b18-py3-none-any.whl.

File metadata

File hashes

Hashes for holocrontoolset-4.0.0b18-py3-none-any.whl
Algorithm Hash digest
SHA256 1f521a48d731c9a94a7fb1e8ba030e9b43c80842e0416e8bb56bf4cb5ec9eaf5
MD5 a07f7dea2432a5f2d97f0fb585195171
BLAKE2b-256 b71640755a2077f0b9e25e0b755f18f954acb375305ab49ee6e80b336c1d00bc

See more details on using hashes here.

Supported by

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