Architecture of zortos293/lichii
zortos293/lichii is 4,271 source files holding 84,553 symbols across 4 modules, written mainly in C++, Kotlin, Python. The largest module is src, with 3,980 files, and 42 files are entry points into the dependency graph.
How lichii fits together
Input enters through the desktop front end or the Android app, where EmulationActivity.kt starts a game. The Android app's NativeLibrary object loads the native library and forwards calls over JNI to the C++ code. src/core does the core work: it opens the game's files, sets up the emulated machine and runs the guest CPUs until the title stops. Most of its files implement the kernel and service emulation that a game's system calls reach. src/audio_core emulates the audio stack, and the Vulkan renderer code under src/video_core, such as renderer_vulkan/vk_rasterizer.cpp, handles graphics. src/common holds the shared headers for basic types, assertions and logging that the rest of the emulator includes.
Largest modules
- src: 3,980 files and 753,121 lines of code
- tools: 108 files and 18,171 lines of code
- externals: 50 files and 52,784 lines of code
- .ci: 3 files and 273 lines of code
Languages
By file count: C++ 3,812 files, Kotlin 234 files, Python 57 files, Shell 33 files, C 3 files, JavaScript 1 file.
Documentation
Repowise documents lichii in 4,890 pages generated from the source, 70 of them written explanations of the repository and its modules. Module guides include:
- src/dynarmic/src/dynarmic/frontend/A64/translate/impl: A64 Instruction Translation
- src/android: Android
- src/android/app: Android App
- src/core/hle/service/am: Applet Manager Service Core
More on lichii: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos