Saltar al contenido
PORTSNATIVE.
InicioCatálogo
Juegos WebEmuladoresHerramientasNovedades
PORTSNATIVE.

Un catálogo para descubrir ports y proyectos relacionados. Enlazamos a las fuentes oficiales y no alojamos archivos de los juegos originales.

ExplorarCatálogoMi lista
InformaciónNosotrosProponer un portSoporteApoyo y donacionesAviso legal
© 2026 PortsNative
Volver al catálogo
Sonic Advance 2 Decompilation
PORTSNATIVE

Sonic Advance 2 Decompilation

PORT NATIVOPLATAFORMASWINDOWSLINUXMACOSALPHA

Sonic Advance 2 Decompilation

Sonic Advance 2

OrigenGame Boy Advance

TecnologíaDescompilación y Reconstrucción en C/C++

Disponible paraWindows, Linux, macOS

Ver proyecto oficial

Sobre el proyecto

Sonic Advance 2 es un videojuego desarrollado por SEGA en 2002 para la Game Boy Advance. Este juego es el segundo de la serie Sonic que aparece para una portátil de Nintendo, continuando así la línea marcada por su antecesor, Sonic Advance.

Información oficial del proyecto

README original del autor (en inglés)Abrir en GitHub ↗
<h1 align="center">Sonic Advance Trilogy</h1> <p align="center"> <img height="240" src=".github/media/titlescreen.png" alt="Sonic Advance 2 title screen"> </p> <div align="center">
SA1Decompilation Progress Decompilation Matching Progress
SA2Decompilation Progress Decompilation Matching Progress

<a href="https://github.com/SAT-R/sa2/actions/workflows/build.yml"><img src="https://github.com/SAT-R/sa2/actions/workflows/build.yml/badge.svg" alt="CI status"></a> <a href="https://github.com/SAT-R/sa2/graphs/contributors"><img src="https://img.shields.io/github/contributors/SAT-R/sa2" alt="Contributors"></a> <a href="https://discord.gg/vZTvVH3gA9"><img src="https://img.shields.io/discord/1052347299457671200" alt="Discord"></a>

</div>

:warning: This project is not completed and still under active development

This is a work in progress matching decompilation of Sonic Advance 1, 2, & eventually 3

It builds the following ROMs:

  • sa1.gba sha1: eb00f101af23d728075ac2117e27ecd8a4b4c3e9 (Europe) (En,Ja,Fr,De,Es)
  • sa2.gba sha1: 7bcd6a07af7c894746fa28073fe0c0e34408022d (USA) (En,Ja,Fr,De,Es,It)
  • sa2_europe.gba sha1: b0f64bdca097f2de8f05ac4c8caea2b80c5faeb1 (Europe) (En,Ja,Fr,De,Es,It)
  • sa2_japan.gba sha1: dffd0188fc78154b42b401398a224ae0713edf23 (Japan) (En,Ja,Fr,De,Es,It)
  • sa2_japan_vc.gba sha1: 2aa6ee2cf2b0ebfafbea6d6d24165b252a7e329e (Japan) (En,Ja,Fr,De,Es,It) (Virtual Console)
  • sa2_beta.gba sha1: 3368642fc4157824af63367e2a685b7d6ee9b09d (USA) (Beta) (2002-10-25)

It can also build:

  • sa2.sdl make sdl (Linux/MacOS SDL 64bit port)
  • sa2.sdl_win32.exe make sdl_win32 (Windows SDL 64bit port)
  • :construction: sa2.win32.exe make win32 (Win32 OpenGL port, not functional)
  • sa2.ps2.iso make ps2 (PlayStation 2 port, requires PS2DEV)
  • EBOOT.PBP make sdl_psp (PlayStation Portable SDL port, requires PSPDEV)

Current state (SA2)

  • :tada: The build is 100% from C files with ~60 functions which currently don't match
  • All assembly code extracted, disassembled, and decompiled by hand to their C equivilent
  • All songs have been extracted, and documented as matching MIDI files
  • All sprite animation frames have been extracted to PNGs and are used to build the matching rom
  • All tilemaps (backgrounds) have been documented and had their tiles extracted
  • Most aspects of core game play have been documented, but >600 functions are still unnamed
  • The game compiles to a widescreen port (426x240) for multiple platforms

Sub games

Within the Sonic Advance Trilogy roms there are some "Sub games" which we have begun to decompile as part of this project. These sub games are automatically compiled and bundled during the main build process, as they are necessary to create a matching binary.

GameMultiboot romDecompilation
SA2mb_chao_garden.gbaDecompilation Progress
SA2collect_rings.gbaDecompilation Progress

Setting up the repo

Please see follow these instructions

Contributing

Join us on discord to get started in helping out. Otherwise, we are always looking for people to document the code base, and there are many non matching functions which need human input to resolve.

Strict No LLM / No AI Policy

  • No LLMs for issues.
  • No LLMs for pull requests.

This project was created as a learning excerise, I (freshollie) like learning new things. Of course it also has real world outcomes (having the ability to play, mod, port this game), but we as maintainers are not interested in submissions from LLM origin.

We want humans to use this project to practice their skills. Reverse engineering, documenting, understanding, being part of the process. If you submit a pull request we want you to have accountability as well as knowledge of what you've done. We want you to develop on those skills and continue to contribute. If "the computer" did all the work for you, we are not interested.

Our policy is based off Zig's

Layout

├── asm
│   ├── macros # Common macros used in asm files
│   └── non_matching # Non matching assembly pulled in the C compilation process
├── chao_garden # The tiny chao garden project (based on the SA2 version)
├── data # Raw data pulled into the rom via ASM files
├── graphics # Graphics related assets
├── include # Headers
├── libagbsyscall # The agbsyscall library included as part of the nintendo SDK
├── multi_boot # Any multiboot roms (used for singlepak multiplayer)
├── scripts # Scripts used in the decompilation process
├── sound # Sound related assets
├── src
│   ├── data # C files which pull in assets as part of the compilation process
│   ├── game
│   │   ├── sa1
│   │   ├── sa2
│   │   └── shared # C files used across all 3 games
│   ├── lib # libraries which were originally statically linked
│   │   ├── agb_flash
│   │   └── m4a
│   ├── platform # port related code
│   └── . # src root contains Dimps "engine" C files
└── tools # tools used for compilation or extraction

Notable info

  • The Kirby & The Amazing Mirror decompilation uses the same "engine", as it was written by the same dev team (Dimps)
  • https://decomp.me is a great resource for helping to create matching function
  • For more info, see the FAQs section of TMC

Credits

  • JaceCear for his dedication to understanding the internals of the graphics engine, writing tools to extract this data, as well as massive effort in contributing towards the decompilation process (including decompiling the whole of sa1!), and setting up the PC ports
  • Shout out to @froggestspirit for the drive to set this project up
  • Special thanks to @normmatt for the initial repo setup and sounds disassembly
  • Pokemon Reverse Engineering Tools community for their help with the project, and tooling for GBA decompilations
  • Kermalis for their tool which was used to dump the game midis
  • 琪姬 for their exellent work documenting all the quirks of matching midis
Ver proyecto oficial
CALIFICACIÓN
—
Cargando votos…
Publicidad

FICHA DEL PROYECTO

Tipo de proyecto
PORT NATIVO
Género
Plataformas
Estado
alpha
Plataforma de origen
Game Boy Advance
Tecnología
Descompilación y Reconstrucción en C/C++
Versión
—
Actualización
—

Plataformas de destino 3

Windows
Linux
macOS
Ver en GitHub
Publicidad