Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- set _Output=K:\xeditTEMP\Skyrim Special Edition
- set _SteamPath=G:\ProgiGry\SteamProg\steamapps\common\Skyrim Special Edition
- set _ModList=..\profiles\TUCOGUIDE 2.0\modlist.txt
- echo Deleting old dir...
- RD /S /Q "%_Output%"
- cls
- echo Ready to start.
- pause
- robocopy /s "%_SteamPath%" "%_Output%"
- echo copying skyrim mods according to MO2 modlist order...
- title copying skyrim mods according to MO2 modlist order...
- md "%_Output%\dataTEMP"
- ::get total amount of mods
- Set /a _Lines=0
- For /f %%j in ('Find "%_ModList%" /v /c ^< %_ModList%') Do Set /a _Lines=%%j
- SET /A XCOUNT=0
- setlocal enableextensions enabledelayedexpansion
- ::start looping through mod folders from modlist.txt and copy to temp folder
- FOR /f "tokens=1,2* delims=+" %%G IN (%_Modlist%) DO (
- cls
- SET /A _XCOUNT+=1
- echo Copying skyrim mods according to MO2 modlist order...
- title Copying skyrim mods according to MO2 modlist order...
- echo Copying mod !_XCOUNT! of %_Lines%
- echo Copying mod "%%G"
- IF NOT "%_XCOUNT%" == "1" robocopy /s /xc /xn /xo /xx "%%G" "%_Output%\dataTEMP" >nul
- )
- cls
- echo Copying skyrim mods to final folder...
- Title Copying skyrim mods to final folder...
- robocopy /MOV /S /IS "%_Output%\dataTemp" "%_Output%\data"
- cls
- echo All done... copying your plugins file to beth folder now
- copy "..\profiles\TUCOGUIDE 2.0\plugins.txt" "C:\Users\0wner\AppData\Local\Skyrim Special Edition\plugins.txt"
- pause
- "G:\ProgiGry\SteamProg\steamapps\common\Skyrim Special Edition\Mopy\Wrye Bash.exe" -g "Skyrim Special Edition" -o "K:\xeditTEMP\Skyrim Special Edition"
Advertisement
Add Comment
Please, Sign In to add comment