Skip to content

Eebit/fe11-us

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fire Emblem: Shadow Dragon

This is a decompilation of Fire Emblem: Shadow Dragon (NDS), powered by ds-decomp.

It builds the following ROM:

  • fe11_usa.nds: sha1: 7b7b307ef819ac31a7b71aed2e8e47ff23c1765e

Setup

Prerequisites

  1. Use one of these platforms:
    • Windows (recommended)
    • Linux
  2. Install the following:
    • Python 3.11+ and pip
    • GCC 9+
    • Ninja
  3. Install the Python dependencies:
    python -m pip install -r tools/requirements.txt
  4. Run the setup script:
    python tools/setup.py
  5. Run the Ninja configure script:
    python tools/configure.py usa

Important

Rerun configure.py often to ensure that all C code gets compiled.

Note

Wibo is used by default. If you want to use Wine instead, run configure.py with -w <path/to/wine>.

  1. Put one or more base ROMs in the /extract/ directory of this repository.

Now you can run ninja to build a ROM for the chosen version. Currently, only the US version is supported.

Matching the base ROM

This is optional! You only need to follow these steps if you want a matching ROM.

First, extract the ARM7 BIOS from your DS device. Put the ARM7 BIOS in the root directory of this repository, and verify that your dumped BIOS matches one of the following:

File name SHA1
arm7_bios.bin 24f67bdea115a2c847c8813a262502ee1607b7df
arm7_bios.bin 6ee830c7f552c5bf194c20a2c13d5bb44bdb5c03

Now, rerun configure.py so it can update build.ninja to build a matching ROM.

Contributing

This project uses the object diffing tool objdiff to track differences between our decompiled C code and the base ROM's code.

  1. Download the latest release.
  2. Run configure.py usa and ninja to generate objdiff.json in the repository root.
  3. In objdiff, set the project directory to the repository root.
  4. Select your source file in the left sidebar.
  5. See the list of functions and data to decompile.

See also

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •