Skip to main content

An open source randomizer patcher for Metroid Prime 2 and 3.

Project description

Open Prime Rando

Open Source randomizer patcher for Prime 2 and eventually 3.

Updating hash files

Some tests compare the output of the patcher against pre-recorded hash files. When a code change intentionally alters the output, these files need to be regenerated.

Setup

The tests require ISO files for Metroid Prime 2: Echoes. Create a .env file in the repository root:

PRIME2_ISO=/path/to/prime2_ntsc.iso
PRIME2_PAL_ISO=/path/to/prime2_pal.iso

These can also be set as regular environment variables instead of using .env.

Running locally

uv run pytest --update-hashes -n 2

This runs only the hash-comparison tests and writes the new hashes in place of the old ones.

Via GitHub (pull requests)

Anyone with write access to the repository can comment /update-hashes on a pull request. A workflow will run the tests on the self-hosted runner, commit the updated files, and push them to the PR branch.

Credits

Echoes

Banner image created by rekameohs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

open_prime_rando-0.18.0.tar.gz (7.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

open_prime_rando-0.18.0-py3-none-any.whl (3.0 MB view details)

Uploaded Python 3

File details

Details for the file open_prime_rando-0.18.0.tar.gz.

File metadata

  • Download URL: open_prime_rando-0.18.0.tar.gz
  • Upload date:
  • Size: 7.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for open_prime_rando-0.18.0.tar.gz
Algorithm Hash digest
SHA256 d7b4e4547963004d4185cda40305695e87bec6000d2a56ebc69c74684a71f20b
MD5 aaae1d8551faa92a845fead16bfdb239
BLAKE2b-256 d3092fe419ac59f7347cf5cdc909c18ef25e8b927b7fb77c41f3164e3b83ec38

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_prime_rando-0.18.0.tar.gz:

Publisher: python.yml on randovania/open-prime-rando

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file open_prime_rando-0.18.0-py3-none-any.whl.

File metadata

File hashes

Hashes for open_prime_rando-0.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f8c5439271de8e812c5bc577067876d7a9947d9cbe58aebf6357f967849f0dac
MD5 3e71bf93321a66041fb5285a92de89da
BLAKE2b-256 c31183a14ae19d63ea8461d9b2dfd79a0eca2dbd281cd8bca8e3afa17ccf62a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_prime_rando-0.18.0-py3-none-any.whl:

Publisher: python.yml on randovania/open-prime-rando

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page