Repository navigation
Releases
v1.6.0
To play this version, build the VPK from your APK with the web builder.
Highlights
- PS Vita Trophies (
KTNZ00001_00): full trophy support with all 22 Katana ZERO achievements plus a Platinum trophy, built and packed automatically by the web builder (#151). - Native Compact C Replay Engine: end-of-level VHS replays, the bunker chapter montage, slow-mo ghosts, and death rewinds now run in a fixed 4 MB LZ4 pool instead of GML heap/GC objects (#150). Also fixes
Draw_64shader GUI scaling and enables Blood Spray by default. - Exact CPU & GPU Optimizations (Waves 1–4 + Rotated Capture Clipping + Psychiatrist Rose Petals): broad bit-for-bit verified native replacements across event dispatch,
animation_code,CSprite::Draw*, lighting, collision/spatial queries, minecart, smoke/large combat rooms, virtual capture rotated quad clipping, and the secret Psychiatrist boss'sobj_rosepetalStep/Draw (#149, #152, #153, #154, #155). - License: repository licensed under GNU General Public License v3.0 (#148).
Performance vs v1.5.4
Measured on real PS Vita hardware (500 MHz, unprofiled, fps30=0, combat30=0, stock default yyl.cfg, steady-state windows after room load) comparing the exact v1.5.4 release binary against v1.6.0:
| Room | v1.5.4 FPS | v1.6.0 FPS | v1.5.4 Frame Time | v1.6.0 Frame Time | Frame Time Saved |
|---|---|---|---|---|---|
room_haunted_cart2 (Minecart) |
43.3 fps | 55.4 fps (+12.2) | 22.96 ms | 17.79 ms | -5.17 ms (-22.5%) |
room_haunted_alien2 (Studio) |
49.2 fps | 59.9 fps (+10.7) | 20.03 ms | 13.92 ms | -6.12 ms (-30.5%) |
room_bunker2_3 (Bunker Pt 2) |
49.4 fps | 59.9 fps (+10.5) | 19.97 ms | 13.82 ms | -6.15 ms (-30.8%) |
room_club_4_2 (Club) |
49.7 fps | 59.0 fps (+9.3) | 19.97 ms | 14.61 ms | -5.35 ms (-26.8%) |
room_mansion_2_2 (Mansion) |
56.9 fps | 59.9 fps (+3.0) | 17.30 ms | 12.96 ms | -4.34 ms (-25.1%) |
room_mansion_3 (Mansion) |
57.2 fps | 59.9 fps (+2.7) | 17.22 ms | 13.10 ms | -4.12 ms (-23.9%) |
room_chinatown_4 (Chinatown) |
59.8 fps | 59.9 fps (+0.1) | 11.62 ms | 8.97 ms | -2.65 ms (-22.8%) |
- Secret Psychiatrist boss fight (
room_psychiatrist): all 7 stages (parts 0–6) hold 59.7–59.9 fps on real hardware; nativeobj_rosepetalStep + fast Draw (#155) drops the heaviest stage (Part 5, Giant boss) from10.87 msdown to9.70 ms(-1.17 ms/f, ~6.8 ms spare headroom per frame). - Render passes (
scenes/frame): cut from4.0 -> 2.0inroom_haunted_alien2,room_bunker2_3, androom_chinatown_4,6.0 -> 4.0inroom_mansion_2_2/room_mansion_3, and4.0 -> 2.4inroom_club_4_2.
What's Changed
- Add GNU General Public License v3.0 by @xob0t in #148
- Exact CPU optimizations across draw, dispatch, input, GC, collision, and lighting (13 commits) by @xob0t in #149
- Native compact C replay engine, Draw_64 shader GUI scaling fix, and blood spray default on by @xob0t in #150
- Add PS Vita trophies (KTNZ00001_00, 22 achievements + Platinum) by @xob0t in #151
- Wave 3 exact CPU optimizations for smoke and large combat rooms by @xob0t in #152
- Wave 4 exact CPU optimizations: event dispatch, animation_code, minecart fast path, and CSprite::Draw* by @xob0t in #153
- vcapture: clip rotated boundary-crossing quads instead of materializing FBO by @xob0t in #154
- psych: native exact obj_rosepetal Step_0 and fast Draw_0 variable reads by @xob0t in #155
Full Changelog: v1.5.4...v1.6.0
v1.5.4
To play this version, build the VPK from your APK with the web builder.
What's Changed
- combat30: sub-step boss and bouncing physics at 60 Hz, fix 1-tick freeze by @xob0t in #146
- combat30: interleave boss Other_24 and skip substep pass 2 on hit-stop by @xob0t in #147
Full Changelog: v1.5.3...v1.5.4
v1.5.3
To play this version, build the VPK from your APK with the web builder.
What's Changed
Full Changelog: v1.5.2...v1.5.3
v1.5.2
To play this version, build the VPK from your APK with the web builder.
What's Changed
- Keep the system awake during startup (fixes the ~14 s startup stall) by @xob0t in #141
- Report a never-written cloud slot as BLOB_NAME_NOT_FOUND (fixes #142) by @xob0t in #143
Full Changelog: v1.5.1...v1.5.2
v1.5.1
The web builder now also accepts APK bundles: APKMirror's .apkm, .xapk and .apks, as long as the bundle includes the armeabi-v7a split. The game itself is unchanged from v1.5.0.
To play this version, build the VPK from your APK with the web builder.
What's Changed
Full Changelog: v1.5.0...v1.5.1
v1.5.0
Performance since v1.2.0
Measured on a PS Vita at 500 MHz with the same saves and options for both builds (bloom off in both). Average fps, 11 s standing in the room:
| Room | v1.2.0 | v1.5.0 |
|---|---|---|
| mansion_2_2 | 48.3 | 59.9 |
| mansion_3 | 52.2 | 59.9 |
| haunted_alien2 | 48.2 | 57.7 |
| bunker2_3 | 48.2 | 57.4 |
| club_4_2 | 52.0 | 55.5 |
- The five heavy rooms that were under 60 fps went from 49.8 to 58.1 fps on average.
- In fights, mansion_2_2, mansion_3 and bunker2_3 gained about 8 fps, and club_4_2 gained 4.8.
- Rooms that already ran at 60 still do, with up to 1.7 ms more headroom per frame.
- A new install of v1.2.0 had bloom on, so a fresh v1.2.0 setup gains more than this.
- v1.5.0 also fixes stutter in chinatown_4, at its start and after each restart (
lagLatch, on by default).
New in this version: GRAPHICS → 30 FPS IN COMBAT (off by default) locks rooms with enemies to a steady 30 fps.
To play this version, build the VPK from your APK with the web builder.
What's Changed
- 30 FPS IN COMBAT: combat rooms at 30 fps with the game's clock doubled (off by default) by @xob0t in #133
- Remove dead code: frame skip, light_fast.c, clubber_native.c by @xob0t in #135
- Docs vs code checks: yyl.cfg keys/defaults and an exp_* switch index by @xob0t in #134
- Build checks in CI, crt_ab_off split, warnings as errors on port files by @xob0t in #136
- Hook registry for raw hooks, GOT writes and registry swaps; [HOOKS] baseline by @xob0t in #137
- Debug report: 8 ms -> 0.8-0.9 ms (runner_fast GOT lookups cached, faster log formatting) by @xob0t in #138
- lagLatch (2 by default, visible): stop chinatown_4's lag-mode stutter bursts by @xob0t in #139
Full Changelog: v1.4.0...v1.5.0
v1.4.0
To play this version, build the VPK from your APK with the web builder.
What's Changed
- Native obj_ceiling_laser Step for lasers that don't move (exact) by @xob0t in #130
- No HUD sparks in slow motion, no light from the flamethrower's flames (hudSparks, flameLights) by @xob0t in #131
- Tile layers as 4 vertices per tile plus a static index buffer (exact) by @xob0t in #132
Full Changelog: v1.3.1...v1.4.0
v1.3.1
To play this version, build the VPK from your APK with the web builder.
What's Changed
- Page restore: load the room's own prefetched pages outside VRAM at entry (club_1 200 ms hitch) by @xob0t in #128
- App version from the latest v* tag (v1.3.0 shows as 01.30) by @xob0t in #129
Full Changelog: v1.3.0...v1.3.1
v1.3.0
To play this version, build the VPK from your APK with the web builder.
What's Changed
- Options menu without CONTROLS (the touch controls page) when touchControls=0 by @xob0t in #118
- Dialogue letters: no endless setup loop on frozen ticks (club_4_2 hang) by @xob0t in #119
- Virtual enemy captures installed again (before pause_stack); [HOOKS] lists logged install failures by @xob0t in #120
- Tile layers: exact native DrawLayerTilemapElement (-0.12..-0.27 ms/frame) by @xob0t in #121
- Native mansion flashlight event (obj_flashlightmaster user event 2), exact by @xob0t in #122
- Runner per-instance fast paths: cached event dispatch, idle movement skip, native Instance_Animate by @xob0t in #123
- Bloom off by default (GRAPHICS -> BLOOM FX), saved choice kept by @xob0t in #124
- Native on-screen path of obj_lightback user 0 (exact, -0.14..-0.29 ms/frame); obj_hud Draw native dropped by @xob0t in #125
- Native place_meeting / instance_place (Command_InstancePlace), exact by @xob0t in #126
- GRAPHICS options off by default: RESTART FX, REWIND FX, SHADERS, BLOOD SPRAY by @xob0t in #127
Full Changelog: v1.2.0...v1.3.0
v1.2.0
To play this version, build the VPK from your APK with the web builder.
What's Changed
- Debug requests: screenshot barrier, log a failed thread start by @xob0t in #27
- Half-rate enemy AI at 60 fps, on by default, with a GRAPHICS menu switch by @xob0t in #28
- Remove text smoothing by @xob0t in #31
- Smoke and embers update every 4th tick by @xob0t in #32
- Inlined light Step natives on by default by @xob0t in #33
- Fix the 18 ms debug-report hitch every 2 s: GNU hash symbol lookups by @xob0t in #34
- Don't build the hidden on-screen buttons' sprites by @xob0t in #35
- Afterimage trails: skip far lights, draw the light tint natively (exact; club_7 moving drop) by @xob0t in #37
- Skip tile/door glow and enemy wobble events at rest by @xob0t in #38
- Skip hidden blood drops' Step, keep them in the particle budget by @xob0t in #39
- Lasers: draw the beam without a temporary array (no GC dips) by @xob0t in #40
- Make NATIVE the default FPS mode by @xob0t in #41
- Fixes from Codex review of trail lights and glow/wobble at rest by @xob0t in #42
- Harden APK builds and Vita save restores by @xob0t in #43
- Harden Vita loader startup and file handling by @xob0t in #44
- Freeze locator for playtest hangs; prison_3 GC and roll findings by @xob0t in #45
- Fix Codex review findings in the game hooks (dossier, letters, half-rate, smoke, menu) by @xob0t in #47
- Native inside_screen_point / inside_screen (exact view tests) by @xob0t in #48
- Native off-screen path of obj_lightback user event 0 (exact) by @xob0t in #49
- Native controller_check (held input), exact (needs Vita verification) by @xob0t in #51
- Native smoke cloud Draw by @xob0t in #52
- Exact fog puff skip: don't create the puffs fogScale discards by @xob0t in #53
- Dossier burn: native circle Step with the child drop, native mask stamps by @xob0t in #54
- Native light loop in draw_sprite_recolored (exact; roll dust clouds) by @xob0t in #56
- Fog rooms: roll dust clouds without lighting (fogTrailLights=1 keeps it; depends on #56) by @xob0t in #57
- Bike chase: exact native cone shadows, actor sort, particle loops, light lists by @xob0t in #46
- Write checkpoint saves on a background thread (depends on #44, #45) by @xob0t in #58
- Fall back to another rx arena address when the fixed one is taken (Vita3K) by @xob0t in #61
- No lamp glow in haunted_cart2 and club_0 (roomLighting=1 keeps it) by @xob0t in #65
- Free the game's flushed texture pages at once, so room loads don't force a GC by @xob0t in #55
- vitaGL: free render-target memory after the GPU finishes its scenes (bike chase restart crash; replaces #59; stacked on #55) by @xob0t in #62
- Remove the 30 fps and DYNAMIC modes (keep half-rate enemies and 1/N smoke) by @xob0t in #66
- Make the title screen's texture pages resident between frames (title drop to a few fps) by @xob0t in #60
- Dragon dash aim: exact native move_contact_solid (no redundant collision-tree work) by @xob0t in #64
- Bike chase helicopter fight and cones: native update_region, particle cache, explosion light skip; unlit far rockets and no cone shadows (settings) by @xob0t in #63
- Bike chase volleys: lighter rocket explosions (1 in 3 particles, same random draws; fullExplosions=1 restores) by @xob0t in #69
- Native obj_particle user event 15 (exact; roll dust and other particles) by @xob0t in #67
- Unlit roll dust and untinted afterimages by default (trailLights=1 restores them) by @xob0t in #68
- No glow on highlighted dialogue words (letterGlow=1 keeps it): ~3 ms per frame while such a line is shown by @xob0t in #70
- Coarser wavy starfield (waveStrips=1 keeps the original): -1.5 ms in the nightmare dialogue by @xob0t in #71
- README: web builder first, short Compromises (full list in docs/compromises.md) by @xob0t in #72
- Show a status screen during the first launch's shader cache setup by @xob0t in #73
- One build command: uv run build.py "" by @xob0t in #74
- Cheap rain by default: the loader draws the rain (rain=1) by @xob0t in #75
- README: drop the separate rain line by @xob0t in #78
- Dynamic resolution off by default by @xob0t in #79
- Smoke: draw half the clouds, each larger (smokeClouds=1 keeps the original) by @xob0t in #77
- Merge the playtested combined build (#76, #80-#94, #96) by @xob0t in #97
- Burning corpses: exact ember index for obj_drawactors' ember loops (fire bursts -4.8 ms) by @xob0t in #76
- Correctness review fixes: Startup arity, asset handle leak, off-thread forced GC, log races, sbrk wrap by @xob0t in #80
- Smoke cloud Create: the two warm-up loops natively (exact), vial burst frame ~97 -> ~83 ms by @xob0t in #81
- Touch controls off by default (touchControls=1 brings them back) by @xob0t in #82
- Bodies at rest skip their Step and user event 14 (exact) by @xob0t in #83
- Dialogue letters: native single-glyph text and cached variable lookups by @xob0t in #84
- Smoke: wobble without the collision system (smokeWobble), contact gate prefilter (smokeContactFilter) by @xob0t in #85
- Skip collision-tree updates of instances back where they were (collisionRoundTrip, near-exact) by @xob0t in #86
- Load the game's prefetched texture pages back after the page recovery flush (factory_0 pre-clothesline hitch) by @xob0t in #87
- Lamp sway: swaying lamps steer every 4th tick (lampSway, -0.59 ms in haunted_cart2) by @xob0t in #88
- Don't create the rain drops cheap rain and rain=0 destroy at once (GC judder near the clothesline) by @xob0t in #89
- Smoke: standing still in smoke, no replay recording with replays off, faster light lists (stacked on #85) by @xob0t in #90
- Psychiatrist fight: exact cuts (empty attack surface pass, surface reuse on restart, native ground and petal Draws) by @xob0t in #91
- Unload unused texture pages when VRAM runs out instead of flushing them all by @xob0t in #92
- Psychiatrist fight: psychEffects=0, psychPetals=2 (visible cuts, stacked on #91) by @xob0t in #93
- Enemies attack on the PC timing by default (fixes the invisible tutorial bullet); GRAPHICS → ENEMY TIMING by @xob0t in #94
- ENEMY AI and ENEMY TIMING rows on the GAME page by @xob0t in #96
- Maintainability phase A: developer docs, CMake glob, hooks.c registry, vita_common.py, host tests in CI by @xob0t in #95
- Rename docs/compromises.md to docs/changes.md by @xob0t in #98
- bench.py: keep bench.HOST and bench.ftp() working for harnesses (fix for #95) by @xob0t in #100
- Add the PC vs Android gameplay audit (docs/pc-vs-android) and its tools by @xob0t in #101
- README: recommend overclocking to 500 MHz by @xob0t in #102
- Cheap glow on highlighted dialogue words (letterGlow=2, new default) by @xob0t in #103
- Cheap dancer rim glow (dancerGlow=2, new default) by @xo...