Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

Minecraft Wiki
Advertisement

本教程将教你如何在Google Drive上运行Minecraft(请注意,这并不是真正从云端运行游戏,只是将它复制到一个不同的位置,并保持与云文件同步)。如果你想在切换计算机时保存游戏数据(如世界、资源包Mod等)并自动备份游戏,这是非常有用的(最后一次测试:1.14.1)。

你需要什么

  • 一个Google帐户(最好拥有15GB的存储空间)
  • 一个使用Windows操作系统的计算机
  • 一个Minecraft账户
  • Minecraft客户端(Minecraft.exe)
  • 一个“.minecraft”文件夹(至少运行一次Minecraft以建立文件夹)

步骤

准备工作

下载Google Drive

我们需要在你的电脑安装Google Drive。

  • 首先,到这里下载Google Drive。
  • 点击蓝色的“Download(下载)”按钮。
  • 点击“Agree and Download(同意并下载)”。
  • 运行.exe文件。
  • 登录到我们刚刚安装的Google Drive,选择你想用来存储Minecraft文件的帐户。

一个新的文件夹将被创建在“Favorites”下,将所有镜像文件放置在drive.google.com。

创建文件夹

  • 找到你新的Google Drive文件夹并打开它。
  • 右键 > 新建 > 文件夹。
  • 将其命名为“Minecraft Portable”(或任何你想要的)并点击右键。
  • 创建“bin”和“data”文件夹在“Minecraft Portable”文件夹的里面。
    • 这两个文件夹的名称必须完全相同,因为我们将在下面的代码中使用它们。

现在你的Google Drive上有三个新文件夹了,它们分别是“bin”和“data”,位于“Minecraft Portable”目录下。

客户端

现在复制启动器到Google Drive上。

  • 找到你的Minecraft客户端(minecraft.exe)并复制它(它应该在你的下载Minecraft时的文件夹)。如果没有,请在这里下载。
    • 你需要的是.exe文件,而不是快捷方式。如果你不确定它是否为快捷方式,查看它的图标,快捷方式的图标右上角有一个蓝色的箭头。
    • 如果你找不到“minecraft.exe”,那就再下载一次,并将其复制过来。
  • 将“minecraft.exe”粘贴到你在Google Drive上创建的“bin”文件夹中。

数据文件

我们新的Minecraft仍然没有数据,下面是找到数据的方法:

  • 按下⊞ Windows + R
    • 输入“%APPDATA%\Roaming”。
    • 按下↵ Enter
  • 找到你的“.minecraft”文件夹并复制它。
  • 回到“Minecraft Portable”文件夹,然后双击“data”文件夹。
  • 复制你的“.minecraft”文件夹,粘贴到“data”文件夹(如果你不想复制所有数据,就创建一个名为“.minecraft”的文件夹)。
    • 如果你的电脑性能不足,那就可能花费很多时间。
    • 如果它完成了,不要太激动。现在Google Drive将开始同步所有的文件。除了复制粘贴文件所需的时间外,还需要再等约5个小时。让它在我们睡觉的时候做吧。

现在,你所有的地图、资源包和Mod都在Google Drive中了。

设置

现在所有的数据文件都在那里了,我们需要告诉Windows如何处理谷歌驱动器中的文件,为此,我们要创建一个批处理文件

  • 按下⊞ Windows + R
    • 输入“Notepad
    • 按下↵ Enter
  • 将以下代码复制并粘贴到记事本或类似的文本编辑器中(提示:If your .exe is located in the bin folder, replace drive with bin)。
"%CD%\bin\MinecraftLauncher.exe" --workDir "%CD%\data\.minecraft"
  • For whatever reason, if you use minecraft.jar, type this:
"%CD%\bin\Minecraft.jar" --workDir "%CD%\data\.minecraft"
  • Now click File > Save As ...
  • Locate your Minecraft portable folder (not bin or data) and double-click it.
  • Name this file "Launcher.bat"
    • Note: Make sure to include the "" - or else Notepad will correct it to Launcher.bat.txt and it will not work.

完成

这样一切就结束了,恭喜!双击新建的“Launcher.bat”就可以打开启动器,像往常一样玩吧!Minecraft可能需要更长的时间才能启动,这是正常的,因为只是批处理文件在工作而已。

有几点需要注意:

  • Should you ever want to download a resource pack, map, or mod, place the files into the respective folders in the .minecraft folder on your Google Drive. However, said packs, maps, or mods will then of course be integrated in your cloud version.
  • To connect to your synced Minecraft on another computer, download Google Drive, log in and double-click Launcher.bat inside Minecraft Portable
  • Minecraft Portable can run alongside regular Minecraft. To run regular Minecraft, just run it the way you normally would. Your saves will not be synced.
  • Using the above settings, you will not be able to change the allocated RAM (add more memory) to your synced Minecraft. This should be one of the first things to troubleshoot if your Minecraft does not work.

参考

Advertisement