Skip to main content

PS3ISO

Command line tool and Python library for managing existing Playstation 3 image files

builds.sr.ht status

[PyPi] [sourcehut]

Installing

pip install ps3iso

Dependencies

isoinfo

isoinfo needs to be in the system PATH in order to extract SFO data directly from .iso images

Windows: https://smithii.com/files/cdrtools-latest.zip

macOS: brew install cdrtools

Linux: brew install genisoimage

Quick Program Help

usage: [-h] -i INPUT [-f FORMAT] [--rename]

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        Path to the PS3 ISO file or directory containing PS3
                        ISO files
  -f FORMAT, --format FORMAT
                        Format string to use for output or --rename target
  --rename              Rename .iso and supporting files to a format string
                        based on PS3 metadata

Quick Library Examples

from ps3iso.game import Game

games = Game.search('/path/to/iso/files')
Game.rename_all(list(games), '%I-[%T]')
from ps3iso.game import Game

for game in Game.search('.'):
	game.print_info('{"file":"%F", "title":"%T", "ID":"%I"}')
from ps3iso.game import Game

games = Game.search('/path/to/iso/files')
for game in games:
	for f in game.files:
		print("Old name = %s" % f)
		print("New name = %s" % game.format_file(f, '%T [%I]'))
from ps3iso.sfo import SfoFile

with open('/path/to/PARAM.SFO', 'rb') as f:
	sfo = SfoFile.parse(f)

for key, value in sfo:
	print("key=%s, value=%r" % (key, value))
from ps3iso.sfo import SfoFile

sfo = SfoFile.parse_file('/path/to/PARAM.SFO')
print("Game ID = %s" % sfo.TITLE_ID)
print(sfo.format("Game Title = %T\n"))

Release files for ps3iso 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ps3iso 0.3.2
File Size Uploaded
ps3iso-0.3.2.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ps3iso 0.3.2
File Interpreter ABI Platform
ps3iso-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.9 kB

Release files / ps3iso-0.3.2.tar.gz

Download URL ps3iso-0.3.2.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2a3f704dab637b2c830a0fd2dabe047886c79bdcf6f6b3f9bc2569d64b2c6e7f
BLAKE2b-256 checksum
How to use checksums
971516f1b45f1824b745decdafc07587961bf50bba458d1e1c542f57d54bc865
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / ps3iso-0.3.2-py3-none-any.whl

Download URL ps3iso-0.3.2-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39fc6aa33958864a43f72c9dd4673d6f403d46e6b2c3fdeb9c2d0f771f25a5b9
BLAKE2b-256 checksum
How to use checksums
1f01f85ba4f213e4f94ca44669d97bf32c3b043bd2ada26da1a7149e638f1b4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release history Release notifications | RSS feed

0.4.1

2 release files

0.4.0

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

This release

0.3.2 This release

2 release files

0.3.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page