I may be the only one who writes his own, supplementary, U2 frames. If so, then no one needs the program I wrote to preserve those when updating U2.
But here it is, if anyone out there in Xy-land wants it. It’s written as a U2 frame itself, and it does a ton of error-checking, so, with a goodly amount of commenting.
It presumes that:
1. you have downloaded the new U2 and have unzipped its files into a subdirectory of the directory that the current U2 is in. The subdirectory must be named “newu2dir”.
2. you have placed all your personal frames in one section of the U2, delimited by MyFramesStart and MyFramesEnd—each must be on a line by themselves, like this:
It places your frames at the top of the new U2, which is a bit risky, since placing them there means they take precedence over any other frames with the identical name. You can always move them manually to the bottom of the U2 file after the program has run.
Carl, maybe you want to include this in the “stock” U2.
The below is encoded with frame XyEnc and should be decoded by using XyDec.