mungewell / zoom-zt2

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

Is there any way to quickly restore default effect list on G1four? #65

Closed pan-danio closed 5 months ago

pan-danio commented 9 months ago

Hey, im planning to sell my zoom g1four and i want to restore default fx list on my unit. Is there any quick method to do that? I want to delete all my added effecsts and install all missing from factory. I tried installing firmware once again, and initializing my unit. I have now default patches list, but some patches has excalmation mark in the chain, so no every effect is loaded. The bad thing is guitar lab shows 99% memory usage of the unit. Tried to use "G1_purge.sh" script in the scripts folder, modified it to ".bat" (im using windows) but every line i get and error: eg. python zoomzt2.py -U UK30A_1U.ZD2 -S empty.zt2 gives me zoomzt2: error: unrecognized arguments: empty.zt2 The empty.zt2 is present in local folder.

Maybe there is an easy solution for that?

mungewell commented 9 months ago

That script is 3yrs old, and perhaps is out of date with main program.

The fact that GL is reporting 99% space use suggests that the actual ZD2 files have not been removed. You can start the GUI app with the -D flag to enable a delete button on the files tab... which you can then use to manually delete files.

    parser.add_argument("-D", "--delete",
        help="enable button to delete files from device (use with care)",
        action="store_true", dest="delete")

Or alternately you can use xargs to pass multiple effect file names to the command line script. I'm away from my pedal, but that would look something like

$ ls *.ZD2 | xargs python3 zoom-zt2.py --uninstall 

or

$ cut -f 6 scripts/G1_everything.sh | xargs python3 zoom-zt2.py --uninstall 
pan-danio commented 9 months ago

Ok, thx for your answer. I have few more questions though:

1) Does G1_everything.sh script uploads all the default effects on g1? 2) I ran GUI with -D flag and i have "delete" button available. What is the difference from "Delete" btn on "Files" tab and "Remove" btn on "effects" tab?

nomadbyte commented 8 months ago

"Remove" is to uninstall an effect, which deletes the effect's ZD2 file from the pedal internal storage and removes a reference to the effect from the internal effect list file (FLST_SEQ.ZT2). "Delete" is just that, delete a file.

nomadbyte commented 8 months ago

For G1 FOUR, the default effect list:

filename name
COMP.ZD2 Comp
RACKCOMP.ZD2 RackComp
SLWATK.ZD2 SlowATTCK
ZNR.ZD2 ZNR
GRAYCOMP.ZD2 GrayComp
LMT1176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OCTAVE.ZD2 Octave
PITCHSHF.ZD2 PitchSHFT
HPS.ZD2 HPS
CLONECHO.ZD2 CloneCho
CRNTRI3S.ZD2 CoronaTri
BOMBER.ZD2 Bomber
HOTSPICE.ZD2 HotSpice
DELAY_3S.ZD2 Delay
ANDLY_3S.ZD2 AnalogDly
TAPEECHO.ZD2 TapeEcho
RVRSDL3S.ZD2 ReverseDL
MODDELAY.ZD2 ModDelay
PPDLY_3S.ZD2 P-P Delay
SOFTEC3S.ZD2 SoftEcho
ROOM.ZD2 Room
HALL.ZD2 Hall
HD_HALL.ZD2 HD Hall
SPRING.ZD2 Spring
FDSPRING.ZD2 FD Spring
PLATEREV.ZD2 Plate

When the corresponding effect list file (FLST_SEQ.ZT2) is missing, it will be regenerated automatically on boot up; all .ZD2 files found will be referenced.

NOTE: do NOT delete all files from the pedal, only .ZD2; other files (.raw, .BDL) must be present for proper functioning of the pedal.

mungewell commented 5 months ago

In order to 'reset' the pedal you can use zoomzt2-gui.py to remove all the effects, and then upload the default FLST_SEQ.ZT2 file. Guitar-Lab will then 'auto-magically' install all required effect files when the pedal is connected.

The 'FLST_SEQ.ZT2` file can be found in the unzipped FW from the appropriate pedal, or I have uploaded some 'build' scripts to effect directory... for example: https://github.com/mungewell/zoom-zt2/blob/master/zoom_fx_AllZDL7/G1%20FOUR/unzipped/FLST_SEQ.sh

To use the script method

$ cp EMPTY.ZT2 FLST_SEQ.ZT2
$ sh FLST_SEQ.sh
$ python3 zoomzt2.py -S FLST_SEQ.ZT2
pan-danio commented 5 months ago

Thx for your help Guys. I've done this by hand. I carefully checked this default effect list and list from my effect. Then i deleted all the unwanted effects and installed the missing ones. Case closed.