# memetrix/gran-turismo-psp-career architecture

> Architecture diagram of the GitHub repository memetrix/gran-turismo-psp-career, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/memetrix/gran-turismo-psp-career
- Repository: https://github.com/memetrix/gran-turismo-psp-career

## Overview

This repository distributes a fan-made Gran Turismo PSP career-mode patch. Its documented user workflow is to select a supported USA ISO in the browser installer, apply the patch locally, then save and play the resulting ISO; manual patching is also supported. The tree exposes installer assets and the patch file, but no game-patch implementation source was sampled, so the game-content additions are represented as documented product capabilities, not inferred implementation stages. The excerpts are browser test scripts and do not establish runtime call relationships.

Main entry points: [`docs/patches/Gran-Turismo-PSP-Career-v1.1.xdelta`](https://github.com/memetrix/gran-turismo-psp-career/blob/main/docs/patches/Gran-Turismo-PSP-Career-v1.1.xdelta) (Career patch), [`docs/index.html`](https://github.com/memetrix/gran-turismo-psp-career/blob/main/docs/index.html) (Installer page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_installer["Browser installer"]
  node_installer_page["Installer page<br/>[index.html]"]
  node_installer_config["Patch configuration<br/>[patch-config.js]"]
  node_patch_worker["Patch worker<br/>[patch-worker.js]"]
  node_patcher["Patcher runtime<br/>[patcher.js]"]
end

subgraph group_patch["Game patch"]
  node_xdelta["Career patch"]
end

subgraph group_game["Patched game"]
  node_career["Career mode"]
  node_tuning["Tuning"]
  node_tracks_cars["Tracks and cars"]
  node_race_features["Racing features"]
end

node_user(("Player"))
node_patched_iso["Patched ISO"]
node_psp(("PSP / PPSSPP"))

node_user -->|"selects ISO"| node_installer_page
node_installer_page -->|"produces locally"| node_patched_iso
node_xdelta -.->|"adds"| node_career
node_xdelta -.->|"adds"| node_tuning
node_xdelta -.->|"adds"| node_tracks_cars
node_xdelta -.->|"adds"| node_race_features
node_patched_iso -->|"runs on"| node_psp

click node_installer_page "https://github.com/memetrix/gran-turismo-psp-career/blob/main/docs/index.html"
click node_installer_config "https://github.com/memetrix/gran-turismo-psp-career/blob/main/docs/patch-config.js"
click node_patch_worker "https://github.com/memetrix/gran-turismo-psp-career/blob/main/docs/patch-worker.js"
click node_patcher "https://github.com/memetrix/gran-turismo-psp-career/blob/main/docs/patcher.js"
click node_xdelta "https://github.com/memetrix/gran-turismo-psp-career/blob/main/docs/patches/Gran-Turismo-PSP-Career-v1.1.xdelta"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_installer_page,node_installer_config,node_patch_worker,node_patcher toneBlue
class node_xdelta toneAmber
class node_career,node_tuning,node_tracks_cars,node_race_features toneMint
class node_user,node_patched_iso,node_psp toneIndigo
```

## Components

### Browser installer

- [Installer page](https://github.com/memetrix/gran-turismo-psp-career/blob/main/docs/index.html): `docs/index.html`
- [Patch configuration](https://github.com/memetrix/gran-turismo-psp-career/blob/main/docs/patch-config.js): `docs/patch-config.js`
- [Patch worker](https://github.com/memetrix/gran-turismo-psp-career/blob/main/docs/patch-worker.js): `docs/patch-worker.js`
- [Patcher runtime](https://github.com/memetrix/gran-turismo-psp-career/blob/main/docs/patcher.js): `docs/patcher.js`

### Game patch

- [Career patch](https://github.com/memetrix/gran-turismo-psp-career/blob/main/docs/patches/Gran-Turismo-PSP-Career-v1.1.xdelta): `docs/patches/Gran-Turismo-PSP-Career-v1.1.xdelta`

### Patched game

- **Career mode**
- **Tuning**
- **Tracks and cars**
- **Racing features**

### Other components

- **Player**
- **Patched ISO**
- **PSP / PPSSPP**

## Connections

- Player → Installer page: selects ISO (evidence: `README.md`)
- Installer page → Patched ISO: produces locally (evidence: `README.md`)
- Career patch → Career mode: adds
- Career patch → Tuning: adds
- Career patch → Tracks and cars: adds
- Career patch → Racing features: adds
- Patched ISO → PSP / PPSSPP: runs on (evidence: `README.md`)
