# pret/pokefirered

Decompilation of Pokémon FireRed/LeafGreen

Repository: https://github.com/pret/pokefirered
Canonical: https://ross.abutalabs.com/products/pokefirered
Language: C
License Family: other
Topics: pokemon, decompilation, gameboy-advance, reverse-engineering, c
Last push: 2026-08-04T03:21:32+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 3167, "days_push": 29, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1574, forks 986 (observed 2026-08-28T04:05:05.738396+00:00)

## What it is
A complete decompilation of Pokémon FireRed and LeafGreen that rebuilds byte-identical GBA ROM images from C source code. It is part of the pret project's effort to reverse-engineer classic games into readable, modifiable source.

## Use cases
- rebuild pokemon firered rom from source
- mod pokemon firered and recompile the gba rom
- study how a gba game is implemented in c
- reverse engineer pokemon leafgreen game engine
- create custom pokemon rom hacks with a full source tree

## When to choose
- you want to modify Pokémon FireRed/LeafGreen at the source level rather than with binary patching tools
- you need byte-accurate ROM reconstruction for research or preservation
- you want to study real GBA game engine code

## When to avoid
- you just want to play the games
- you need a decompilation of other Pokémon generations or languages
- you want a high-level modding toolkit without a build toolchain

## Facets
- artifact type: application
- maturity: active
- function: reverse-engineering, compiler, developer-tools
- domain: reverse-engineering, gaming-tools
- platform: windows, cli
- tags: decompilation, gameboy-advance, pokemon, rom-hacking, pret, game-development, linux, macos

## Member repositories
- pret/pokefirered (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:05.738396+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:57:51.859803+00:00, confidence not recorded.
  - readme: https://github.com/pret/pokefirered (fetched 2026-08-28T04:05:05.738396+00:00, sha ab59004406fa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
