Pyz3r

Latest version: v6.1.0

Safety actively analyzes 714815 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 8

2.0.6

Bumped the major revision number because there are a few breaking changes and deprecated functions.

reading the Japan 1.0 ROM and writing the patched game was moved out of the pyz3r.alttpr() class, as they really didn't belong there.

Before:

python
seed = pyz3r.alttpr(
randomizer='item',
hash='zDvxWLLEMa'
)
jpn10rom = seed.read_rom("base_rom/Zelda no Densetsu - Kamigami no Triforce (Japan).sfc")

patched_rom = seed.create_patched_game(
patchrom_array = jpn10rom,
heartspeed=None, can be off, quarter, half, double or normal.
heartcolor='red', can be red,
spritename='Link', can be any sprite listed at https://alttpr.com/sprites
music=False true or false, defaults true
)
seed.write_rom(patched_rom, "outputs/patched_rom.sfc")


after

python
seed = pyz3r.alttpr(
randomizer='item',
hash='zDvxWLLEMa'
)
jpn10rom = pyz3r.romfile.read("base_rom/Zelda no Densetsu - Kamigami no Triforce (Japan).sfc")

patched_rom = seed.create_patched_game(
patchrom_array = jpn10rom,
heartspeed=None, can be off, quarter, half, double or normal.
heartcolor='red', can be red,
spritename='Link', can be any sprite listed at https://alttpr.com/sprites
music=False true or false, defaults true
)
pyz3r.romfile.write(patched_rom, "outputs/patched_rom.sfc")


The old functions on the alttpr class will still exist and function for now, but will eventually be removed.

Also made some other behind the scenes changes that should make it more "pythonic".

1.0.1

Changes:

added support for Python 3.7
retry the game generation if the server doesn't respond (workaround the inverted segfault issue)
try using the /hash/ endpoint if retrieving the seed data from S3 fails, removed an ugly 3s sleep

This has been uploaded to PyPi. Enjoy!

Page 8 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.