forked from StarT-Dev-Team/Star-Technology
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackmode_picker.bat
More file actions
69 lines (57 loc) · 1.98 KB
/
packmode_picker.bat
File metadata and controls
69 lines (57 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
@echo off
title Star Technology Packmode Picker
setlocal
set default_path=%~dp0packmode\default
set hard_path=%~dp0packmode\hard
set abydos_path=%~dp0packmode\abydos
set target_path=%~dp0\
color 0B
echo.
echo =======================================================
echo.
echo Star Technology Packmode Picker
echo.
echo =======================================================
echo.
echo [D] Default - the standard experience
echo [H] Hard - for the masochistic
echo [A] Abydos - dehydration enjoyer
echo.
choice /c DHA /n /m "Enter Packmode (D H or A):"
if errorlevel 3 goto set_abydos
if errorlevel 2 goto set_hard
if errorlevel 1 goto set_default
:set_default
echo.
echo Applying Packmode [Default]...
echo.
echo =======================================================================================
echo =======================================================================================
rmdir /s /q "%target_path%config\ftbquests\quests\chapters"
robocopy "%default_path%" "%target_path%" *.* /e /nfl /ndl
goto end
:set_hard
echo.
echo Applying Packmode [Hard]...
echo.
echo =======================================================================================
echo =======================================================================================
rmdir /s /q "%target_path%config\ftbquests\quests\chapters"
robocopy "%hard_path%" "%target_path%" *.* /e /nfl /ndl
goto end
:set_abydos
echo.
echo Applying Packmode [Abydos]...
echo.
echo =======================================================================================
echo =======================================================================================
rmdir /s /q "%target_path%config\ftbquests\quests\chapters"
robocopy "%abydos_path%" "%target_path%" *.* /e /nfl /ndl
goto end
:end
echo =======================================================================================
echo =======================================================================================
echo.
echo Packmode switch complete!
echo.
pause