the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1REM @echo off
2
3SET TERRITORY=SCEJ
4SET TARGETDIR=X:\Builds\PSVita
5SET CONTENTID=JP0127-PCSG00302
6SET KLICENSEE=0x8EC5D170888C9865D100F04EB42198BF
7SET PASSCODE=8SQ7qhCBbrqizUufLmzaSf5Qd7l2VvhV
8SET DRMTYPE=Free
9SET PACKAGETYPE=Demo
10SET CONTENTTYPE=GameExec
11SET PACKAGEVERSION=01.00
12
13SET CURDIR=%CD%
14
15BuildConsole.exe "..\..\..\MinecraftConsoles.sln" /build /showagent /openmonitor /nowait /cfg="ContentPackage|PSVita"
16
17if not exist %TARGETDIR% mkdir %TARGETDIR%
18xcopy /I /Y "%SCE_PSP2_SDK_DIR%\target\sce_module" "%TARGETDIR%\sce_module\"
19
20::Copy the data files
21call CopyDataFiles.cmd %TARGETDIR% %TERRITORY%
22
23:: overwrite the logos with Japanese versions
24copy ..\app\Japanese\icon.png %TARGETDIR%\%TERRITORY%\app\icon.png
25copy ..\app\Japanese\pic0.png %TARGETDIR%\%TERRITORY%\app\sce_sys\pic0.png
26copy ..\app\Japanese\startup.png %TARGETDIR%\%TERRITORY%\app\sce_sys\livearea\contents\startup.png
27copy ..\app\Japanese\startup.png %TARGETDIR%\%TERRITORY%\app\sce_sys\retail\livearea\contents\startup.png
28
29:: Create conf
30c:\perl64\bin\perl CreatePSVitaConfig_%TERRITORY%.plx
31
32set PACKAGENAME=MINECRAFTVIT0000
33
34cd /D %TARGETDIR%\%TERRITORY%
35
36if exist ..\%CONTENTID%_00-%PACKAGENAME%.pkg del ..\%CONTENTID%_00-%PACKAGENAME%.pkg
37
38psp2pubcmd.exe gp4p_attr_set --content_id %CONTENTID%_00-%PACKAGENAME% --pub_ver %PACKAGEVERSION% --drm_type %DRMTYPE% --capacity gc2_gcrm --passcode %PASSCODE% Minecraft.Client_%TERRITORY%.gp4p
39
40:: Create package
41
42if exist .\BUILD del -Q -S .\BUILD\
43if not exist .\BUILD mkdir .\BUILD
44
45psp2pubcmd.exe pkg_create --oformat all Minecraft.Client_%TERRITORY%.gp4p .\BUILD > PackageBuildOutput.txt
46
47cd /D %CURDIR%
48
49call move_pkg.cmd
50
51pause
52GOTO :EOF
53
54