Package: jdNBTExplorer
jdNBTExplorerAn Editor for Minecraft NBT filesjdNBTExplorer 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.InstallFlatpakYou can get jdNBTExplorer fromFlathubAURArch Users can get jdNBTExplorer from theAURpipYou can install jdNBTExplorer fromPyPIusingpip:pipinstalljdNBTExplorerUsing 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 sourceThis is only for experienced Users and someone, who wants to package jdNBTExplorer for a Distro.
jdNBTExplorershould be installed as a Python package.
You can usepipor any other tool that can handle Python packages.
You need to havelreleaseinstalled to build the Package.
After that, you should runinstall-unix-datafiles.pywhich 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--prefixargument.
It also applies the translation to this files.
You need gettext installed to runinstall-unix-datafiles.py.Here's a example of installing jdNBTExplorer into/usr/local:sudopipinstall--prefix/usr/local.
sudo./install-unix-datafiles.py--prefix/usr/localTranslateYou can help translating jdNBTExplorer onCodeberg TranslateDevelopjdNBTExploreris written in Python and uses PyQt6 as GUI toolkit. You should have some experience in both.
You can runjdNBTExplorer.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.pyThis is the most important script. It will take all.uifiles injdNBTExplorer/uiand compiles it to a Python class
and stores it injdNBTExplorer/ui_compiled. Without running this script first, you can't start jdNBTExplorer.
You need to rerun it every time you changed or added a.uifile.BuildTranslations.pyThis script takes all.tsfiles and compiles it to.qmfiles.
The.tsfiles are containing the translation source and are being used during the translation process.
The.qmcontains the compiled translation and are being used by the Program.
You need to compile a.tsfile to a.qmfile to see the translations in the Program.UpdateTranslations.pyThis regenerates the.tsfiles. You need to run it, when you changed something in the source code.
The.tsfiles 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.pyThis regenerates the translation files indeploy/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.pyThis uses git to get a list of all Translators and writes it tojdNBTExplorer/data/translators.json.
This is used to display the translators in the About Dialog.
You need git to run this script.WriteChangelogHtml.pyThis read the Changelog fromdeploy/page.codeberg.JakobDev.jdNBTExplorer.metainfo.xml, converts it to HTML and writes it tojdNBTExplorer/data/changelog.html.
This is used to display the Changelog in the About Dialog.
You needappstream-pythonto be installed to use this script.