Simple python library for extracting and rebuilding ISOs
Project description
pyisotools
python library for working with Gamecube ISOs (GCM)
Features
- Extract and Build ISOs
- Extract individual files/folders from an ISO
- Specifically exclude subfolders/files using glob patterns
- Custom file alignment
- Custom file location
- Custom ISO metadata
Limitations
- Only supports Gamecube ISOs
TODO
- Support Wii ISOs
- ISO Partitions
- Native archive support (U8 and RARC)
- Native yaz0 and yay0 compression
- Cross platform file drag-drop to/from pyisotools
- File System real time search filter
- File System update real time
Usage
GUI
To run the GUI from the cli, simply pass: python -m pyisotools
Extraction
To extract an ISO from the cli, pass: python -m pyisotools <iso> E [--dest path]
Rebuilding
To build a root folder into an iso, pass: python -m pyisotools <root> B [--newinfo] [--dest path]
Configuration (rebuilding from cli)
When an ISO is extracted, a file named .config.json
is automatically generated and stored in the sys
folder in the root directory. This file contains metadata about the ISO, such as the name of the game, its version, maker code, and so on. Editing this file results in the new data being used if rebuilding with option --newinfo
enabled. The fields that need clairification are listed below:
- Alignment: This field of
key,value
pairs defines the alignment of every file that matches the specified glob pattern set as thekey
, to be that of thevalue
- Location: This field of
key,value
pairs defines the position in the ISO of every file that matches the specified filepath set as thekey
, to be that of thevalue
- Exclude: This list of glob patterns determines if a file/folder is excluded or not. If a file/folder path matches any of the glob patterns in the list, it will not be built into the ISO
Configuration (GUI)
When a root is loaded, all metadata fields are accessible directly from the main window, and each node can be right clicked on to set the alignment, location, and exclude members
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file pyisotools-2.4.5a0-py3-none-any.whl
.
File metadata
- Download URL: pyisotools-2.4.5a0-py3-none-any.whl
- Upload date:
- Size: 266.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83016098e27c9a1b36076bb6b879148bdf85c578498199c4117bf6754f035611 |
|
MD5 | 7344abc0308fe66d1132a40659a88bbe |
|
BLAKE2b-256 | ea3f6a5ab34452b9a32363cd3fcf86718bc94cad8cae7fe319c4b22d2ae0f27d |