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=SCEE
4SET TARGETDIR=X:\Builds\PSVita
5SET CONTENTID=EP4433-PCSB00560
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:: Create conf
24c:\perl64\bin\perl CreatePSVitaConfig_%TERRITORY%.plx
25
26set PACKAGENAME=MINECRAFTVIT0000
27
28cd /D %TARGETDIR%\%TERRITORY%
29
30if exist ..\%CONTENTID%_00-%PACKAGENAME%.pkg del ..\%CONTENTID%_00-%PACKAGENAME%.pkg
31
32psp2pubcmd.exe gp4p_attr_set --content_id %CONTENTID%_00-%PACKAGENAME% --pub_ver %PACKAGEVERSION% --drm_type %DRMTYPE% --capacity gc2_gcrm --passcode %PASSCODE% Minecraft.Client_%TERRITORY%.gp4p
33
34:: Create package
35
36if exist .\BUILD del -Q -S .\BUILD\
37if not exist .\BUILD mkdir .\BUILD
38
39psp2pubcmd.exe pkg_create --oformat all Minecraft.Client_%TERRITORY%.gp4p .\BUILD > PackageBuildOutput.txt
40
41cd /D %CURDIR%
42
43call move_pkg.cmd
44
45pause
46GOTO :EOF
47
48