# SyphonFilter3 Recompiled > [!WARNING] > **Work in progress and experimental.** This is an unofficial, early-stage port. Expect bugs, > crashes, missing features and breaking changes between builds. So far only the Tokyo mission has been played > through end to end (on Windows); the other missions are untested. Builds are test builds, not releases. > You need your own copy of the game and an SCPH-1001 BIOS dump; neither is included. Static recompilation of **Syphon Filter 3** (USA, SCUS-94640) built on [psxrecomp](https://github.com/mstan/psxrecomp), using the fork [thypirate/psxrecomp](https://github.com/thypirate/psxrecomp) (branch `feat/input-schedule`) for this game's fixes. Status: boots with the real BIOS, plays the intro movie and the Tokyo mission, renders at 720p-1440p with an optional "Smooth" mode (sub-pixel geometry, perspective-correct textures), and supports an analog controller. Known open issues: occasional input delay when shooting or interacting, untested missions. **AI disclosure:** developed with AI assistance ([Claude Code](https://claude.com/claude-code)). The project is human-directed and playtested; the code, framework fixes and reverse-engineering analysis are largely AI-written and are verified against the Beetle PSX reference emulator, with tests for each framework fix. | | | |---|---| | Players | 1-2 | | Region | USA | | Publisher | 989 Studios | | Year | 2001 | Scaffolded with the New Project Layout. See `psxrecomp/docs/GAME_PROJECT_SETUP.md` for the full flow. ## Retro Launcher You can run this title **standalone** (download the release zip, point it at your disc, play), or manage installs, updates, and disc/BIOS wiring with **[Retro Launcher](https://github.com/RetroPortingToolKit/Retro-Launcher)** — the Retro Compilation Manager hub for self-compiling recomps. [Downloads](https://github.com/RetroPortingToolKit/Retro-Launcher/releases) · [Full README & features](https://github.com/RetroPortingToolKit/Retro-Launcher#readme)

Retro hub with a background build, next to a title’s recomp-ui launcher

Background cmake build with titles queued

Retro checks for updates, installs the prebuilt release zips, and automates BIOS/ROM/save plumbing so you are not stuck repeating each game’s first run by hand. ## Legal You must own the original game. Disc images under `disc/` are gitignored and must never be committed. Retail BIOS dumps are not redistributed and no C derived from one may be committed; releases run on the bundled MIT OpenBIOS. `generated/` (the recompiled game C) is derived from the game's code, so it is **gitignored and never committed**: build it locally from your own disc with `generate` (below). Default app icon: `assets/psxrecomp.ico` (and `.png` / `.svg`) — Retro-themed controller mark from `psxrecomp/assets/`. Windows builds embed it via `APP_ICON`. Optional box art under `launcher_assets/img/` may come from [libretro-thumbnails](https://github.com/libretro-thumbnails/libretro-thumbnails) (`Named_Boxarts`); see `BOXART_SOURCE.txt` when present. ## Local 720p play Run `./scripts/play_720p.sh` after building the release runtime. The launcher uses the USA CUE and SCPH1001 BIOS in Downloads. It keeps the 4:3 aspect ratio, forces 720p internal rendering, and enables late controller polling with 60 Hz wall-clock pacing on the tested display. The launcher overrides saved video settings for that session. ## Remap controller buttons After the first launch, close the game and swap two PS1 button bindings: ```sh python3 scripts/remap_controller.py cross circle ``` This edits `build-release/input.ini`. Use `--config` to select the `input.ini` beside a different executable. Run the same command again to undo the swap. The game loads the bindings at startup. For custom assignments, edit the `[mapping]` section directly. `--guid` targets an existing device-specific section that defines both buttons. Keyboard bindings live in `keybinds.ini`. ## Compare a Classics disc payload Given a readable raw MODE2/2352 image of the embedded PS1 disc, generate a manifest with the same extractor used for the original disc: ```sh python3 scripts/extract_disc.py classics-disc.bin analysis/classics python3 scripts/compare_ps1_payload.py analysis/extracted/manifest.tsv analysis/classics/manifest.tsv ``` The comparison reports added, missing, and changed paths using the file sizes, sector forms, and hashes. It ignores differences in disc layout addresses. The `CUSA36095` PS4 1.04 update confirms controller remapping in its change notes. The package metadata alone does not establish whether its PS1 payload differs from the retail disc. ## Quick start (dev) ```bash git submodule update --init --recursive ./psxrecomp/tools/ci/build_emitters.sh python3 psxrecomp/psxrecomp_cli.py generate \ --config game.toml --project-root . --disc disc/.cue # Configures, builds, and stages overlay_toolchain/ beside the runtime so # streamed overlays can be compiled to native shards (a bare cmake build # skips that stage and leaves every overlay gap interpreted). python3 psxrecomp/psxrecomp_cli.py rebuild \ --config game.toml --project-root . --build-dir build-release --no-pgo ``` Official optimized Windows/Linux releases use the maintained shared builder with the title disc available. Commit the desired `VERSION`, source and framework pins, then run: ```bash scripts/package_release.sh --channel public # Use --channel playtest for a non-public package; --platform selects Windows/Linux. ``` On Windows PowerShell, use `psxrecomp/tools/package_title_release.ps1 --channel public`. The generated `packaging/release.toml` and player instructions define the title payload. The shared builder owns regeneration, qualified build defaults, fresh private PGO boot training on supported native toolchains, staging and verification. Boot training is a build step, not gameplay qualification or a performance claim. See `psxrecomp/docs/RELEASING_A_TITLE.md`. The separate *Release builds* CI workflow (tag `vX.Y.Z` or dispatch) builds committed `generated/` C without a disc on Linux, Windows and macOS. It uses `scripts/package_prebuilt_release.sh` and attaches compiled-game ZIPs. That explicit prebuilt path does not train selective PGO and is not the official optimized-release command. The common builder does not add macOS support. Studio's current Export action still uses the old prebuilt argument contract; use the shared command above for optimized releases until Studio adopts the recipe/channel interface. Its packager detection and `packaging/` warning also need that adoption; the generated recipe is maintained configuration, not a forked packager. ## Symbols Progressive map: `symbols.toml` → `python3 tools/sync_symbols.py` → `psx_symbols.h` (`PSX_FN_*`). See `psxrecomp/docs/SYMBOLS.md`. ## Framework pins Submodule gitlinks (`psxrecomp`, optional `recomp-ui`, nested `recomp-net`) are authoritative. `framework_pins.txt` is an optional scaffold snapshot; release CI logs SHAs with `record_pins.sh` but builds whatever the gitlinks resolve to. Bump submodules deliberately — do not float on `main`/`master` in release CI. ---

R.A.I.D. — Retro AI Development · a Discord for AI-assisted retro reverse-engineering, decomp & recomp

Join the Retro AI Development (R.A.I.D.) Discord