feat: Postbuild Scripts & Disable Debug Features on Release Builds (#3)

This adds postbuild scripts for PS3, Windows64 & Orbis (Rough Estimation)

This also Excludes the Durango Networking files from being added into other builds along with setting Minecraft.client as the startup project and disabling debug features on release builds.

---------

Co-authored-by: str1k3r <115313679+S1l3ntStr1ke87@users.noreply.github.com>
Reviewed-on: https://git.neolegacy.dev/Project-Elysium/main/pulls/3
Co-authored-by: str1k3r <15+str1k3r@noreply.neolegacy.dev>
Co-committed-by: str1k3r <15+str1k3r@noreply.neolegacy.dev>
This commit is contained in:
str1k3r
2026-07-04 05:58:01 +01:00
committed by pieeebot
co-authored by str1k3r
parent c6b7af7af6
commit 54758672ed
35 changed files with 16275 additions and 49 deletions
+3 -3
View File
@@ -127,7 +127,7 @@ CMinecraftApp::CMinecraftApp()
m_bChangingSessionType = false;
m_bReallyChangingSessionType = false;
#ifdef _DEBUG_MENUS_ENABLED
#ifdef _DEBUG
#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
//
////////////////////////////
#ifndef _DEBUG_MENUS_ENABLED
#ifndef _DEBUG
unsigned int CMinecraftApp::GetGameSettingsDebugMask(int iPad,bool bOverridePlayer) //bOverridePlayer is to force the send for the server to get the read options
{
return 0;
@@ -5186,7 +5186,7 @@ void CMinecraftApp::UpsellReturnedCallback(LPVOID pParam, eUpsellType type, eUps
TelemetryManager->RecordUpsellResponded(ProfileManager.GetPrimaryPad(), eSen_UpsellID_Full_Version_Of_Game, app.m_dwOfferID, senResponse);
}
#ifdef _DEBUG_MENUS_ENABLED
#ifdef _DEBUG
bool CMinecraftApp::DebugArtToolsOn()
{
return DebugSettingsOn() && (GetGameSettingsDebugMask(ProfileManager.GetPrimaryPad())&(1L<<eDebugSetting_ArtTools)) != 0;