Skip to main content

A simple program for creating animated Images

Project description

jdNBTExplorer

An Editor for Minecraft NBT files

jdNBTExplorer

jdNBTExplorer allows you to edit NBT files. NBT is a custom file format used in Minecraft to store data related to your worlds. With jdNBTExplorer, you can view and edit these files directly.

Install

Flatpak

You can get jdNBTExplorer from Flathub

AUR

Arch Users can get jdNBTExplorer from the AUR

pip

You can install jdNBTExplorer from PyPI using pip:

pip install jdNBTExplorer

Using this Method, it will not include a Desktop Entry or any other Data file, so you need to run jdNBTExplorer from the Command Line. Use this only, when nothing else works.

From source

This is only for experienced Users and someone, who wants to package jdNBTExplorer for a Distro. jdNBTExplorershould be installed as a Python package. You can use pip or any other tool that can handle Python packages. You need to have lrelease installed to build the Package. After that, you should run install-unix-datafiles.py which wil install things like the Desktop Entry or the Icon in the correct place. It defaults to /usr, but you can change it with the --prefix argument. It also applies the translation to this files. You need gettext installed to run install-unix-datafiles.py.

Here's a example of installing jdNBTExplorer into /usr/local:

sudo pip install --prefix /usr/local .
sudo ./install-unix-datafiles.py --prefix /usr/local

Translate

You can help translating jdNBTExplorer on Codeberg Translate

Develop

jdNBTExploreris written in Python and uses PyQt6 as GUI toolkit. You should have some experience in both. You can run jdNBTExplorer.pyto start jdNBTExplorer from source and test your local changes. It ships with a few scripts in the tools directory that you need to develop.

CompileUI.py

This is the most important script. It will take all .ui files in jdNBTExplorer/ui and compiles it to a Python class and stores it in jdNBTExplorer/ui_compiled. Without running this script first, you can't start jdNBTExplorer. You need to rerun it every time you changed or added a .ui file.

BuildTranslations.py

This script takes all .ts files and compiles it to .qm files. The .ts files are containing the translation source and are being used during the translation process. The .qm contains the compiled translation and are being used by the Program. You need to compile a .ts file to a .qm file to see the translations in the Program.

UpdateTranslations.py

This regenerates the .ts files. You need to run it, when you changed something in the source code. The .ts files are contains the line in the source, where the string to translate appears, so make sure you run it even when you don't changed a translatable string, so the location is correct.

UpdateUnixDataTranslations.py

This regenerates the translation files in deploy/translations. these files contains the translations for the Desktop Entry and the AppStream File. It uses gettext, as it is hard to translate this using Qt. These files just exists to integrate the translation with Weblate, because Weblate can't translate the Desktop Entry and the AppStream file. Make sure you run this when you edited one of these files. You need to have gettext installed to use it.

UpdateTranslators.py

This uses git to get a list of all Translators and writes it to jdNBTExplorer/data/translators.json. This is used to display the translators in the About Dialog. You need git to run this script.

WriteChangelogHtml.py

This read the Changelog from deploy/page.codeberg.JakobDev.jdNBTExplorer.metainfo.xml, converts it to HTML and writes it to jdNBTExplorer/data/changelog.html. This is used to display the Changelog in the About Dialog. You need appstream-python to be installed to use this script.

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

jdNBTExplorer-2.1.tar.gz (52.4 kB view details)

Uploaded Source

Built Distribution

jdNBTExplorer-2.1-py3-none-any.whl (56.3 kB view details)

Uploaded Python 3

File details

Details for the file jdNBTExplorer-2.1.tar.gz.

File metadata

  • Download URL: jdNBTExplorer-2.1.tar.gz
  • Upload date:
  • Size: 52.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for jdNBTExplorer-2.1.tar.gz
Algorithm Hash digest
SHA256 ea94f17026538240f12a54f8833d66b60298746860e0b2bde0f29e5a22e2653f
MD5 ccdca5349c0d7c18b2f7a536645bfff3
BLAKE2b-256 d4841edb6c690d18916090423cd6050343fd71df740bd12641b46f93d0c6b399

See more details on using hashes here.

File details

Details for the file jdNBTExplorer-2.1-py3-none-any.whl.

File metadata

  • Download URL: jdNBTExplorer-2.1-py3-none-any.whl
  • Upload date:
  • Size: 56.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for jdNBTExplorer-2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d03bbcd1d7a23cdab62f4e29f8408b8f3266577048a9b538feee3a285369061
MD5 506f414fc17e0c565dc9a384545dfb05
BLAKE2b-256 fc4960371100973712082e91e2ee076b147f75b04d7528c5f03dcc78dd26fb3a

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