Is this necesarry? The cit1.txt is already automatically downloaded, though?
Sorry, I did not make it clear.
I was talking about to "update" the skin not city1.txt. This is a "risk" idea. When you are running TP, you have a "fixed"/"Static" skin. In other words, whenever you update your weather/RSS information or radar image, the TP codes in the skin remained the same.
And we ususally edit the skin on PC/PPC then loaded into PPC manually.
This idea invovled a "automatic" step to create TP codes based on the information from city1.txt. Since there is no TP code can do that, I have to use a third party exe to do that. And exe will "automatically" edit the codes in the skin.
Here are the step-by-step how the exe does the job.
1) Open city1.txt and extract wind direction then calculate wind index.
2) Open skin file and edit the specific TP code in the skin. In this case, exe will find "storevar,var4=0" and rewrite into "storevar,var4=1" (1 is the wind index from step 1).
3) Close the skin file.
Once you have the var4 changed whenever your city1.txt updated, then a simple "image,x,y,%avr4%,t" can display the image according to your wind index.
Risk: At this moment, I have tested several times and only the code (storevar,var4=..) was re-written everytime. However, I would like test more times to make sure, it will not add any other "un-desired" things into skin.