Skip to content

Permuter

Mark Street edited this page Jan 10, 2021 · 1 revision

The decomp-permuster is normally pulled out when all efforts to manually fix register matching have failed.

NOTE: It does not come with any guarantee that it will be able to generate a closer match.

Clone into tools

cd tools
git clone https://github.com/simonlindholm/decomp-permuter

Import function:

cd chunk0
python3 ../tools/decomp-permuter/import.py src/code_75400.c asm/nonmatchings/code_75400/func_15079A58.s

Run permuter:

python3 ../tools/decomp-permuter/permuter.py nonmatchings/func_15079A58 --best-only -j3
Clone this wiki locally