diff --git a/Installation.md b/Installation.md index c73385d..82baacf 100644 --- a/Installation.md +++ b/Installation.md @@ -26,9 +26,21 @@ sudo apt-get install python3-pip ``` ## Step 3: -Make a fork of the main repository https://github.com/zeldaret/mm.git and clone your fork. +Download build_tools.zip from the Releases section and extract it to the tools folder. This contains the compilers the decompilation uses, as well as a modified version of Qemu to emulate them on a modern Linux system. The compilers must go into the tools folder. Qemu may be placed wherever you like. + +## Step 4: +Open up your .bashrc file (~/.bashrc), scroll to the bottom, and add the following, replacing `/path/to/qemu-mips` with the location the qemu-mips you extracted from the build tools: + +``` +export QEMU_IRIX="/path/to/qemu-mips" +``` + +Save and close/reopen your terminal window. ## Step 5: +Make a fork of the main repository https://github.com/zeldaret/mm.git and clone your fork. + +## Step 6: Navigate to the folder you just cloned. Type the following commands: @@ -37,7 +49,7 @@ git submodule update --init --recursive pip3 install -r requirements.txt ``` -## Step 5: +## Step 7: You will need to acquire a copy of the ROM. The md5 of this ROM should be `2a0a8acb61538235bc1094d297fb6556`. @@ -55,7 +67,7 @@ make disasm This will create the build folders as well as a newly created asm folder containing the disassemblies of nearly all the files containing code. -## Step 6: +## Step 8: Type the following: ```