# Pea Shootin' Pete: matching reconstruction of PETE.EXE

> Pea Shootin' Pete reconstructs DOS PETE.EXE functions as C and assembly using Borland C++ 3.1. Its tools repair gaps in a Ghidra export, compile candidates in DOSBox X, and compare instruction shape and bytes while reporting address-field differences. The author reports 94 exact function matches among 454 targets.

- 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/bImPatman/pea-shootin-pete-decomp>
- Primary source: <https://github.com/bImPatman/pea-shootin-pete-decomp/blob/c78f2fcfca2d4eab12bcc2823e7f638b839b7929/README.md>
- Catalog page: <https://awesomerea.org/resources/pea-shootin-pete-decomp-case/>
- Record JSON: <https://awesomerea.org/resources/pea-shootin-pete-decomp-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/pea-shootin-pete-decomp-case/index.md)

## Requirements & limits

- **Prerequisites:** Provide PETE.EXE and Borland C++ 3.1.
- **Prerequisites:** The workflow uses Python 3.13 with capstone and DOSBox X; Ghidra 12.1.4 with Java 21 is needed to regenerate the export.
- **Limits:** The author reports 94 exact matches among 454 target functions.
- **License:** No licence file in the repository.

## Primary sources

1. <https://github.com/bImPatman/pea-shootin-pete-decomp/blob/c78f2fcfca2d4eab12bcc2823e7f638b839b7929/README.md>
2. <https://github.com/bImPatman/pea-shootin-pete-decomp/blob/c78f2fcfca2d4eab12bcc2823e7f638b839b7929/notes/compiler.md>

## More in Games

- [Pebble Beach Golf Links: a byte-matched Mega Drive reconstruction](https://awesomerea.org/resources/pebble-beach-golf-links-mega-drive-decomp-case/index.md) · Case study
- [Pepsiman: a matching PlayStation decompilation](https://awesomerea.org/resources/pepsiman-matching-decomp-case/index.md) · Case study
- [Perfect Dark: matching Nintendo 64 decompilation](https://awesomerea.org/resources/perfect-dark-matching-decomp-case/index.md) · Case study
- [persona-psx: matching decompilation of Megami Ibunroku Persona](https://awesomerea.org/resources/persona-psx-case/index.md) · Case study
- [PES6 decompilation: matching the PS2 PAL executable and overlays](https://awesomerea.org/resources/pes6decomp-case/index.md) · Case study
- [Petari: a matching Super Mario Galaxy decompilation](https://awesomerea.org/resources/petari-smg-decomp-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.
