summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.cpp19
1 files changed, 17 insertions, 2 deletions
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 <QtCore/QFile>
+
+#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();