GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — PPSX33/docs/ARCHITECTURE.md at main · NotY215/PPSX33

Expand file tree

/

ARCHITECTURE.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
201 lines (170 loc) · 3.87 KB
/

ARCHITECTURE.md

Copy path

File metadata and controls

201 lines (170 loc) · 3.87 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

PPSX33 Architecture

Project site: https://ppsx33.xo.je/
Repository: NotY215/PPSX33
Diagram index: DIAGRAMS.md

Intended architecture for the static recompiler and host runtime. Diagram sources use Mermaid, PlantUML, D2, Graphviz, seqdiag, blockdiag, Nomnoml, WaveDrom, Markmap, Svgbob, Vega-Lite, and C4 (see DIAGRAMS.md). Status labels are engineering targets, not playability claims.

1. System context

flowchart LR
  User[User with decrypted ELF] --> GUI[PS3Recomp GUI]
  GUI --> Core[ps3core lifter]
  Core --> Game[Generated game EXE]
  Game --> RT[ps3rt.dll]
  RT --> Vulkan[Vulkan]
  Core --> MSVC[MSVC cl/link]
Loading
@startuml
actor User
User --> (Load ELF)
User --> (Lift)
User --> (Build)
(Build) --> (Game EXE)
(Game EXE) --> (ps3rt)
(ps3rt) --> (Vulkan)
@enduml

2. Containers

flowchart TB
  subgraph HostTools
    GUI[PS3Recomp.exe]
    CORE[ps3core.dll]
    CLI[ps3_cli.exe]
  end
  subgraph Runtime
    RT[ps3rt.dll]
  end
  subgraph PerGame
    EXE[Game.exe]
    IMG[guest_image.bin]
  end
  GUI --> CORE
  CORE --> EXE
  EXE --> RT
  EXE --> IMG
Loading
gui: PS3Recomp.exe
core: ps3core.dll
rt: ps3rt.dll
game: Game EXE
gui -> core: lift/build
core -> game: emit
game -> rt: link/load

3. Pipeline

sequenceDiagram
  participant U as User
  participant G as GUI
  participant C as ps3core
  participant M as MSVC
  participant E as Game EXE
  participant R as ps3rt
  U->>G: Load decrypted ELF
  G->>C: Decompile / lift
  G->>M: Build project
  M->>E: Link with ps3rt.lib
  E->>R: Init + ppu_run
  R->>R: LV2 / PRX / RSX / SPU
Loading
seqdiag {
  GUI -> ps3core [label = "lift"];
  GUI -> MSVC [label = "build"];
  MSVC -> Game [label = "link"];
  Game -> ps3rt [label = "run"];
}

4. Runtime layers

flowchart TB
  PPU[PPU chunks] --> MEM[Guest memory]
  PPU --> LV2[LV2 HLE]
  PPU --> PRX[PRX/NID]
  PRX --> LIB[cell* services]
  GCM[GCM FIFO] --> RSX[RSX decode]
  RSX --> Vulkan[Vulkan present]
  SPU[SPU/MFC] --> MEM
  LIB --> PAD[Pad]
  LIB --> AUD[Audio]
  LIB --> FS[Filesystem]
Loading
blockdiag {
  group guest { PPU; MEM; FIFO; SPU; }
  group hle { LV2; PRX; }
  group host { Vulkan; Audio; Pad; }
  PPU -> LV2; PPU -> PRX; FIFO -> Vulkan;
}
[PPU] -> [LV2]
[PPU] -> [PRX]
[FIFO] -> [RSX]
[RSX] -> [Vulkan]

5. RSX path

flowchart LR
  PUT[Control PUT/GET] --> FIFO[FIFO RAM]
  FIFO --> DEC[Methods]
  DEC --> DRAW[Draw/Clear]
  DRAW --> PRESENT[Present]
  INJ[Boot assist] -.->|probe only| FIFO
Loading

Invariant: assist draws prove host path only; title PUT + shaders required for real scenes.

6. Trust boundaries

flowchart LR
  A[Lift count] -.->|≠| B[Correct semantics]
  C[methods>0] -.->|maybe| D[Inject]
  E[Visible window] -.->|≠| F[Title mesh]
Loading
{ signal: [
  { name: "PC", wave: "x3.4.5.x", data: ["chunk","import","recover"] },
  { name: "PUT", wave: "0.1..1.0" },
  { name: "flip", wave: "0.1.0.1.0" }
]}

7. Build artifacts

Artifact Role
PS3Recomp.exe GUI
ps3core.dll ELF / lift / project
ps3rt.dll Runtime HLE + RSX
ppsx33-logo.ico App + UI + optional game icon
guest_image.bin Guest memory
digraph {
  gui -> core; core -> game; game -> rt;
}
# PPSX33
## Tools
### GUI
### ps3core
## Runtime
### PPU
### RSX
### SPU
## Output
### Game EXE
 ELF --> Lifter --> EXE
                 |
                 v
               ps3rt

8. Related

  • https://ppsx33.xo.je/
  • ROADMAP.md
  • DIAGRAMS.md
  • ENGINEERING.md
  • README.md

Host ship layout

build/dist/: PS3Recomp.exe, ps3rt.dll, ps3rt.lib, vulkan-1.dll together. dist/runtime/ = headers only.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.