mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Fix
This commit is contained in:
parent
a9d27ad8f4
commit
4592e80b95
|
|
@ -18,12 +18,12 @@ foreach ($dir in $directories) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$copies = @(
|
$copies = @(
|
||||||
@{ Source = "Common\Media"; Dest = "MInecraft.Assets\Common\Media" },
|
@{ Source = "Common\Media"; Dest = "Assets\Common\Media" },
|
||||||
@{ Source = "Common\res"; Dest = "MInecraft.Assets\Common\res" },
|
@{ Source = "Common\res"; Dest = "Assets\Common\res" },
|
||||||
@{ Source = "Common\Trial"; Dest = "MInecraft.Assets\Common\Trial" },
|
@{ Source = "Common\Trial"; Dest = "Assets\Common\Trial" },
|
||||||
@{ Source = "Common\Tutorial"; Dest = "MInecraft.Assets\Common\Tutorial" },
|
@{ Source = "Common\Tutorial"; Dest = "Assets\Common\Tutorial" },
|
||||||
@{ Source = "Windows64\GameHDD"; Dest = "Windows64\GameHDD" },
|
@{ Source = "Windows64\GameHDD"; Dest = "Windows64\GameHDD" },
|
||||||
@{ Source = "Windows64Media"; Dest = "MInecraft.Assets\Win64" }
|
@{ Source = "Windows64Media"; Dest = "Assets\Win64" }
|
||||||
)
|
)
|
||||||
|
|
||||||
foreach ($copy in $copies) {
|
foreach ($copy in $copies) {
|
||||||
|
|
|
||||||
|
|
@ -92,11 +92,11 @@ BufferedImage::BufferedImage(const wstring& File, bool filenameHasExtension /*=f
|
||||||
if(bTitleUpdateTexture)
|
if(bTitleUpdateTexture)
|
||||||
{
|
{
|
||||||
// Make the content package point to to the UPDATE: drive is needed
|
// Make the content package point to to the UPDATE: drive is needed
|
||||||
wDrive= wstr + L"\\Minecraft.Assets\\Common\\res\\TitleUpdate\\";
|
wDrive= wstr + L"\\Assets\\Common\\res\\TitleUpdate\\";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wDrive= wstr + L"/Minecraft.Assets/Common/";
|
wDrive= wstr + L"/Assets/Common/";
|
||||||
}
|
}
|
||||||
#elif __PSVITA__
|
#elif __PSVITA__
|
||||||
|
|
||||||
|
|
@ -107,31 +107,31 @@ BufferedImage::BufferedImage(const wstring& File, bool filenameHasExtension /*=f
|
||||||
if(bTitleUpdateTexture)
|
if(bTitleUpdateTexture)
|
||||||
{
|
{
|
||||||
// Make the content package point to to the UPDATE: drive is needed
|
// Make the content package point to to the UPDATE: drive is needed
|
||||||
wDrive= wstr + L"\\Minecraft.Assets\\Common\\res\\TitleUpdate\\";
|
wDrive= wstr + L"\\Assets\\Common\\res\\TitleUpdate\\";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wDrive= wstr + L"/Minecraft.Assets/Common/";
|
wDrive= wstr + L"/Assets/Common/";
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
if(bTitleUpdateTexture)
|
if(bTitleUpdateTexture)
|
||||||
{
|
{
|
||||||
// Make the content package point to to the UPDATE: drive is needed
|
// Make the content package point to to the UPDATE: drive is needed
|
||||||
wDrive= L"Minecraft.Assets\\Common\\res\\TitleUpdate\\";
|
wDrive= L"Assets\\Common\\res\\TitleUpdate\\";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wDrive= L"Minecraft.Assets/Common/";
|
wDrive= L"Assets/Common/";
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if(bTitleUpdateTexture)
|
if(bTitleUpdateTexture)
|
||||||
{
|
{
|
||||||
// Make the content package point to to the UPDATE: drive is needed
|
// Make the content package point to to the UPDATE: drive is needed
|
||||||
wDrive= L"\\Minecraft.Assets\\Common\\res\\TitleUpdate\\";
|
wDrive= L"\\Assets\\Common\\res\\TitleUpdate\\";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wDrive= L"Minecraft.Assets/Common/";
|
wDrive= L"Assets/Common/";
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -64,8 +64,8 @@ void SoundEngine::playMusicTick() {};
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#ifdef _WINDOWS64
|
#ifdef _WINDOWS64
|
||||||
char SoundEngine::m_szSoundPath[]={"Minecraft.Assets\\Win64\\Sound\\"};
|
char SoundEngine::m_szSoundPath[]={"Assets\\Win64\\Sound\\"};
|
||||||
char SoundEngine::m_szMusicPath[]={"Minecraft.Assets\\Win64\\Sound\\music\\"};
|
char SoundEngine::m_szMusicPath[]={"Assets\\Win64\\Sound\\Minecraft\\music\\"};
|
||||||
char SoundEngine::m_szRedistName[]={"redist64"};
|
char SoundEngine::m_szRedistName[]={"redist64"};
|
||||||
#elif defined _DURANGO
|
#elif defined _DURANGO
|
||||||
char SoundEngine::m_szSoundPath[]={"Sound\\"};
|
char SoundEngine::m_szSoundPath[]={"Sound\\"};
|
||||||
|
|
@ -477,7 +477,7 @@ void SoundEngine::play(int iSound, float x, float y, float z, float volume, floa
|
||||||
iSound, SoundName, szSoundName, x, y, z, volume, pitch);
|
iSound, SoundName, szSoundName, x, y, z, volume, pitch);
|
||||||
|
|
||||||
char basePath[256];
|
char basePath[256];
|
||||||
sprintf_s(basePath, "Minecraft.Assets/Win64/Sound/%s", (char*)szSoundName);
|
sprintf_s(basePath, "Assets/Win64/Sound/%s", (char*)szSoundName);
|
||||||
|
|
||||||
char finalPath[256];
|
char finalPath[256];
|
||||||
sprintf_s(finalPath, "%s.wav", basePath);
|
sprintf_s(finalPath, "%s.wav", basePath);
|
||||||
|
|
@ -608,7 +608,7 @@ void SoundEngine::playUI(int iSound, float volume, float pitch)
|
||||||
strcat((char*)szSoundName, SoundName);
|
strcat((char*)szSoundName, SoundName);
|
||||||
|
|
||||||
char basePath[256];
|
char basePath[256];
|
||||||
sprintf_s(basePath, "Minecraft.Assets/Win64/Sound/Minecraft/UI/%s", ConvertSoundPathToName(name));
|
sprintf_s(basePath, "Assets/Win64/Sound/Minecraft/UI/%s", ConvertSoundPathToName(name));
|
||||||
|
|
||||||
char finalPath[256];
|
char finalPath[256];
|
||||||
sprintf_s(finalPath, "%s.wav", basePath);
|
sprintf_s(finalPath, "%s.wav", basePath);
|
||||||
|
|
|
||||||
|
|
@ -4403,15 +4403,15 @@ void CMinecraftApp::loadMediaArchive()
|
||||||
wstring mediapath = L"";
|
wstring mediapath = L"";
|
||||||
|
|
||||||
#ifdef __PS3__
|
#ifdef __PS3__
|
||||||
mediapath = L"Minecraft.Assets\\Common\\Media\\MediaPS3.arc";
|
mediapath = L"Assets\\Common\\Media\\MediaPS3.arc";
|
||||||
#elif _WINDOWS64
|
#elif _WINDOWS64
|
||||||
mediapath = L"Minecraft.Assets\\Common\\Media\\MediaWindows64.arc";
|
mediapath = L"Assets\\Common\\Media\\MediaWindows64.arc";
|
||||||
#elif __ORBIS__
|
#elif __ORBIS__
|
||||||
mediapath = L"Minecraft.Assets\\Common\\Media\\MediaOrbis.arc";
|
mediapath = L"Assets\\Common\\Media\\MediaOrbis.arc";
|
||||||
#elif _DURANGO
|
#elif _DURANGO
|
||||||
mediapath = L"Minecraft.Assets\\Common\\Media\\MediaDurango.arc";
|
mediapath = L"Assets\\Common\\Media\\MediaDurango.arc";
|
||||||
#elif __PSVITA__
|
#elif __PSVITA__
|
||||||
mediapath = L"Minecraft.Assets\\Common\\Media\\MediaPSVita.arc";
|
mediapath = L"Assets\\Common\\Media\\MediaPSVita.arc";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!mediapath.empty())
|
if (!mediapath.empty())
|
||||||
|
|
|
||||||
|
|
@ -662,7 +662,7 @@ void GameRuleManager::loadDefaultGameRules()
|
||||||
#else // _XBOX
|
#else // _XBOX
|
||||||
|
|
||||||
#ifdef _WINDOWS64
|
#ifdef _WINDOWS64
|
||||||
File packedTutorialFile(L"Minecraft.Assets\\Win64\\Tutorial\\Tutorial.pck");
|
File packedTutorialFile(L"Assets\\Win64\\Tutorial\\Tutorial.pck");
|
||||||
if(!packedTutorialFile.exists()) packedTutorialFile = File(L"Windows64\\Tutorial\\Tutorial.pck");
|
if(!packedTutorialFile.exists()) packedTutorialFile = File(L"Windows64\\Tutorial\\Tutorial.pck");
|
||||||
#elif defined(__ORBIS__)
|
#elif defined(__ORBIS__)
|
||||||
File packedTutorialFile(L"/app0/orbis/Tutorial/Tutorial.pck");
|
File packedTutorialFile(L"/app0/orbis/Tutorial/Tutorial.pck");
|
||||||
|
|
|
||||||
|
|
@ -468,7 +468,7 @@ void LevelGenerationOptions::loadBaseSaveData()
|
||||||
|
|
||||||
if (!dlcFile->getGrfPath().empty())
|
if (!dlcFile->getGrfPath().empty())
|
||||||
{
|
{
|
||||||
File grf(L"Minecraft.Assets\\Win64\\DLC\\" + packName + L"\\Data\\" + dlcFile->getGrfPath());
|
File grf(L"Assets\\Win64\\DLC\\" + packName + L"\\Data\\" + dlcFile->getGrfPath());
|
||||||
|
|
||||||
if (grf.exists())
|
if (grf.exists())
|
||||||
{
|
{
|
||||||
|
|
@ -496,7 +496,7 @@ void LevelGenerationOptions::loadBaseSaveData()
|
||||||
|
|
||||||
if (requiresBaseSave() && !getBaseSavePath().empty())
|
if (requiresBaseSave() && !getBaseSavePath().empty())
|
||||||
{
|
{
|
||||||
File save(L"Minecraft.Assets\\Win64\\DLC\\" + packName + L"\\Data\\" + baseSave);
|
File save(L"Assets\\Win64\\DLC\\" + packName + L"\\Data\\" + baseSave);
|
||||||
|
|
||||||
if (save.exists())
|
if (save.exists())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -230,7 +230,7 @@ bool CGameNetworkManager::StartNetworkGame(Minecraft *minecraft, LPVOID lpParame
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#ifdef _WINDOWS64
|
#ifdef _WINDOWS64
|
||||||
wstring fileRoot = L"Minecraft.Assets\\Win64\\Tutorial\\" + param->levelGen->getBaseSavePath();
|
wstring fileRoot = L"Assets\\Win64\\Tutorial\\" + param->levelGen->getBaseSavePath();
|
||||||
File root(fileRoot);
|
File root(fileRoot);
|
||||||
if(!root.exists()) fileRoot = L"Windows64\\Tutorial\\" + param->levelGen->getBaseSavePath();
|
if(!root.exists()) fileRoot = L"Windows64\\Tutorial\\" + param->levelGen->getBaseSavePath();
|
||||||
#elif defined(__ORBIS__)
|
#elif defined(__ORBIS__)
|
||||||
|
|
|
||||||
|
|
@ -359,17 +359,17 @@ UITTFFont *UIController::createFont(EFont fontLanguage)
|
||||||
switch(fontLanguage)
|
switch(fontLanguage)
|
||||||
{
|
{
|
||||||
#if defined(__PS3__) || defined(__ORBIS__) || defined(__PSVITA__)
|
#if defined(__PS3__) || defined(__ORBIS__) || defined(__PSVITA__)
|
||||||
case eFont_Japanese: return new UITTFFont("Mojangles_TTF_jaJP", "Minecraft.Assets/Common/Media/font/JPN/DF-DotDotGothic16.ttf", 0x203B); // JPN
|
case eFont_Japanese: return new UITTFFont("Mojangles_TTF_jaJP", "Assets/Common/Media/font/JPN/DF-DotDotGothic16.ttf", 0x203B); // JPN
|
||||||
// case eFont_SimpChinese: Simplified Chinese is unsupported.
|
// case eFont_SimpChinese: Simplified Chinese is unsupported.
|
||||||
case eFont_TradChinese: return new UITTFFont("Mojangles_TTF_cnTD", "Minecraft.Assets/Common/Media/font/CHT/DFTT_R5.TTC", 0x203B); // CHT
|
case eFont_TradChinese: return new UITTFFont("Mojangles_TTF_cnTD", "Assets/Common/Media/font/CHT/DFTT_R5.TTC", 0x203B); // CHT
|
||||||
case eFont_Korean: return new UITTFFont("Mojangles_TTF_koKR", "Minecraft.Assets/Common/Media/font/KOR/candadite2.ttf", 0x203B); // KOR
|
case eFont_Korean: return new UITTFFont("Mojangles_TTF_koKR", "Assets/Common/Media/font/KOR/candadite2.ttf", 0x203B); // KOR
|
||||||
#else
|
#else
|
||||||
case eFont_Japanese: return new UITTFFont("Mojangles_TTF_jaJP", "Minecraft.Assets/Common/Media/font/JPN/DFGMaruGothic-Md.ttf", 0x2022); // JPN
|
case eFont_Japanese: return new UITTFFont("Mojangles_TTF_jaJP", "Assets/Common/Media/font/JPN/DFGMaruGothic-Md.ttf", 0x2022); // JPN
|
||||||
#ifdef _DURANGO
|
#ifdef _DURANGO
|
||||||
case eFont_SimpChinese: return new UITTFFont("Mojangled_TTF_cnCN", "Minecraft.Assets/Common/Media/font/CHS/MSYH.ttf", 0x2022); // CHS
|
case eFont_SimpChinese: return new UITTFFont("Mojangled_TTF_cnCN", "Assets/Common/Media/font/CHS/MSYH.ttf", 0x2022); // CHS
|
||||||
#endif
|
#endif
|
||||||
case eFont_TradChinese: return new UITTFFont("Mojangles_TTF_cnTD", "Minecraft.Assets/Common/Media/font/CHT/DFHeiMedium-B5.ttf", 0x2022); // CHT
|
case eFont_TradChinese: return new UITTFFont("Mojangles_TTF_cnTD", "Assets/Common/Media/font/CHT/DFHeiMedium-B5.ttf", 0x2022); // CHT
|
||||||
case eFont_Korean: return new UITTFFont("Mojangles_TTF_koKR", "Minecraft.Assets/Common/Media/font/KOR/BOKMSD.ttf", 0x2022); // KOR
|
case eFont_Korean: return new UITTFFont("Mojangles_TTF_koKR", "Assets/Common/Media/font/KOR/BOKMSD.ttf", 0x2022); // KOR
|
||||||
#endif
|
#endif
|
||||||
// 4J-JEV, Cyrillic characters have been added to this font now, (4/July/14)
|
// 4J-JEV, Cyrillic characters have been added to this font now, (4/July/14)
|
||||||
// XC_LANGUAGE_RUSSIAN and XC_LANGUAGE_GREEK:
|
// XC_LANGUAGE_RUSSIAN and XC_LANGUAGE_GREEK:
|
||||||
|
|
|
||||||
|
|
@ -86,18 +86,18 @@ InputStream *DefaultTexturePack::getResourceImplementation(const wstring &name)/
|
||||||
|
|
||||||
wstring wstr (pchUsrDir, pchUsrDir+strlen(pchUsrDir));
|
wstring wstr (pchUsrDir, pchUsrDir+strlen(pchUsrDir));
|
||||||
|
|
||||||
wDrive = wstr + L"\\Minecraft.Assets\\Common\\res\\TitleUpdate\\res";
|
wDrive = wstr + L"\\Assets\\Common\\res\\TitleUpdate\\res";
|
||||||
#elif __PSVITA__
|
#elif __PSVITA__
|
||||||
|
|
||||||
/*
|
/*
|
||||||
char *pchUsrDir=getUsrDirPath();
|
char *pchUsrDir=getUsrDirPath();
|
||||||
wstring wstr (pchUsrDir, pchUsrDir+strlen(pchUsrDir));
|
wstring wstr (pchUsrDir, pchUsrDir+strlen(pchUsrDir));
|
||||||
|
|
||||||
wDrive = wstr + L"Minecraft.Assets\\Common\\res\\TitleUpdate\\res";
|
wDrive = wstr + L"Assets\\Common\\res\\TitleUpdate\\res";
|
||||||
*/
|
*/
|
||||||
wDrive = L"Minecraft.Assets\\Common\\res\\TitleUpdate\\res";
|
wDrive = L"Assets\\Common\\res\\TitleUpdate\\res";
|
||||||
#else
|
#else
|
||||||
wDrive = L"Minecraft.Assets\\Common\\res\\TitleUpdate\\res";
|
wDrive = L"Assets\\Common\\res\\TitleUpdate\\res";
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
InputStream *resource = InputStream::getResourceAsStream(wDrive + name);
|
InputStream *resource = InputStream::getResourceAsStream(wDrive + name);
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ InputStream *FolderTexturePack::getResourceImplementation(const wstring &name) /
|
||||||
#ifdef _XBOX
|
#ifdef _XBOX
|
||||||
wDrive=L"GAME:\\DummyTexturePack\\res";
|
wDrive=L"GAME:\\DummyTexturePack\\res";
|
||||||
#else
|
#else
|
||||||
wDrive = L"Minecraft.Assets\\Common\\DummyTexturePack\\res";
|
wDrive = L"Assets\\Common\\DummyTexturePack\\res";
|
||||||
#endif
|
#endif
|
||||||
InputStream *resource = InputStream::getResourceAsStream(wDrive + name);
|
InputStream *resource = InputStream::getResourceAsStream(wDrive + name);
|
||||||
//InputStream *stream = DefaultTexturePack::class->getResourceAsStream(name);
|
//InputStream *stream = DefaultTexturePack::class->getResourceAsStream(name);
|
||||||
|
|
@ -64,7 +64,7 @@ wstring FolderTexturePack::getPath(bool bTitleUpdateTexture /*= false*/,const ch
|
||||||
#ifdef _XBOX
|
#ifdef _XBOX
|
||||||
wDrive=L"GAME:\\" + file->getPath() + L"\\";
|
wDrive=L"GAME:\\" + file->getPath() + L"\\";
|
||||||
#else
|
#else
|
||||||
wDrive=L"Minecraft.Assets\\Common\\" + file->getPath() + L"\\";
|
wDrive=L"Assets\\Common\\" + file->getPath() + L"\\";
|
||||||
#endif
|
#endif
|
||||||
return wDrive;
|
return wDrive;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -753,6 +753,7 @@
|
||||||
<EnableClangTidyCodeAnalysis>false</EnableClangTidyCodeAnalysis>
|
<EnableClangTidyCodeAnalysis>false</EnableClangTidyCodeAnalysis>
|
||||||
<OutDir>$(SolutionDir)Game/$(Platform)\$(Configuration)\</OutDir>
|
<OutDir>$(SolutionDir)Game/$(Platform)\$(Configuration)\</OutDir>
|
||||||
<IntDir>$(SolutionDir)Build\$(ProjectName)\Intermediate\$(Platform)\$(Configuration)\</IntDir>
|
<IntDir>$(SolutionDir)Build\$(ProjectName)\Intermediate\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>Minecraft</TargetName>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64EC'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64EC'">
|
||||||
<LinkIncremental>true</LinkIncremental>
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
|
@ -790,6 +791,7 @@
|
||||||
<PreBuildEventUseInBuild>false</PreBuildEventUseInBuild>
|
<PreBuildEventUseInBuild>false</PreBuildEventUseInBuild>
|
||||||
<OutDir>$(SolutionDir)Game/$(Platform)\$(Configuration)\</OutDir>
|
<OutDir>$(SolutionDir)Game/$(Platform)\$(Configuration)\</OutDir>
|
||||||
<IntDir>$(SolutionDir)Build\$(ProjectName)\Intermediate\$(Platform)\$(Configuration)\</IntDir>
|
<IntDir>$(SolutionDir)Build\$(ProjectName)\Intermediate\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>Minecraft</TargetName>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64EC'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64EC'">
|
||||||
<LinkIncremental>true</LinkIncremental>
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
|
@ -1573,7 +1575,7 @@ if not exist "$(TargetDir)\savedata" mkdir "$(TargetDir)\savedata"</Command>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<ExceptionHandling>Sync</ExceptionHandling>
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
<PrecompiledHeaderOutputFile>$(OutDir)$(ProjectName).pch</PrecompiledHeaderOutputFile>
|
<PrecompiledHeaderOutputFile>$(SolutionDir)Build\$(ProjectName)\Intermediate\$(Platform)\$(Configuration)\$(OutDir)$(ProjectName).pch</PrecompiledHeaderOutputFile>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<PreprocessorDefinitions>_LARGE_WORLDS;_DEBUG_MENUS_ENABLED;_DEBUG;_CRT_NON_CONFORMING_SWPRINTFS;_CRT_SECURE_NO_WARNINGS;_WINDOWS64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>_LARGE_WORLDS;_DEBUG_MENUS_ENABLED;_DEBUG;_CRT_NON_CONFORMING_SWPRINTFS;_CRT_SECURE_NO_WARNINGS;_WINDOWS64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<CallAttributedProfiling>Disabled</CallAttributedProfiling>
|
<CallAttributedProfiling>Disabled</CallAttributedProfiling>
|
||||||
|
|
@ -1587,7 +1589,7 @@ if not exist "$(TargetDir)\savedata" mkdir "$(TargetDir)\savedata"</Command>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
|
<ProgramDatabaseFile>$(OutDir)Minecraft.pdb</ProgramDatabaseFile>
|
||||||
<AdditionalDependencies>legacy_stdio_definitions.lib;d3d11.lib;d3dcompiler.lib;..\Minecraft.World\x64_Debug\Minecraft.World.lib;%(AdditionalDependencies);XInput9_1_0.lib;wsock32.lib</AdditionalDependencies>
|
<AdditionalDependencies>legacy_stdio_definitions.lib;d3d11.lib;d3dcompiler.lib;..\Minecraft.World\x64_Debug\Minecraft.World.lib;%(AdditionalDependencies);XInput9_1_0.lib;wsock32.lib</AdditionalDependencies>
|
||||||
<ShowProgress>NotSet</ShowProgress>
|
<ShowProgress>NotSet</ShowProgress>
|
||||||
<SuppressStartupBanner>false</SuppressStartupBanner>
|
<SuppressStartupBanner>false</SuppressStartupBanner>
|
||||||
|
|
@ -1805,7 +1807,7 @@ xcopy /q /y /i /s /e $(ProjectDir)DurangoMedia\CU $(LayoutDir)Image\Loose\CU</C
|
||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
<ExceptionHandling>Sync</ExceptionHandling>
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
<PrecompiledHeaderOutputFile>$(OutDir)$(ProjectName).pch</PrecompiledHeaderOutputFile>
|
<PrecompiledHeaderOutputFile>$(SolutionDir)Build\$(ProjectName)\Intermediate\$(Platform)\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
<PreprocessorDefinitions>_LARGE_WORLDS;_DEBUG_MENUS_ENABLED;_CRT_NON_CONFORMING_SWPRINTFS;_CRT_SECURE_NO_WARNINGS;_WINDOWS64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>_LARGE_WORLDS;_DEBUG_MENUS_ENABLED;_CRT_NON_CONFORMING_SWPRINTFS;_CRT_SECURE_NO_WARNINGS;_WINDOWS64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<CallAttributedProfiling>Disabled</CallAttributedProfiling>
|
<CallAttributedProfiling>Disabled</CallAttributedProfiling>
|
||||||
|
|
@ -1820,11 +1822,15 @@ xcopy /q /y /i /s /e $(ProjectDir)DurangoMedia\CU $(LayoutDir)Image\Loose\CU</C
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<AdditionalOptions>/FS /Ob3 %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/FS /Ob3 %(AdditionalOptions)</AdditionalOptions>
|
||||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||||
<MinimalRebuild>true</MinimalRebuild>
|
<MinimalRebuild>false</MinimalRebuild>
|
||||||
|
<StructMemberAlignment>16Bytes</StructMemberAlignment>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
|
<ProgramDatabaseFile>$(OutDir)Minecraft.pdb</ProgramDatabaseFile>
|
||||||
<AdditionalDependencies>legacy_stdio_definitions.lib;d3d11.lib;d3dcompiler.lib;XInput9_1_0.lib;Windows64\Iggy\lib\iggy_w64.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>legacy_stdio_definitions.lib;d3d11.lib;d3dcompiler.lib;XInput9_1_0.lib;Windows64\Iggy\lib\iggy_w64.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<ShowProgress>NotSet</ShowProgress>
|
<ShowProgress>NotSet</ShowProgress>
|
||||||
<SuppressStartupBanner>false</SuppressStartupBanner>
|
<SuppressStartupBanner>false</SuppressStartupBanner>
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ vector<Texture *> *TextureManager::createTextures(const wstring &filename, bool
|
||||||
const char *pchTextureName=wstringtofilename(filename);
|
const char *pchTextureName=wstringtofilename(filename);
|
||||||
char *pchUsrDir = app.GetBDUsrDirPath(pchTextureName);
|
char *pchUsrDir = app.GetBDUsrDirPath(pchTextureName);
|
||||||
wstring wstr (pchUsrDir, pchUsrDir+strlen(pchUsrDir));
|
wstring wstr (pchUsrDir, pchUsrDir+strlen(pchUsrDir));
|
||||||
drive= wstr + L"\\Minecraft.Assets\\Common\\res\\TitleUpdate\\";
|
drive= wstr + L"\\Assets\\Common\\res\\TitleUpdate\\";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -32,12 +32,12 @@ wstring TexturePack::getPath(bool bTitleUpdateTexture /*= false*/,const char *pc
|
||||||
|
|
||||||
if(bTitleUpdateTexture)
|
if(bTitleUpdateTexture)
|
||||||
{
|
{
|
||||||
wDrive= wstr + L"\\Minecraft.Assets\\Common\\res\\TitleUpdate\\";
|
wDrive= wstr + L"\\Assets\\Common\\res\\TitleUpdate\\";
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wDrive= wstr + L"/Minecraft.Assets/Common/";
|
wDrive= wstr + L"/Assets/Common/";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
@ -49,11 +49,11 @@ wstring TexturePack::getPath(bool bTitleUpdateTexture /*= false*/,const char *pc
|
||||||
if(bTitleUpdateTexture)
|
if(bTitleUpdateTexture)
|
||||||
{
|
{
|
||||||
// Make the content package point to to the UPDATE: drive is needed
|
// Make the content package point to to the UPDATE: drive is needed
|
||||||
wDrive= wstr + L"\\Minecraft.Assets\\Common\\res\\TitleUpdate\\";
|
wDrive= wstr + L"\\Assets\\Common\\res\\TitleUpdate\\";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wDrive= wstr + L"/Minecraft.Assets/Common/";
|
wDrive= wstr + L"/Assets/Common/";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -64,21 +64,21 @@ wstring TexturePack::getPath(bool bTitleUpdateTexture /*= false*/,const char *pc
|
||||||
if(bTitleUpdateTexture)
|
if(bTitleUpdateTexture)
|
||||||
{
|
{
|
||||||
// Make the content package point to to the UPDATE: drive is needed
|
// Make the content package point to to the UPDATE: drive is needed
|
||||||
wDrive= wstr + L"Minecraft.Assets\\Common\\res\\TitleUpdate\\";
|
wDrive= wstr + L"Assets\\Common\\res\\TitleUpdate\\";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wDrive= wstr + L"Minecraft.Assets\\Common\\";
|
wDrive= wstr + L"Assets\\Common\\";
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if(bTitleUpdateTexture)
|
if(bTitleUpdateTexture)
|
||||||
{
|
{
|
||||||
// Make the content package point to to the UPDATE: drive is needed
|
// Make the content package point to to the UPDATE: drive is needed
|
||||||
wDrive=L"Minecraft.Assets\\Common\\res\\TitleUpdate\\";
|
wDrive=L"Assets\\Common\\res\\TitleUpdate\\";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wDrive=L"Minecraft.Assets/Common/";
|
wDrive=L"Assets/Common/";
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -1409,12 +1409,12 @@ BufferedImage *Textures::readImage(TEXTURE_NAME texId, const wstring& name) // 4
|
||||||
|
|
||||||
if(isTu)
|
if(isTu)
|
||||||
{
|
{
|
||||||
drive= wstr + L"\\Minecraft.Assets\\Common\\res\\TitleUpdate\\";
|
drive= wstr + L"\\Assets\\Common\\res\\TitleUpdate\\";
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
drive= wstr + L"\\Minecraft.Assets\\Common\\";
|
drive= wstr + L"\\Assets\\Common\\";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -157,6 +157,9 @@
|
||||||
<ForcedIncludeFiles>stdafx.h</ForcedIncludeFiles>
|
<ForcedIncludeFiles>stdafx.h</ForcedIncludeFiles>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
<AdditionalIncludeDirectories>libpng\;zlib\;microprofile\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>libpng\;zlib\;microprofile\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<StructMemberAlignment>16Bytes</StructMemberAlignment>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>
|
<SubSystem>
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1381,6 +1381,10 @@
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<AdditionalOptions>/FS /Ob3 %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/FS /Ob3 %(AdditionalOptions)</AdditionalOptions>
|
||||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||||
|
<StructMemberAlignment>16Bytes</StructMemberAlignment>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue