-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#Omnifactory Migrate Script | ||
#This script will help move important folders from one instance of the pack to another, saving you time! | ||
#Author: capSAR273, if you have any questions or issues you can contact me on GitHub (Or on the Omnifactory Discord)! | ||
|
||
Write-Host "Before you continue, make sure you have imported the new instance in MultiMC from the zip file first!" | ||
|
||
$oldPath = Read-Host -Prompt "Enter the path to the old version's minecraft folder." | ||
$newPath = Read-Host -Prompt "Enter the path to the new version's minecraft folder." | ||
|
||
Write-Host "Copying Files..." | ||
|
||
#This will take the important folders/files recommended on the Omnifactory GitHub and copy them to the new instance folder. | ||
Copy-Item $oldPath\saves -Destination $newPath -Recurse | ||
Copy-Item $oldPath\resourcepacks -Destination $newPath -Recurse | ||
Copy-Item $oldPath\options.txt -Destination $newPath -Recurse | ||
Copy-Item $oldPath\journeymap -Destination $newPath -Recurse | ||
Copy-Item $oldPath\config\jei\bookmarks.ini -Destination $newPath\config\jei\ -Recurse | ||
|
||
Write-Host "Copy Complete!" |