A Rust and egui based front-end for the SwanStation PS1 Libretro core
  • C++ 58.5%
  • C 36.8%
  • Rust 2%
  • HLSL 0.7%
  • GLSL 0.6%
  • Other 1.2%
Find a file
markmental ec2a854c3b
Some checks are pending
Tests / Release build (push) Waiting to run
Tests / ASan and UBSan (push) Waiting to run
Tests / TSan (push) Waiting to run
First iteration of the TsundereStation site
2026-11-18 19:29:42 -05:00
.github/workflows Timing events: reject events already due, test event state validation 2026-10-24 03:16:52 +02:00
CMakeModules Remove unused files 2023-03-25 17:43:35 +01:00
data/shaders core/d3d: fix box downsample PS signature for D3D12 PSO linkage 2026-05-20 13:36:44 +02:00
dep Replace C++11 threading and atomics with libretro-common rthreads 2026-10-08 06:58:15 +02:00
frontend First iteration of the TsundereStation site 2026-11-18 19:29:42 -05:00
src Merge pull request #191 from acts-1631/validate-crtc-state-timing 2026-10-24 03:19:55 +02:00
tests Timing events: reject events already due, test event state validation 2026-10-24 03:16:52 +02:00
tools core: pre-bake the batch vertex shader; D3D12 is now D3DCompile-free 2026-05-20 07:26:40 +02:00
.clang-format clang-format: Enable brace wrapping after case label 2020-01-24 14:49:43 +10:00
.gitattributes Initial commit 2019-09-11 14:00:42 +10:00
.gitignore Add headless regression tests and a GitHub workflow running them 2026-10-08 15:32:31 +02:00
.gitlab-ci.yml Build the core for iOS and tvOS 2026-09-17 18:46:05 +02:00
CMakeLists.txt Replace C++11 threading and atomics with libretro-common rthreads 2026-10-08 06:58:15 +02:00
libretro.osx.def libretro: add static Makefile.libretro build 2026-05-07 21:32:02 +02:00
LICENSE Initial commit 2019-09-11 14:00:42 +10:00
link.T libretro: add static Makefile.libretro build 2026-05-07 21:32:02 +02:00
Makefile.libretro Replace C++11 threading and atomics with libretro-common rthreads 2026-10-08 06:58:15 +02:00
README.md Add screenshots and disc change for multi-disc games 2026-11-18 17:54:00 -05:00
TODO Update TODO 2026-06-27 01:44:04 +02:00
tsunderestationlogo.jpg Adjust UI to be more TV friendly, larger text, similar UI to RetroArch 2026-11-17 19:42:10 -05:00
tsunderestationsplashmotif.mp3 Rename rust frontend to TsundereStation, add logo, splash screen on boot and motif 2026-11-17 16:37:59 -05:00

SwanStation - PlayStation 1, aka. PSX Emulator

Features | System Requirements | Disclaimers

SwanStation is a hard fork and open-source Libretro core implementation of DuckStation, which is an emulator of the Sony PlayStation(TM) console, focusing on playability, speed, and long-term maintainability. The goal is to be as accurate as possible while maintaining performance suitable for low-end devices. "Hack" options are discouraged, the default configuration should support all playable games with only some of the enhancements having compatibility issues.

A "BIOS" ROM image can be used, but is not required. You can use an image from any hardware version or region, although mismatching game regions and BIOS regions may have compatibility issues. A ROM image is not provided with the emulator for legal reasons, you should dump this from your own console using Caetla or other means. If no ROM image is provided, OpenBIOS will be used instead.

Features

SwanStation features include:

  • CPU Recompiler/JIT (x86-64, armv7/AArch32 and AArch64)
  • Hardware (D3D11, OpenGL, Vulkan) and software rendering
  • Upscaling, texture filtering, and true colour (24-bit) in hardware renderers
  • PGXP for geometry precision, texture correction, and depth buffer emulation
  • Adaptive downsampling filter
  • Post processing shader chains
  • "Fast boot" for skipping BIOS splash/intro
  • Save state support
  • Supports bin/cue images, raw bin/img files, MAME CHD, single-track ECM, MDS/MDF, and unencrypted PBP formats.
  • Direct booting of homebrew executables
  • Direct loading of Portable Sound Format (psf) files
  • Digital and analog controllers for input (rumble is forwarded to host)
  • Namco GunCon lightgun support (simulated with mouse)
  • NeGcon support
  • Emulated CPU overclocking
  • Multitap controllers (up to 8 devices)
  • RetroAchievements
  • Automatic loading/applying of PPF patches

System Requirements

  • A CPU faster than a potato. But it needs to be x86_64, AArch32/armv7, or AArch64/ARMv8, otherwise you won't get a recompiler and it'll be slow.
  • For the hardware renderers, a GPU capable of OpenGL 3.1/OpenGL ES 3.0/Direct3D 11 Feature Level 10.0 (or Vulkan 1.0) and above. So, basically anything made in 2013 or later.

Region detection and BIOS images

By default, SwanStation will emulate the region check present in the CD-ROM controller of the console. This means that when the region of the console does not match the disc, it will refuse to boot, giving a "Please insert PlayStation CD-ROM" message. SwanStation supports automatic detection disc regions, and if you set the console region to auto-detect as well, this should never be a problem.

The region checking can be disabled in the console options tab. This is the only way to play unlicensed games or homebrew which does not supply a correct region string on the disc, aside from using fastboot which skips the check entirely.

Mismatching the disc and console regions with the check disabled is supported, but may break games if they are patching the BIOS and expecting specific content.

LibCrypt protection and SBI files

A number of PAL region games use LibCrypt protection, requiring additional CD subchannel information to run properly. libcrypt not functioning usually manifests as hanging or crashing, but can sometimes affect gameplay too, depending on how the game implemented it.

For these games, make sure that the CD image and its corresponding SBI (.sbi) file have the same name and are placed in the same directory. SwanStation will automatically load the SBI file when it is found next to the CD image.

For example, if your disc image was named Spyro3.cue, you would place the SBI file in the same directory, and name it Spyro3.sbi.

Tests

  • Passes amidog's CPU and GTE tests in both interpreter and recompiler modes, partial passing of CPX tests

Native frontend: TsundereStation

TsundereStation logo

“Anta baka?! Are you an idiot?!” — The Tsundere, after catching you using a non-free PS1 emulator like DuckStation.

TsundereStation is free software: a standalone SwanStation PlayStation 1 emulator front-end written in Rust with egui/eframe and SDL2. It loads the libretro core directly (RetroArch is not required) and focuses on playing PS1 games with a good, controller-friendly TV UI. No Discord integration, no RetroAchievements, no trophy popups, no bells and whistles — just the core, the games, and a tsundere attitude.

It includes a built-in Memory Card Manager for .srm, .mcd and DexDrive .gme cards, with DuckStation/RetroArch import, save import/delete, icon export and safe backups. F12 saves JPG screenshots, and multi-disc .m3u games can swap discs from the pause menu without restarting the core.

It lives in frontend/. See frontend/README.md for build, usage and desktop-install instructions, and frontend/AGENTS.md for implementation notes and coding invariants.

Disclaimers

"PlayStation" and "PSX" are registered trademarks of Sony Interactive Entertainment Europe Limited. This project is not affiliated in any way with Sony Interactive Entertainment.