diff --git a/src/nostalgia/tools/pack/pack.cpp b/src/nostalgia/tools/pack/pack.cpp index 38740970..bcfd4536 100644 --- a/src/nostalgia/tools/pack/pack.cpp +++ b/src/nostalgia/tools/pack/pack.cpp @@ -5,6 +5,9 @@ #include #include +#include +#include + #include "pack.hpp" namespace nostalgia { @@ -32,6 +35,9 @@ static ox::Error doTransformations(ox::FileSystem *dest, const ox::String &fileP if (filePath.endsWith(".ng") || filePath.endsWith(".npal")) { // load file oxRequireM(buff, dest->read(filePath.c_str())); + if (filePath.endsWith(".ng")) { + oxReturnError(core::convert(&buff)); + } // do transformations oxReturnError(pathToInode(buff).moveTo(&buff)); oxReturnError(toMetalClaw(buff).moveTo(&buff));