mirror of https://github.com/AxioDL/metaforce.git
Update About
This commit is contained in:
parent
7eb0e89e3e
commit
37324e7fe0
|
@ -110,9 +110,7 @@ MainWindow::MainWindow(QWidget* parent)
|
||||||
setPath(m_settings.value(QStringLiteral("working_dir")).toString());
|
setPath(m_settings.value(QStringLiteral("working_dir")).toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
MainWindow::~MainWindow() {
|
MainWindow::~MainWindow() { KillProcessTree(m_heclProc); }
|
||||||
KillProcessTree(m_heclProc);
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::onExtract() {
|
void MainWindow::onExtract() {
|
||||||
if (m_path.isEmpty()) {
|
if (m_path.isEmpty()) {
|
||||||
|
@ -143,7 +141,7 @@ void MainWindow::onExtract() {
|
||||||
m_ui->heclTabs->setCurrentIndex(0);
|
m_ui->heclTabs->setCurrentIndex(0);
|
||||||
|
|
||||||
disableOperations();
|
disableOperations();
|
||||||
m_ui->extractBtn->setText(tr("Cancel"));
|
m_ui->extractBtn->setText(tr("&Cancel"));
|
||||||
m_ui->extractBtn->setEnabled(true);
|
m_ui->extractBtn->setEnabled(true);
|
||||||
disconnect(m_ui->extractBtn, &QPushButton::clicked, nullptr, nullptr);
|
disconnect(m_ui->extractBtn, &QPushButton::clicked, nullptr, nullptr);
|
||||||
connect(m_ui->extractBtn, &QPushButton::clicked, this, &MainWindow::doHECLTerminate);
|
connect(m_ui->extractBtn, &QPushButton::clicked, this, &MainWindow::doHECLTerminate);
|
||||||
|
@ -177,7 +175,7 @@ void MainWindow::onPackage() {
|
||||||
m_ui->heclTabs->setCurrentIndex(0);
|
m_ui->heclTabs->setCurrentIndex(0);
|
||||||
|
|
||||||
disableOperations();
|
disableOperations();
|
||||||
m_ui->packageBtn->setText(tr("Cancel"));
|
m_ui->packageBtn->setText(tr("&Cancel"));
|
||||||
m_ui->packageBtn->setEnabled(true);
|
m_ui->packageBtn->setEnabled(true);
|
||||||
disconnect(m_ui->packageBtn, &QPushButton::clicked, nullptr, nullptr);
|
disconnect(m_ui->packageBtn, &QPushButton::clicked, nullptr, nullptr);
|
||||||
connect(m_ui->packageBtn, &QPushButton::clicked, this, &MainWindow::doHECLTerminate);
|
connect(m_ui->packageBtn, &QPushButton::clicked, this, &MainWindow::doHECLTerminate);
|
||||||
|
@ -316,9 +314,9 @@ void MainWindow::enableOperations() {
|
||||||
if (m_heclPath.isEmpty())
|
if (m_heclPath.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
m_ui->extractBtn->setText(tr("Extract"));
|
m_ui->extractBtn->setText(tr("&Extract"));
|
||||||
m_ui->packageBtn->setText(tr("Package"));
|
m_ui->packageBtn->setText(tr("&Package"));
|
||||||
m_ui->launchBtn->setText(tr("Launch"));
|
m_ui->launchBtn->setText(tr("&Launch"));
|
||||||
|
|
||||||
m_ui->extractBtn->setEnabled(true);
|
m_ui->extractBtn->setEnabled(true);
|
||||||
if (QFile::exists(m_path + QStringLiteral("/MP1/URDE/texture_cache.yaml"))) {
|
if (QFile::exists(m_path + QStringLiteral("/MP1/URDE/texture_cache.yaml"))) {
|
||||||
|
@ -339,26 +337,25 @@ void MainWindow::enableOperations() {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool MainWindow::isPackageComplete() const {
|
bool MainWindow::isPackageComplete() const {
|
||||||
return
|
return QFile::exists(m_path + QStringLiteral("/out/files/AudioGrp.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/AudioGrp.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/GGuiSys.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/GGuiSys.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/Metroid1.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/Metroid1.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/Metroid2.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/Metroid2.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/Metroid3.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/Metroid3.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/Metroid4.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/Metroid4.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/metroid5.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/metroid5.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/Metroid6.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/Metroid6.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/Metroid7.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/Metroid7.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/Metroid8.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/Metroid8.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/MidiData.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/MidiData.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/MiscData.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/MiscData.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/NoARAM.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/NoARAM.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/SamGunFx.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/SamGunFx.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/SamusGun.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/SamusGun.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/SlideShow.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/SlideShow.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/TestAnim.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/TestAnim.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/Tweaks.upak")) &&
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/Tweaks.upak")) &&
|
QFile::exists(m_path + QStringLiteral("/out/files/URDE.upak"));
|
||||||
QFile::exists(m_path + QStringLiteral("/out/files/URDE.upak"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool GetDLPackage(const QString& path, QString& dlPackage) {
|
static bool GetDLPackage(const QString& path, QString& dlPackage) {
|
||||||
|
@ -421,13 +418,12 @@ bool MainWindow::checkDownloadedBinary() {
|
||||||
m_ui->downloadErrorLabel->setText({}, true);
|
m_ui->downloadErrorLabel->setText({}, true);
|
||||||
enableOperations();
|
enableOperations();
|
||||||
return true;
|
return true;
|
||||||
} else {
|
|
||||||
m_ui->currentBinaryLabel->setText(tr("none"));
|
|
||||||
m_ui->heclTabs->setCurrentIndex(1);
|
|
||||||
m_ui->downloadErrorLabel->setText(tr("Press 'Download' to fetch latest URDE binary."), true);
|
|
||||||
enableOperations();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_ui->currentBinaryLabel->setText(tr("none"));
|
||||||
|
m_ui->heclTabs->setCurrentIndex(1);
|
||||||
|
m_ui->downloadErrorLabel->setText(tr("Press 'Download' to fetch latest URDE binary."), true);
|
||||||
|
enableOperations();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -555,11 +551,10 @@ void MainWindow::insertContinueNote(const QString& text) {
|
||||||
m_ui->processOutput->ensureCursorVisible();
|
m_ui->processOutput->ensureCursorVisible();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::onUpdateTrackChanged(int index) {
|
void MainWindow::onUpdateTrackChanged(int index) {
|
||||||
qDebug() << "Track changed from " << m_settings.value(QStringLiteral("update_track")) << " to "
|
qDebug() << "Track changed from " << m_settings.value(QStringLiteral("update_track")) << " to "
|
||||||
<< skUpdateTracks[index];
|
<< skUpdateTracks[index];
|
||||||
m_settings.setValue(QStringLiteral("update_track"), skUpdateTracks[index]);
|
m_settings.setValue(QStringLiteral("update_track"), skUpdateTracks[index]);
|
||||||
m_dlManager.fetchIndex();
|
m_dlManager.fetchIndex();
|
||||||
m_ui->devTrackWarning->setVisible(index == 1);
|
m_ui->devTrackWarning->setVisible(index == 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -209,7 +209,7 @@
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="dataTab">
|
<widget class="QWidget" name="dataTab">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>Data</string>
|
<string>&Data</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
<layout class="QGridLayout" name="gridLayout_4">
|
<layout class="QGridLayout" name="gridLayout_4">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
|
@ -323,7 +323,7 @@
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>System Check</string>
|
<string>&System Check</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
<layout class="QGridLayout" name="gridLayout_2">
|
<layout class="QGridLayout" name="gridLayout_2">
|
||||||
<item row="8" column="1">
|
<item row="8" column="1">
|
||||||
|
@ -896,19 +896,19 @@
|
||||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
p, li { white-space: pre-wrap; }
|
p, li { white-space: pre-wrap; }
|
||||||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
</style></head><body style=" font-family:'Cantarell'; font-size:11pt; font-weight:400; font-style:normal;">
|
||||||
<p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">About HECL Frontend</span></p>
|
<p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Noto Sans'; font-size:10pt; font-weight:600;">About HECL Frontend</span></p>
|
||||||
<p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br />The hecl frontend UI is designed and built by <a href="https://axiodl.com"><span style=" text-decoration: underline; color:#007af4;">Axiomatic Data Laboratories</span></a> Copyright 2018<br /><br /><span style=" font-weight:600;">Authors:</span><br />Phillip &quot;Antidote&quot; Stephens<br />Jack &quot;jackoalan&quot; Andersen</p>
|
<p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Noto Sans'; font-size:10pt;"><br />The HECL frontend UI is designed and built by </span><a href="https://axiodl.com"><span style=" font-family:'Noto Sans'; font-size:10pt; text-decoration: underline; color:#007af4;">Axiomatic Data Laboratories</span></a><span style=" font-family:'Noto Sans'; font-size:10pt;"> Copyright 2020<br /><br /></span><span style=" font-family:'Noto Sans'; font-size:10pt; font-weight:600;">Authors:</span><span style=" font-family:'Noto Sans'; font-size:10pt;"><br />Phillip &quot;Antidote&quot; Stephens<br />Jack &quot;jackoalan&quot; Andersen<br />Luke &quot;encounter&quot; Street</span></p>
|
||||||
<p style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New';">The MIT License</span></p>
|
<p style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New'; font-size:10pt;">The MIT License</span></p>
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Courier New';"><br /></p>
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Courier New'; font-size:10pt;"><br /></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New';">Copyright (c) 2015-2018 URDE Contributors</span></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New'; font-size:10pt;">Copyright (c) 2015-2018 URDE Contributors</span></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New';">Original Authors: Jack Andersen and Phillip &quot;Antidote&quot; Stephens</span></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New'; font-size:10pt;">Original Authors: Jack Andersen and Phillip &quot;Antidote&quot; Stephens</span></p>
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Courier New';"><br /></p>
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Courier New'; font-size:10pt;"><br /></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New';">Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &quot;Software&quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</span></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New'; font-size:10pt;">Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &quot;Software&quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</span></p>
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Courier New';"><br /></p>
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Courier New'; font-size:10pt;"><br /></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New';">The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</span></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New'; font-size:10pt;">The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</span></p>
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Courier New';"><br /></p>
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Courier New'; font-size:10pt;"><br /></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New';">THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</span></p></body></html></string>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New'; font-size:10pt;">THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</span></p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="openExternalLinks">
|
<property name="openExternalLinks">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
|
Loading…
Reference in New Issue