mirror of
https://github.com/YohannDR/mzm.git
synced 2024-11-23 04:59:40 +00:00
66b64fc593
- Added constants for power bomb state - Cleaned up PowerBombExplosionProcess and added comments |
||
---|---|---|
.ci | ||
.github | ||
asm | ||
audio | ||
docs/engine | ||
include | ||
src | ||
tools | ||
.cirrus.yml | ||
.gitignore | ||
charmap_backup.txt | ||
charmap.txt | ||
CONTRIBUTING.md | ||
database.txt | ||
linker.ld | ||
Makefile | ||
mzm.sha1 | ||
README.md |
Metroid - Zero Mission Decomp
This is a work in progress decompilation of Metroid - Zero Mission.
2701/2721 functions decompiled (99.26%, 20 left)
0x76b014/0x76b014 bytes of data not in blobs (100%, 0 left)
Progress can be seen here : https://docs.google.com/spreadsheets/d/1X8XarD5evY8ZI7r_GQqh1pYmdVMbBcINYfRBUlogmKY/edit#gid=0
This produces the following ROMs:
- mzm_us.gba:
sha1: 5de8536afe1f0078ee6fe1089f890e8c7aa0a6e8
Discords:
- https://discord.gg/2MGB9Xbr9y MAGret
- https://discord.gg/WtekHKb MAGConst
Dependencies
- agbcc
binutils-arm-none-eabi
mzm_us_baserom.gba
(sha1: 5de8536afe1f0078ee6fe1089f890e8c7aa0a6e8
)python3
g++
Setup
- WINDOWS ONLY : Install and setup WSL
- Install the dependencies (an
apt update
might be necessary for binutils) - Build agbcc (run
./build.sh
) - Add agbcc to your path (
export PATH="<agbcc_path>:$PATH"
, where<agbcc_path>
is the full path to the agbcc directory) - Build preproc (run
make
in tools/preproc)
Build
- Run
make clean
if necessary - Run the data extractor if necessary:
- Compile:
cd tools && . compile_c_extractor.sh && cd ..
- Run:
tools/c_extractor
- If the C version doesn't work, run the C# version
tools/extractor
(may requirechmod +x tools/extractor
first)
- Compile:
- Run
make
(using the -j option is recommended to speed up the process)