mungewell / zoom-zt2

Python script to install/remove effects from the Zoom G1Four pedal
MIT License
50 stars 10 forks source link

Derive parameters and ICON from Zoom pedal #29

Closed shooking closed 2 years ago

shooking commented 2 years ago

Hi Mungewell I see you added some new functionality - ICON - is this pulling the bmp data out? I modified your code to pull out the BMPs, the JSON for parameters/description and midi max values. Alas the code isnt elegant. I am sure you can do it much better. Is this of any interest?

Best regards Steve

mungewell commented 2 years ago

I already added a control for extracting/saving the BMP to disk. In theory we could also read from disk and insert a new icon into the ZD2. https://github.com/mungewell/zoom-zt2/blob/master/decode_effect.py#L46

Adding the same for JSON is trivial. I have not looked at the content yet, but assume that it's easy to parse with element tree or the like.

The few Bytes after each of the 'name' and 'groupname' were a bit weird, I think they are just random padding - but not 100% sure.

mungewell commented 2 years ago

Closing as I've published v0.6.0 with the abilities to extract the various segments of the ZD2.