Toolbox for analyzing and editing pkg application files for psp,ps3, ps4 and ps5, includes the most useful functions you might need.
| 1 | # This file is not necessary in Python as imports are handled differently. |
| 2 | # However, we can use it to define some common global imports. |
| 3 | |
| 4 | from PyQt5.QtWidgets import QMessageBox |
| 5 | from PyQt5.QtGui import QColor |
| 6 | import os |
| 7 | import json |
| 8 | import struct |
| 9 | import io |
| 10 | import zipfile |
| 11 | from typing import List, Optional |
| 12 | |
| 13 | # Imports from custom utilities |
| 14 | from Utilities.PS4PKGToolHelper.Helper import Helper |
| 15 | from Utilities.PS4PKGToolHelper.MessageBoxHelper import MessageBoxHelper |
| 16 | from Utilities.Settings.AppSettings import AppSettings |
| 17 | from Utilities.Settings.SettingsManager import SettingsManager |
| 18 | |
| 19 | # Other common imports can be added here |
| 20 |