Circuit Patch converter takes in a .circuittrackspack (or other .zip file),
extracts the patches and converts these to the OG circuit format.
It does this by altering the 5th hexadecimal value from 64
to 60
.
By Kamiel de Visser (you can buy me a coffee here, or scan the following QR :D).
Requirements:
- Python 3.6+
Step by step example:
- Clone this repository or download it as a .zip
- (Extract zip to a directory)
- Put your .circuittrackspack files in a folder called 'Packs' (like
someDir\CircuitPatchConverter\Packs
) - Open your favourite console that supports python and navigate (using
cd
) tosomeDir\CircuitPatchConverter\
- Launch the script using
python circuit-convert.py -i ./Packs/example.circuittrackspack
- Find your newly converted patches in
someDir\CircuitPatchConverter\Patches
Please note: this program will overwrite existing .syx
files in the output folder. If you are converting multiple packs one by one, be sure to alter the output directory using the -o
option.
Usage:
python circuit-convert.py -i <inputfile> \[-o <outputfile> -p <pathinzip> -h <help>\]
short | long | name | description | default |
---|---|---|---|---|
-i | --input | input file | The file path of the .circuittrackspack or .zip to extract. | N/A |
-o | --output | output file | The path of the folder to extract the converted patches to. | ./Patches/ |
-p | --pathinzip | path in zip file | Path to folder in the zip file that contains the patches. | patches/ |
-h | --help | help | Shows the help message. | N/A |