Metadata-Version: 2.4
Name: mars_patcher
Version: 0.19.0
Summary: An open source randomizer patcher for Metroid Fusion.
Author: biospark
License-Expression: GPL-3.0-only
Project-URL: Repository, https://github.com/MetroidAdvRandomizerSystem/mars-patcher
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: jsonschema
Requires-Dist: frozendict
Requires-Dist: typing-extensions
Provides-Extra: tooling
Requires-Dist: requests; extra == "tooling"
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Requires-Dist: pytest-mock; extra == "test"
Provides-Extra: typing
Requires-Dist: mypy; extra == "typing"
Requires-Dist: types-requests; extra == "typing"
Requires-Dist: types-pyinstaller; extra == "typing"
Requires-Dist: types-jsonschema; extra == "typing"
Requires-Dist: pre-commit; extra == "typing"
Dynamic: license-file

# Metroid Advance Randomizer System Patcher

This is an open source randomizer patcher for Metroid Fusion and Metroid Zero Mission. It is not intended for standalone use, but rather as a library to help implement plando- or randomizers.  

Here is a list of projects that use this library:
- [Randovania](https://randovania.org/)
- [An Archipelago APWorld](https://github.com/StalledStorm/ArchipelagoMine/wiki/Metroid-Fusion-Setup-Guide)

## Developer Info
Running from source:
- Create a venv: `python -m venv venv`
- Activate the venv:
  - Windows: `call venv\scripts\activate`
  - Unix-based: `source ./venv/bin/activate`
- Install the project as editable: `pip install -e .[tooling]`
- Run: `python -m mars_patcher`

Before running the patcher, you want to initialize the required patches first.
For Fusion those need to be placed into `src/mars_patcher/data/patches/mf_u/asm`.
The easiest way to do that is by running `python pull-assembly-patches.py`, which will fetch the patches from the correct release.
However for development purposes, you may want to create the assembly patches yourself manually and then copy them to that directory.

For Zero Mission it is still a Work-In-Progress.

For non-issues you can make contact with us in the [Fusion Discord Server](https://discord.gg/EmdRzfrH42).
