Packages
Open-source libraries I've built for my apps. Each one is its own Swift package, and you can use, read and contribute to all of them.

Built for Shiori
The native engine runtimes that run each visual novel.
About Shiori →krkr2's core with Shiori's own environment, Metal compositor, audio and movies, for iOS and iPadOS.
- KiriKiri 2 and KiriKiri Z games on krkr2's core, built into one framework
- Shiori's Metal compositor, audio, movies and host glue
- Encrypted archives opened with schemes built at run time from GARbro's public database
- A Mac harness for running games while developing
C++SwiftMetalCMakeFFmpegMPL-2.0
An Artemis Engine interpreter written in Swift, with Lua 5.1 scripting and Metal rendering.
- Reads pf6 and pf8 archives
- Runs the engine's Lua scripts in Shiori's own interpreter
- Metal renderer and player, with Vorbis audio and Theora or MPEG-1 movies
- artemis-cli lists, extracts and inventories a game's archives on the Mac
SwiftLua 5.1MetalOgg VorbisTheoraMPEG-1MPL-2.0
SiglusEngine games in Shiori, on siglus_rs with Shiori's patches for input, menus and movies.
- Built on siglus_rs at a pinned commit, with Shiori's patches
- Input, the cursor, menus and the backlog adapted for touch and controllers
- Movies handed to Shiori's FFmpeg build
- Ships as an iOS framework with a C interface for Swift
RustCSwiftMPL-2.0
Luca System archives, images, fonts and script bytecode, with an interpreter written in Swift.
Plays Summer Pockets REFLECTION BLUE
- PAK archives, CZ images, the game's fonts and script bytecode
- Shiori's own interpreter for the engine
- A VP9 decoder build for the games' WebM movies, on iOS and tvOS
- luca-cli lists archives, dumps scripts and renders frames on the Mac
SwiftlibvpxMPL-2.0
CatSystem2 in Swift, plus the E-mote character renderer that KiriKit shares.
Plays NEKOPARA Vol. 3
- KIF archives, HG-3 images, kcScript and FES screen scripts
- E-mote character renderer (PSB models on Metal), also used by KiriKit
- cs2-cli lists archives, dumps scripts and exports images on the Mac
SwiftMetalMPL-2.0
Each package's own code is under the Mozilla Public License 2.0, and vendored or upstream code keeps its original licence. Each repository's README has the details. None of them include any game content.