From fdf8cfec2b795393d7ee901abaf747575067068b Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 14 Oct 2010 03:15:41 +0200 Subject: bugfixes; working U8 archive support for reading/writing --- main.cpp | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index e54215b..b830731 100644 --- a/main.cpp +++ b/main.cpp @@ -20,18 +20,33 @@ #include "lsglobals.h" #include "lyt/directorypackage.h" +#include "lyt/archivepackage.h" #include "lyt/layout.h" +#include + +#include "wii/archiveu8.h" + int main(int argc, char *argv[]) { QApplication a(argc, argv); LSGlobals::setup(); + /*QFile file("H:\\ISOs\\NSMBWii\\Extracted\\Layout\\continue\\continue.arc"); + file.open(QFile::ReadOnly); + QByteArray arc = file.readAll(); + file.close();*/ + + LYTArchivePackage package("H:\\ISOs\\NSMBWii\\Extracted\\Layout\\continue\\continue.arc"); + LYTLayout layout(package, "continue_05.brlyt"); + package.savePackage(); + + //LYTDirectoryPackage package("H:\\ISOs\\NSMBWii\\Extracted\\Layout\\continue\\continue\\arc"); //LYTLayout layout(package, "continue_05.brlyt"); - LYTDirectoryPackage package("H:\\ISOs\\TP\\banner\\arc_extr"); - LYTLayout layout(package, "banner.brlyt"); + //LYTDirectoryPackage package("H:\\ISOs\\TP\\banner\\arc_extr"); + //LYTLayout layout(package, "banner.brlyt"); LSMainWindow w; w.show(); -- cgit v1.2.3