Repository navigation
Releases
v0.3.1 - Smooth 3D action scenes
What's new in v0.3.1
Smooth 3D action scenes
- Scenes with many overlapping transparent effects (snow, fog, particles) no longer flood the GPU with one draw call per triangle. Overlapping alpha-blended triangles are now drawn in layers, with the same per-pixel order as before, so native output stays exact.
- Render targets that the game clears every frame are now cleared directly on the GPU instead of being re-uploaded, which removes a GPU stall per load.
- The window no longer stalls behind the graphics thread while presenting a frame.
- Example: the shooting passage in the Bostonius chase now runs at its full 30 fps (before: about 21 fps at
--scale 3, dropping to ~14, and about 26 fps at--scale 1). - Native output is bit-identical to v0.3.0 in all reference scenes (scale 1 and 3, software renderer, puzzle run).
Earlier fixes since v0.3.0
- Display transfers and render-target textures are served from the GPU without synchronous readback in 3D dialog scenes.
Known limitations
- At
--scale2 and above, a handful of edge pixels per frame (about 10–16 out of 1.7 million) can differ in the upscaled display where transparent triangles touch. The game's own (native) image is unaffected.
Full changelog: v0.3.0...v0.3.1
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-ceb3c330ca.zip: 8cd55e891ae946c7f9489403e96f4f3b385148bd8187c1e2256df174935be035
LaytonBuilder.exe is not signed; Windows SmartScreen may warn on first start.
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.
v0.2.1 - Overlay stutter fix, hook conditions
What's new in v0.2.1
Fixes
- No more regular frame drops with the fps/status overlay: status lines are now drawn as a texture instead of using GDI on the swapchain, which held the render lock for ~12 ms per frame.
Modding
- Hooks can take an optional
whencondition (register values such aslr,r0..r14). It is checked in C, so hooks on frequently called functions cost almost nothing when the condition does not match. - Magnifier example mod: Esc leaves the room ("Back to Map"). Outside Investigation Mode, a click on the top screen advances dialogs.
Full changelog: v0.2.0...v0.2.1
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-ab9c48e4e5.zip: e18ae4746c19079978bcd82591954e1e275c5745b040a9c74ed3afe928dbc9fa
LaytonBuilder.exe is not signed; Windows SmartScreen may warn on first start.
v0.2.0 - Performance and function hooks
What's new in v0.2.0
Performance (work package 8)
- Render-target cache, tiled fast paths and no surface upkeep for offscreen targets.
- Trivial-accept fast path before clipping; MemoryFill writes its pattern once and doubles it with memcpy.
- 3D scenes now reach about 30 guest fps at higher internal resolutions. Native output stays bit-identical.
Modding stage C: function hooks
- Lua mods can hook game functions with
hook.before,hook.afterandhook.replace. Seedocs/MODDING.md. - New example mod
magnifier-mouse: in Investigation Mode the magnifier follows the mouse over the top screen, and a left click investigates.
Diagnostics
HLE_GXSTATreports GX-worker load per frame.
Full changelog: v0.1.0...v0.2.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-6fc5f53b58.zip: 0d8a51522c0c7919a95022b104dc475905c1c79393bdf3c26bcba33a357c6c89
LaytonBuilder.exe is not signed; Windows SmartScreen may warn on first start.
v0.1.0 - First public release
First public release
A native Windows port of Professor Layton and the Azran Legacy (3DS, EUR) built by static recompilation, with no emulator at runtime.
Highlights
- The game boots, plays its intro films, shows title screen and menus, starts a new game or continues a save. The first puzzle is playable with sound and saving.
- Direct3D 11 hardware renderer is now the default (M17), with optional higher internal resolution (
--scale 1..4), single or split windows (--split-screens) and an optional texture filter (--texture-filter none|linear|xbrz). - The daily-puzzle download works offline (SelfNCCH, boss:U, ac:u, error applet, err:f).
- No console window by default; all output is written to
out/logs. - Modding stage A and B: RomFS/archive overlays (modkit) and Lua scripts. See
docs/MODDING_GUIDE.md. - End-user builder package (
LaytonBuilder.exe): checks your dump and builds the game locally. A GitHub workflow builds it for every tag.
Known limitations
- Work-in-progress research project: expect bugs, slow scenes and occasional hangs.
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-fc9c073ebe.zip: b839b07383ad991a654e9779df2df5c2de5296ea69b7b484aed1cf50ad327efd
LaytonBuilder.exe is not signed; Windows SmartScreen may warn on first start.