-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathstart.bat
31 lines (31 loc) · 859 Bytes
/
start.bat
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
@echo off
title Cmdids Extraction Tool 1.0.3
echo. Version:1.0.3
echo. Developer:umaru
echo. Build date:June 6, 2022
echo. Welcome to use cmdids Extraction tool.
echo. Warning: Please put all proto files in ./proto/ directory, otherwise the tool will not run.
echo. Before you start, make sure nodejs is installed. If you haven't installed it, you can download it here.
echo. https://nodejs.org/
goto menu
:menu
echo.[1] Pancake format (packetIds.json)
echo.[2] Grasscutter format (PacketOpcodes.java)
echo.[3] start_zh-cn
set /p choose_format=Please press 1, 2 or 3
if %choose_format%==1 goto :pancake
if %choose_format%==2 goto :grasscutter
if %choose_format%==3 goto :start_zh-cn
:pancake
rem
node getcmdids_pancake.js
pause
exit
:grasscutter
node getcmdids_grasscutter.js
pause
exit
:start_zh-cn
cls
start_zh-cn.bat
exit