Bump LUS version (#2849)
* Bump LUS version * Removes the "now" boolean from the LUS resource bridge functions. * Bump LUS * More LUS bump * Update soh/soh/resource/importer/AudioSampleFactory.cpp --------- Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include "Utils/BinaryWriter.h"
|
||||
#include "Utils/BitConverter.h"
|
||||
#include "Utils/Directory.h"
|
||||
#include "Utils/File.h"
|
||||
#include <Utils/DiskFile.h>
|
||||
#include "Utils/MemoryStream.h"
|
||||
#include "Utils/Path.h"
|
||||
#include "Utils/StringHelper.h"
|
||||
@@ -190,7 +190,7 @@ void ZFile::ParseXML(tinyxml2::XMLElement* reader, const std::string& filename)
|
||||
{
|
||||
if (Globals::Instance->fileMode != ZFileMode::ExtractDirectory)
|
||||
{
|
||||
if (!File::Exists((basePath / name).string()))
|
||||
if (!DiskFile::Exists((basePath / name).string()))
|
||||
{
|
||||
std::string errorHeader = StringHelper::Sprintf("binary file '%s' does not exist.",
|
||||
(basePath / name).c_str());
|
||||
@@ -421,7 +421,7 @@ void ZFile::ExtractResources()
|
||||
|
||||
if (memStreamFile->GetLength() > 0)
|
||||
{
|
||||
File::WriteAllBytes(StringHelper::Sprintf("%s%s.bin",
|
||||
DiskFile::WriteAllBytes(StringHelper::Sprintf("%s%s.bin",
|
||||
Globals::Instance->outputPath.string().c_str(),
|
||||
GetName().c_str()),
|
||||
memStreamFile->ToVector());
|
||||
@@ -802,7 +802,7 @@ void ZFile::GenerateSourceFiles()
|
||||
OutputFormatter formatter;
|
||||
formatter.Write(sourceOutput);
|
||||
|
||||
File::WriteAllText(outPath, formatter.GetOutput());
|
||||
DiskFile::WriteAllText(outPath, formatter.GetOutput());
|
||||
}
|
||||
|
||||
GenerateSourceHeaderFiles();
|
||||
@@ -850,7 +850,7 @@ void ZFile::GenerateSourceHeaderFiles()
|
||||
output.pop_back();
|
||||
|
||||
if (Globals::Instance->fileMode != ZFileMode::ExtractDirectory)
|
||||
File::WriteAllText(headerFilename, output);
|
||||
DiskFile::WriteAllText(headerFilename, output);
|
||||
else if (Globals::Instance->sourceOutputPath != "")
|
||||
{
|
||||
std::string xmlPath = xmlFilePath.string();
|
||||
@@ -875,7 +875,7 @@ void ZFile::GenerateSourceHeaderFiles()
|
||||
outPath += "/";
|
||||
}
|
||||
|
||||
File::WriteAllText(outPath, output);
|
||||
DiskFile::WriteAllText(outPath, output);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1121,7 +1121,7 @@ std::string ZFile::ProcessDeclarations()
|
||||
extType = "vtx";
|
||||
|
||||
auto filepath = outputPath / item.second->varName;
|
||||
File::WriteAllText(
|
||||
DiskFile::WriteAllText(
|
||||
StringHelper::Sprintf("%s.%s.inc", filepath.string().c_str(), extType.c_str()),
|
||||
item.second->text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user