aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/PSVita/Builds/BuildScript-SCEJ.cmd
diff options
context:
space:
mode:
authordaoge_cmd <3523206925@qq.com>2026-03-01 12:16:08 +0800
committerdaoge_cmd <3523206925@qq.com>2026-03-01 12:16:08 +0800
commitb691c43c44ff180d10e7d4a9afc83b98551ff586 (patch)
tree3e9849222cbc6ba49f2f1fc6e5fe7179632c7390 /Minecraft.Client/PSVita/Builds/BuildScript-SCEJ.cmd
parentdef8cb415354ac390b7e89052a50605285f1aca9 (diff)
Initial commit
Diffstat (limited to 'Minecraft.Client/PSVita/Builds/BuildScript-SCEJ.cmd')
-rw-r--r--Minecraft.Client/PSVita/Builds/BuildScript-SCEJ.cmd54
1 files changed, 54 insertions, 0 deletions
diff --git a/Minecraft.Client/PSVita/Builds/BuildScript-SCEJ.cmd b/Minecraft.Client/PSVita/Builds/BuildScript-SCEJ.cmd
new file mode 100644
index 00000000..9e3331d4
--- /dev/null
+++ b/Minecraft.Client/PSVita/Builds/BuildScript-SCEJ.cmd
@@ -0,0 +1,54 @@
+REM @echo off
+
+SET TERRITORY=SCEJ
+SET TARGETDIR=X:\Builds\PSVita
+SET CONTENTID=JP0127-PCSG00302
+SET KLICENSEE=0x8EC5D170888C9865D100F04EB42198BF
+SET PASSCODE=8SQ7qhCBbrqizUufLmzaSf5Qd7l2VvhV
+SET DRMTYPE=Free
+SET PACKAGETYPE=Demo
+SET CONTENTTYPE=GameExec
+SET PACKAGEVERSION=01.00
+
+SET CURDIR=%CD%
+
+BuildConsole.exe "..\..\..\MinecraftConsoles.sln" /build /showagent /openmonitor /nowait /cfg="ContentPackage|PSVita"
+
+if not exist %TARGETDIR% mkdir %TARGETDIR%
+xcopy /I /Y "%SCE_PSP2_SDK_DIR%\target\sce_module" "%TARGETDIR%\sce_module\"
+
+::Copy the data files
+call CopyDataFiles.cmd %TARGETDIR% %TERRITORY%
+
+:: overwrite the logos with Japanese versions
+copy ..\app\Japanese\icon.png %TARGETDIR%\%TERRITORY%\app\icon.png
+copy ..\app\Japanese\pic0.png %TARGETDIR%\%TERRITORY%\app\sce_sys\pic0.png
+copy ..\app\Japanese\startup.png %TARGETDIR%\%TERRITORY%\app\sce_sys\livearea\contents\startup.png
+copy ..\app\Japanese\startup.png %TARGETDIR%\%TERRITORY%\app\sce_sys\retail\livearea\contents\startup.png
+
+:: Create conf
+c:\perl64\bin\perl CreatePSVitaConfig_%TERRITORY%.plx
+
+set PACKAGENAME=MINECRAFTVIT0000
+
+cd /D %TARGETDIR%\%TERRITORY%
+
+if exist ..\%CONTENTID%_00-%PACKAGENAME%.pkg del ..\%CONTENTID%_00-%PACKAGENAME%.pkg
+
+psp2pubcmd.exe gp4p_attr_set --content_id %CONTENTID%_00-%PACKAGENAME% --pub_ver %PACKAGEVERSION% --drm_type %DRMTYPE% --capacity gc2_gcrm --passcode %PASSCODE% Minecraft.Client_%TERRITORY%.gp4p
+
+:: Create package
+
+if exist .\BUILD del -Q -S .\BUILD\
+if not exist .\BUILD mkdir .\BUILD
+
+psp2pubcmd.exe pkg_create --oformat all Minecraft.Client_%TERRITORY%.gp4p .\BUILD > PackageBuildOutput.txt
+
+cd /D %CURDIR%
+
+call move_pkg.cmd
+
+pause
+GOTO :EOF
+
+