Updated python script to use new "extract directory" mode.

Additionally fixed oversight with audio files and bug in OTRGui.
This commit is contained in:
Nicholas Estelami 2022-04-03 15:48:44 -04:00
commit c1eb71fa33
7 changed files with 167 additions and 109 deletions

View file

@ -387,18 +387,6 @@ int main(int argc, char* argv[])
{
BuildAssetBlob(Globals::Instance->inputPath, Globals::Instance->outputPath);
}
/*
else if (fileMode == ZFileMode::BuildOverlay)
{
ZOverlay* overlay =
ZOverlay::FromBuild(Path::GetDirectoryName(Globals::Instance->inputPath),
Path::GetDirectoryName(Globals::Instance->cfgPath));
if (overlay != nullptr)
File::WriteAllText(Globals::Instance->outputPath.string(),
overlay->GetSourceOutputCode(""));
}
*/
if (exporterSet != nullptr && exporterSet->endProgramFunc != nullptr)
exporterSet->endProgramFunc();