# PTD2 Server: rebuilding Pokémon Tower Defense 2 services

> PTD2 Server reconstructs online services for the Flash game Pokémon Tower Defense 2 from analysis of its original SWF. Its PHP endpoints and save codecs support story, gym, one-on-one and trainer-versus modes, with MySQL-backed saves.

- 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/KGMats/PTD2-Server>
- Primary source: <https://github.com/KGMats/PTD2-Server/blob/54b428f3eb669a28bba793f828320e910af3f72a/README.md>
- Catalog page: <https://awesomerea.org/resources/ptd2-server-case/>
- Record JSON: <https://awesomerea.org/resources/ptd2-server-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/ptd2-server-case/index.md)

## Requirements & limits

- **Prerequisites:** Docker and Docker Compose for the documented hosting setup; a manual setup needs PHP-FPM 8.1+, a web server and MySQL/MariaDB unless using JSON saves.
- **Limits:** Mystery gifts and the Pokécenter remain unimplemented.
- **License:** AGPL-3.0 license.

## Primary sources

1. <https://github.com/KGMats/PTD2-Server/blob/54b428f3eb669a28bba793f828320e910af3f72a/README.md>

## More in Games

- [Puniemu: a Yo-kai Watch Puni Puni server emulator](https://awesomerea.org/resources/puniemu-yokai-watch-case/index.md) · Case study
- [QuestEditorRe: rebuilding the Alien Shooter quest editor](https://awesomerea.org/resources/questeditorre-case/index.md) · Case study
- [RA3Bar-RA3QuickLoader: a replacement Red Alert 3 launcher](https://awesomerea.org/resources/ra3bar-ra3quickloader-case/index.md) · Case study
- [Rampage Arcade: Z80 disassembly and graphics decoding](https://awesomerea.org/resources/rampage-arcade-disassembly-case/index.md) · Case study
- [rd-131655: reconstructing an unreleased Minecraft cave test](https://awesomerea.org/resources/rd-131655-minecraft-cave-test-case/index.md) · Case study
- [RECAR: rebuilding the RACER Chrome Experiment server](https://awesomerea.org/resources/recar-racer-server-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.
