# Tony Hawk's Underground: a matching PS2 decompilation

> Tony Hawk's Underground is being reconstructed as matching C++ for the NTSC-U PlayStation 2 release SLUS-20731. The project splits the ELF into functions, compiles each recovered function with a pinned SN Systems toolchain and compares instructions; remaining functions are assembled so the complete build can be checked against the user's disc by SHA-1.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/andrewnakas/thug-decomp>
- Primary source: <https://github.com/andrewnakas/thug-decomp/blob/3ae609336adf6e664e8baffcc5792deaf792e30f/README.md>
- Catalog page: <https://awesomerea.org/resources/tony-hawks-underground-ps2-decomp-case/>
- Record JSON: <https://awesomerea.org/resources/tony-hawks-underground-ps2-decomp-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/tony-hawks-underground-ps2-decomp-case/index.md)

## Requirements & limits

- **Prerequisites:** A legally owned NTSC-U SLUS-20731 game disc or dump is required.
- **Prerequisites:** The documented workflow uses Linux, Python 3 and a pinned SN Systems ee-gcc toolchain under wibo.
- **Limits:** The author reports four C++ functions matched in the dated status report; the remaining full-ELF reconstruction is largely assembly.
- **License:** CC0-1.0 license for the repository code.

## Primary sources

1. <https://github.com/andrewnakas/thug-decomp/blob/3ae609336adf6e664e8baffcc5792deaf792e30f/README.md>
2. <https://github.com/andrewnakas/thug-decomp/blob/3ae609336adf6e664e8baffcc5792deaf792e30f/STATUS.md>
3. <https://github.com/andrewnakas/thug-decomp/blob/3ae609336adf6e664e8baffcc5792deaf792e30f/PROVENANCE.md>
4. <https://github.com/andrewnakas/thug-decomp/blob/3ae609336adf6e664e8baffcc5792deaf792e30f/LICENSE>

## More in Games

- [Top Spin 4 decompilation: matching Xbox 360 functions against three XEX modules](https://awesomerea.org/resources/top-spin-4-decomp-case/index.md) · Case study
- [Touhou 11: instruction-level C++ reconstruction](https://awesomerea.org/resources/touhou-11-reconstruction-case/index.md) · Case study
- [Touhou 6: reconstructing Embodiment of Scarlet Devil 1.02h source](https://awesomerea.org/resources/th06-decomp-case/index.md) · Case study
- [Touhou 7: reconstructing Perfect Cherry Blossom 1.00b source](https://awesomerea.org/resources/th07-decomp-case/index.md) · Case study
- [Touhou 8: an independent matching decompilation of Imperishable Night](https://awesomerea.org/resources/cirno-labs-th08-case/index.md) · Case study
- [Touhou Eiyashou: matching-source reconstruction of version 1.00d](https://awesomerea.org/resources/gensokyoclub-th08-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
