在Windows,AppData和我丢失的Minecraft世界中刷新PC

I thought I lost everything today. Well, not really, I have a very regular Backup Strategy (stop reading this blog post NOW and back your stuff up!) so I could get stuff back if I really needed to.

我以为我今天失去了一切。 嗯,不是这样,我有一个非常常规的备份策略(现在就停止阅读此博客文章,并备份您的东西!),这样,如果我真的需要,我可以找回东西。

But a laptop died today. It just wouldn't start up and I had to run "Refresh my PC," a very cool feature of Windows that basically mostly reinstalls Windows without reinstalling. It promises not to lose your files. And it's (99%) true, because when I got Windows back up later my Documents and Desktop were just as I left them, untouched by the this major operation.

但是今天有一台笔记本电脑死了。 它只是无法启动,因此我必须运行“刷新我的电脑”,这是Windows的一个非常酷的功能,基本上不需要重新安装即可重新安装Windows。 它保证不会丢失您的文件。 (99%)是正确的,因为当我稍后恢复Windows时,我的Documents和Desktop就像我离开时一样,不受此主要操作的影响。

在Windows,AppData和我丢失的Minecraft世界中刷新PC

Fortunately I used Boxstarter, Chocolately, and a list of the programs I have installed as a Gist and was able to get my Windows machine with all my desktop programs back up and running in a few hours. All my files were backed up to the cloud and every file was where I left it.

幸运的是,我使用了BoxstarterChocolately以及我作为Gist安装的一系列程序,并且能够在数小时内将所有台式机程序备份并运行的Windows计算机。 我所有的文件都备份到了云中,每个文件都留在了我的位置。

Except the most important ones. ;)

除了最重要的那些。 ;)

I launched Minecraft, and saw this. And almost died.

我启动了Minecraft,并看到了这一点。 差点死了。

在Windows,AppData和我丢失的Minecraft世界中刷新PC

Where's my Minecraft save games/worlds?

我的世界(Minecraft)保存游戏/世界在哪里?

I thought Windows promised to not change my files!? Well, sadly Minecraft doesn't save worlds in "My Documents\Minecraft," where it should. It puts them instead in c:\Users\YOURNAME\AppData\Roaming\.minecraft\saves which is basically like a temp folder of sorts for config data.

我以为Windows承诺不会更改我的文件!? 好吧,很遗憾,Minecraft并没有在应该保存的“我的文档\ Minecraft”中保存世界。 而是将它们放在c:\ Users \ YOURNAME \ AppData \ Roaming \ .minecraft \ saves中,这基本上就像是用于配置数据的临时文件夹。

Fortunately after my initial freak out, even these files aren't lost, they are in C:\Windows.old\users\YOURNAME\AppData\Roaming\.minecraft\saves along with all your other AppData stuff including the npm-cache, .emacs.d, and other config data you might want.

幸运的是,即使最初的这些文件都没有丢失,它们也位于C:\ Windows.old \ users \ YOURNAME \ AppData \ Roaming \ .minecraft \\ saves以及所有其他AppData文件中,包括npm-cache, .emacs.d,以及您可能需要的其他配置数据。

Move them back, and you're (I'm) all set!

将它们移回去,您(我)已经准备就绪!

在Windows,AppData和我丢失的Minecraft世界中刷新PC

Whew.

ew。

相关链接 (Related Links)

关于斯科特(About Scott)

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

斯科特·汉塞尔曼(Scott Hanselman)是前教授,前金融首席架构师,现在是演讲者,顾问,父亲,糖尿病患者和Microsoft员工。 他是一位失败的单口相声漫画家,一个玉米种植者和一本书的作者。

在Windows,AppData和我丢失的Minecraft世界中刷新PC
在Windows,AppData和我丢失的Minecraft世界中刷新PC
在Windows,AppData和我丢失的Minecraft世界中刷新PC
About   关于 Newsletter 时事通讯
Hosting By 主持人
在Windows,AppData和我丢失的Minecraft世界中刷新PC

翻译自: https://www.hanselman.com/blog/refresh-your-pc-in-windows-appdata-and-my-missing-minecraft-worlds