本教學將教你如何在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.
參考
- 教學/在U盤中執行及儲存Minecraft
- www.pcsteps.com/1346-create-portable-minecraft-usb-stick/
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||