Architecture of trustno1-coder/victory-nvidia
trustno1-coder/victory-nvidia is 272 source files holding 14,741 symbols across 4 modules, written mainly in Rust, Python. The largest module is crates, with 225 files, and 12 files are entry points into the dependency graph.
How victory-nvidia fits together
The executable starts in apps/victory/src/main.rs, and apps/victory/src/run.rs is the other entry point in that app. The crates directory holds the libraries, with crates/victory-core/src/lib.rs, crates/victory-formats/src/lib.rs and crates/victory-game/src/lib.rs as their entry points. The GPU side lives in crates/victory-gpu, where src/host.rs is one of the project's hotspot files. Shader code passes through crates/victory-shader/src/emit/lower.rs, another hotspot file. scripts/play-nvidia.ps1 is the PowerShell launcher the README uses to start a game from your own game_scarlett_master.exe.
Largest modules
- crates: 225 files and 170,230 lines of code
- apps: 12 files and 4,446 lines of code
- xtask: 2 files and 302 lines of code
- scripts: 1 file and 125 lines of code
Languages
By file count: Rust 239 files, Python 1 file.
Documentation
Repowise documents victory-nvidia in 325 pages generated from the source, 26 of them written explanations of the repository and its modules. Module guides include:
- apps/victory: Application Launcher and Tools
More on victory-nvidia: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos