diff --git a/OmnifactoryMigrate.ps1 b/OmnifactoryMigrate.ps1 new file mode 100644 index 0000000..70a5c99 --- /dev/null +++ b/OmnifactoryMigrate.ps1 @@ -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!" \ No newline at end of file