K1Guitar/tools/音师更新音色.bat

32 lines
704 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
chcp 65001 >nul
setlocal
cd /d "%~dp0"
echo.
echo ========================================
echo 音师音色更新 - 打包 ALL.res (USB IAP)
echo 不使用 J-Link请用 SoundWalkerIAP 烧录
echo ========================================
echo.
where python >nul 2>&1
if errorlevel 1 (
echo [错误] 未找到 python请先安装 Python 3 并勾选 Add to PATH。
pause
exit /b 1
)
python "%~dp0tone_artist_pack.py" --open
set ERR=%ERRORLEVEL%
echo.
if not "%ERR%"=="0" (
echo 打包失败,请根据上方中文提示检查 1/2/3.bin。
pause
exit /b %ERR%
)
echo 打包成功。请按输出目录中的「请这样刷.txt」用 SoundWalkerIAP 刷机。
pause
exit /b 0