# piney_apples: reconstructing the four .hack PS2 games in Rust

> piney_apples rebuilds the engines of .hack//Infection, Mutation, Outbreak and Quarantine as a native Rust program. It replaces game loops, scripts, battles, rendering and audio, generates tables from users' North American PS2 discs, and compares selected Rust functions with original code run in a project interpreter. The project reports that players reached the endings of all four games.

- 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/Toyz/piney_apples>
- Primary source: <https://github.com/Toyz/piney_apples/blob/b2d7ca6e088bbe7b0d22e41b3cb8206d3844b6f8/README.md>
- Catalog page: <https://awesomerea.org/resources/piney-apples-case/>
- Record JSON: <https://awesomerea.org/resources/piney-apples-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/piney-apples-case/index.md)

## Requirements & limits

- **Prerequisites:** User-owned North American PS2 disc images; one disc supports its corresponding game.
- **Prerequisites:** Current stable Rust and a graphics card supporting Vulkan, Metal or DirectX 12.
- **Limits:** Some side events remain unfinished and bugs are documented.
- **License:** MIT OR Apache-2.0 License.

## Primary sources

1. <https://github.com/Toyz/piney_apples/blob/b2d7ca6e088bbe7b0d22e41b3cb8206d3844b6f8/README.md>
2. <https://github.com/Toyz/piney_apples/blob/b2d7ca6e088bbe7b0d22e41b3cb8206d3844b6f8/docs/README.md>
3. <https://github.com/Toyz/piney_apples/blob/b2d7ca6e088bbe7b0d22e41b3cb8206d3844b6f8/Cargo.toml>

## More in Games

- [Playcard Cosmic: a native port from executable analysis](https://awesomerea.org/resources/playcard-cosmic-port-case/index.md) · Case study
- [Pocket Wormhole: an Android port of the FTL engine reimplementation](https://awesomerea.org/resources/pocket-wormhole-ftl-android-case/index.md) · Case study
- [Pokémon Platinum 3DS: a native 3DS port of Pokémon Platinum](https://awesomerea.org/resources/pokeplatinum-3ds/index.md) · Case study
- [Pokémon Platinum PC Port: a native port built on the pret decompilation](https://awesomerea.org/resources/pokemon-platinum-pc-port-case/index.md) · Case study
- [Pokémon X: native C reconstruction of game logic and field data](https://awesomerea.org/resources/pokemon-x-reconstruction-case/index.md) · Case study
- [Precursor: Android ARM64 port of the Jak and Daxter trilogy](https://awesomerea.org/resources/precursor-android-jak-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.
