-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmenu.bat
More file actions
106 lines (95 loc) · 2.51 KB
/
Copy pathmenu.bat
File metadata and controls
106 lines (95 loc) · 2.51 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
@echo off
setlocal EnableDelayedExpansion
title StepMania Chart Generator - ArrowVortex Workflow
color 0F
:MENU
cls
echo.
echo ============================================================
echo STEPMANIA CHART GENERATOR - ArrowVortex Workflow
echo ============================================================
echo.
echo 1. OPEN IN ARROWVORTEX
echo (Opens the selected MP3 or .sm directly in the tool)
echo.
echo 2. REGENERATE CHART (FAST)
echo (Reprocesses an existing chart using saved data)
echo.
echo 3. CHANGE DIFFICULTY
echo (Increase/Decrease difficulty +/- 20%% preserving Holds)
echo.
echo 4. SUPPORT ME
echo (Support the project development)
echo.
echo 9. Exit
echo.
echo ============================================================
echo.
set /p choice="Select an option, or paste a YouTube URL: "
echo !choice! | findstr /C:"http" >nul
if !errorlevel!==0 goto YOUTUBE_DL
if "!choice!"=="1" goto OPEN_AV
if "!choice!"=="2" goto REGENERATE
if "!choice!"=="3" goto MOD_STEPS
if "!choice!"=="4" goto SUPPORT
if "!choice!"=="9" goto EXIT
echo.
echo Invalid choice!
timeout /t 2 >nul
goto MENU
:OPEN_AV
cls
echo.
echo ============================================================
echo 1. OPEN IN ARROWVORTEX
echo ============================================================
echo.
call venv\Scripts\activate.bat
python src\open_in_arrowvortex.py
pause
goto MENU
:REGENERATE
cls
echo.
echo ============================================================
echo 2. REGENERATE CHART (FAST)
echo ============================================================
echo.
call venv\Scripts\activate.bat
python src\regenerate_menu.py
pause
goto MENU
:MOD_STEPS
cls
echo.
echo ============================================================
echo 3. CHANGE DIFFICULTY
echo ============================================================
echo.
call venv\Scripts\activate.bat
python src\modifica_steps.py
pause
goto MENU
:SUPPORT
cls
echo.
echo ============================================================
echo 4. SUPPORT ME
echo ============================================================
echo.
call venv\Scripts\activate.bat
python src\support_me.py
goto MENU
:YOUTUBE_DL
cls
echo.
echo ============================================================
echo YOUTUBE DOWNLOAD
echo ============================================================
echo.
call venv\Scripts\activate.bat
python src\audioYouTube.py "!choice!"
pause
goto MENU
:EXIT
exit