Python script to convert old resource archives into new Bundle format
Ilya Portnov
portnov at iportnov.ru
Sun May 31 18:34:19 UTC 2015
Hello all.
There are some number of brushes for Krita available in old-fashioned format, as a zip file with "brushes" and "paintoppresets" directories. Managing these
brushes manually when having "brand new" resource manager seemed to be hmm.. unelegant :) So I wrote a simple script that converts that archives into new bundle
format. Github link:
https://github.com/portnov/krita-bundler
USAGE
* Create a directory, say, ~/bundle.
* Put 'brushes' and 'paintoppresets' directories from old resource archive to that new directory.
* Put also file called preview.png into the same directory.
* Chdir to ~/bundle.
* Run create-krita-bundle.py from console/terminal emulator.
* It will ask you several questions about the bundle being created.
* As a result, it will produce *.bundle file.
* Import that file to Krita to test that it works as expected.
There obviously can be bugs, some of them because bundle format is not well documented and i had to reverse-engineer existing bundles :) Please fill free to
report bugs here or via github issue tracker. Patches are very appreciated :)
The script, i think, should be useful first of all for maintainers of existing brushsets; but it can be also useful for end users.
With best regards,
Ilya Portnov.
More information about the kimageshop
mailing list