- @echo off
- set info=互助互利,支付宝扫码头像,感谢打赏
- rem 有问题,可加QQ956535081及时沟通
- title %info%
- cd /d "%~dp0"
-
- if exist "playnclauncher.exe" (echo;存在) else (echo;不存在)
-
- set "fd=Data\china\item"
- for /f "delims=" %%a in ('dir /a-d/b "%fd%\" 2^>nul') do (
- set "f="
- for %%b in (
- "items.pak"
- "_items.pak"
- ) do (
- if /i "%%~nxa" equ "%%~b" set f=1
- )
- if not defined f del /a /f /q "%fd%\%%~nxa"
- )
-
- set "fd=Data\china\npcs"
- for /f "delims=" %%a in ('dir /a-d/b "%fd%\" 2^>nul') do (
- set "f="
- for %%b in (
- "npcs.pak"
- "_npcs.pak"
- ) do (
- if /i "%%~nxa" equ "%%~b" set f=1
- )
- if not defined f del /a /f /q "%fd%\%%~nxa"
- )
-
- set "fd=Data\china\pc"
- for /f "delims=" %%a in ('dir /a-d/b "%fd%\" 2^>nul') do (
- set "f="
- for %%b in (
- "pc.pak"
- "pcs.pak"
- ) do (
- if /i "%%~nxa" equ "%%~b" set f=1
- )
- if not defined f del /a /f /q "%fd%\%%~nxa"
- )
-
- set "fd=Data\china\Quest"
- for /f "delims=" %%a in ('dir /a-d/b "%fd%\" 2^>nul') do (
- set "f="
- for %%b in (
- "Quest.pak"
- "z_Quest.pak"
- ) do (
- if /i "%%~nxa" equ "%%~b" set f=1
- )
- if not defined f del /a /f /q "%fd%\%%~nxa"
- )
-
- set "fd=Data\Items"
- for /f "delims=" %%a in ('dir /a-d/b "%fd%\" 2^>nul') do (
- set "f="
- for %%b in (
- "Items.pak"
- "ltemsico.pak"
- ) do (
- if /i "%%~nxa" equ "%%~b" set f=1
- )
- if not defined f del /a /f /q "%fd%\%%~nxa"
- )
-
- set "fd=L10N\CHS\Data"
- for /f "delims=" %%a in ('dir /ad/b "%fd%\" 2^>nul') do (
- set "f="
- for %%b in (
- "CutScene"
- "fonts"
- "help"
- "Strings"
- ) do (
- if /i "%%~nxa" equ "%%~b" set f=1
- )
- if not defined f rd /s /q "%fd%\%%~nxa\"
- )
-
- set "fd=L10N\CHS\Data"
- for /f "delims=" %%a in ('dir /a-d/b "%fd%\" 2^>nul') do (
- set "f="
- for %%b in (
- "Data.pak"
- "datas.pak"
- ) do (
- if /i "%%~nxa" equ "%%~b" set f=1
- )
- if not defined f del /a /f /q "%fd%\%%~nxa"
- )
-
- echo;Done
- :end
- echo;%info%
- pause
- exit
复制代码
|