summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2010-10-14 03:15:41 +0200
committerTreeki <treeki@gmail.com>2010-10-14 03:15:41 +0200
commitfdf8cfec2b795393d7ee901abaf747575067068b (patch)
tree1eb3a65765c1c43c4ea91530462cd15d54f995d1 /main.cpp
parent7213ca723a65dff8ebb0c6c08669695217e60453 (diff)
downloadLayoutStudio-fdf8cfec2b795393d7ee901abaf747575067068b.tar.gz
LayoutStudio-fdf8cfec2b795393d7ee901abaf747575067068b.zip
bugfixes; working U8 archive support for reading/writing
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();