Skip to content

PS2Native 0.2

Pre-release
Pre-release

Choose a tag to compare

@luisbraganca luisbraganca released this 22 Nov 10:17

The second preview of PS2Native: it compiles a PlayStation 2 game you own into a native program for your computer, ahead of time, and plays it on PCSX2's core as the machine. You bring the game's disc image and a BIOS dumped from your own console; PS2Native ships neither.

What is new since 0.1

  • Speed. On Windows, a game compiled in its folder now takes about the time stock PCSX2 takes with its recompilers. On the maintainer's own sessions, played back: 0.98 (Jak and Daxter), 1.00 (Gran Turismo 3) and 0.99 (Agent Under Fire) times its time, stock PCSX2 built as its own releases are, with link-time optimization. (Killzone 0.92, with counts of a session that is nearly the one timed; 1.00 without counts.) 0.1's folders took 1.07 to 1.24 times the time of a stock PCSX2 built without link-time optimization, which is itself 1.5 to 4% slower than PCSX2 as released. Linux is not there yet: see the limits below. Corrected on 2026-11-22: all of these compare with stock PCSX2 running the console's second vector unit (VU1) on its main processor thread, as PS2Native does. PCSX2's own default, on a computer with three processor cores or more, is a thread of its own for VU1 (its "Multithreaded VU1" setting). So set, stock PCSX2 takes 40% less time on Jak and Daxter's session, 24% less on Killzone's, 12% less on Gran Turismo 3's and 2% less on Agent Under Fire's, and a game compiled by 0.2 takes 1.65, 1.22, 1.13 and 1.02 times its time. None of these runs has a frame limiter: at the console's pace each game plays at full speed either way on the computer they were measured on. Running VU1 on a thread of its own is PS2Native's next step.
  • A game learns from how you play it. Its folder places its functions in the order your sessions ran them, and once, after a session of at least 3 minutes, runs those 3 minutes again out of sight, counting what its code does most, and compiles itself again with the counts (1 to 8% less time on four games). It says so in its window, which can leave it for later; it never keeps the game from starting.
  • A game's first session is faster, the one where it meets code no compile has seen and interprets it: Gran Turismo 3's takes 36% less time than in 0.1, Jak and Daxter's 25% less.
  • The runtime is built as PCSX2's releases are, with link-time optimization, and with a profile of play.
  • Games made with 0.1 can be brought up to date: see below.

Games made with 0.1

A game's folder has its own copy of PS2Native's programs, so a game made with 0.1 keeps 0.1's until you bring it up to date:

  1. Unpack 0.2 beside your 0.1 folder (not over it) and start PS2Native.
  2. In its first step choose Games made earlier..., then Add a folder... and pick your old PS2Native folder, or a game's folder wherever it is.
  3. Tick the games and press Bring up to date.

Each game then compiles itself again before it next starts, a few minutes, in its usual window. Its saves, its settings and its sessions stay as they are. Close a game before you bring it up to date.

Downloads

  • PS2Native-0.2-windows-x64.zip: Windows 10 (version 1803 or later) or Windows 11, 64-bit.
  • PS2Native-0.2-linux-x64.tar.xz: 64-bit Linux with glibc 2.35 or later (Ubuntu 22.04, Linux Mint 21 and later). So far tried only under WSL 2 (Ubuntu 22.04) on Windows 11; see the limits below.

Nothing to install. Unpack it and start PS2Native (PS2Native.exe on Windows; on Linux unpack with tar -xf so that its programs stay runnable, then ./PS2Native). The folder holds the wizard, the runtime and the compiler it uses (LLVM's clang and lld 22.1.3), with a README.txt.

How it works

The wizard has five steps:

  1. The game: its disc image, in any format PCSX2 plays (.iso, .chd, .cso, .zso, .bin with its .cue, .img, .mdf, .gz). PS2Native recognizes it with PCSX2's database and finds the executables on it.
  2. The BIOS: an image dumped from your own console.
  3. The settings: PCSX2's own settings pages for the game, at PCSX2's defaults but for PS2Native's (Vulkan, three times the console's resolution, a 16:9 picture, the game's widescreen and frame-rate patches). The patches are PCSX2's own archive, taken from an installed PCSX2 or fetched at your word from PCSX2's patches project.
  4. The recompile: a few minutes, every processor at work.
  5. The game's folder, which plays it: start the program named after the game.

A game's first sessions can meet code no compile has seen yet (some games load their code from their data). It runs interpreted, slower than the console, and a notice over the picture says so. When you close the game, it compiles that code in a window, which you can leave for later; a game never starts with anything left to compile.

Requirements

  • A processor with SSE4.1 (Intel from 2008, AMD from 2011).
  • A graphics driver with Vulkan, or another renderer chosen in the game's settings.
  • About 1 GB of free disk for each game on Windows, 1.5 GB on Linux: each game's folder has its own copy of the compiler.
  • While it compiles, up to about 0.6 GB of memory for each processor.

Tried with

Five games, the European releases: Killzone, 007: Agent Under Fire, Gran Turismo 3: A-Spec, Jak and Daxter: The Precursor Legacy and Silent Hill 3, on Windows 11. On Linux, only inside WSL 2 on the same computer. Every other game is untried and may not work.

Known limits

  • The programs are not code-signed: Windows SmartScreen warns the first time (More info, then Run anyway).
  • Linux has been tried only under WSL 2. One game was timed there: Jak and Daxter takes 1.05 times stock PCSX2's time (0.98 on Windows; 1.23 as 0.1 had it), so on Linux compiled games are not at PCSX2's time yet. (Corrected on 2026-11-22: that too is with VU1 on the main thread on both sides. With its VU thread on, stock PCSX2 takes less than half the time there, and Jak and Daxter as 0.2 has it takes about 2.2 times its time.) There Vulkan runs on the processor, so choose OpenGL (which there draws parts of some characters transparent) or the software renderer; a gamepad needs usbipd-win.
  • There is no updater: a new version is a new download, and each game is brought up to date as above.
  • The speed figures are from one computer (an Intel i5-14600KF) and four games.
  • A game's folder holds code translated from your game and your BIOS. It is yours alone: do not share it.

Licences

PS2Native is free software under the GNU General Public License, version 3. Its runtime is built on PCSX2's core (GPL-3.0; https://github.com/PCSX2/pcsx2, v2.9.170), which this project is not part of. Each download's licences folder has the licence of everything in it and where the source of each is: Qt (LGPL-3.0), LLVM (Apache-2.0 with LLVM exceptions), SDL, the other libraries PCSX2 uses, and, on Windows, Microsoft's C++ runtime, under its terms. The source of this release is this tag.

SHA-256

134e0d5fd1fc88b31eb07fd9199b59718fe0c6bc09177cc8841c82189286d7b9  PS2Native-0.2-windows-x64.zip
fe7face23c112258d40b172e85573049652800b696488f80014bdfd317ebb0da  PS2Native-0.2-linux-x64.tar.xz