You must have the MOTOTRBO CPS already installed,before you can run these tools.
Copy the content into a folder like C:\temp
Run CodeplugPrepare.exe.If you find codeplug.cfg in C:\temp all is ok.
Copy a codeplug to modify into C:\temp and rename it to codeplug.ctb.
Now you can use the Decode.bat/Encode.bat to read and write codeplugs.
CODEPLUG.ctb.xml is the unpacked codeplug.
CODEPLUG.ctb.xml.ctb is the repacked codeplug.