From 9d23d9550a2affbaf003b1f4f3a49d0361824f28 Mon Sep 17 00:00:00 2001 From: Aruki Date: Mon, 28 Jan 2019 03:55:15 -0700 Subject: [PATCH] MP2/MP3/DKCR tweak saving support --- resources/WordList.txt | 1 + src/Core/Resource/Factory/CScriptLoader.cpp | 2 +- .../Resource/Script/Property/IProperty.cpp | 31 +- src/Core/Resource/Script/Property/IProperty.h | 3 +- src/Core/Tweaks/CTweakCooker.cpp | 31 +- src/Core/Tweaks/CTweakData.h | 11 +- src/Core/Tweaks/CTweakLoader.cpp | 4 +- src/Core/Tweaks/CTweakManager.cpp | 37 +- src/Core/Tweaks/CTweakManager.h | 2 +- src/Editor/CTweakEditor.cpp | 15 +- .../DKCR/Structs/DeathTikiTransition.xml | 8 +- ...eakGraphicalTransitions_UnknownStruct2.xml | 8 +- templates/MP2/Misc/TweakGame.xml | 2 +- .../MP2/Structs/TBallTransitionResources.xml | 10 +- templates/MP2/Structs/TweakGui_LogBook.xml | 8 +- templates/MP2/Structs/TweakGui_Misc.xml | 6 +- templates/MP3/Misc/TweakAdvancedControls.xml | 421 +++++++++- templates/MP3/Misc/TweakExpertControls.xml | 421 +++++++++- templates/MP3/Misc/TweakGamecubeControls.xml | 539 ++++++++++++- .../MP3/Misc/TweakRevolutionControls.xml | 421 +++++++++- templates/MP3/Structs/BallMiscControls.xml | 132 +++- .../MP3/Structs/BallMovementControls.xml | 257 ++++++- templates/MP3/Structs/CameraControls.xml | 197 ++++- templates/MP3/Structs/ControlCommands.xml | 25 + templates/MP3/Structs/DebugControls.xml | 719 ++++++++++++++++- templates/MP3/Structs/InventoryControls.xml | 231 +++++- templates/MP3/Structs/MapControls.xml | 698 ++++++++++++++++- templates/MP3/Structs/MiscControls.xml | 53 +- .../Structs/MiscControls_UnknownStruct1.xml | 112 ++- .../Structs/MiscControls_UnknownStruct2.xml | 78 +- templates/MP3/Structs/PlayerControls.xml | 25 +- templates/MP3/Structs/PlayerMiscControls.xml | 722 +++++++++++++++++- .../MP3/Structs/PlayerMovementControls.xml | 329 +++++++- .../MP3/Structs/PlayerWeaponControls.xml | 200 ++++- templates/PropertyMap.xml | 232 +++++- 35 files changed, 5790 insertions(+), 201 deletions(-) diff --git a/resources/WordList.txt b/resources/WordList.txt index dbb3299a..240d3f1f 100644 --- a/resources/WordList.txt +++ b/resources/WordList.txt @@ -26,6 +26,7 @@ about above absolute absorb +accel acceleration accumulate achievement diff --git a/src/Core/Resource/Factory/CScriptLoader.cpp b/src/Core/Resource/Factory/CScriptLoader.cpp index a32662c2..86f5c75d 100644 --- a/src/Core/Resource/Factory/CScriptLoader.cpp +++ b/src/Core/Resource/Factory/CScriptLoader.cpp @@ -151,7 +151,7 @@ void CScriptLoader::ReadProperty(IProperty *pProp, uint32 Size, IInputStream& rS #if VALIDATE_PROPERTY_VALUES CAssetID ID = pAsset->ValueRef(pData); - if (ID.IsValid()) + if (ID.IsValid() && gpResourceStore) { CResourceEntry *pEntry = gpResourceStore->FindEntry(ID); diff --git a/src/Core/Resource/Script/Property/IProperty.cpp b/src/Core/Resource/Script/Property/IProperty.cpp index 3ffe0287..092f1d0b 100644 --- a/src/Core/Resource/Script/Property/IProperty.cpp +++ b/src/Core/Resource/Script/Property/IProperty.cpp @@ -326,7 +326,29 @@ TString IProperty::GetTemplateFileName() bool IProperty::ShouldCook(void* pPropertyData) const { - switch (mCookPreference) + ECookPreference Preference = mCookPreference; + + // Determine the real cook preference to use. + if (Preference == ECookPreference::Default) + { + if (Game() == EGame::DKCReturns) + { + // DKCR properties usually don't write unless they have been modified. + Preference = ECookPreference::OnlyIfModified; + } + else + { + // MP2 and MP3 properties usually always write no matter what. + Preference = ECookPreference::Always; + } + } + else if (Preference == ECookPreference::OnlyIfModified && Game() <= EGame::Prime) + { + // OnlyIfModified not supported for MP1. + Preference = ECookPreference::Always; + } + + switch (Preference) { case ECookPreference::Always: return true; @@ -334,8 +356,13 @@ bool IProperty::ShouldCook(void* pPropertyData) const case ECookPreference::Never: return false; + case ECookPreference::OnlyIfModified: + return !MatchesDefault(pPropertyData); + default: - return (Game() < EGame::DKCReturns ? true : !MatchesDefault(pPropertyData)); + // Unhandled case + ASSERT(false); + return true; } } diff --git a/src/Core/Resource/Script/Property/IProperty.h b/src/Core/Resource/Script/Property/IProperty.h index cf00681a..afbf1d8e 100644 --- a/src/Core/Resource/Script/Property/IProperty.h +++ b/src/Core/Resource/Script/Property/IProperty.h @@ -105,7 +105,8 @@ enum class ECookPreference { Default, Always, - Never + Never, + OnlyIfModified }; /** New property class */ diff --git a/src/Core/Tweaks/CTweakCooker.cpp b/src/Core/Tweaks/CTweakCooker.cpp index 177197ec..33f8e2d9 100644 --- a/src/Core/Tweaks/CTweakCooker.cpp +++ b/src/Core/Tweaks/CTweakCooker.cpp @@ -12,6 +12,33 @@ bool CTweakCooker::CookCTWK(CTweakData* pTweakData, IOutputStream& CTWK) bool CTweakCooker::CookNTWK(const std::vector& kTweaks, IOutputStream& NTWK) { - // Unimplemented - return false; + NTWK.WriteFourCC( FOURCC('NTWK') ); // NTWK magic + NTWK.WriteByte( 1 ); // Version number; must be 1 + NTWK.WriteLong( kTweaks.size() ); // Number of tweak objects + + for (uint TweakIdx = 0; TweakIdx < kTweaks.size(); TweakIdx++) + { + CTweakData* pTweakData = kTweaks[TweakIdx]; + + // Tweaks in MP2+ are saved with the script object data format + // Write a dummy script object header here + uint TweakObjectStart = NTWK.Tell(); + NTWK.WriteLong( pTweakData->TweakID() ); // Object ID + NTWK.WriteShort( 0 ); // Object size + NTWK.WriteLong( TweakIdx ); // Instance ID + NTWK.WriteShort( 0 ); // Link count + + CStructRef TweakProperties = pTweakData->TweakData(); + CScriptCooker ScriptCooker(TweakProperties.Property()->Game()); + ScriptCooker.WriteProperty(NTWK, TweakProperties.Property(), TweakProperties.DataPointer(), false); + + uint TweakObjectEnd = NTWK.Tell(); + uint TweakObjectSize = (uint16) (TweakObjectEnd - TweakObjectStart - 6); + NTWK.GoTo(TweakObjectStart + 4); + NTWK.WriteShort(TweakObjectSize); + NTWK.GoTo(TweakObjectEnd); + } + + NTWK.WriteToBoundary(32, 0); + return true; } diff --git a/src/Core/Tweaks/CTweakData.h b/src/Core/Tweaks/CTweakData.h index 2c01514d..63c588dd 100644 --- a/src/Core/Tweaks/CTweakData.h +++ b/src/Core/Tweaks/CTweakData.h @@ -13,12 +13,16 @@ class CTweakData : public CResource /** Script template specifying tweak data layout */ CScriptTemplate* mpTemplate; + /** Tweak ID for MP2+ */ + uint mTweakID; + /** Tweak data */ std::vector mTweakData; public: - CTweakData(CScriptTemplate* pTemplate, CResourceEntry* pEntry = 0) + CTweakData(CScriptTemplate* pTemplate, uint TweakID, CResourceEntry* pEntry = 0) : mpTemplate(pTemplate) + , mTweakID(TweakID) , CResource(pEntry) { CStructProperty* pProperties = pTemplate->Properties(); @@ -44,6 +48,11 @@ public: return mpTemplate; } + inline uint32 TweakID() const + { + return mTweakID; + } + inline CStructRef TweakData() const { return CStructRef((void*) mTweakData.data(), mpTemplate->Properties()); diff --git a/src/Core/Tweaks/CTweakLoader.cpp b/src/Core/Tweaks/CTweakLoader.cpp index 9ace88e2..452c309c 100644 --- a/src/Core/Tweaks/CTweakLoader.cpp +++ b/src/Core/Tweaks/CTweakLoader.cpp @@ -36,7 +36,7 @@ CTweakData* CTweakLoader::LoadCTWK(IInputStream& CTWK, CResourceEntry* pEntry) ASSERT( pTweakTemplate != nullptr ); // Load tweak data - CTweakData* pTweakData = new CTweakData(pTweakTemplate, pEntry); + CTweakData* pTweakData = new CTweakData(pTweakTemplate, pEntry->ID().ToLong(), pEntry); CScriptLoader::LoadStructData( CTWK, pTweakData->TweakData() ); // Verify @@ -121,7 +121,7 @@ void CTweakLoader::LoadNTWK(IInputStream& NTWK, EGame Game, std::vectorTweakData() ); OutTweaks.push_back(pTweakData); diff --git a/src/Core/Tweaks/CTweakManager.cpp b/src/Core/Tweaks/CTweakManager.cpp index b91b57f7..67f23014 100644 --- a/src/Core/Tweaks/CTweakManager.cpp +++ b/src/Core/Tweaks/CTweakManager.cpp @@ -2,6 +2,7 @@ #include "Core/GameProject/CGameProject.h" #include "Core/GameProject/CResourceIterator.h" #include "Core/Tweaks/CTweakLoader.h" +#include "Core/Tweaks/CTweakCooker.h" CTweakManager::CTweakManager(CGameProject* pInProject) : mpProject(pInProject) @@ -47,9 +48,37 @@ CTweakManager::~CTweakManager() } } -void CTweakManager::SaveTweaks() +bool CTweakManager::SaveTweaks() { - // In MP1, to save an individual tweak asset, just call Tweak->Entry()->Save() - // In MP2+, call this function. - //@todo + // MP1 - Save all tweak assets + if (mpProject->Game() <= EGame::Prime) + { + bool SavedAll = true, SavedAny = false; + + for (CTweakData* pTweakData : mTweakObjects) + { + if (!pTweakData->Entry()->Save(true)) + { + SavedAll = false; + } + else + { + SavedAny = true; + } + } + + if (SavedAny) + { + mpProject->ResourceStore()->ConditionalSaveStore(); + } + + return SavedAll; + } + // MP2+ - Save tweaks to Standard.ntwk + else + { + TString FilePath = mpProject->DiscFilesystemRoot(false) + "Standard.ntwk"; + CFileOutStream StandardNTWK(FilePath, EEndian::BigEndian); + return CTweakCooker::CookNTWK(mTweakObjects, StandardNTWK); + } } diff --git a/src/Core/Tweaks/CTweakManager.h b/src/Core/Tweaks/CTweakManager.h index 2928c6dc..0c38cba7 100644 --- a/src/Core/Tweaks/CTweakManager.h +++ b/src/Core/Tweaks/CTweakManager.h @@ -16,7 +16,7 @@ public: CTweakManager(CGameProject* pInProject); ~CTweakManager(); void LoadTweaks(); - void SaveTweaks(); + bool SaveTweaks(); // Accessors inline const std::vector& TweakObjects() const diff --git a/src/Editor/CTweakEditor.cpp b/src/Editor/CTweakEditor.cpp index 4eea3d20..5de8f1b0 100644 --- a/src/Editor/CTweakEditor.cpp +++ b/src/Editor/CTweakEditor.cpp @@ -51,17 +51,7 @@ bool CTweakEditor::HasTweaks() bool CTweakEditor::Save() { - bool SavedAll = true; - - foreach (CTweakData* pData, mTweakAssets) - { - if (!pData->Entry()->Save()) - { - SavedAll = false; - } - } - - if (!SavedAll) + if (!gpEdApp->ActiveProject()->TweakManager()->SaveTweaks()) { UICommon::ErrorMsg(this, "Tweaks failed to save!"); return false; @@ -167,4 +157,7 @@ void CTweakEditor::OnProjectChanged(CGameProject* pNewProject) } mpUI->TweakTabs->blockSignals(false); + + // Hide "save and repack" button for MP2+ as it doesn't do anything different from the regular Save button + mpUI->ActionSaveAndRepack->setVisible( !pNewProject || pNewProject->Game() <= EGame::Prime ); } diff --git a/templates/DKCR/Structs/DeathTikiTransition.xml b/templates/DKCR/Structs/DeathTikiTransition.xml index 0b924667..3a276b08 100644 --- a/templates/DKCR/Structs/DeathTikiTransition.xml +++ b/templates/DKCR/Structs/DeathTikiTransition.xml @@ -8,7 +8,13 @@ - + + + + Always + + + diff --git a/templates/DKCR/Structs/TweakGraphicalTransitions_UnknownStruct2.xml b/templates/DKCR/Structs/TweakGraphicalTransitions_UnknownStruct2.xml index 82af834e..df7934f3 100644 --- a/templates/DKCR/Structs/TweakGraphicalTransitions_UnknownStruct2.xml +++ b/templates/DKCR/Structs/TweakGraphicalTransitions_UnknownStruct2.xml @@ -3,8 +3,12 @@ TweakGraphicalTransitions_UnknownStruct2 - - + + Always + + + Always + 0.0 diff --git a/templates/MP2/Misc/TweakGame.xml b/templates/MP2/Misc/TweakGame.xml index c15d43f6..3c2249f5 100644 --- a/templates/MP2/Misc/TweakGame.xml +++ b/templates/MP2/Misc/TweakGame.xml @@ -3,7 +3,6 @@ TweakGame - @@ -59,6 +58,7 @@ + diff --git a/templates/MP2/Structs/TBallTransitionResources.xml b/templates/MP2/Structs/TBallTransitionResources.xml index 595785df..5740ce0b 100644 --- a/templates/MP2/Structs/TBallTransitionResources.xml +++ b/templates/MP2/Structs/TBallTransitionResources.xml @@ -3,14 +3,14 @@ TBallTransitionResources - - - - - + + + + + diff --git a/templates/MP2/Structs/TweakGui_LogBook.xml b/templates/MP2/Structs/TweakGui_LogBook.xml index 984d5b70..10b4d7d3 100644 --- a/templates/MP2/Structs/TweakGui_LogBook.xml +++ b/templates/MP2/Structs/TweakGui_LogBook.xml @@ -3,10 +3,6 @@ TweakGui_LogBook - - - - 0.0 @@ -96,6 +92,9 @@ 1.0 + + + 2.0 @@ -111,6 +110,7 @@ 2.0 + 0.0 diff --git a/templates/MP2/Structs/TweakGui_Misc.xml b/templates/MP2/Structs/TweakGui_Misc.xml index 46ebe503..a38e41a8 100644 --- a/templates/MP2/Structs/TweakGui_Misc.xml +++ b/templates/MP2/Structs/TweakGui_Misc.xml @@ -3,9 +3,6 @@ TweakGui_Misc - - - false @@ -364,6 +361,9 @@ 6.0 + + + 0.2 diff --git a/templates/MP3/Misc/TweakAdvancedControls.xml b/templates/MP3/Misc/TweakAdvancedControls.xml index b9ee5bd9..4404f7e9 100644 --- a/templates/MP3/Misc/TweakAdvancedControls.xml +++ b/templates/MP3/Misc/TweakAdvancedControls.xml @@ -4,7 +4,426 @@ TweakAdvancedControls - + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + diff --git a/templates/MP3/Misc/TweakExpertControls.xml b/templates/MP3/Misc/TweakExpertControls.xml index a8bb13bb..350d8bda 100644 --- a/templates/MP3/Misc/TweakExpertControls.xml +++ b/templates/MP3/Misc/TweakExpertControls.xml @@ -4,7 +4,426 @@ TweakExpertControls - + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + diff --git a/templates/MP3/Misc/TweakGamecubeControls.xml b/templates/MP3/Misc/TweakGamecubeControls.xml index 09796411..9deeeaad 100644 --- a/templates/MP3/Misc/TweakGamecubeControls.xml +++ b/templates/MP3/Misc/TweakGamecubeControls.xml @@ -4,7 +4,544 @@ TweakGamecubeControls - + + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + diff --git a/templates/MP3/Misc/TweakRevolutionControls.xml b/templates/MP3/Misc/TweakRevolutionControls.xml index 4e9869b9..479307b1 100644 --- a/templates/MP3/Misc/TweakRevolutionControls.xml +++ b/templates/MP3/Misc/TweakRevolutionControls.xml @@ -4,7 +4,426 @@ TweakRevolutionControls - + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + + + OnlyIfModified + + + + + + + + + diff --git a/templates/MP3/Structs/BallMiscControls.xml b/templates/MP3/Structs/BallMiscControls.xml index 45a4da94..108751ca 100644 --- a/templates/MP3/Structs/BallMiscControls.xml +++ b/templates/MP3/Structs/BallMiscControls.xml @@ -3,10 +3,134 @@ BallMiscControls - - - - + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + diff --git a/templates/MP3/Structs/BallMovementControls.xml b/templates/MP3/Structs/BallMovementControls.xml index 729a7af7..1f6ef371 100644 --- a/templates/MP3/Structs/BallMovementControls.xml +++ b/templates/MP3/Structs/BallMovementControls.xml @@ -3,14 +3,255 @@ BallMovementControls - - - - - - - - + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + diff --git a/templates/MP3/Structs/CameraControls.xml b/templates/MP3/Structs/CameraControls.xml index 473309f9..4316b8ec 100644 --- a/templates/MP3/Structs/CameraControls.xml +++ b/templates/MP3/Structs/CameraControls.xml @@ -3,13 +3,196 @@ CameraControls - - - - - - - + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + diff --git a/templates/MP3/Structs/ControlCommands.xml b/templates/MP3/Structs/ControlCommands.xml index 1ddc2d6b..bd1d2dd7 100644 --- a/templates/MP3/Structs/ControlCommands.xml +++ b/templates/MP3/Structs/ControlCommands.xml @@ -105,6 +105,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/MP3/Structs/DebugControls.xml b/templates/MP3/Structs/DebugControls.xml index 89da4d8b..7451396c 100644 --- a/templates/MP3/Structs/DebugControls.xml +++ b/templates/MP3/Structs/DebugControls.xml @@ -3,31 +3,700 @@ DebugControls - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + diff --git a/templates/MP3/Structs/InventoryControls.xml b/templates/MP3/Structs/InventoryControls.xml index 2df6afb1..b7c7e76c 100644 --- a/templates/MP3/Structs/InventoryControls.xml +++ b/templates/MP3/Structs/InventoryControls.xml @@ -3,13 +3,230 @@ InventoryControls - - - - - - - + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + diff --git a/templates/MP3/Structs/MapControls.xml b/templates/MP3/Structs/MapControls.xml index 1255c375..e97b8803 100644 --- a/templates/MP3/Structs/MapControls.xml +++ b/templates/MP3/Structs/MapControls.xml @@ -3,28 +3,682 @@ MapControls - - - - - - - - - - - - - - - - - - - - - - + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + diff --git a/templates/MP3/Structs/MiscControls.xml b/templates/MP3/Structs/MiscControls.xml index 7d3eafe7..72558c67 100644 --- a/templates/MP3/Structs/MiscControls.xml +++ b/templates/MP3/Structs/MiscControls.xml @@ -5,10 +5,59 @@ - + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + - + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + diff --git a/templates/MP3/Structs/MiscControls_UnknownStruct1.xml b/templates/MP3/Structs/MiscControls_UnknownStruct1.xml index bcd3db21..a6a8f7ae 100644 --- a/templates/MP3/Structs/MiscControls_UnknownStruct1.xml +++ b/templates/MP3/Structs/MiscControls_UnknownStruct1.xml @@ -3,10 +3,114 @@ MiscControls_UnknownStruct1 - - - - + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + diff --git a/templates/MP3/Structs/MiscControls_UnknownStruct2.xml b/templates/MP3/Structs/MiscControls_UnknownStruct2.xml index 131df3c9..eaec04d1 100644 --- a/templates/MP3/Structs/MiscControls_UnknownStruct2.xml +++ b/templates/MP3/Structs/MiscControls_UnknownStruct2.xml @@ -6,9 +6,81 @@ 0xBB12C51F - - - + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + diff --git a/templates/MP3/Structs/PlayerControls.xml b/templates/MP3/Structs/PlayerControls.xml index b94637b3..4c1b8c61 100644 --- a/templates/MP3/Structs/PlayerControls.xml +++ b/templates/MP3/Structs/PlayerControls.xml @@ -16,7 +16,30 @@ - + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + diff --git a/templates/MP3/Structs/PlayerMiscControls.xml b/templates/MP3/Structs/PlayerMiscControls.xml index 45a3aa27..64862e28 100644 --- a/templates/MP3/Structs/PlayerMiscControls.xml +++ b/templates/MP3/Structs/PlayerMiscControls.xml @@ -3,31 +3,703 @@ PlayerMiscControls - - - - - - - - - - - - - - - - - - - - - - - - - + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + diff --git a/templates/MP3/Structs/PlayerMovementControls.xml b/templates/MP3/Structs/PlayerMovementControls.xml index f679809c..ba5b63ff 100644 --- a/templates/MP3/Structs/PlayerMovementControls.xml +++ b/templates/MP3/Structs/PlayerMovementControls.xml @@ -3,17 +3,324 @@ PlayerMovementControls - - - - - - - - - - - + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + diff --git a/templates/MP3/Structs/PlayerWeaponControls.xml b/templates/MP3/Structs/PlayerWeaponControls.xml index 170168a7..ba8e9048 100644 --- a/templates/MP3/Structs/PlayerWeaponControls.xml +++ b/templates/MP3/Structs/PlayerWeaponControls.xml @@ -3,13 +3,199 @@ PlayerWeaponControls - - - - - - - + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + + + OnlyIfModified + + + + + + + OnlyIfModified + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + + + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + OnlyIfModified + + + diff --git a/templates/PropertyMap.xml b/templates/PropertyMap.xml index 7f3ba976..12b3bddb 100644 --- a/templates/PropertyMap.xml +++ b/templates/PropertyMap.xml @@ -69,6 +69,10 @@ + + + + @@ -257,6 +261,10 @@ + + + + @@ -769,6 +777,10 @@ + + + + @@ -1417,6 +1429,10 @@ + + + + @@ -1553,6 +1569,10 @@ + + + + @@ -1633,6 +1653,10 @@ + + + + @@ -1789,6 +1813,10 @@ + + + + @@ -2031,7 +2059,7 @@ - + @@ -2753,6 +2781,10 @@ + + + + @@ -3103,7 +3135,7 @@ - + @@ -3355,7 +3387,7 @@ - + @@ -3547,7 +3579,7 @@ - + @@ -4045,6 +4077,10 @@ + + + + @@ -4295,7 +4331,7 @@ - + @@ -4647,7 +4683,7 @@ - + @@ -5401,6 +5437,10 @@ + + + + @@ -6521,6 +6561,10 @@ + + + + @@ -7809,10 +7853,6 @@ - - - - @@ -7999,7 +8039,7 @@ - + @@ -8263,7 +8303,7 @@ - + @@ -8347,7 +8387,7 @@ - + @@ -9805,6 +9845,10 @@ + + + + @@ -10357,6 +10401,10 @@ + + + + @@ -10879,7 +10927,7 @@ - + @@ -12881,6 +12929,10 @@ + + + + @@ -13153,6 +13205,10 @@ + + + + @@ -13917,6 +13973,10 @@ + + + + @@ -15081,6 +15141,10 @@ + + + + @@ -15563,7 +15627,7 @@ - + @@ -15955,7 +16019,7 @@ - + @@ -16989,6 +17053,10 @@ + + + + @@ -16997,10 +17065,6 @@ - - - - @@ -18189,6 +18253,10 @@ + + + + @@ -19051,7 +19119,7 @@ - + @@ -19625,6 +19693,10 @@ + + + + @@ -21801,6 +21873,10 @@ + + + + @@ -21977,6 +22053,10 @@ + + + + @@ -22385,6 +22465,10 @@ + + + + @@ -22657,6 +22741,10 @@ + + + + @@ -22993,6 +23081,10 @@ + + + + @@ -24013,6 +24105,10 @@ + + + + @@ -24035,7 +24131,7 @@ - + @@ -24211,7 +24307,7 @@ - + @@ -25887,7 +25983,7 @@ - + @@ -26811,7 +26907,7 @@ - + @@ -27389,6 +27485,10 @@ + + + + @@ -27981,6 +28081,10 @@ + + + + @@ -28549,6 +28653,10 @@ + + + + @@ -29177,6 +29285,10 @@ + + + + @@ -29629,6 +29741,10 @@ + + + + @@ -30757,6 +30873,10 @@ + + + + @@ -32573,6 +32693,10 @@ + + + + @@ -33029,6 +33153,10 @@ + + + + @@ -33165,6 +33293,10 @@ + + + + @@ -34393,6 +34525,10 @@ + + + + @@ -36241,6 +36377,10 @@ + + + + @@ -36925,6 +37065,10 @@ + + + + @@ -36965,6 +37109,10 @@ + + + + @@ -37395,7 +37543,7 @@ - + @@ -37437,6 +37585,10 @@ + + + + @@ -37961,6 +38113,10 @@ + + + + @@ -37991,7 +38147,7 @@ - + @@ -39277,6 +39433,10 @@ + + + + @@ -40085,6 +40245,10 @@ + + + + @@ -40255,7 +40419,7 @@ - + @@ -41033,6 +41197,10 @@ + + + + @@ -42337,6 +42505,10 @@ + + + + @@ -43383,7 +43555,7 @@ - + @@ -45415,7 +45587,7 @@ - +