Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

rlaphoenix/hdlg

Repository files navigation

No longer in Development

I no longer own any PS2 systems, nor plan to in the future. Therefore, I cannot test any updates to this.
Feel free to fork this project and continue it, including using any of the artwork, just please follow the license.
If you have a successful fork that eventually trumps this original project repo, please let me know.


Banner

Build status PyPI version Python versions License (GPLv3)

HDLG is a modern GUI for hdl-dump with Batch installation capabilities.

hdl-dump: https://github.com/ps2homebrew/hdl-dump
wLaunchELF: https://github.com/ps2homebrew/wLaunchELF

Preview
Preview as of October 2022.

Installation

pip install --user hdlg

To run hdlg, type hdlg into any terminal, command prompt, app launcher, or the start menu.

If you wish to manually install from the source, take a look at Building.

To-do

  • Craft initial GUI with Qt.
  • Push to PyPI and add relevant Badges.
  • Add PyInstaller make file.
  • Add local PS2 HDD connection option.
  • List installed games of selected HDD.
  • Show HDD information like Disk Size, Space Used, and such.
  • Add ability to install a new game to selected HDD.
  • Add batch installation support by selecting more than one file.
  • Create a file based settings system.
  • Add per-install settings like startup, flags, and DMA mode.
  • Add ability to format an HDD for use with a PS2 with pfsshell.
  • Add ability to rename the Game Name of installed games.
  • Add ability to extract an installed game from the PS2 HDD.
  • Add ability to view an installed game's sector table.
  • Add ability to set a custom icon to an installed game.
  • Add remote PS2 HDD (samba) connection option.
  • Add Inno Setup script.
  • Add Linux support.
  • Add macOS support.

Building

This project requires Poetry, so feel free to take advantage and use it for its various conveniences like building sdist/wheel packages, creating and managing dependencies, virtual environments, and more.

Note:

  • Source Code may have changes that may be old, not yet tested or stable, or may have regressions.
  • Only run or install from Source Code if you have a good reason. Examples would be to test for regressions, test changes (either your own or other contributors), or to research the code (agreeing to the LICENSE).
  • Poetry is required as it's used as the PEP 517 build system, virtual environment manager, dependency manager, and more.

Install from Source Code

git clone https://github.com/rlaphoenix/hdlg.git
cd hdlg
pip install --user .

Building source and wheel distributions

poetry build

You can specify -f to build sdist or wheel only. Built files can be found in the /dist directory.

Packing with PyInstaller

poetry run python pyinstaller.py

The build is now available at ./dist.