2023-02-08 22:57:31 +08:00
|
|
|
#include "AccessibleValue.hpp"
|
2023-02-12 18:08:29 +08:00
|
|
|
#include "TerminalHelper.hpp"
|
2023-02-14 16:28:37 +08:00
|
|
|
#include "StructFormatter.hpp"
|
2023-03-04 00:13:03 +08:00
|
|
|
#include "CmdHelper.hpp"
|
2023-02-26 21:48:03 +08:00
|
|
|
|
|
|
|
#include "CKMinContext.hpp"
|
2023-02-25 17:39:39 +08:00
|
|
|
#include "CKFile.hpp"
|
2023-02-26 21:48:03 +08:00
|
|
|
|
2023-02-08 22:57:31 +08:00
|
|
|
#include <cstdio>
|
2023-02-12 18:08:29 +08:00
|
|
|
#include <iostream>
|
2023-02-08 22:57:31 +08:00
|
|
|
|
|
|
|
int main(int argc, char* argv[]) {
|
2023-02-12 18:08:29 +08:00
|
|
|
Unvirt::TerminalHelper::EnsureTerminalColor();
|
|
|
|
Unvirt::TerminalHelper::EnsureTerminalEncoding();
|
2023-02-11 22:23:19 +08:00
|
|
|
|
2023-03-04 00:13:03 +08:00
|
|
|
//LibCmo::CK2::CKMinContext vtctx;
|
|
|
|
//vtctx.SetTempPath("Temp");
|
|
|
|
//vtctx.SetEncoding("850");
|
2023-02-25 22:58:28 +08:00
|
|
|
|
2023-03-04 00:13:03 +08:00
|
|
|
//LibCmo::CK2::CKFile vtfile(&vtctx);
|
|
|
|
//LibCmo::CK2::CKFileDocument* doc;
|
|
|
|
//LibCmo::CK2::CKERROR err = vtfile.DeepLoad("Level_02.NMO", &doc);
|
2023-02-09 17:16:58 +08:00
|
|
|
|
2023-03-04 00:13:03 +08:00
|
|
|
//if (doc)
|
|
|
|
// Unvirt::StructFormatter::PrintCKFileInfo(doc->m_FileInfo);
|
|
|
|
auto cmd = new Unvirt::CmdHelper::InteractiveCmd();
|
|
|
|
cmd->Run();
|
|
|
|
delete cmd;
|
2023-02-11 22:23:19 +08:00
|
|
|
|
2023-02-08 22:57:31 +08:00
|
|
|
return 0;
|
|
|
|
}
|