# sigmaboy/nopaystation_scripts architecture

> Architecture diagram of the GitHub repository sigmaboy/nopaystation_scripts, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sigmaboy/nopaystation_scripts
- Repository: https://github.com/sigmaboy/nopaystation_scripts

## Overview

This repository is a collection of command-line tools for downloading NoPayStation content. Users can fetch TSV catalogs, then use them to download Vita games, updates, DLC, PSM games, or PSP games; bundle and region scripts provide bulk workflows. pyNPU independently retrieves Sony update metadata and prints update links, game names, or changelogs. The README documents these capabilities and some script-to-script relationships; most shell implementations were not sampled, so undocumented internal calls are omitted.

Main entry points: [`nps_bundle.sh`](https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_bundle.sh) (Game bundle), [`nps_tsv.sh`](https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_tsv.sh) (Fetch TSVs), [`pyNPU.py`](https://github.com/sigmaboy/nopaystation_scripts/blob/master/pyNPU.py) (Update inspector), [`nps_game.sh`](https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_game.sh) (Vita game)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalog["Catalogs"]
  node_nps_tsv["Fetch TSVs<br/>[nps_tsv.sh]"]
  node_tsv_archive["TSV archive"]
end

subgraph group_downloads["Content downloads"]
  node_nps_game["Vita game<br/>[nps_game.sh]"]
  node_nps_update["Vita updates<br/>[nps_update.sh]"]
  node_nps_dlc["Vita DLC<br/>[nps_dlc.sh]"]
  node_nps_psm["PSM game<br/>[nps_psm.sh]"]
  node_nps_psp["PSP game<br/>[nps_psp.sh]"]
  node_nps_bundle["Game bundle<br/>[nps_bundle.sh]"]
  node_nps_region["Region collection<br/>[nps_region.sh]"]
end

subgraph group_updates["Update information"]
  node_py_npu["Update inspector<br/>[pyNPU.py]"]
end

node_user(("User"))
node_nps_psn_service["NoPayStation"]
node_sony_service["Sony update service"]
node_changelog_service["Changelog source"]

node_user -->|"requests catalog"| node_nps_tsv
node_nps_tsv -->|"downloads TSVs"| node_nps_psn_service
node_nps_tsv -->|"creates archive"| node_tsv_archive
node_user -->|"requests game"| node_nps_game
node_user -->|"requests updates"| node_nps_update
node_user -->|"requests DLC"| node_nps_dlc
node_user -->|"requests game"| node_nps_psm
node_user -->|"requests game"| node_nps_psp
node_user -->|"requests bundle"| node_nps_bundle
node_nps_bundle -->|"runs script"| node_nps_game
node_nps_bundle -->|"runs script"| node_nps_update
node_nps_bundle -->|"runs script"| node_nps_dlc
node_user -->|"requests collection"| node_nps_region
node_user -->|"requests update info"| node_py_npu
node_py_npu -->|"fetches metadata"| node_sony_service
node_py_npu -->|"fetches changelog"| node_changelog_service

click node_nps_tsv "https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_tsv.sh"
click node_nps_game "https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_game.sh"
click node_nps_update "https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_update.sh"
click node_nps_dlc "https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_dlc.sh"
click node_nps_psm "https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_psm.sh"
click node_nps_psp "https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_psp.sh"
click node_nps_bundle "https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_bundle.sh"
click node_nps_region "https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_region.sh"
click node_py_npu "https://github.com/sigmaboy/nopaystation_scripts/blob/master/pyNPU.py"

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_nps_tsv,node_tsv_archive,node_user toneBlue
class node_nps_game,node_nps_update,node_nps_dlc,node_nps_psm,node_nps_psp,node_nps_bundle,node_nps_region toneAmber
class node_py_npu toneMint
class node_nps_psn_service,node_sony_service,node_changelog_service toneIndigo
```

## Components

### Catalogs

- [Fetch TSVs](https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_tsv.sh): `nps_tsv.sh`
- **TSV archive**

### Content downloads

- [Vita game](https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_game.sh): `nps_game.sh`
- [Vita updates](https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_update.sh): `nps_update.sh`
- [Vita DLC](https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_dlc.sh): `nps_dlc.sh`
- [PSM game](https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_psm.sh): `nps_psm.sh`
- [PSP game](https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_psp.sh): `nps_psp.sh`
- [Game bundle](https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_bundle.sh): `nps_bundle.sh`
- [Region collection](https://github.com/sigmaboy/nopaystation_scripts/blob/master/nps_region.sh): `nps_region.sh`

### Update information

- [Update inspector](https://github.com/sigmaboy/nopaystation_scripts/blob/master/pyNPU.py): `pyNPU.py`

### Other components

- **User**
- **NoPayStation**
- **Sony update service**
- **Changelog source**

## Connections

- User → Fetch TSVs: requests catalog (evidence: `README.md`)
- Fetch TSVs → NoPayStation: downloads TSVs (evidence: `README.md`)
- Fetch TSVs → TSV archive: creates archive (evidence: `README.md`)
- User → Vita game: requests game (evidence: `README.md`)
- User → Vita updates: requests updates (evidence: `README.md`)
- User → Vita DLC: requests DLC (evidence: `README.md`)
- User → PSM game: requests game (evidence: `README.md`)
- User → PSP game: requests game (evidence: `README.md`)
- User → Game bundle: requests bundle (evidence: `README.md`)
- Game bundle → Vita game: runs script (evidence: `README.md`)
- Game bundle → Vita updates: runs script (evidence: `README.md`)
- Game bundle → Vita DLC: runs script (evidence: `README.md`)
- User → Region collection: requests collection (evidence: `README.md`)
- User → Update inspector: requests update info (evidence: `README.md`)
- Update inspector → Sony update service: fetches metadata (evidence: `pyNPU.py`)
- Update inspector → Changelog source: fetches changelog (evidence: `pyNPU.py`)
