Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- set ztmp=C:\Users\Your_sys_username\AppData\Local\Temp\ztmp
- set MYFILES=C:\Users\Your_sys_username\AppData\Local\Temp\afolder
- set bfcec=tmp{randomnumberhere}.exe
- set cmdline=
- SHIFT /0
- @echo off
- title Ikenie to Yuki no Setsuna (I am Setsuna.) Localization Project
- if not exist "PCSG00756" goto misdir
- goto setup
- :misdir
- cls
- echo ***************************************************************
- echo Ikenie to Yuki no Setsuna (I am Setsuna.) Localization Project
- echo By: Ignis00
- echo Build: 1.0 (December 10, 2016)
- echo Website: http://bit.ly/2hoKYVG
- echo ***************************************************************
- echo.
- echo ERROR: "PCSG00756" folder missing.
- echo Place the "PCSG00756" folder in the same directory as this
- echo executable.
- echo.
- pause
- exit
- :setup
- cls
- echo ***************************************************************
- echo Ikenie to Yuki no Setsuna (I am Setsuna.) Localization Project
- echo By: Ignis00
- echo Build: 1.0 (December 10, 2016)
- echo Website: http://bit.ly/2hoKYVG
- echo ***************************************************************
- echo.
- echo Setting up workspace!
- echo.
- set mdir=%cd%
- cd %TEMP%
- if not exist "ias" mkdir "ias"
- cd ias
- set wdir=%cd%
- cd %mdir%\bin
- robocopy . %wdir% /njh /njs /ndl /nc /ns /nfl
- cd %wdir%
- uz -q -o archive.bin -d %wdir%\patch
- if not exist "work" mkdir "work"
- goto apply
- :apply
- cls
- echo ***************************************************************
- echo Ikenie to Yuki no Setsuna (I am Setsuna.) Localization Project
- echo By: Ignis00
- echo Build: 1.0 (December 10, 2016)
- echo Website: http://bit.ly/2hoKYVG
- echo ***************************************************************
- echo.
- echo Applying localization patch.
- echo.
- xdelta3 -d -f -s %mdir%\PCSG00756\archive.psarc "patch/01.xdt" "work/archive.psarc"
- xdelta3 -d -f -s %mdir%\PCSG00756\Media\StreamingAssets\PSVita\parameter.cpk "patch/02.xdt" "work/parameter.cpk"
- xdelta3 -d -f -s %mdir%\PCSG00756\Media\Managed\Assembly-CSharp.dll "patch/03.xdt" "work/Assembly-CSharp.dll"
- xdelta3 -d -f -s %mdir%\PCSG00756\sce_sys\param.sfo "patch/04.xdt" "work/param.sfo"
- xdelta3 -d -f -s %mdir%\PCSG00756\sce_sys\livearea\contents\frame3.png "patch/05.xdt" "work/frame3.png"
- goto tink
- :tink
- cls
- echo ***************************************************************
- echo Ikenie to Yuki no Setsuna (I am Setsuna.) Localization Project
- echo By: Ignis00
- echo Build: 1.0 (December 10, 2016)
- echo Website: http://bit.ly/2hoKYVG
- echo ***************************************************************
- echo.
- echo Finalizing build.
- echo.
- robocopy %wdir%\work\ %mdir%\PCSG00756 archive.psarc /njh /njs /ndl /nc /ns /nfl
- robocopy %wdir%\work\ %mdir%\PCSG00756\Media\StreamingAssets\PSVita parameter.cpk /njh /njs /ndl /nc /ns /nfl
- robocopy %wdir%\work\ %mdir%\PCSG00756\Media\Managed Assembly-CSharp.dll /njh /njs /ndl /nc /ns /nfl
- robocopy %wdir%\work\ %mdir%\PCSG00756\sce_sys param.sfo /njh /njs /ndl /nc /ns /nfl
- robocopy %wdir%\work\ %mdir%\PCSG00756\sce_sys\livearea\contents frame3.png /njh /njs /ndl /nc /ns /nfl
- cd %mdir%
- rename PCSG00756 PCSG00756_
- rmdir /s /q %wdir%
- :fin
- cls
- echo ***************************************************************
- echo Ikenie to Yuki no Setsuna (I am Setsuna.) Localization Project
- echo By: Ignis00
- echo Build: 1.0 (December 10, 2016)
- echo Website: http://bit.ly/2hoKYVG
- echo ***************************************************************
- echo.
- echo Finished! Thank you for all your support!
- echo Help support the developers by buying the game!
- echo.
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement