0 Members and 1 Guest are viewing this topic.
It's a very painful process, and it requires ASM. Theorically, you have to find the address of the VAT header of your appvar (let's say you stored it in P), put the new name length into {P-6}, use _insertMem or _delMem at P-7 depending on whether the new name is longer or smaller than the previous one, and then write your new name from P-7 to P-7-{P-6}+1.
Learn asm in 28 days actually has a page on the VAT. Using that info and matrefeytontias's trick you should be able to rename it. Basically take the VAT pointer, subtract 7, and then write the name backwards. Make sure the program is in RAM though, otherwise when you unarchive it, bad things happen. (I don't remember specifically what, but I remember you don't want it to happen.)