diff --git a/app.py b/app.py index 5a56e32..2900e5f 100644 --- a/app.py +++ b/app.py @@ -1,14 +1,12 @@ import os import sys import json -import time import math -import mapper import extract from PyQt5 import uic -from PyQt5.QtGui import QTextCursor, QStandardItemModel, QStandardItem -from PyQt5.QtWidgets import QMessageBox, QMainWindow, QApplication, QFileDialog, QHeaderView, QAbstractItemView, QTreeWidgetItem +from PyQt5.QtGui import QTextCursor from PyQt5.QtCore import QObject, pyqtSignal, pyqtSlot, QThread, QMetaType, Qt +from PyQt5.QtWidgets import QMessageBox, QMainWindow, QApplication, QFileDialog, QHeaderView, QAbstractItemView, QTreeWidgetItem QMetaType.type("QTextCursor") diff --git a/extract.py b/extract.py index bd4cf03..d165119 100644 --- a/extract.py +++ b/extract.py @@ -1,9 +1,5 @@ import os import io -import sys -import time -import shutil -import filecmp import tempfile import wavescan import subprocess diff --git a/gui.ui b/gui.ui index bca07df..7f46c61 100644 --- a/gui.ui +++ b/gui.ui @@ -255,6 +255,13 @@ + + + + Qt::Horizontal + + + @@ -295,6 +302,13 @@ + + + + Qt::Horizontal + + + diff --git a/mapper.py b/mapper.py index 0fe3d9b..c2ff03e 100644 --- a/mapper.py +++ b/mapper.py @@ -1,7 +1,5 @@ # reader for the .map format i've made to improve reading speed and mapping size from filereader import FileReader -import os -import json class Mapper: diff --git a/requirements.txt b/requirements.txt index b186656..c6cfe1b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -halo==0.0.31 -progress==1.6 +PyQt5==5.15.11 +PyQt5_sip==12.15.0 diff --git a/wavescan.py b/wavescan.py index 5847123..9af3b24 100644 --- a/wavescan.py +++ b/wavescan.py @@ -1,7 +1,6 @@ # Custom rewrite of the Wwise AKPK packages extractor, original by Nicknine and bnnm -from filereader import FileReader -import traceback import os +import traceback reader = None