feat: Orbis & PSVita builds, Durango postbuild & More (#10)

This fixes Orbis & PSVita builds along with adds a Durango postbuild and moves PS3 to the new SonyLeaderboardManager introduced in TU19

This also fixes the Orbis strings and gets some of the other Windows64 build configurations mostly building.

---------

Co-authored-by: str1k3r <115313679+S1l3ntStr1ke87@users.noreply.github.com>
Co-authored-by: str1k3r <1+str1k3r@noreply.localhost>
Co-authored-by: 552eden <552eden@gmail.com>
Co-authored-by: ubergamer-pie <16+ubergamer-pie@noreply.localhost>
Co-authored-by: str1k3r <15+str1k3r@noreply.neolegacy.dev>
Co-authored-by: pieeebot <10+pieeebot@noreply.neolegacy.dev>
Reviewed-on: pieeebot/cafeberry#10
This commit is contained in:
committed 2026-08-02 13:40:35 +00:00
1 parent a00c0c63eb
commit f17ce45d6d
264 files changed
+3597 -11971

No files matched your search

@@ -65,7 +65,7 @@ char SoundEngine::m_szSoundPath[]={"Sound\\"};
char SoundEngine::m_szMusicPath[]={"music\\"};
char SoundEngine::m_szRedistName[]={"redist64"};
#elif defined __ORBIS__
char SoundEngine::m_szSoundPath[]={"PS4/Sound/"};
char SoundEngine::m_szSoundPath[]={"Orbis/Sound/"};
char SoundEngine::m_szMusicPath[]={"music/"};
char SoundEngine::m_szRedistName[]={"redist64"};
#elif defined __PSVITA__
@@ -77,20 +77,21 @@ char SoundEngine::m_szRedistName[]={"redist"};
char SoundEngine::m_szSoundPath[]={"PS3/Sound/"};
char SoundEngine::m_szMusicPath[]={"music/"};
char SoundEngine::m_szRedistName[]={"redist"};
#ifdef _CONTENT_PACKAGE
#endif
/*#ifdef _CONTENT_PACKAGE // strk1k3r - not needed use default paths instead.
char SoundEngine::m_szSoundPath[]={"Sound/"};
#elif defined _ART_BUILD
char SoundEngine::m_szSoundPath[]={"Sound/"};
#endif
#endif*/
#ifdef __PS3__
#define USE_SPURS
#ifdef USE_SPURS
#include <cell/spurs.h>
#else
#include <sys/spu_image.h>
#endif
#endif
F32 AILCALLBACK custom_falloff_function (HSAMPLE S,
+2 -2
View File
@@ -127,7 +127,7 @@ CMinecraftApp::CMinecraftApp()
m_bChangingSessionType = false;
m_bReallyChangingSessionType = false;
#ifdef _DEBUG
#ifdef _DEBUG_MENUS_ENABLED
#ifdef _CONTENT_PACKAGE
m_bDebugOptions=false; // make them off by default in a content package build
@@ -2386,7 +2386,7 @@ void CMinecraftApp::ClearGameSettingsChangedFlag(int iPad)
// Remove the debug settings in the content package build
//
////////////////////////////
#ifdef _DEBUG
#ifdef _DEBUG_MENUS_ENABLED
unsigned int CMinecraftApp::GetGameSettingsDebugMask(int iPad,bool bOverridePlayer) //bOverridePlayer is to force the send for the server to get the read options
{
return 0;
+5 -2
View File
@@ -384,7 +384,10 @@ DWORD DLCPack::getFileIndexAt(DLCManager::EDLCType type, const wstring &path, bo
bool DLCPack::hasPurchasedFile(DLCManager::EDLCType type, const wstring &path)
{
if(type == DLCManager::e_DLCType_All)
// str1k3r - return every DLC as "purchased"
return true;
/*if(type == DLCManager::e_DLCType_All)
{
app.DebugPrintf("Unimplemented\n");
#ifndef _CONTENT_PACKAGE
@@ -408,7 +411,7 @@ bool DLCPack::hasPurchasedFile(DLCManager::EDLCType type, const wstring &path)
{
//purchased
return true;
}
}*/
}
void DLCPack::UpdateLanguage()
@@ -9,7 +9,7 @@ const wstring LeaderboardManager::filterNames[eNumFilterModes] =
L"Friends", L"MyScore", L"TopRank"
};
#if !defined(_DURANGO) && !defined(_WINDOWS64) && !defined(_XBOX) && !defined(__ORBIS__) // str1k3r - some platforms complain about this, also this wasnt in the leak?
#ifdef __PS3__ // str1k3r - only PS3 needs this, also this wasnt in the leak?
LeaderboardManager *LeaderboardManager::m_instance = NULL;
#endif
@@ -154,7 +154,7 @@ void SonyLeaderboardManager::scoreboardThreadInternal()
// The following NP call should be reserved for asynchronous multiplayer modes that require PS Plus to be accessed.
//
// Note 2:
// The message is not displayed with a user without PlayStation®Plus subscription and they are able to access the Leaderboards.
// The message is not displayed with a user without PlayStation�Plus subscription and they are able to access the Leaderboards.
// NotifyAsyncPlusFeature();
@@ -204,11 +204,10 @@ HRESULT SonyLeaderboardManager::fillByIdsQuery(const SceNpId &myNpId, SceNpId* &
case eFM_Friends:
{
// 4J-JEV: Implementation for Orbis & Vita as they a very similar.
#if (defined __ORBIS__) || (defined __PSVITA__)
#if (defined __PSVITA__)
sce::Toolkit::NP::Utilities::Future<sce::Toolkit::NP::FriendsList> s_friendList;
ret = getFriendsList(s_friendList);
if(ret != SCE_TOOLKIT_NP_SUCCESS)
{
// Error handling
@@ -246,7 +245,11 @@ HRESULT SonyLeaderboardManager::fillByIdsQuery(const SceNpId &myNpId, SceNpId* &
npIds[0] = myNpId;
}
#elif (defined __ORBIS__)
// Error handling
if (m_eStatsState != eStatsState_Canceled) m_eStatsState = eStatsState_Failed;
app.DebugPrintf("[SonyLeaderboardManager] 'getFriendslist' fail, 0x%x.\n", ret);
return false;
#elif (defined __PS3__)
// PS3
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

@@ -2,14 +2,28 @@
<gamePackage>
<language id="00" modified="0">
<speechRecognitionWords>
<text>シンプル シューティング ゲーム</text>
<pronunciation>sh i N p u r u ___ sh uL t i N g u ___ g eL m u</pronunciation>
<text>Minecraft</text>
<pronunciation>m a j n k r a f t</pronunciation>
</speechRecognitionWords>
<speechRecognitionWords>
<text>Minecraft</text>
<pronunciation>m a j n k r e f t</pronunciation>
</speechRecognitionWords>
</language>
<language id="01" modified="0">
<speechRecognitionWords>
<text>simple shooting game</text>
<pronunciation>s ih m p ax l ___ sh uw t ih n ___ g ey m</pronunciation>
<text>Minecraft</text>
<pronunciation>m ay n k r ae f t</pronunciation>
</speechRecognitionWords>
<speechRecognitionWords>
<text>Minecraft</text>
<pronunciation>m ay n k r ax f t</pronunciation>
</speechRecognitionWords>
</language>
</gamePackage>
<language id="18" modified="0">
<speechRecognitionWords>
<text>Minecraft</text>
<pronunciation>m ih n k r aa f t</pronunciation>
</speechRecognitionWords>
</language>
</gamePackage>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

@@ -13,299 +13,341 @@
<liveitem>
<lang>da</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>KØB HELE SPILLET</str>
<str size='22'>OVERFLADEPAKKER</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>en</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>BUY FULL GAME</str>
<str size='22'>SKIN PACKS</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>en-gb</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>BUY FULL GAME</str>
<str size='22'>SKIN PACKS</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>de</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>VOLLVERSION KAUFEN</str>
<str size='22'>DESIGN-PAKETE</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>el</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>ΑΓΟΡΑΣΤΕ ΤΟ ΠΛΗΡΕΣ ΠΑΙΧΝΙΔΙ</str>
<str size='22'>ΠΑΚΕΤΑ ΕΜΦΑΝΙΣΕΩΝ</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>es</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>COMPRAR JUEGO COMPLETO</str>
<str size='22'>PACKS DE ASPECTOS</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>fi</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>OSTA KOKO PELI</str>
<str size='22'>ULKOASUPAKETIT</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>fr</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>ACHETER LE JEU COMPLET</str>
<str size='22'>PACKS DE SKINS</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>it</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>ACQUISTA IL GIOCO COMPLETO</str>
<str size='22'>PACCHETTI SKIN</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>ja</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>完全版を購入する</str>
<str size='22'>スキン パック</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>ko</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>정식 버전 게임 구매</str>
<str size='22'>캐릭터 팩</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>nl</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>VOLLEDIGE GAME KOPEN</str>
<str size='22'>SKINPAKKETTEN</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>no</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>KJØP FULLVERSJONEN</str>
<str size='22'>SKALLPAKKER</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>pl</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>KUP PEŁNĄ WERSJĘ</str>
<str size='22'>PAKIETY SKÓREK</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>pt-br</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>COMPRAR JOGO COMPLETO </str>
<str size='22'>PACOTES DE CAPAS</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>pt</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>COMPRAR JOGO COMPLETO</str>
<str size='22'>PACKS DE SKINS</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>ru</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>КУПИТЬ ПОЛНУЮ ВЕРСИЮ ИГРЫ</str>
<str size='22'>НАБОРЫ СКИНОВ</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>sv</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>KÖP HELA SPELET</str>
<str size='22'>UTSEENDEPAKET</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>tr</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>TAM OYUNU SATIN AL</str>
<str size='22'>GÖRÜNÜM PAKETLERİ</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>zh</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>BUY FULL GAME</str>
<str size='22'>SKIN PACKS</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>ch</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>購買完整版遊戲</str>
<str size='22'>外觀套件</str>
</text>
<image>item_1.png</image>
<target>psts:browse?product=UP4433-PCSE00491_00-MINECRAFTVIT0000</target>
<target>psts:browse?category=EP4433-PCSB00560_00-SKINPACKS</target>
</liveitem>
</frame>
<frame id='frame2' >
<liveitem>
<lang>da</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>PRØVEVERSION</str>
<text align='center' y="-175" origin="frame">
<str size='22'>TEKSTURPAKKER</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>en</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>TRIAL VERSION</str>
<text align='center' y="-175" origin="frame">
<str size='22'>TEXTURE PACKS</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>en-gb</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>TRIAL VERSION</str>
<text align='center' y="-175" origin="frame">
<str size='22'>TEXTURE PACKS</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>de</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>TESTVERSION</str>
<text align='center' y="-175" origin="frame">
<str size='22'>TEXTURPAKETE</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>el</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>ΔΟΚΙΜΑΣΤΙΚΗ ΕΚΔΟΣΗ</str>
<text align='center' y="-175" origin="frame">
<str size='22'>ΠΑΚΕΤΑ ΓΡΑΦΙΚΩΝ</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>es</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>VERSIÓN DE PRUEBA</str>
<text align='center' y="-175" origin="frame">
<str size='22'>PACKS DE TEXTURAS</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>fi</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>KOEVERSIO</str>
<text align='center' y="-175" origin="frame">
<str size='22'>TEKSTUURIPAKETIT</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>fr</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>VERSION D'ESSAI</str>
<text align='center' y="-175" origin="frame">
<str size='22'>PACKS DE TEXTURES</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>it</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>VERSIONE DI PROVA</str>
<text align='center' y="-175" origin="frame">
<str size='22'>PACCHETTI TEXTURE</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>ja</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>体験版</str>
<text align='center' y="-175" origin="frame">
<str size='22'>テクスチャ パック</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>ko</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>평가판</str>
<text align='center' y="-175" origin="frame">
<str size='22'>텍스처 팩</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>nl</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>TESTVERSIE</str>
<text align='center' y="-175" origin="frame">
<str size='22'>TEXTUREPAKKETTEN</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>no</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>PRØVEVERSJON</str>
<text align='center' y="-175" origin="frame">
<str size='22'>TEKSTURPAKKER</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>pl</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>WERSJA PRÓBNA</str>
<text align='center' y="-175" origin="frame">
<str size='22'>PAKIETY TEKSTUR</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>pt-br</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>VERSÃO DE AVALIAÇÃO</str>
<text align='center' y="-175" origin="frame">
<str size='22'>PACOTES DE TEXTURAS</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>pt</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>VERSÃO DE AVALIAÇÃO</str>
<text align='center' y="-175" origin="frame">
<str size='22'>PACKS DE TEXTURAS</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>ru</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>ПРОБНАЯ ВЕРСИЯ</str>
<text align='center' y="-175" origin="frame">
<str size='22'>НАБОРЫ ТЕКСТУР</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>sv</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>DEMOVERSION</str>
<text align='center' y="-175" origin="frame">
<str size='22'>TEXTURPAKET</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>tr</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>DENEME SÜRÜMÜ</str>
<text align='center' y="-175" origin="frame">
<str size='22'>KAPLAMA PAKETLERİ</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>zh</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>TRIAL VERSION</str>
<text align='center' y="-175" origin="frame">
<str size='22'>TEXTURE PACKS</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>ch</lang>
<text align='center' x="-7" y="-100" origin="frame">
<str size='22'>試玩版</str>
<text align='center' y="-175" origin="frame">
<str size='22'>材質套件</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=EP4433-PCSB00560_00-TEXTUREPACKS</target>
</liveitem>
</frame>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

@@ -1,356 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<livearea style="a2" format-ver="01.03" content-rev="1">
<livearea-background>
<image>bg0.png</image>
</livearea-background>
<gate>
<startup-image>startup.png</startup-image>
</gate>
<frame id='frame1'>
<liveitem>
<lang>da</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>OVERFLADEPAKKER</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>en</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>SKIN PACKS</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>en-gb</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>SKIN PACKS</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>de</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>DESIGN-PAKETE</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>el</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>ΠΑΚΕΤΑ ΕΜΦΑΝΙΣΕΩΝ</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>es</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>PACKS DE ASPECTOS</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>fi</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>ULKOASUPAKETIT</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>fr</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>PACKS DE SKINS</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>it</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>PACCHETTI SKIN</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>ja</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>スキン パック</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>ko</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>캐릭터 팩</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>nl</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>SKINPAKKETTEN</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>no</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>SKALLPAKKER</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>pl</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>PAKIETY SKÓREK</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>pt-br</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>PACOTES DE CAPAS</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>pt</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>PACKS DE SKINS</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>ru</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>НАБОРЫ СКИНОВ</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>sv</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>UTSEENDEPAKET</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>tr</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>GÖRÜNÜM PAKETLERİ</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>zh</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>SKIN PACKS</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
<liveitem>
<lang>ch</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>外觀套件</str>
</text>
<image>item_1.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-SKINPACKS</target>
</liveitem>
</frame>
<frame id='frame2' >
<liveitem>
<lang>da</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>TEKSTURPAKKER</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>en</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>TEXTURE PACKS</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>en-gb</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>TEXTURE PACKS</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>de</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>TEXTURPAKETE</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>el</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>ΠΑΚΕΤΑ ΓΡΑΦΙΚΩΝ</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>es</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>PACKS DE TEXTURAS</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>fi</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>TEKSTUURIPAKETIT</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>fr</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>PACKS DE TEXTURES</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>it</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>PACCHETTI TEXTURE</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>ja</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>テクスチャ パック</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>ko</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>텍스처 팩</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>nl</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>TEXTUREPAKKETTEN</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>no</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>TEKSTURPAKKER</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>pl</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>PAKIETY TEKSTUR</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>pt-br</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>PACOTES DE TEXTURAS</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>pt</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>PACKS DE TEXTURAS</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>ru</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>НАБОРЫ ТЕКСТУР</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>sv</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>TEXTURPAKET</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>tr</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>KAPLAMA PAKETLERİ</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>zh</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>TEXTURE PACKS</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
<liveitem>
<lang>ch</lang>
<text align='center' y="-175" origin="frame">
<str size='22'>材質套件</str>
</text>
<image>item_2.png</image>
<target>psts:browse?category=UP4433-PCSE00491_00-TEXTUREPACKS</target>
</liveitem>
</frame>
</livearea>
@@ -1 +1,93 @@
// Currently a stub as we dont know what would go here
param(
[string]$OutDir,
[string]$ProjectDir
)
Write-Host "Durango Postbuild: script started. Output Directory: $OutDir, Project Directory: $ProjectDir"
$directories = @(
"Durango\StoreImages",
"Common\Media",
"Common\res",
"DLCImages",
"Tutorial",
"Durango",
"music",
"Sound",
"Xbox",
"DLC",
"CU"
)
foreach ($dir in $directories) {
New-Item -ItemType Directory -Path (Join-Path $OutDir $dir) -Force | Out-Null
}
$folderCopies = @(
@{ Source = "Common\Media"; Dest = "Common\Media" },
@{ Source = "Common\res"; Dest = "Common\res" },
@{ Source = "Durango\Sound"; Dest = "Sound" },
@{ Source = "DurangoMedia\DLC"; Dest = "DLC" },
@{ Source = "DurangoMedia\Tutorial"; Dest = "Tutorial" },
@{ Source = "music"; Dest = "music" },
@{ Source = "Durango\DLCImages"; Dest = "DLCImages" },
@{ Source = "Durango\CU"; Dest = "CU" }
)
foreach ($copy in $folderCopies) {
$src = Join-Path $ProjectDir $copy.Source
$dst = Join-Path $OutDir $copy.Dest
if (Test-Path $src) {
xcopy /q /y /i /s /e /d "$src" "$dst" 2>$null
}
}
$fileCopies = @(
@{ Source = "Durango\DurangoExtras\xcompress.dll"; Dest = "xcompress.dll" },
@{ Source = "Durango\DLCXbox1.cmp"; Dest = "DLCXbox1.cmp" }
)
foreach ($copy in $fileCopies) {
$src = Join-Path $ProjectDir $copy.Source
$dst = Join-Path $OutDir $copy.Dest
if (Test-Path $src) {
Copy-Item -Path $src -Destination $dst -Force
}
}
$deleteDirs = @(
"Common\Media\Sound",
"Common\Media\Graphics",
"Common\Media\de-DE",
"Common\Media\es-ES",
"Common\Media\fr-FR",
"Common\Media\it-IT",
"Common\Media\ja-JP",
"Common\Media\ko-KR",
"Common\Media\pt-BR",
"Common\Media\pt-PT",
"Common\Media\zh-CHT"
)
foreach ($dir in $deleteDirs) {
$path = Join-Path $OutDir $dir
if (Test-Path $path) {
Remove-Item $path -Recurse -Force -ErrorAction SilentlyContinue
}
}
$delDirs = @(
"Common\Media",
"Common\Media\font"
)
foreach ($dir in $delDirs) {
if ($delDirs -contains $dir) {
$path = Join-Path $OutDir $dir
if (Test-Path $path) {
Get-ChildItem -Path $path -Recurse -Include *.swf, *.txt, *.resx, *.xml, *.loc, *.lang, *.col, *.h, *.xui, *.abc, "Mojang Font_7.ttf", "Mojang Font_11.ttf", MediaWindows64.arc, MediaOrbis.arc, MediaPS3.arc, MediaPSVita.arc -File |
Remove-Item -Force -ErrorAction SilentlyContinue
}
}
}
@@ -3,16 +3,18 @@ param(
[string]$ProjectDir
)
Write-Host "Orbis Postbuild script started. Output Directory: $OutDir, Project Directory: $ProjectDir"
Write-Host "Orbis Postbuild: script started. Output Directory: $OutDir, Project Directory: $ProjectDir"
$directories = @(
"music",
"Orbis",
"Common",
"Common\Media",
"Common\Tutorial",
"Common\res",
"Sound"
"PS4_GAME\music",
"PS4_GAME\Orbis",
"PS4_GAME\Common",
"PS4_GAME\Common\Media",
"PS4_GAME\Orbis\Tutorial",
"PS4_GAME\Common\res",
"PS4_GAME\Orbis\Sound",
"PS4_GAME\Orbis\DLCImages",
"PS4_GAME\Orbis\DLC"
)
foreach ($dir in $directories) {
@@ -23,15 +25,21 @@ $folderCopies = @(
@{ Source = "music"; Dest = "PS4_GAME\music" },
@{ Source = "Common\Media"; Dest = "PS4_GAME\Common\Media" },
@{ Source = "Common\res"; Dest = "PS4_GAME\Common\res" },
@{ Source = "PSVita\Tutorial"; Dest = "PS4_GAME\Common\Tutorial" },
@{ Source = "PS3\Sound"; Dest = "PS4_GAME\Sound" },
@{ Source = "Common\Postbuilds\Contents\Orbis\sce_module"; Dest = "PS4_GAME\sce_module" },
@{ Source = "Common\Postbuilds\Contents\Orbis\sce_gls"; Dest = "PS4_GAME\sce_gls" },
@{ Source = "Common\Postbuilds\Contents\Orbis\sce_sys"; Dest = "PS4_GAME\sce_sys" },
@{ Source = "Orbis\Sound"; Dest = "PS4_GAME\Orbis\Sound" },
@{ Source = "OrbisMedia\DLC"; Dest = "PS4_GAME\Orbis\DLC" },
@{ Source = "Orbis\DLCImages"; Dest = "PS4_GAME\Orbis\DLCImages" },
@{ Source = "OrbisMedia\Tutorial"; Dest = "PS4_GAME\Orbis\Tutorial" },
@{ Source = "$env:SCE_ORBIS_SDK_DIR\target\sce_module"; Dest = "PS4_GAME\sce_module" },
@{ Source = "Common\Postbuilds\Contents\Orbis\sce_gls"; Dest = "PS4_GAME\sce_gls" },
@{ Source = "Common\Postbuilds\Contents\Orbis\sce_sys"; Dest = "PS4_GAME\sce_sys" }
)
foreach ($copy in $folderCopies) {
$src = Join-Path $ProjectDir $copy.Source
if ([System.IO.Path]::IsPathRooted($copy.Source)) {
$src = $copy.Source
} else {
$src = Join-Path $ProjectDir $copy.Source
}
$dst = Join-Path $OutDir $copy.Dest
if (Test-Path $src) {
@@ -41,7 +49,7 @@ foreach ($copy in $folderCopies) {
$fileCopies = @(
@{ Source = "Orbis\PS4ProductCodes.bin"; Dest = "PS4_GAME\Orbis\PS4ProductCodes.bin" },
@{ Source = "Orbis\session_image.jpg"; Dest = "PS4_GAME\Orbis\session_image.jpg" },
@{ Source = "Orbis\session_image.jpg"; Dest = "PS4_GAME\Orbis\session_image.jpg" }
)
foreach ($copy in $fileCopies) {
@@ -96,4 +104,43 @@ foreach ($dir in $delDirs) {
Remove-Item -Force -ErrorAction SilentlyContinue
}
}
}
# Make Orbis PKG
$tools = Join-Path $env:SCE_ROOT_DIR "\ORBIS\Tools\Publishing Tools\bin"
$pkgSrc = Join-Path $OutDir "PS4_GAME"
$genGp4 = Join-Path $tools "gengp4_app.exe"
$pubCmd = Join-Path $tools "orbis-pub-cmd.exe"
$pkgPath = Join-Path $OutDir "Minecraft.Client.pkg"
$gp4Name = $pkgSrc.TrimEnd('\','/')
$gp4File = "$gp4Name.gp4"
if (Test-Path $pkgPath) {
Remove-Item $pkgPath -Force
}
if (-not (Test-Path $genGp4)) {
Write-Host "Orbis Postbuild: gengp4_app.exe not found, skipping PKG creation."
} elseif (-not (Test-Path $pkgSrc)) {
Write-Host "Orbis Postbuild: '$pkgSrc' not found, skipping PKG creation."
} else {
Write-Host "Orbis Postbuild: Generating GP4..."
& $genGp4 $pkgSrc
if (-not (Test-Path $gp4File)) {
Write-Host "Orbis Postbuild ERROR: $gp4File was not created"
return
}
Write-Host "Orbis Postbuild: Patching GP4 default_id..."
(Get-Content $gp4File) -replace 'default_id="1"', 'default_id="0"' | Set-Content $gp4File
Write-Host "Orbis Postbuild: Building PKG..."
& $pubCmd img_create $gp4File $pkgPath
(Get-Content $gp4File) -replace 'default_id="1"', 'default_id="0"' | Set-Content $gp4File # str1k3r - ran again so we can open the GP4 file without it throwing a error.
Write-Host "Orbis Postbuild: PKG created at $pkgPath"
}
@@ -3,7 +3,7 @@ param(
[string]$ProjectDir
)
Write-Host "PS3 Postbuild script started. Output Directory: $OutDir, Project Directory: $ProjectDir"
Write-Host "PS3 Postbuild: script started. Output Directory: $OutDir, Project Directory: $ProjectDir"
$directories = @(
"PS3_GAME\USRDIR\music",
@@ -24,7 +24,7 @@ $folderCopies = @(
@{ Source = "Common\res"; Dest = "PS3_GAME\USRDIR\Common\res" },
@{ Source = "PS3Media\DLC"; Dest = "PS3_GAME\USRDIR\DLC" },
@{ Source = "PS3\Sound"; Dest = "PS3_GAME\USRDIR\PS3\Sound" },
@{ Source = "PSVita\Tutorial"; Dest = "PS3_GAME\USRDIR\PS3\Tutorial" }
#@{ Source = "PSVita\Tutorial"; Dest = "PS3_GAME\USRDIR\PS3\Tutorial" }, # str1k3r - softlocks game
@{ Source = "Common\Postbuilds\Contents\PS3\PS3_GAME\LICDIR"; Dest = "PS3_GAME\LICDIR" },
@{ Source = "Common\Postbuilds\Contents\PS3\PS3_GAME\TROPDIR"; Dest = "PS3_GAME\TROPDIR" }
)
@@ -40,15 +40,15 @@ foreach ($copy in $folderCopies) {
$fileCopies = @(
@{ Source = "PS3\PS3ProductCodes.bin"; Dest = "PS3_GAME\USRDIR\PS3\PS3ProductCodes.bin" },
@{ Source = "Common\Postbuilds\Contents\PS3\PS3_DISC.SFB"; Dest = "PS3_DISC.SFB" },
@{ Source = "Common\Postbuilds\Contents\PS3\PS3_GAME\ICON0.PNG"; Dest = "PS3_GAME\ICON0.PNG" },
@{ Source = "Common\Postbuilds\Contents\PS3\PS3_GAME\PARAM.SFO"; Dest = "PS3_GAME\PARAM.SFO" },
@{ Source = "Common\Postbuilds\Contents\PS3\PS3_GAME\PIC1.PNG"; Dest = "PS3_GAME\PIC1.PNG" },
@{ Source = "Common\Postbuilds\Contents\PS3\PS3_DISC.SFB"; Dest = "PS3_DISC.SFB" },
@{ Source = "Common\Postbuilds\Contents\PS3\PS3_GAME\ICON0.PNG"; Dest = "PS3_GAME\ICON0.PNG" },
@{ Source = "Common\Postbuilds\Contents\PS3\PS3_GAME\PARAM.SFO"; Dest = "PS3_GAME\PARAM.SFO" },
@{ Source = "Common\Postbuilds\Contents\PS3\PS3_GAME\PIC1.PNG"; Dest = "PS3_GAME\PIC1.PNG" },
@{ Source = "Common\Postbuilds\Contents\PS3\PS3_GAME\PS3GAME.BG0"; Dest = "PS3_GAME\PS3GAME.BG0" },
@{ Source = "Common\Postbuilds\Contents\PS3\PS3_GAME\PS3GAME.BG1"; Dest = "PS3_GAME\PS3GAME.BG1" },
@{ Source = "Common\Postbuilds\Contents\PS3\PS3_GAME\PS3GAME.VR0"; Dest = "PS3_GAME\PS3GAME.VR0" },
@{ Source = "Common\Postbuilds\Contents\PS3\PS3_GAME\PS3LOGO.DAT"; Dest = "PS3_GAME\PS3GAME.DAT" },
@{ Source = "Common\Postbuilds\Contents\PS3\PS3_GAME\SND0.AT3"; Dest = "PS3_GAME\SND0.AT3" }
@{ Source = "Common\Postbuilds\Contents\PS3\PS3_GAME\SND0.AT3"; Dest = "PS3_GAME\SND0.AT3" }
)
foreach ($copy in $fileCopies) {
@@ -3,15 +3,16 @@ param(
[string]$ProjectDir
)
Write-Host "PSVita Postbuild script started. Output Directory: $OutDir, Project Directory: $ProjectDir"
Write-Host "PSVita Postbuild: script started. Output Directory: $OutDir, Project Directory: $ProjectDir"
$directories = @(
"music",
"PSVita",
"Common",
"Common\Media",
"Common\res",
"Sound"
"PSVITA_GAME\music",
"PSVITA_GAME\PSVita",
"PSVITA_GAME\Common",
"PSVITA_GAME\Common\Media",
"PSVITA_GAME\Common\res",
"PSVITA_GAME\PSVita\Sound",
"PSVITA_GAME\PSVita\Tutorial"
)
foreach ($dir in $directories) {
@@ -22,13 +23,19 @@ $folderCopies = @(
@{ Source = "music"; Dest = "PSVITA_GAME\music" },
@{ Source = "Common\Media"; Dest = "PSVITA_GAME\Common\Media" },
@{ Source = "Common\res"; Dest = "PSVITA_GAME\Common\res" },
@{ Source = "PSVita\Sound"; Dest = "PSVITA_GAME\Sound" },
@{ Source = "Common\Postbuilds\Contents\PSVita\sce_module"; Dest = "PSVITA_GAME\sce_module" },
@{ Source = "PSVita\Sound"; Dest = "PSVITA_GAME\PSVita\Sound" },
@{ Source = "PSVitaMedia\DLC"; Dest = "PSVITA_GAME\PSVita\DLC" },
@{ Source = "PSVita\Tutorial"; Dest = "PSVITA_GAME\PSVita\Tutorial" },
@{ Source = "$env:SCE_PSP2_SDK_DIR\target\sce_module"; Dest = "PSVITA_GAME\sce_module" },
@{ Source = "Common\Postbuilds\Contents\PSVita\sce_sys"; Dest = "PSVITA_GAME\sce_sys" }
)
foreach ($copy in $folderCopies) {
$src = Join-Path $ProjectDir $copy.Source
if ([System.IO.Path]::IsPathRooted($copy.Source)) {
$src = $copy.Source
} else {
$src = Join-Path $ProjectDir $copy.Source
}
$dst = Join-Path $OutDir $copy.Dest
if (Test-Path $src) {
@@ -38,26 +45,26 @@ foreach ($copy in $folderCopies) {
$fileCopies = @(
@{ Source = "PSVita\PSVitaProductCodes.bin"; Dest = "PSVITA_GAME\PSVita\PSVitaProductCodes.bin" },
@{ Source = "PSVita\session_image.png"; Dest = "PSVITA_GAME\PSVita\session_image.png" },
@{ Source = "Common\Postbuilds\Contents\PSVita\icon.png"; Dest = "PSVITA_GAME\icon.png" },
@{ Source = "PSVita\session_image.png"; Dest = "PSVITA_GAME\PSVita\session_image.png" }
)
foreach ($copy in $fileCopies) {
$src = Join-Path $ProjectDir $copy.Source
$dst = Join-Path $OutDir $copy.Dest
if (Test-Path $src) {
New-Item -ItemType Directory -Path (Split-Path $dst -Parent) -Force | Out-Null
Copy-Item -Path $src -Destination $dst -Force
}
}
$builtFile = Join-Path $OutDir "Minecraft.Client.self"
$newName = "eboot.bin"
$destDir = Join-Path $OutDir "PSVITA_GAME"
$destPath = Join-Path $destDir $newName
$destPath = Join-Path $destDir "eboot.bin"
$psp2bin = Join-Path $env:SCE_PSP2_SDK_DIR "host_tools\build\bin\psp2bin.exe"
if (Test-Path $builtFile) {
New-Item -ItemType Directory -Path $destDir -Force | Out-Null
Copy-Item -Path $builtFile -Destination $destPath -Force
& "$psp2bin" -i "$builtFile" --strip-all -o "$destPath"
}
$deleteDirs = @(
@@ -94,4 +101,24 @@ foreach ($dir in $delDirs) {
Remove-Item -Force -ErrorAction SilentlyContinue
}
}
}
# Make PSVita VPK
$vpkPath = Join-Path $OutDir "Minecraft.Client.vpk"
$vpkSrc = Join-Path $OutDir "PSVITA_GAME"
$sevenZip = "C:\Program Files\7-Zip\7z.exe"
if (Test-Path $vpkPath) {
Remove-Item $vpkPath -Force
}
if (-not (Test-Path $sevenZip)) {
Write-Host "PSVita Postbuild: 7-Zip not found at '$sevenZip', skipping VPK creation."
} elseif (-not (Test-Path $vpkSrc)) {
Write-Host "PSVita Postbuild: '$vpkSrc' not found, skipping VPK creation."
} else {
Push-Location $vpkSrc
& "$sevenZip" a -tzip -mx0 "$vpkPath" *
Pop-Location
Write-Host "PSVita Postbuild: VPK created at '$vpkPath'"
}
@@ -3,7 +3,7 @@ param(
[string]$ProjectDir
)
Write-Host "Windows64 Postbuild script started. Output Directory: $OutDir, Project Directory: $ProjectDir"
Write-Host "Windows64 Postbuild: script started. Output Directory: $OutDir, Project Directory: $ProjectDir"
$directories = @(
"music",
@@ -19,13 +19,13 @@ foreach ($dir in $directories) {
}
$folderCopies = @(
@{ Source = "music"; Dest = "music" },
@{ Source = "Common\Media"; Dest = "Common\Media" },
@{ Source = "Common\res"; Dest = "Common\res" },
@{ Source = "DurangoMedia"; Dest = "Windows64Media" },
@{ Source = "Windows64Media"; Dest = "Windows64Media" },
@{ Source = "PSVita\Tutorial"; Dest = "Windows64Media\Tutorial" },
@{ Source = "music"; Dest = "Windows64Media\music" },
@{ Source = "Windows64Media\Sound"; Dest = "Windows64Media\Sound" },
#@{ Source = "PSVita\Tutorial"; Dest = "Windows64Media\Tutorial" }, # str1k3r - doesnt even work bru
@{ Source = "Windows64\Sound"; Dest = "Windows64Media\Sound" },
@{ Source = "Common\Postbuilds\Contents\Windows64\redist64"; Dest = "redist64" }
)
@@ -3,7 +3,7 @@ param(
[string]$ProjectDir
)
Write-Host "Xbox Postbuild script started. Output Directory: $OutDir, Project Directory: $ProjectDir"
Write-Host "Xbox Postbuild: script started. Output Directory: $OutDir, Project Directory: $ProjectDir"
$directories = @(
"res",
@@ -15,7 +15,7 @@ foreach ($dir in $directories) {
}
$copies = @(
@{ Source = "Common\res"; Dest = "res" }
@{ Source = "Common\res"; Dest = "res" }
)
foreach ($copy in $copies) {
@@ -38,9 +38,9 @@ $fileCopies = @(
@{ Source = "Xbox\kinect\speech\nuisp3081"; Dest = "nuisp3081" },
@{ Source = "Xbox\kinect\speech\nuisp3082"; Dest = "nuisp3082" },
@{ Source = "Xbox\kinect\speech\nuisp3084"; Dest = "nuisp3084" },
@{ Source = "XboxMedia\AvatarAwards"; Dest = "AvatarAwards" },
@{ Source = "XboxMedia\XZP\TMSFiles.xzp"; Dest = "TMSFiles.xzp" },
@{ Source = "Common\Tutorial\Tutorial"; Dest = "Tutorial\Tutorial" }
@{ Source = "XboxMedia\AvatarAwards"; Dest = "AvatarAwards" },
@{ Source = "XboxMedia\XZP\TMSFiles.xzp"; Dest = "TMSFiles.xzp" },
@{ Source = "Common\Tutorial\Tutorial"; Dest = "Tutorial\Tutorial" }
)
foreach ($copy in $fileCopies) {
@@ -10,7 +10,6 @@
#include "..\..\TexturePack.h"
#include "..\..\DLCTexturePack.h"
#include "..\..\..\Minecraft.World\StringHelpers.h"
#ifndef _XBOX
#include "UI.h"
#endif
@@ -2,7 +2,6 @@
#include "UI.h"
#include "UIComponent_PressStartToPlay.h"
#include "..\..\..\Minecraft.World\StringHelpers.h"
UIComponent_PressStartToPlay::UIComponent_PressStartToPlay(int iPad, void *initData, UILayer *parentLayer) : UIScene(iPad, parentLayer)
{
// Setup all the Iggy references we need for this scene
@@ -23,7 +23,7 @@ UIScene_HelpAndOptionsMenu::UIScene_HelpAndOptionsMenu(int iPad, void *initData,
// We don't have a reinstall content, so remove the button
removeControl( &m_buttons[BUTTON_HAO_REINSTALL], false );
#ifndef _DEBUG
#ifdef _FINAL_BUILD
removeControl( &m_buttons[BUTTON_HAO_DEBUG], false);
#else
if(!app.DebugSettingsOn()) removeControl( &m_buttons[BUTTON_HAO_DEBUG], false);
@@ -121,7 +121,7 @@ void UIScene_HelpAndOptionsMenu::updateComponents()
void UIScene_HelpAndOptionsMenu::handleReload()
{
#ifndef _DEBUG
#ifdef _FINAL_BUILD
removeControl( &m_buttons[BUTTON_HAO_DEBUG], false);
#else
if(!app.DebugSettingsOn()) removeControl( &m_buttons[BUTTON_HAO_DEBUG], false);
@@ -61,7 +61,7 @@ UIScene_InGamePlayerOptionsMenu::UIScene_InGamePlayerOptionsMenu(int iPad, void
if(m_editingSelf)
{
#ifndef _DEBUG // (defined(_CONTENT_PACKAGE) || defined(_FINAL_BUILD) && !defined(_DEBUG_MENUS_ENABLED))
#if (defined(_CONTENT_PACKAGE) || defined(_FINAL_BUILD) && !defined(_DEBUG_MENUS_ENABLED))
removeControl( &m_checkboxes[eControl_Op], true );
#else
m_checkboxes[eControl_Op].init(L"DEBUG: Creative",eControl_Op,Player::getPlayerGamePrivilege(m_playerPrivileges,Player::ePlayerGamePrivilege_CreativeMode));
@@ -254,7 +254,7 @@ void UIScene_InGamePlayerOptionsMenu::handleReload()
if(m_editingSelf)
{
#ifndef _DEBUG // (defined(_CONTENT_PACKAGE) || defined(_FINAL_BUILD) && !defined(_DEBUG_MENUS_ENABLED))
#if (defined(_CONTENT_PACKAGE) || defined(_FINAL_BUILD) && !defined(_DEBUG_MENUS_ENABLED))
removeControl( &m_checkboxes[eControl_Op], true );
#endif