Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
1.7 kB · 54 lines
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455REM @echo off
SET TERRITORY=SCEJSET TARGETDIR=X:\Builds\PSVitaSET CONTENTID=JP0127-PCSG00302SET KLICENSEE=0x8EC5D170888C9865D100F04EB42198BFSET PASSCODE=8SQ7qhCBbrqizUufLmzaSf5Qd7l2VvhVSET DRMTYPE=FreeSET PACKAGETYPE=DemoSET CONTENTTYPE=GameExecSET 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 filescall CopyDataFiles.cmd %TARGETDIR% %TERRITORY%
:: overwrite the logos with Japanese versionscopy ..\app\Japanese\icon.png %TARGETDIR%\%TERRITORY%\app\icon.pngcopy ..\app\Japanese\pic0.png %TARGETDIR%\%TERRITORY%\app\sce_sys\pic0.pngcopy ..\app\Japanese\startup.png %TARGETDIR%\%TERRITORY%\app\sce_sys\livearea\contents\startup.pngcopy ..\app\Japanese\startup.png %TARGETDIR%\%TERRITORY%\app\sce_sys\retail\livearea\contents\startup.png
:: Create confc:\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
pauseGOTO :EOF