2025-02-13 23:22:21 +01:00
2025-01-18 00:09:33 +01:00
2025-01-18 00:09:33 +01:00
2025-02-13 23:22:21 +01:00
2025-01-18 00:09:33 +01:00
2024-09-16 14:00:37 +02:00
2024-09-16 14:00:37 +02:00
2024-09-16 14:24:56 +02:00
2025-02-13 23:22:21 +01:00
2025-02-13 23:22:21 +01:00

The Legend of Zelda: Spirit Tracks

Note: currently this is mostly a "trying out dsd" repo, it will be cleaned up later once everything works. Also I want to automate the setup process, i.e running the dsd rom extract and dsd init commands automatically from running configure.py.

My goal is to provide a working template repository for DS decomps.


A work-in-progress decompilation of The Legend of Zelda: Spirit Tracks.

Supported versions:

  • st-j: Spirit Tracks - Japan

Currently the decompilation mainly targets the st-j version.

Building

Requirements

You will need the following dependencies:

  • git
  • ninja
  • python3
  • wine (for macOS or non-x86 Linux)
  • clang-format (optional)

Ubuntu/Debian/Windows (WSL)

You can install the dependencies with the following commands:

sudo apt-get update
sudo apt-get install git ninja-build python3

macOS

You can install dependencies via Homebrew with the following command:

brew install git ninja python3
brew install --cask --no-quarantine gcenx/wine/wine-crossover

Windows (Native)

You will need the following dependencies:

You need to add C:\Program Files\Git\bin to your system's PATH (not the user one) in order to execute bash scripts properly.

To get objdiff to work properly you also need to add the path to the folder containing ninja.exe to the system's PATH.

Instructions

  1. Clone the repo using git clone https://github.com/yanis42/st.

  2. Get the ARM7 bios and place it inside orig/arm7/arm7.bin

  3. Run python tools/setup.py

TODO: automate this

  1. Run dsd.exe rom extract -r orig/VERSION/game.nds -7 orig/arm7/arm7.bin -o test/

Development Tools

objdiff

For local decompilation testing, start the objdiff GUI and open this directory as the project directory.

License

This project is licensed under CC0. Some tools might have their own license.

S
Description
No description provided
Readme CC0-1.0 33 MiB
Languages
C++ 90.9%
C 5.5%
Python 3.6%