2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-06 08:42:35 +00:00

Added the ability to dump and load technique sets.

note: techniques should be dumped in seperate files from technique sets, but compiling them all into the techset works as well but is harder to read.
This commit is contained in:
LJW-Dev
2025-07-07 15:53:45 +08:00
committed by Jan Laupetin
parent 264139fb4e
commit a045518f7d
6 changed files with 326 additions and 1 deletions
+2 -1
View File
@@ -32,6 +32,7 @@
#include "Slug/LoaderSlugT6.h"
#include "Sound/LoaderSoundBankT6.h"
#include "StringTable/LoaderStringTableT6.h"
#include "TechniqueSet/LoaderTechniqueSetT6.h"
#include "Tracer/GdtLoaderTracerT6.h"
#include "Tracer/RawLoaderTracerT6.h"
#include "Utils/Logging/Log.h"
@@ -391,7 +392,7 @@ namespace T6
// collection.AddAssetCreator(std::make_unique<AssetLoaderXAnim>(memory));
collection.AddAssetCreator(xmodel::CreateLoaderT6(memory, searchPath, zone));
collection.AddAssetCreator(material::CreateLoaderT6(memory, searchPath));
// collection.AddAssetCreator(std::make_unique<AssetLoaderTechniqueSet>(memory));
collection.AddAssetCreator(CreateTechniqueSetLoader(memory, searchPath));
collection.AddAssetCreator(image::CreateLoaderEmbeddedT6(memory, searchPath));
collection.AddAssetCreator(image::CreateLoaderExternalT6(memory, searchPath));
collection.AddAssetCreator(sound::CreateSoundBankLoaderT6(memory, searchPath));