Go to file
Bolu 0aef540fdd
C extractor (#11)
* Add multithreaded C extractor using OpenMP

* Rename CPP ref to C

* Remove compiled C extractor

* Make C extractor slightly more efficient

* [C extractor] Flatten db buffer + cleanup

* [C extractor] Fix indentation
2024-01-02 14:29:56 +01:00
.ci Edited docker file 2022-07-02 19:03:59 +02:00
.github Add PR template 2022-03-29 15:42:05 +00:00
asm Name audio command functions 2023-11-23 23:50:56 +01:00
audio Properly extract tracks 2023-11-24 09:15:40 +01:00
docs/engine More cleanup, particles 2023-07-12 04:10:41 +02:00
include Name audio command functions 2023-11-23 23:50:56 +01:00
src Slight cleanup of last PR 2024-01-02 14:28:42 +01:00
tools C extractor (#11) 2024-01-02 14:29:56 +01:00
.cirrus.yml Edited docker file 2022-07-02 19:03:59 +02:00
.gitignore Add first version of extractor 2022-09-24 17:42:57 +02:00
charmap_backup.txt Start extracting text data 2023-10-20 01:07:21 +02:00
charmap.txt Finish text data and add text pointers 2023-10-20 19:57:26 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md with mention of clean room design 2022-03-21 22:08:13 +00:00
database.txt Link cable_link.c 2023-11-22 18:19:45 +01:00
linker.ld Link cable_link.c 2023-11-22 18:19:45 +01:00
Makefile Extract tracks and proper voice groups 2023-11-17 13:06:43 +01:00
mzm.sha1 Remove checksum newline 2022-09-05 18:50:48 +02:00
README.md Slight cleanup of last PR 2024-01-02 14:28:42 +01:00

Metroid - Zero Mission Decomp

This is a work in progress decompilation of Metroid - Zero Mission.

2677/2721 functions decompiled (98.38%, 44 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:

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")
  • Build preproc (run make in tools/preproc)

Build

  • Run make clean if necessary
  • Run the extractor script in tools (./tools/extractor) if necessary
  • Run make (using the -j option is recommended to speed up the process)