Skip to content

Releases

ProjectKagemaru v1.1.0-arm64 (ARM64 / PortMaster + Vulkan)

Choose a tag to compare

@github-actions github-actions released this 24 Nov 22:19

ProjectKagemaru v1.1.0-arm64 — Standalone Vulkan (SDL_GPU SPIR-V) Runtime

This release adds a second standalone, ROM-free AArch64 binary (vf1-vulkan.aarch64, packaged as ProjectKagemaru-Vulkan-aarch64.zip) alongside the existing OpenGL ES 2.0 PortMaster build (ProjectKagemaru-PortMaster-aarch64.zip).

What's new

  • Standalone AArch64 Vulkan runtime (vf1-vulkan.aarch64): built with static SDL3 (SDL_GPU Vulkan + SPIR-V compute shaders), Dear ImGui SDL_GPU3, SLJIT ARM64, Musashi 68000 + Z80 sound, and static zlib / libc++ (max GLIBC_2.27, zero libstdc++.so / libSDL3.so / libz.so dependency). libvulkan.so.1, Wayland, X11, and PipeWire / PulseAudio / ALSA are loaded dynamically at runtime via dlopen.
  • Model 1 3D on the GPU: delegates polygon rasterization to SPIR-V compute shaders in platform/arm64/gpu_vulkan.cpp, compositing System 24 2D layers directly on the Vulkan swapchain.
  • Shared ARM64 core: the same SLJIT ARM64 V60 recompilation, pre-decoded TGP, and Core 2 MultiPCM sound worker as the OpenGL ES 2.0 build, so gameplay behaviour is identical between the two packages.

Which package should I use?

  • Anbernic RG34XX / Allwinner H700 (Mali-G31 MP2): use ProjectKagemaru-PortMaster-aarch64.zip. That GPU has no Vulkan driver, and this release does not change that build.
  • ARM64 Linux devices with a working Vulkan driver (Mesa, proprietary drivers): ProjectKagemaru-Vulkan-aarch64.zip is the standalone runtime.

Unchanged

The OpenGL ES 2.0 PortMaster build (vf1.aarch64 / ProjectKagemaru-PortMaster-aarch64.zip) for the RG34XX remains the recommended package for the H700. Zero ROMs and zero game code are included in either archive.
Automated ROM-free AArch64 builds of ProjectKagemaru, tuned for Anbernic RG34XX (Allwinner H700) and compatible ARM64 Linux handhelds.

Contents (Zero ROMs / Zero Game Code)

ProjectKagemaru-PortMaster-aarch64.zip — OpenGL ES 2.0 PortMaster package for the RG34XX/H700:

  • Virtua Fighter.sh (PortMaster launcher with performance CPU governor)
  • projectkagemaru/vf1.aarch64 (ARM64 Cortex-A53, SLJIT ARM64 V60 JIT, Core 2 MultiPCM sound worker, OpenGL ES 2.0, ARM64 NEON, max GLIBC_2.28, statically linked zlib & libc++)
  • projectkagemaru/assets/vf_map.txt (V60 function/jump address map for on-device SLJIT recompilation)
  • projectkagemaru/cover.jpg, gamecontrollerdb.txt (includes Anbernic RG34XX mapping), PortMaster metadata, and licences

ProjectKagemaru-Vulkan-aarch64.zip — standalone Vulkan (SDL_GPU SPIR-V) runtime for ARM64 Linux devices with working Vulkan drivers:

  • Virtua Fighter Vulkan.sh and projectkagemaru-vulkan/vf1-vulkan.aarch64 (static SDL3 SDL_GPU + SPIR-V compute shaders, Dear ImGui SDL_GPU3, max GLIBC_2.27, zero libstdc++.so / libSDL3.so / libz.so; libvulkan.so.1, Wayland, X11 and audio load via dlopen)

Quick Setup (BYOD)

  1. Extract the package you need into your handheld's ports/ folder.
  2. Copy your own legal MAME vf.zip (with 315-5724.bin) into ports/projectkagemaru/roms/vf.zip (or ports/projectkagemaru-vulkan/roms/vf.zip).
  3. Launch Virtua Fighter — SLJIT compiles the V60 program to native ARM64 automatically on startup (no PC pre-build required!).

ProjectKagemaru v1.0.2-arm64 (RG34XX Full Speed 57.5 FPS)

Choose a tag to compare

@DanimanX DanimanX released this 22 Nov 11:27

What's New in v1.0.2-arm64

  • Full 57.5 FPS on Anbernic RG34XX (Allwinner H700 / Mali-G31) (up from ~20.5 FPS):
    • GLES 2.0 Depth-Buffered 3D Batching: Replaced 600+ per-polygon state flushes with GL_GREATER depth-buffered bucketing (~4–5 draw calls/frame, reducing Mali swap time from ~8.9 ms to ~1.5 ms).
    • Per-Map 2D Layer Caching (s24tile.h / model1.cpp): Tracks dirty state per System 24 tilemap (map_ver[4]), palette generation, and active row ranges instead of redrawing/scanning all layers every frame.
    • Core 0 / Core 1 Parallelism & Hot-Path Tuning: Fixed EmuWorker::has_pending() so Core 1 runs all 424 scanlines in parallel with Core 0's 2D/3D export and GLES rendering; replaced qsort with inline std::sort, moved normal transform after backface culling, reused blend_slots scratch vectors, and enabled -ffp-contract=fast for video/interp units.
  • Input Fixes:
    • Fixed SELECT alone being blocked from inserting coins (IN0_COIN1) by the system combo guard.
    • Added direct SDL Hat-0 fallback inside SDL_GameController polling for handheld D-Pads.
  • Audio Fixes:
    • Enabled fm_synth = true by default and kept YM3438 timers advancing.
    • Added full-message MIDI framing and per-scanline delivery in SoundWorker, and preserved all uart_bytes across parallel Core 1 frames.

ProjectKagemaru v1.0.1-arm64 (ARM64 / Anbernic RG34XX PortMaster)

Choose a tag to compare

@github-actions github-actions released this 22 Nov 00:15

Automated ROM-free AArch64 / OpenGL ES 2.0 / SLJIT PortMaster build of ProjectKagemaru tuned for Anbernic RG34XX (Allwinner H700) and compatible ARM64 Linux handhelds.

Contents (Zero ROMs / Zero Game Code)

  • Virtua Fighter.sh (PortMaster launcher with performance CPU governor)
  • projectkagemaru/vf1.aarch64 (ARM64 Cortex-A53, SLJIT ARM64 V60 JIT, Core 2 MultiPCM sound worker, OpenGL ES 2.0, ARM64 NEON, max GLIBC_2.28, statically linked zlib & libc++)
  • projectkagemaru/assets/vf_map.txt (V60 function/jump address map for on-device SLJIT recompilation)
  • projectkagemaru/cover.jpg, gamecontrollerdb.txt (includes Anbernic RG34XX mapping), PortMaster metadata, and licences

Quick Setup (BYOD)

  1. Extract ProjectKagemaru-PortMaster-aarch64.zip into your handheld's ports/ folder.
  2. Copy your own legal MAME vf.zip (with 315-5724.bin) into ports/projectkagemaru/roms/vf.zip.
  3. Launch Virtua Fighter — SLJIT compiles the V60 program to native ARM64 automatically on startup (no PC pre-build required!).