Skip to content

ZOE-Recompiled 1.1.0

Latest

Choose a tag to compare

@Yaz-Myst Yaz-Myst released this 14 Nov 14:22

ZOE Recompiled Version 1.1.0 Patch Notes:

In 1.0, a PC that could not finish every frame in time slowed the whole game down: slow motion and crackling sound.
From this version the game and its sound stay at full speed, and a PC that falls behind shows fewer frames instead.

The game also needs less CPU than before.

What's new

  • The game should no longer run in slow motion on slower PCs. When a frame is late, the next one is skipped and the
    game catches up. Controls, physics and music keep their normal speed.
  • Clean sound on slower PCs. The crackling came from the slowdown and is gone with it.
  • Less CPU work per frame. The game's sound driver now runs as native code, and the timing code was trimmed.

What runs as native PC code

  • The game's own program (all 37,386 functions of game logic, AI, physics, menus): translated from PS2
    machine code to C++ and compiled for your CPU. Since 1.0.
  • The vector-unit programs that build the 3D geometry and particles: compiled ahead of time. Since 1.0.
  • The sound driver, Konami's own code that sequences the music and sound effects: compiled ahead of
    time. New in 1.1.0; it was interpreted one instruction at a time before.
  • Drawing: the PS2's graphics commands are drawn by your graphics card through OpenGL.

What is still modelled in software

  • The sound chip that mixes the 48 voices into the audio you hear.
  • The graphics chip's rules (how PS2 drawing commands are interpreted before they reach your graphics card).
  • PS2 timing: the scheduler that keeps the game, sound and video in step.

These three are why a fast CPU still helps, and they are what we are working on next.

Testing

On our test laptop (Intel i7-1165G7, Iris Xe graphics, 16:9):

Scene 1.0.1 1.1.0
First Battle slows to about 80% speed full speed, 50-59 frames per second shown
Nebula Boss Fight 72-82% speed, crackling sound full speed, 50-59 frames per second shown
Tempest Boss Fight (the heaviest) about 55% speed, crackling sound full speed, 30-37 frames per second shown

My tests show this laptops figures move with its temperature: the higher numbers are with the laptop cool. Fast desktop PCs already
ran at a steady 60 and behave as before and some may enjoy slightly improved performance. Lower end PCs: keep your expectations tempered for performance.

Graphics, effects and controls are unchanged. Settings, saves and save states carry over.

If something looks wrong after updating:

Every change can be switched off one at a time. Make a text file play.bat next to ZOE-Recompiled.exe with, for
example, these two lines, and start the game with it:

set PS2X_VBLANK_WALLCLOCK=0
start ZOE-Recompiled.exe

PS2X_VBLANK_WALLCLOCK=0 brings back the old timing (slowdown instead of skipped frames). The others are
PS2X_ZOE_CATCHUP=0, PS2X_IOP_AOT=0, PS2X_VU_AOT_IMAGE=0, PS2X_EE_FAST=0, PS2X_GIF_DIRECT=0,
PS2X_EE_LAZY_TIMERS=0 and PS2X_IOP_BANK=0. If one of them fixes a problem for you, please tell us which.

Reporting a problem

Open an issue with last.log and last.err.log from %LOCALAPPDATA%\PS2Recomp\SLUS-20148\logs\ (plus frames.csv
for slowdowns) and your CPU and graphics card. After a crash or freeze, copy the logs before starting the game again.

Known issues

  • The options menu (Esc) and the boot screen don't follow a controller reliably yet; use the keyboard there
    (Q/E sections, arrows, Enter, Esc). In game, controllers work normally.
  • Rarely, the game freezes when the warehouse before the second Neith fight loads; load your save and try again.
  • A freeze was reported once after the long lift movie to the final area.
  • A few cockpit-view HUD details sit slightly out of place.
  • One player reported a garbled area map display; I could not reproduce it. If you reproduce it, please send your logs.

Getting started

Unzip ZOE-Recompiled-v1.1.0-win64.zip anywhere (not inside Program Files), run ZOE-Recompiled.exe, pick your disc
image (USA, SLUS-20148, or the undub of it). You need your own copy of the game; this download contains no game
assets.

Please beware YMMV if you are using some kind of different version than the common/standard discs you would find by dumping a copy bought legally.

Still working on further improvements.