This repository contains the KrKr2 Emulator, a cross-platform emulator designed to run games made with the KiriKiri engine (also known as T Visual Presenter).
It supports Android, Windows, Linux, and MacOS, allowing users to play KiriKiri engine games on multiple platforms.
语言 / Language: 中文 | English
- Android:
arm64-v8ax86_64
- Windows:
- x86_64
- Linux:
- x86_64
- MacOS:
- arm64
- Android:
- ninja@latest
- [email protected]+
- vcpkg@latest
- Android SDK@33
- Android [email protected]
- JDK@17
[email protected]+python3NASM@latest
- Windows:
- ninja@latest
Visual Studio 2022vcpkg@latest- [email protected]+
- [email protected]
python3NASM@latest
- Linux:
- ninja@latest
GCCvcpkg@latest- [email protected]+
[email protected]+python3NASM@latestYASM
- MacOS:
- Xcode
vcpkg@latest- ninja@latest
- [email protected]+
[email protected]+python3NASM@latest
- Android:
VCPKG_ROOT=/path/to/vcpkgANDROID_SDK=/path/to/androidsdkANDROID_NDK=/path/to/androidndk
- Windows:
VCPKG_ROOT=D:/vcpkg- Add
winflexbisonpath toPATH.
- Linux / MacOS:
VCPKG_ROOT=/path/to/vcpkg
Note: On Windows, use
/or\\instead of a single\in paths.
-
Android:
./platforms/android/gradlew -p ./platforms/android assembleDebug
If you encounter
glibinstallation issues, see FAQ#安装glib失败
-
Windows:
./scripts/build-windows.bat
-
Linux:
./scripts/build-linux.sh
-
MacOS:
cmake --preset="MacOS Debug Config" cmake --build --preset="MacOS Debug Build"
-
Using Docker:
-
Build Linux:
docker build -f dockers/linux.Dockerfile -t linux-builder . -
Build Android:
docker build -f dockers/android.Dockerfile -t android-builder .
- Android:
- Debug:
platforms/android/out/android/app/outputs/apk/debug/*.apk - Release:
platforms/android/out/android/app/outputs/apk/release/*.apk
- Debug:
- Windows:
out/windows/debug/bin/krkr2/krkr2.exe - Linux:
out/linux/debug/bin/krkr2/krkr2 - MacOS:
out/macos/debug/bin/krkr2/krkr2.app
-
clang-format@20
-
Linux:
clang-format -i --verbose $(find ./cpp ./platforms ./tests ./tools -regex ".+\.\(cpp\|cc\|h\|hpp\|inc\)") -
MacOS:
clang-format -i --verbose $(find ./cpp ./platforms ./tests ./tools -name "*.cpp" -o -name "*.cc" -o -name "*.h" -o -name "*.hpp" -o -name "*.inc") -
Windows:
Get-ChildItem -Path ./cpp, ./platforms, ./tests, ./tools -Recurse -File | Where-Object { $_.Name -match '\.(cpp|cc|h|hpp|inc)$' } | ForEach-Object { clang-format -i --verbose $_.FullName }
- See games list
- Available at wamsoft GitHub repositories
MIT License. See LICENSE for details.