|
| 1 | +<p align="center"> |
| 2 | + <img src="misc/banner.svg" width="720" alt="MHFU-MODKIT"> |
| 3 | +</p> |
| 4 | + |
| 5 | +# MHFU ModKit |
| 6 | + |
| 7 | +Libraries, a runtime mod framework and tools for modding Monster Hunter Freedom Unite (PSP, EU |
| 8 | +release ULES01213), and for porting monsters to it from Monster Hunter Portable 3rd. |
| 9 | + |
| 10 | +> **Under construction.** This repository replaces the six |
| 11 | +> [MHFU-ModKit](https://github.com/MHFU-ModKit) repositories, which stay the current release |
| 12 | +> until it is done. |
| 13 | +
|
| 14 | +## Layout |
| 15 | + |
| 16 | +| Path | Contents | |
| 17 | +|---|---| |
| 18 | +| `packages/` | Python libraries: the debugger client, the file formats, the game, the porter | |
| 19 | +| `framework/` | The PRX plugin and its Lua host | |
| 20 | +| `apps/` | The studio (monster and map editor), the HUD, the Blender extension | |
| 21 | +| `examples/` | Example mods | |
| 22 | +| `data/` | Single-source data, such as the address map the Python, C and Lua constants are generated from | |
| 23 | +| `docs/` | Guides and format references | |
| 24 | + |
| 25 | +## Development |
| 26 | + |
| 27 | +Needs [uv](https://docs.astral.sh/uv/). |
| 28 | + |
| 29 | +```bash |
| 30 | +uv sync # every package, plus pytest and pre-commit |
| 31 | +uv run pre-commit install # ruff, licence headers, comment style on each commit |
| 32 | +uv run pytest |
| 33 | +``` |
| 34 | + |
| 35 | +Tests that read game files take them from `MHFU_DATA` and `MHP3RD_DATA`, each a directory of |
| 36 | +extracted `DATA.BIN` files, and skip when the variable is unset. Nothing from the games is |
| 37 | +committed here: no ISO, no extracted files, no memory dumps. |
| 38 | + |
| 39 | +## Licence |
| 40 | + |
| 41 | +MIT, except the file-format library and everything that bundles it, which are GPL-3.0-or-later |
| 42 | +because they contain code derived from [mhff](https://github.com/svanheulen/mhff). Every file's |
| 43 | +licence is machine-readable ([REUSE](https://reuse.software/); check with `reuse lint`). |
| 44 | + |
| 45 | +Not affiliated with or endorsed by Capcom. Monster Hunter is a trademark of Capcom Co., Ltd. |
0 commit comments