What's This Repo
This repo is hosted on my Forgejo instance, Codeberg, Github.
Download
Setup Build Environment
Debian x86_64
# Update APT
# Install Required Packages
# Install Rust
|
# Run Cargo Environment Setup Script
# Download Stable Toolchain
# Download Stable Rust's Source Code
# Download This Repo
# Switch To Project Root
Build
Debian x86_64
# Compile Program
# For Installing As Deb
Android
# Assuming In Project Root "catgirl-engine" From Debian x86_64
# Install Java If Not Already Installed
# Add Build Targets Once
# Install Cargo-NDK Once
# Workaround Cargo Gradle Plugin Bug Once
# Build Android APK
# Copy Android APK To Project Root
Others
Other build process can be read from the files stored in ./.github/workflows. Most build files build on x86_64 Ubuntu with the exception of Mac OSX which builds on 64 Bit OSX.
Running
If you want to display more log messages, on Android, use logcat. On Linux, run RUST_LOG=catgirl_engine=debug path/to/engine or RUST_LOG=debug path/to/engine.
If you want to use traces, you can either setup your own tracing subscriber if importing as a library, or turn on the tracing-subscriber feature (for either the binary or library).