mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-25 05:17:44 +00:00
exdviewer: Rename to Karuku
This commit is contained in:
parent
edd21efe92
commit
fb037761f6
4 changed files with 14 additions and 23 deletions
|
@ -1,16 +1,17 @@
|
|||
# SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
add_executable(exdviewer
|
||||
add_executable(novus-karuku
|
||||
src/main.cpp
|
||||
src/mainwindow.cpp)
|
||||
target_include_directories(exdviewer
|
||||
target_include_directories(novus-karuku
|
||||
PUBLIC
|
||||
include)
|
||||
target_link_libraries(exdviewer PUBLIC physis z ${LIBRARIES} Qt6::Core Qt6::Widgets exdpart novus-common)
|
||||
|
||||
install(TARGETS exdviewer
|
||||
DESTINATION "${INSTALL_BIN_PATH}")
|
||||
|
||||
target_link_libraries(novus-karuku PUBLIC physis z ${LIBRARIES} Qt6::Core Qt6::Widgets exdpart novus-common)
|
||||
|
||||
install(TARGETS novus-karuku ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
|
||||
if(WIN32)
|
||||
get_target_property(QMAKE_EXE Qt5::qmake IMPORTED_LOCATION)
|
||||
|
@ -20,8 +21,8 @@ if(WIN32)
|
|||
find_program(WINDEPLOYQT_EXECUTABLE windeployqt HINTS "${QT_BIN_DIR}")
|
||||
|
||||
# Run windeployqt immediately after build
|
||||
add_custom_command(TARGET exdviewer
|
||||
add_custom_command(TARGET novus-karuku
|
||||
POST_BUILD
|
||||
COMMAND "${WINDEPLOYQT_ENV_SETUP}" && "${WINDEPLOYQT_EXECUTABLE}" \"$<TARGET_FILE:exdviewer>\"
|
||||
COMMAND "${WINDEPLOYQT_ENV_SETUP}" && "${WINDEPLOYQT_EXECUTABLE}" \"$<TARGET_FILE:novus-karuku>\"
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -1,14 +1,5 @@
|
|||
# EXD Viewer
|
||||
# Karuku
|
||||
|
||||
EXD Viewer can view excel data from the game, and can decode well known sheets using Garlond Tools.
|
||||
|
||||

|
||||
|
||||
## Usage
|
||||
|
||||
You must pass the path to your `sqpack` directory as the first argument.
|
||||
|
||||
```bash
|
||||
$ exdviewer "C:\Program Files (x86)\SquareEnix\Final Fantasy XIV\game\sqpack"
|
||||
```
|
||||
EXD Viewer can view excel data from the game, and can decode well known sheets using Garlond Tools if you have the definitions.
|
||||
|
||||

|
||||
|
|
|
@ -11,8 +11,7 @@
|
|||
int main(int argc, char* argv[]) {
|
||||
QApplication app(argc, argv);
|
||||
|
||||
customizeAboutData(
|
||||
QStringLiteral("exdviewer"), QStringLiteral("EXDViewer"), QStringLiteral("Program to view FFXIV Excel files."));
|
||||
customizeAboutData(QStringLiteral("karuku"), QStringLiteral("Karuku"), QStringLiteral("Program to view FFXIV Excel files."));
|
||||
|
||||
const QString gameDir{getGameDirectory()};
|
||||
const std::string gameDirStd{gameDir.toStdString()};
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include "exdpart.h"
|
||||
|
||||
MainWindow::MainWindow(GameData* data) : data(data) {
|
||||
setWindowTitle(QStringLiteral("exdviewer"));
|
||||
setWindowTitle(QStringLiteral("Karuku"));
|
||||
setMinimumSize(1280, 720);
|
||||
|
||||
auto fileMenu = menuBar()->addMenu(QStringLiteral("File"));
|
||||
|
@ -37,7 +37,7 @@ MainWindow::MainWindow(GameData* data) : data(data) {
|
|||
|
||||
helpMenu->addSeparator();
|
||||
|
||||
auto aboutNovusAction = helpMenu->addAction(QStringLiteral("About exdviewer"));
|
||||
auto aboutNovusAction = helpMenu->addAction(QStringLiteral("About Karuku"));
|
||||
aboutNovusAction->setIcon(QIcon::fromTheme(QStringLiteral("help-about")));
|
||||
connect(aboutNovusAction, &QAction::triggered, this, [this] {
|
||||
auto window = new KAboutApplicationDialog(KAboutData::applicationData(), this);
|
||||
|
|
Loading…
Add table
Reference in a new issue