-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comparing ZDL files with ZD2 #53
Comments
I'm not too sure, but can throw a 'mutant' ZD2 onto my 'crappy/broken' G1Four next weekend - I'd prefer to use this just in-case something goes massively wrong... In #52 we got the understanding that the 'OS' looks for a couple of Symbols in-order to read/display the Icon it uses on the pedal, and these are not in the It could be that the MS (ZDL) have a totally different way of sending/receiving audio to effect, and controlling it's settings... There's a project 'zdownload' which will automatically download all the effects from Zoom. I have the follow URLs.
|
Is there a particular reason (or effect) you want ZDL effects on the G1Four? Do the other ZD2 from the 'fancy' pedals cover your needs? |
I'm mostly just curious. I did see some ZDL effects that didn't seem to be on any of the ZD2 devices (e.g. LOFI Rev from the MS70CDR). I've just found https://github.com/ELynx/zoom-fx-modding
I got some dumps: There are some differences, it looks like. For example:
Compared to the ZDL's relocation table:
Not too sure how relevant it is though. |
The Zoom MS (multi-stomps) use ZDL format, which is ZDL 1.0, while we're dealing with ZD2 (2.0). The ZDL file starts with a rather short header, and the goes the ELF, no descriptions and JSON parts. Some effects are very much named the same as in ZD2 set, so must have been migrated from ZDL ( At some point, the software effort overpowers the direct utility of actually making use of the device for what it already can do. Though, I admit, at an instant being distracted by "Mangled Space" effect on MS-70CDR and even pulled the ELF to examine ( Anyway, before experimenting any further with the code non-native to the actual hardware series (G Series), I'd urge you guys try to figure out how to enable overwriting of the filesystem part of the Flash storage from the Firmware Updater. As you may know, for G1 FOUR (at least), the Firmware Update apparently overwrites only Boot, Main, and Presets parts, it skips the filesystem ref: Issue 37 . Thus if any patched or foreign module locks up on boot -- there's no easy way to overwrite the filesystem to Factory state as is in the Firmware, this would render the pedal unusable, just as @mungewell discovered with trying out V6-SP effects |
To be honest, I'm not too comfortable working on that. It seems like it's likely to brick your system if something does go wrong, and I don't have a broken pedal to test it with. I had a question though, around how many effects can you get on one of the devices? What is it limited by? I was thinking of remaking the 'compressor' that ELynx made for ZD2 by stripping the debug info, which seems easy enough to do. |
I've done this, my results are here: https://github.com/SafalChapagain/zoom-zd2-compressed Note: I haven't actually tested these yet. |
Following on from discussion yesterday, I spent a while looking at hexdumps of the I think that this is worth writing up as a Wiki, although this is really outside the scope of this project. But willing to host here and open up editing to the 'team'... If I was to suggest a path forward, it might be to look at how the BDL from the G1Four and B1Four vary. I suspect that this is a just a different EQ table - to make the pedal more suited to the bass frequencies. As to @nomadbyte suggestion on the installer, there's probably something that does a checksum/validation of the internal drive... once that code is found a simple hex edit could mean that it always fails and re-writes the internal drive. |
Stripping the debug info will just make the ELF somewhat smaller. So the direct benefit may be in freeing some internal space on the pedal's filesystem. In case of G Series this is not very relevant, as you can freely remove and install any ZD2 modules using either editors (GuitarLab, ToneLib) or this On the other hand, messing with assembly modules embedded in the effect's ELF is what the ELynx project is really about for the purpose of tuning the actual functioning of the effect. This part is akin to brain surgery, so one needs to know what to change -- a wrong or heavy-handed approach may lead to the effect's module locking up on boot, which would indeed render the pedal unusable. Thus, the Firmware Updater needs to be able to rescue the experimenter's ass, yet looks like it's not set up to do that, as is (for G1 FOUR at least). |
I started a write up here: |
I understand. I was thinking of trying to decipher the disassembled ELFs which might give some insight into porting ZDL effects to ZD2 hardware (and maybe make it possible to make your own ZD2s) but I'm not sure if it's worth the effort (and risk, now).
I see. |
@SafalChapagain Honestly I don't know, I suspect I happened to poke a wire at the right time.... for it to decide to fix itself. I also don't know if the contents of the drive was reset to that embedded within the FW image. |
@mungewell Do you have access to this G1Four now? Also, I tested the ZD2 files with the debug info stripped that I posted (https://github.com/SafalChapagain/zoom-zd2-compressed) and they work perfectly. Lets me get quite a few more effects on there before filling up the memory which is quite useful since I'm using it for both guitar and bass. |
G1 FOUR easily fits ~70 effect modules, dividing into 3 parts (Guitar, Bass, Acoustic Guitar) this evenly would yield ~23 modules in each group. Isn't it quite a bit? Imagine a pedal board even with a half of this count -- it would be quite enormous!! I guess, it starts with some strategy of what sort of "coloring" makes sense in a given context/style/instrument. Squeezing in a few more effect modules won't solve this as such, in fact it may just muddy this even more, as some effects are just marginally different. This |
@SafalChapagain I was able to test with my 'broken' G1Four this morning and can confirm that 'mutant' ZD2 are not a good idea... after upload the pedal crashed and would not connect (midi) to PC when rebooted. Do NOT uploaded a 'mutant' (ZDL in ZD2 container), you will BRICK your pedal. Characteristic; after boot the LEDs do their 'sweep' the pedal and would normally light a single LED (indicating the group 1-5), this did not happen with bricked pedal and no LEDs were lit. This pedal has broken screen and I can not tell if there was any on-screen message. Pedal was NOT recovered by re-flashing the FW. Finally I was able to recover, by temporarily/intermittently/randomly shorting the various pins of the SPI EEPROM to ground whilst rebooting. When 'successful' a single (group) LED was lit and I could use my After which the pedal you boot normally. |
The fw installer apparently does not rewrite the flash memory content; not in the normal running mode, at least. It's easy to confirm this by deleting some installed by default .ZD2 (like |
Are the compressed ZD2s still okay though? |
If this works, this is an absolute game changer for me. I recently took up Bass and was having to face the possibility of getting a second unit. Now I should be able to fix on some Bass amps as well as some effects I didn't previously have space for. Thank you for this. |
Yeah, they seem to work. I've got the compressed versions running on my G1X Four right now (in fact for your exact use case as well). Use the bass amps/effects from the B1X Four for the best results. A lot of the ones from the upgraded models don't work on the G1/X Four, though there are actually some that do. |
Just one more issue! The compressed G11 files seem to be outdated - they recently added all the bass effects among other things, some of which I don't think are available on the B1xFour/B3n but may work. Specifically, the Bass Analogue Octave effect. I also want to chance my ass with the SUNN amp and see if I can get it working(hopefully there'll be a workaround for the multiscreen thing). The only version is the G6 version which seems to have a strange format compared to the others(everything ends in 88). I was able to get the Polyshift from the G11 to work, amazingly, so there's hope for other effects. If I can find a more recent dump I can try some stuff out and see what works, is it easy enough to compress them myself? Do I have to disassemble? |
Just tried the AnaOct - it loads! https://drive.google.com/file/d/1tjwrN_zcD5X8I8RkbPobnA-PuioDkrQs/view?usp=sharing here's the file for future inclusion. you can get the rest of the files downloading the latest G11 update and extracting |
Disassembling the ZD2 ELF and ZDL ELF for Exciter, you can see that they're actually not too dissimilar.
I used the V1.0 Exciter.ZD2 from here: https://www.zoom.co.jp/archive/ZDLM/ZDLF/EXCITER.zip
And the ZDL from the MS70CDR from here: https://github.com/shooking/ZoomPedalFun/tree/main/MS70CDR/DerivedData/2.10
I disassembled it using the assembly tools from here: https://www.ti.com/tool/C6000-CGT
I wonder if ZDL ELFs will just work on ZD2 pedals outright, as long as you use some other ZD2 as a base? My G1X Four hasn't actually arrived yet, but I'd be willing to try doing that.
out_zdl.txt
out_zd2.txt
Side note: where did you get ALLZDL7.lst from? I can't seem to get it from https://www.zoom.co.jp/archive/ZDLM/AllZDL7.lst
The text was updated successfully, but these errors were encountered: