diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -40,7 +40,13 @@ int main(int argc, char *argv[]) { LYTArchivePackage package("H:\\ISOs\\NSMBWii\\Extracted\\Layout\\continue\\continue.arc"); LYTLayout layout(package, "continue_05.brlyt"); - package.savePackage(); + QByteArray brlyt = layout.pack(); + QFile file("H:\\ISOs\\NSMBWii\\Extracted\\Layout\\continue\\continue\\arc\\blyt\\continue_05_repack.brlyt"); + file.open(QFile::WriteOnly); + file.write(brlyt); + file.close(); + //package.writeLayout("continue_05.brlyt", brlyt); + //package.savePackage(); //LYTDirectoryPackage package("H:\\ISOs\\NSMBWii\\Extracted\\Layout\\continue\\continue\\arc"); |