@
echo off
:: 模拟飞行 2020 汉化脚本
:: 把原始英文资源备份
REM for /r %%i in (en-US.locPak) do (
REM if exist "%%~fi" if "%%~nxi" == "en-US.locPak" (
REM copy "%%~fi" "%%~fi.bak"
REM echo "%%~fi.bak"
REM )
REM )
:: 把原始英文资源还原
REM for /r %%i in (en-US.locPak.bak) do (
REM if exist "%%~fi" if "%%~nxi" == "en-US.locPak.bak" (
REM copy "%%~fi" "%%~dpni"
REM echo "%%~dpni"
REM )
REM )
:: 用中文资源覆盖英文
REM for /r %%i in (zh-CN.locPak) do (
REM if exist "%%~fi" if "%%~nxi" == "zh-CN.locPak" (
REM copy "%%~fi" "%%~dpien-US.locPak"
REM echo "%%~dpien-US.locPak"
REM )
REM )
pause