diff options
author | Treeki <treeki@gmail.com> | 2010-10-14 03:15:41 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2010-10-14 03:15:41 +0200 |
commit | fdf8cfec2b795393d7ee901abaf747575067068b (patch) | |
tree | 1eb3a65765c1c43c4ea91530462cd15d54f995d1 /main.cpp | |
parent | 7213ca723a65dff8ebb0c6c08669695217e60453 (diff) | |
download | LayoutStudio-fdf8cfec2b795393d7ee901abaf747575067068b.tar.gz LayoutStudio-fdf8cfec2b795393d7ee901abaf747575067068b.zip |
bugfixes; working U8 archive support for reading/writing
Diffstat (limited to '')
-rw-r--r-- | main.cpp | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -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(); |