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.17.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.17.0-py3-none-any.whl (3.0 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: open_prime_rando-0.17.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.17.0.tar.gz
Algorithm Hash digest
SHA256 7d7e5f884aac2f77bdf3f2e62df925f2166a0b4ff0b0085fb8f236bc3ec0fe94
MD5 2c19ab1cc02243d43e2063baf9174a75
BLAKE2b-256 53a1293b592076af6ce37a6340f51f7c2126aa796d33ef31bf31a56fe601e7cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_prime_rando-0.17.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.17.0-py3-none-any.whl.

File metadata

File hashes

Hashes for open_prime_rando-0.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac39aaedd43014a79e4ab4e913e5667ad521477a9eedf7dcf6149b16c004c69e
MD5 8966a962c5b55b65a311ae46d2120724
BLAKE2b-256 1c8acc334ca96915d13b51a19de4176824cc37288e759b8a4b302defa4f0eec1

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_prime_rando-0.17.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