Hello! I want to share my recent troublesome experience with Windows 10.
It all started last week, when I decided to install VS2019 in order to work on UWP for Gideros from my home computer. It had an old VS2015 installed. Problem’ that old VS was not properly deinstalled, but files where missing to deinstall it properly. VS2019 installer kept picking old cached files no matter what I tried, because of the garbage left in the registry by the previous VS version.
After the third failed attempt, I decided to reinstall W10: it went smoothly and kept my files, and I was able to reinstall everything... to discover in the end that in the Windows Store app went missing!
I tried many ways to repair my Windows installation, and nothing did it. At last, I zipped all my important files, backed them up to an external drive, then reinstalled the whole computer from the factory image. Hooray, store was back! I reinstalled everything, including VS2019 and Gideros, copied back my saved files, just to find out that SOME FILES WERE MISSING!
And of course, those were the most important files: my Gideros projects, including some for which I didn’t have any backup. I had an apk, and could possibly decipher assets, but how to recover compiled lua files ?
Luckily my wife gave me an idea: the last trial on that project was done on my phone, in a player. So the player had those files, unencrypted!
And guess what: you can access files of a project from another project running in the same player, thanks to lfs. I quickly wrote a simple lua program to upload the ‘lost’ files from my phone to a server, using UrlLoader. 30 lines of lua, 10 lines of php, et voilà. My files are now safely on my server! happy end!