Repository navigation
v0.3.0 - On-demand GPU readback
What's new in v0.3.0
Smoother rendering: no more waiting on the GPU after every frame
- Render results are no longer read back synchronously after every PICA command list. The runtime now copies them to a staging buffer and reads them back only when something actually needs the bytes (display transfer, DMA, texture use, file I/O, or guest code touching the memory).
- This cuts GPU wait time considerably, e.g. in 3D dialog scenes from ~350–540 ms to ~140–150 ms per 5 s at scale 1 and from ~580–600 ms to ~335–365 ms at scale 3. Graphics-thread time per frame drops by 2.5–5 ms. The game runs at its full frame rate as before, with more headroom against stutter when the GPU changes power state.
- Correctness: the P3D "render finished" interrupt is now raised only after the results are available. It previously came about 1 ms early.
- Native output is bit-identical to v0.2.1 in all reference scenes (scale 1 and 3, software renderer, puzzle run, reproducibility runs).
Audio
- New
--muteoption andHLE_MUTE=1environment variable to turn off sound output. Automated test runs (--deterministic,--shot,--frames, ...) are silent by default. The game itself keeps running unchanged.
Diagnostics
HLE_GXSTATnow also reports lock and GPU readback wait times (sperre_ms,rueck_ms).HLE_RBTRACEtraces on-demand readbacks.
Known limitations
- Two readbacks per frame remain in 3D dialog scenes, so short stutters on GPU power-state changes are reduced but not fully gone. On NVIDIA, "Prefer maximum performance" in the driver settings avoids them.
Full changelog: v0.2.1...v0.3.0
Builder package for the static recompilation of Professor Layton and the Azran Legacy (EUR).
It contains no game data. You need your own decrypted dump of the EUR cartridge (.3ds).
Extract the ZIP, start LaytonBuilder.exe and pick your dump; see "Using the builder" in the README.
SHA-256 of LaytonBuilder-52ab00916e.zip: b6e2f21c463a251301b9ba2ffbbed6de19cbe0723caaeb0b848396f1e997b67d
LaytonBuilder.exe is not signed; Windows SmartScreen may warn on first start.