Skip to content

P3FES Recompiled

Pre-release
Pre-release

Choose a tag to compare

@C-GBL C-GBL released this 30 Oct 13:03
· 6 commits to main since this release

v0.2.0

Fixes

  • Walking straight down works now. Holding S on its own (or pushing a controller stick straight down or straight up) used to turn the hero away and leave him walking in place. The cause was our emulated PS2 square root: it rounded down where PCSX2's recompiler rounds to nearest. That left the game's walking angle just above 1.0, and acosf gave up.
  • Controller running speed is steady. With the stick pushed all the way, the hero dropped to a walk at certain angles (about 10–22° either side of each axis). The game expects a DualShock 2's square-ish stick range, and we were giving it a circle. The stick now maps onto the square, so a full push runs at every angle.

New: native layers (opt-in)

Each of these swaps a piece of emulated PS2 hardware for code running on your PC. They're all off by default, so the game behaves exactly as it did in v0.1.0 unless you turn them on.

Flag What it does
--native files Reads game files straight from disk. Loading is instant.
--native input Keyboard and XInput go straight to the game's pad data
--native sound Music, voices, movie audio and sound effects are decoded and mixed on the PC
--native movies Movies decode directly instead of through the emulated PS2 video decoder
--native graphics 2D and 3D draws skip the emulated packet decoding on the way to Direct3D 11
--native kernel PS2 system calls go straight to our own kernel code

Use --native all for everything, or list just the ones you want: --native files,input.

Each layer was checked against the emulated version before it went in. Files return the same bytes on every read. All 42 movies decode bit for bit. Graphics produce byte-identical frames. Every recorded test route ends on the same frame either way.

These layers don't make the game run faster yet. The PS2 game code itself is now the slowest part, and rewriting it is the next big step.

Running it

The same setup as v0.1.0 (your own USA copy, input\persona3fes.iso, extracted\disc\). For example:

p3fes.exe --iso input\persona3fes.iso --native all --renderer native --fps 120 --quiet --scale smooth

For native sound effects, you need the extracted game files, specifically extracted\disc\LIB31.

Known issues

  • Native layers are opt-in while they get more testing. If something breaks with --native all, try again without it and include both results in your issue.
  • PS2 timing (the kernel's timers and how the game's threads are scheduled) is still emulated even with --native kernel. That work is in progress.

Verify the download

SHA-256: d4e00ad44513a8fcd2e0054128d13c5f7289ef3957cad83d838d9b6df2a8e45f

Only download this from this page.