mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 02:27:43 +00:00
added 'bintoc' tool; embedded blender python scripts
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
#include "SpecBase.hpp"
|
||||
#include "Blender/BlenderSupport.hpp"
|
||||
|
||||
namespace Retro
|
||||
{
|
||||
|
||||
static LogVisor::LogModule Log("Retro::SpecBase");
|
||||
|
||||
bool SpecBase::canExtract(HECL::Database::Project& project,
|
||||
const ExtractPassInfo& info, std::vector<ExtractReport>& reps)
|
||||
{
|
||||
@@ -46,6 +49,8 @@ bool SpecBase::canExtract(HECL::Database::Project& project,
|
||||
void SpecBase::doExtract(HECL::Database::Project& project, const ExtractPassInfo& info,
|
||||
FExtractProgress progress)
|
||||
{
|
||||
if (!Blender::BuildMasterShader(HECL::ProjectPath(project.getProjectRootPath(), ".hecl/RetroMasterShader.blend")))
|
||||
Log.report(LogVisor::FatalError, "Unable to build master shader blend");
|
||||
if (m_isWii)
|
||||
{
|
||||
/* Extract update partition for repacking later */
|
||||
|
||||
Reference in New Issue
Block a user