Add debug tool CVars, implementing warping capability

This commit is contained in:
Phillip Stephens 2021-02-27 18:35:15 -08:00
parent 3b9da77bd2
commit 277c7fe1df
7 changed files with 705 additions and 383 deletions

View File

@ -48,6 +48,9 @@ add_executable(hecl-gui WIN32 MACOSX_BUNDLE
MainWindow.cpp
MainWindow.hpp
MainWindow.ui
LayerDialog.cpp
LayerDialog.hpp
LayerDialog.ui
SysReqTableView.cpp
SysReqTableView.hpp
VectorISATableModel.hpp

35
hecl-gui/LayerDialog.cpp Normal file
View File

@ -0,0 +1,35 @@
#include "LayerDialog.hpp"
#include <QCheckBox>
#include "ui_LayerDialog.h"
LayerDialog::LayerDialog(QWidget* parent) : QDialog(parent), m_ui(std::make_unique<Ui::LayerDialog>()) {
m_ui->setupUi(this);
}
LayerDialog::~LayerDialog() = default;
void LayerDialog::createLayerCheckboxes(QList<Layer> layers) {
bool firstLayer = true;
for (const auto& layer : layers) {
QCheckBox* chkBox = new QCheckBox(layer.name);
chkBox->setChecked(layer.active);
if (firstLayer) {
chkBox->setEnabled(false);
firstLayer = false;
}
m_ui->checkboxLayout->addWidget(chkBox);
}
}
QString LayerDialog::getLayerBits() const {
QString layerBits;
bool firstLayer = true;
for (const auto& item : findChildren<QCheckBox*>()) {
if (firstLayer) {
layerBits += QLatin1String("1");
firstLayer = false;
} else {
layerBits += item->isChecked() ? QStringLiteral("1") : QStringLiteral("0");
}
}
return layerBits;
}

27
hecl-gui/LayerDialog.hpp Normal file
View File

@ -0,0 +1,27 @@
#ifndef LAYERDIALOG_HPP
#define LAYERDIALOG_HPP
#include <QDialog>
#include <memory>
namespace Ui {
class LayerDialog;
} // namespace Ui
struct Layer {
QString name;
bool active;
};
class LayerDialog : public QDialog {
Q_OBJECT
std::unique_ptr<Ui::LayerDialog> m_ui;
public:
explicit LayerDialog(QWidget* parent = nullptr);
~LayerDialog() override;
void createLayerCheckboxes(QList<Layer> layers);
QString getLayerBits() const;
};
#endif

80
hecl-gui/LayerDialog.ui Normal file
View File

@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>LayerDialog</class>
<widget class="QDialog" name="LayerDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>209</height>
</rect>
</property>
<property name="windowTitle">
<string>Select Active Layers</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QVBoxLayout" name="checkboxLayout"/>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>LayerDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>LayerDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>

View File

@ -1,9 +1,12 @@
#include "MainWindow.hpp"
#include "ui_MainWindow.h"
#include "LayerDialog.hpp"
#include <QFontDatabase>
#include <QMessageBox>
#include <QComboBox>
#include <QLabel>
#include <QTreeView>
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
#include <QtCore5Compat>
#endif
@ -232,6 +235,7 @@ void MainWindow::onLaunch() {
connect(&m_heclProc, qOverload<int, QProcess::ExitStatus>(&QProcess::finished), this, &MainWindow::onLaunchFinished);
const auto heclProcArguments = QStringList{m_path + QStringLiteral("/out")}
<< m_warpSettings
<< QStringLiteral("-l")
<< m_settings.value(QStringLiteral("urde_arguments"))
.toStringList()
@ -306,7 +310,8 @@ void MainWindow::onBinaryDownloaded(QuaZip& file) {
m_ui->downloadErrorLabel->setText(tr("Download successful - Press 'Extract' to continue."), true);
}
if (!err && !m_ui->sysReqTable->isBlenderVersionOk()) {
m_ui->downloadErrorLabel->setText(tr("Blender 2.90 or greater must be installed. Please download via Steam or blender.org."));
m_ui->downloadErrorLabel->setText(
tr("Blender 2.90 or greater must be installed. Please download via Steam or blender.org."));
}
}
@ -349,7 +354,7 @@ void MainWindow::enableOperations() {
m_ui->launchBtn->setText(tr("&Launch"));
m_ui->extractBtn->setEnabled(true);
if (QFile::exists(m_path + QStringLiteral("/out/files/version.yaml"))) {
if (QFile::exists(m_path + QStringLiteral("/out/files/MP1/version.yaml"))) {
m_ui->packageBtn->setEnabled(true);
if (isPackageComplete()) {
m_ui->launchBtn->setEnabled(true);
@ -371,25 +376,25 @@ void MainWindow::enableOperations() {
}
bool MainWindow::isPackageComplete() const {
return 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/Metroid1.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/Metroid4.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/Metroid7.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/MiscData.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/SamusGun.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/Tweaks.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/URDE.upak"));
return QFile::exists(m_path + QStringLiteral("/out/files/MP1/AudioGrp.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/GGuiSys.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/Metroid1.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/Metroid2.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/Metroid3.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/Metroid4.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/metroid5.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/Metroid6.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/Metroid7.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/Metroid8.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/MidiData.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/MiscData.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/NoARAM.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/SamGunFx.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/SamusGun.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/SlideShow.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/TestAnim.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/Tweaks.upak")) &&
QFile::exists(m_path + QStringLiteral("/out/files/MP1/URDE.upak"));
}
static bool GetDLPackage(const QString& path, QString& dlPackage) {
@ -530,9 +535,7 @@ void MainWindow::initSlots() {
setPath(dialog.selectedFiles().at(0));
});
connect(m_ui->pathEdit, &QLineEdit::editingFinished, [this]() {
setPath(m_ui->pathEdit->text());
});
connect(m_ui->pathEdit, &QLineEdit::editingFinished, [this]() { setPath(m_ui->pathEdit->text()); });
connect(m_ui->downloadButton, &QPushButton::clicked, this, &MainWindow::onDownloadPressed);
}
@ -652,6 +655,11 @@ void MainWindow::initOptions() {
initCheckboxOption(m_ui->frameCounterBox, m_cvarCommons.m_debugOverlayShowFrameCounter);
initCheckboxOption(m_ui->inGameTimeBox, m_cvarCommons.m_debugOverlayShowInGameTime);
initCheckboxOption(m_ui->resourceStatsOverlayBox, m_cvarCommons.m_debugOverlayShowResourceStats);
initCheckboxOption(m_ui->drawLighting, m_cvarCommons.m_debugToolDrawLighting);
initCheckboxOption(m_ui->drawAiPaths, m_cvarCommons.m_debugToolDrawAiPath);
initCheckboxOption(m_ui->drawCollisionActors, m_cvarCommons.m_debugToolDrawCollisionActors);
initCheckboxOption(m_ui->drawMazePath, m_cvarCommons.m_debugToolDrawMazePath);
initCheckboxOption(m_ui->drawPlatformCollision, m_cvarCommons.m_debugToolDrawPlatformCollision);
initCheckboxOption(m_ui->logScriptingBox,
// TODO centralize
hecl::CVarManager::instance()->findOrMakeCVar(
@ -688,6 +696,63 @@ void MainWindow::initOptions() {
[this]() { QSettings().setValue(QStringLiteral("urde_arguments"), m_launchOptionsModel.stringList()); });
connect(&m_launchOptionsModel, &QStringListModel::rowsRemoved, this,
[this]() { QSettings().setValue(QStringLiteral("urde_arguments"), m_launchOptionsModel.stringList()); });
connect(m_ui->warpBtn, &QPushButton::clicked, this, [this] {
QFileInfo areaPath(
QFileDialog::getOpenFileName(this, tr("Select area to warp to..."), m_path, QStringLiteral("*.blend")));
if (!areaPath.exists() || areaPath.suffix() != QStringLiteral("blend") ||
!areaPath.fileName().contains(QStringLiteral("!area_"))) {
m_warpSettings.clear();
return;
}
auto ret =
QMessageBox::question(this, tr("Select enabled layers?"), tr("Do you want to only enable certain layers?"));
QString layerBits;
if (ret == QMessageBox::StandardButton::Yes) {
QList<Layer> layers;
QDirIterator iter(areaPath.absolutePath(), QDir::Filter::Dirs);
while (iter.hasNext()) {
QFileInfo f(iter.next());
if (f.isDir()) {
QDir dir(f.absoluteFilePath());
if (dir.exists(QStringLiteral("!objects.yaml"))) {
bool active = dir.exists(QStringLiteral("!defaultactive"));
layers.push_back({f.baseName(), active});
}
}
}
std::sort(layers.begin(), layers.end(), [&](const auto& a, const auto& b) {
return a.name < b.name;
});
LayerDialog layer(this);
layer.createLayerCheckboxes(layers);
auto code = layer.exec();
if (code == QDialog::DialogCode::Accepted) {
layerBits = layer.getLayerBits();
}
}
QString directoryPath = areaPath.path();
auto list = directoryPath.split(QDir::separator());
std::string areaDirectory = list.last().toLower().toStdString();
list.pop_back();
list.pop_back();
std::string worldDir = list.last().toLower().toStdString();
quint32 worldIndex;
std::sscanf(worldDir.c_str(), "metroid%i", &worldIndex);
quint32 areaIndex;
char areaName[2048];
std::sscanf(areaDirectory.c_str(), "%2i%[^\n]", &areaIndex, areaName);
if (layerBits.isEmpty()) {
m_warpSettings = QStringLiteral("--warp %1 %2").arg(worldIndex).arg(areaIndex).split(QLatin1Char(' '));
} else {
m_warpSettings =
QStringLiteral("--warp %1 %2 %3").arg(worldIndex).arg(areaIndex).arg(layerBits).split(QLatin1Char(' '));
}
onLaunch();
m_warpSettings.clear();
});
}
void MainWindow::initNumberComboOption(QComboBox* action, hecl::CVar* cvar) {

View File

@ -37,6 +37,7 @@ class MainWindow : public QMainWindow {
QString m_heclPath;
QProcess m_heclProc;
DownloadManager m_dlManager;
QStringList m_warpSettings;
QSettings m_settings;
URDEVersion m_recommendedVersion;
QPushButton* m_updateURDEButton;

View File

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>684</width>
<height>792</height>
<width>972</width>
<height>946</height>
</rect>
</property>
<property name="sizePolicy">
@ -76,94 +76,6 @@
</item>
</layout>
</item>
<item row="5" column="0" rowspan="3">
<layout class="QHBoxLayout" name="bottomButtonBox">
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>167</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="extractBtn">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>&amp;Extract</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="packageBtn">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>&amp;Package</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="launchBtn">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>&amp;Launch</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="warpBtn">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Launch &amp;&amp; &amp;Warp</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>166</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="2" column="0">
<widget class="QTabWidget" name="heclTabs">
<property name="currentIndex">
@ -295,261 +207,7 @@
<string>Options</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_5">
<item row="5" column="0">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0" rowspan="2">
<widget class="QGroupBox" name="graphicsOptionsGroup">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Graphics</string>
</property>
<layout class="QGridLayout" name="gridLayout_6">
<item row="4" column="1">
<widget class="QComboBox" name="anistropicFilteringBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>4</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>16</string>
</property>
</item>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="antialiasingLabel">
<property name="text">
<string>Anti-Aliasing</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="antialiasingBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>4</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>16</string>
</property>
</item>
</widget>
</item>
<item row="6" column="1">
<widget class="QCheckBox" name="deepColor">
<property name="text">
<string>Deep Color</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="anistropicFilteringLabel">
<property name="text">
<string>Anistropic Filtering</string>
</property>
</widget>
</item>
<item row="0" column="1">
<layout class="QHBoxLayout" name="graphicsApiBox">
<item>
<widget class="QRadioButton" name="d3d11Option">
<property name="text">
<string>D3D11</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="metalOption">
<property name="text">
<string>Metal</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="vulkanOption">
<property name="text">
<string>Vulkan</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="3" column="0">
<widget class="QGroupBox" name="experimentalOptionsGroup">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Experimental</string>
</property>
<layout class="QGridLayout" name="gridLayout_7">
<item row="0" column="0">
<widget class="QCheckBox" name="variableDtBox">
<property name="text">
<string>Variable Delta Time</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="0">
<widget class="QGroupBox" name="gameOptionsGroup">
<property name="title">
<string>Game</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QCheckBox" name="skipSplashScreensBox">
<property name="text">
<string>Skip Splash Screens</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="developerModeBox">
<property name="text">
<string>Developer Mode</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="enableCheatsBox">
<property name="text">
<string>Enable Cheats</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="4" column="0">
<widget class="QGroupBox" name="developerOptionsGroup">
<property name="title">
<string>Developer</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QCheckBox" name="areaInfoOverlayBox">
<property name="text">
<string>Area Info Overlay</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="playerInfoOverlayBox">
<property name="text">
<string>Player Info Overlay</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="worldInfoOverlayBox">
<property name="text">
<string>World Info Overlay</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="frameCounterBox">
<property name="text">
<string>Show Frame Counter</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="inGameTimeBox">
<property name="text">
<string>Show In-Game Time</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="resourceStatsOverlayBox">
<property name="text">
<string>Show Resource Stats</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="logScriptingBox">
<property name="text">
<string>Log Scripting</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" rowspan="4">
<item row="0" column="2" rowspan="2">
<widget class="QGroupBox" name="launchOptionsGroup">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
@ -603,7 +261,7 @@
</layout>
</widget>
</item>
<item row="4" column="1" rowspan="2">
<item row="2" column="2" rowspan="2">
<widget class="QGroupBox" name="tweaksOptionsGroup">
<property name="minimumSize">
<size>
@ -625,6 +283,371 @@
</layout>
</widget>
</item>
<item row="3" column="1">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0" rowspan="4">
<widget class="QToolBox" name="toolBox">
<property name="currentIndex">
<number>3</number>
</property>
<widget class="QWidget" name="graphicsGroup">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>464</width>
<height>686</height>
</rect>
</property>
<attribute name="label">
<string>Graphics</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<layout class="QHBoxLayout" name="graphicsApiBox">
<item>
<widget class="QRadioButton" name="d3d11Option">
<property name="text">
<string>D3D11</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="metalOption">
<property name="text">
<string>Metal</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="vulkanOption">
<property name="text">
<string>Vulkan</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="antialiasingLabel">
<property name="text">
<string>Anti-Aliasing</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="antialiasingBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>4</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>16</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="anistropicFilteringLabel">
<property name="text">
<string>Anistropic Filtering</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="anistropicFilteringBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>4</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>16</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QCheckBox" name="deepColor">
<property name="text">
<string>Deep Color</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="gameOptionsGroup">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>464</width>
<height>686</height>
</rect>
</property>
<attribute name="label">
<string>Game</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QCheckBox" name="skipSplashScreensBox">
<property name="text">
<string>Skip Splash Screens</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="developerModeBox">
<property name="text">
<string>Developer Mode</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="enableCheatsBox">
<property name="text">
<string>Enable Cheats</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_5">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>603</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="experimentalOptionsGroup">
<attribute name="label">
<string>Experimental</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QCheckBox" name="variableDtBox">
<property name="text">
<string>Variable Delta Time</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="developerOptionsGroup">
<attribute name="label">
<string>Developer</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QCheckBox" name="logScriptingBox">
<property name="text">
<string>Log Scripting</string>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Debug Overlays</string>
</property>
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0">
<widget class="QCheckBox" name="areaInfoOverlayBox">
<property name="text">
<string>Area Info Overlay</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="frameCounterBox">
<property name="text">
<string>Show Frame Counter</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="resourceStatsOverlayBox">
<property name="text">
<string>Show Resource Stats</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="playerInfoOverlayBox">
<property name="text">
<string>Player Info Overlay</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QCheckBox" name="inGameTimeBox">
<property name="text">
<string>Show In-Game Time</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QCheckBox" name="worldInfoOverlayBox">
<property name="text">
<string>World Info Overlay</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Debug Tools</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QCheckBox" name="drawAiPaths">
<property name="text">
<string>Draw AI Paths</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="drawLighting">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Draws lighting radii using models obtained from https://axiodl.com/files/debug_models.zip&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Draw Lighting</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="drawCollisionActors">
<property name="text">
<string>Draw Collision Actors</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="drawMazePath">
<property name="text">
<string>Draw Maze Path</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="drawPlatformCollision">
<property name="text">
<string>Draw Platform Collision</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="sysCheckTab">
@ -1208,19 +1231,19 @@
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:6pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p align=&quot;center&quot; style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Noto Sans'; font-size:10pt; font-weight:600;&quot;&gt;About HECL Frontend&lt;/span&gt;&lt;/p&gt;
&lt;p align=&quot;center&quot; style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Noto Sans'; font-size:10pt;&quot;&gt;&lt;br /&gt;The HECL frontend UI is designed and built by &lt;/span&gt;&lt;a href=&quot;https://axiodl.com&quot;&gt;&lt;span style=&quot; font-family:'Noto Sans'; font-size:10pt; text-decoration: underline; color:#007af4;&quot;&gt;Axiomatic Data Laboratories&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-family:'Noto Sans'; font-size:10pt;&quot;&gt; Copyright 2020&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot; font-family:'Noto Sans'; font-size:10pt; font-weight:600;&quot;&gt;Authors:&lt;/span&gt;&lt;span style=&quot; font-family:'Noto Sans'; font-size:10pt;&quot;&gt;&lt;br /&gt;Phillip &amp;quot;Antidote&amp;quot; Stephens&lt;br /&gt;Jack &amp;quot;jackoalan&amp;quot; Andersen&lt;br /&gt;Luke &amp;quot;encounter&amp;quot; Street&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New'; font-size:10pt;&quot;&gt;The MIT License&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-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;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New'; font-size:10pt;&quot;&gt;Copyright (c) 2015-2018 URDE Contributors&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New'; font-size:10pt;&quot;&gt;Original Authors: Jack Andersen and Phillip &amp;quot;Antidote&amp;quot; Stephens&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-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;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New'; font-size:10pt;&quot;&gt;Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &amp;quot;Software&amp;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:&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-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;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New'; font-size:10pt;&quot;&gt;The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-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;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New'; font-size:10pt;&quot;&gt;THE SOFTWARE IS PROVIDED &amp;quot;AS IS&amp;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.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p align=&quot;center&quot; style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;About HECL Frontend&lt;/span&gt;&lt;/p&gt;
&lt;p align=&quot;center&quot; style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;The HECL frontend UI is designed and built by &lt;a href=&quot;https://axiodl.com&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#007af4;&quot;&gt;Axiomatic Data Laboratories&lt;/span&gt;&lt;/a&gt; Copyright 2020&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Authors:&lt;/span&gt;&lt;br /&gt;Phillip &amp;quot;Antidote&amp;quot; Stephens&lt;br /&gt;Jack &amp;quot;jackoalan&amp;quot; Andersen&lt;br /&gt;Luke &amp;quot;encounter&amp;quot; Street&lt;/p&gt;
&lt;p style=&quot; margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New';&quot;&gt;The MIT License&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-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';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New';&quot;&gt;Copyright (c) 2015-2018 URDE Contributors&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New';&quot;&gt;Original Authors: Jack Andersen and Phillip &amp;quot;Antidote&amp;quot; Stephens&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-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';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New';&quot;&gt;Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &amp;quot;Software&amp;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:&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-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';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New';&quot;&gt;The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-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';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New';&quot;&gt;THE SOFTWARE IS PROVIDED &amp;quot;AS IS&amp;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.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="openExternalLinks">
<bool>true</bool>
@ -1231,6 +1254,94 @@ p, li { white-space: pre-wrap; }
</widget>
</widget>
</item>
<item row="5" column="0" rowspan="3">
<layout class="QHBoxLayout" name="bottomButtonBox">
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>167</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="extractBtn">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>&amp;Extract</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="packageBtn">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>&amp;Package</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="launchBtn">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>&amp;Launch</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="warpBtn">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Launch &amp;&amp; &amp;Warp</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>166</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="text">