# DuckStation - PlayStation 1, aka. PSX Emulator [Latest News](#latest-news) | [Features](#features) | [Screenshots](#screenshots) | [Downloading and Running](#downloading-and-running) | [Libretro Core](#libretro-core) | [Building](#building) | [Disclaimers](#disclaimers) **Discord Server:** https://discord.gg/Buktv3t **Latest Windows, Linux (AppImage), Mac, Android, and Libretro Builds:** https://github.com/stenzek/duckstation/releases/tag/latest **Game Compatibility List:** https://docs.google.com/spreadsheets/d/1H66MxViRjjE5f8hOl5RQmF5woS1murio2dsLn14kEqo/edit?usp=sharing DuckStation is an simulator/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 is required to to start the emulator and to play games. 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. ## Latest News - 2020/11/21: OpenGL ES 2.0 host display support added. You cannot use the hardware renderer with GLES2, it still requires GLES3, but GLES2 GPUs can now use the software renderer. - 2020/11/21: Threaded renderer for software renderer added. Can result in a significant speed boost depending on the game. - 2020/11/21: AArch32/armv7 recompiler added. Android and Linux builds will follow after further testing, but for now you can build it yourself. - 2020/11/18: Window size (resize window to Nx content resolution) added to Qt and SDL frontends. - 2020/11/10: Widescreen hack now renders in the display aspect ratio instead of always 16:9. - 2020/11/01: Exclusive fullscreen option added for Windows D3D11 users. Enjoy buttery smooth PAL games. - 2020/10/31: Multisample antialiasing added as an enhancement. - 2020/10/30: Option to use analog stick as d-pad for analog controller added. - 2020/10/20: New cheat manager with memory scanning added. More features will be added over time. - 2020/10/05: CD-ROM read speedup enhancement added. - 2020/09/30: CPU overclocking is now supported. Use with caution as it will break games and increase system requirements. It can be set globally or per-game. - 2020/09/25: Cheat support added for libretro core. - 2020/09/23: Game covers added to Qt frontend (see [Adding Game Covers](https://github.com/stenzek/duckstation/wiki/Adding-Game-Covers)). - 2020/09/19: Memory card importer/editor added to Qt frontend. - 2020/09/13: Support for chaining post processing shaders added. - 2020/09/12: Additional texture filtering options added. - 2020/09/09: Basic cheat support added. Not all instructions/commands are supported yet. - 2020/09/01: Many additional user settings available, including memory cards and enhancements. Now you can set these per-game. - 2020/08/25: Automated builds for macOS now available. - 2020/08/22: XInput controller backend added. - 2020/08/20: Per-game setting overrides added. Mostly for compatibility, but some options are customizable. - 2020/08/19: CPU PGXP mode added. It is very slow and incompatible with the recompiler, only use for games which need it. - 2020/08/15: Playlist support/single memcard for multi-disc games in Qt frontend added. - 2020/08/07: Automatic updater for standalone Windows builds. - 2020/08/01: Initial PGXP (geometry/perspective correction) support. - 2020/07/28: Qt frontend supports displaying interface in multiple languages. - 2020/07/23: m3u multi-disc support for libretro core. - 2020/07/22: Support multiple bindings for each controller button/axis. - 2020/07/18: Widescreen hack enhancement added. - 2020/07/04: Vulkan renderer now available in libretro core. - 2020/07/02: Now available as a libretro core. - 2020/07/01: Lightgun support with custom crosshairs. - 2020/06/19: Vulkan hardware renderer added. ## Features DuckStation features a fully-featured frontend built using Qt (pictured), as well as a simplified frontend based on SDL and Dear ImGui. An Android version has been started, but is not yet feature complete.
Other 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 and texture correction - Post processing shader chains - "Fast boot" for skipping BIOS splash/intro - Save state support - Windows, Linux, **highly experimental** macOS support - Supports bin/cue images, raw bin/img files, and MAME CHD 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 - Qt and SDL frontends for desktop - libretro core for Windows and Linux - Automatic updates for Windows builds - Automatic content scanning - game titles/regions are provided by redump.org - Optional automatic switching of memory cards for each game - Supports loading cheats from libretro or PCSXR format lists - Memory card editor and save importer - Emulated CPU overclocking ## 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 the last 10 years or so. - SDL or XInput compatible game controller (e.g. XB360/XBOne). DualShock 3 users on Windows will need to install the official DualShock 3 drivers included as part of PlayStation Now. - Optional [SDL game contoller database files](#sdl-game-controller-database) are also supported. ## Downloading and running Binaries of DuckStation for Windows x64/ARM64, x86_64 Linux x86_64 (in AppImage format), and Android ARMv8/AArch64 are available via GitHub Releases and are automatically built with every commit/push. Binaries or packages distributed through other sources may be out of date and are not supported by the developer. ### Windows **Windows 10 is the only version of Windows supported by the developer.** Windows 7/8 may work, but is not supported. I am aware some users are still using Windows 7, but it is no longer supported by Microsoft and too much effort to get running on modern hardware. Game bugs are unlikely to be affected by the operating system, however performance issues should be verified on Windows 10 before reporting. To download: - Go to https://github.com/stenzek/duckstation/releases/tag/latest, and download the Windows x64 build. This is a zip archive containing the prebuilt binary. - Alternatively, direct download link: https://github.com/stenzek/duckstation/releases/download/latest/duckstation-windows-x64-release.zip - Extract the archive **to a subdirectory**. The archive has no root subdirectory, so extracting to the current directory will drop a bunch of files in your download directory if you do not extract to a subdirectory. Once downloaded and extracted, you can launch the Qt frontend from `duckstation-qt-x64-ReleaseLTCG.exe`, or the SDL frontend from `duckstation-sdl-x64-ReleaseLTCG.exe`. To set up: 1. Either configure the path to a BIOS image in the settings, or copy one or more PlayStation BIOS images to the bios/ subdirectory. On Windows, by default this will be located in `C:\Users\YOUR_USERNAME\Documents\DuckStation\bios`. If you don't want to use the Documents directory to save the BIOS/memory cards/etc, you can use portable mode. See [User directory](#user-directories). 2. If using the Qt frontend, add the directories containing your disc images by clicking `Settings->Add Game Directory`. 2. Select a game from the list, or open a disc image file and enjoy. **If you get an error about `vcruntime140_1.dll` being missing, you will need to update your Visual C++ runtime.** You can do that from this page: https://support.microsoft.com/en-au/help/2977003/the-latest-supported-visual-c-downloads. Specifically, you want the x64 runtime, which can be downloaded from https://aka.ms/vs/16/release/vc_redist.x64.exe. The Qt frontend includes an automatic update checker. Builds downloaded after 2020/08/07 will automatically check for updates each time the emulator starts, this can be disabled in Settings. Alternatively, you can force an update check by clicking `Help->Check for Updates`. ### Linux Prebuilt binaries for 64-bit Linux distros are available for download in the AppImage format. However, these binaries may be incompatible with older Linux distros (e.g. Ubuntu distros earlier than 18.04.4 LTS) due to older distros not providing newer versions of the C/C++ standard libraries required by the AppImage binaries. **Linux users are encouraged to build from source when possible and optionally create their own AppImages for features such as desktop integration if desired.** To download: - Go to https://github.com/stenzek/duckstation/releases/tag/latest, and download either `duckstation-qt-x64.AppImage` or `duckstation-sdl-x64.AppImage` for your desired frontend. Keep in mind that keyboard/controller bindings are currently not customizable through the SDL frontend and should be customized through the Qt frontend instead. - Run `chmod a+x` on the downloaded AppImage -- following this step, the AppImage can be run like a typical executable. - Optionally use a program such as [appimaged](https://github.com/AppImage/appimaged) or [AppImageLauncher](https://github.com/TheAssassin/AppImageLauncher) for desktop integration. [AppImageUpdate](https://github.com/AppImage/AppImageUpdate) can be used alongside appimaged to easily update your DuckStation AppImage. ### macOS To download: - Go to https://github.com/stenzek/duckstation/releases/tag/latest, and download the Mac build. This is a zip archive containing the prebuilt binary. - Alternatively, direct download link: https://github.com/stenzek/duckstation/releases/download/latest/duckstation-mac-release.zip - Extract the zip archive. If you're using Safari, apparently this happens automatically. This will give you DuckStation.app. - Right click DuckStation.app, and click Open. As the package is not signed (Mac certificates are expensive), you must do this the first time you open it. Subsequent runs can be done by double-clicking. macOS support is considered experimental and not actively supported by the developer; the builds are provided here as a courtesy. Please feel free to submit issues, but it may be some time before they are investigated. **macOS builds do not support automatic updates yet.** If there is sufficient demand, this may be something I will consider. ### Android A prebuilt APK is now available for Android. However, please keep in mind that the Android version does not contain all features present in the desktop version yet. You will need a device with armv7 (32-bit ARM) or AArch64 (64-bit ARM). 64-bit is preferred, the requirements are higher for 32-bit, you'll probably want at least a 1.5GHz CPU. Download link: https://github.com/stenzek/duckstation/releases/download/latest/duckstation-android.apk The main limitations are: - User directory is currently hardcoded to `