How novetus/novetus_src works
Project type and purpose
• Novetus is a desktop-based game-client/launcher ecosystem written in C#, with embedded Lua scripting for server logic and game behavior.
• It comprises installers/bootstrapper, a rich‐UI launcher (WinForms + WPF), a core shared library, a URI‐handler, plus Lua scripts & static assets.
File structure and surface the main modules
• Novetus.Bootstrapper (C# exe) – handles prerequisites (VC++ redists), local paths, and launches the main launcher.
• NovetusCore (C# class library) – contains common logic: file management, network/download (ContentProvider), settings, Roblox data helpers, Discord RPC integration.
• NovetusLauncher (C# exe + WinForms/WPF) – the user-facing application with multiple UI themes (Compact, Extended, Stylish), mod manager, asset downloader, SDK tools (mesh converter, script editors), server browser, console.
• NovetusURI (C# exe/dll) – registers “novetus://” custom URI to support one-click launches or quick configurations.
• Graphics – branding & UI assets (bmp, pdn) used by installer and launcher.
README for tech stack & workflows
• Built with Visual Studio (.sln files), targets Windows.
• Uses .NET Framework (WinForms + some WPF .xaml).
• Integrates Lua scripts for in-game/server logic.
• Downloads assets over HTTP, uses JSON/INI files for configuration.
A. Main Components (each as a big block)
1. Bootstrapper Module
– Reads/sets up LocalPaths & NuGet redists → invokes Launcher.exe
2. Launcher Application
– UI Layer (WinForms & WPF themes)
– Controllers: ModManager, SplashLoader, TabControllers
– SDK Sub-tools (AssetDownloader, MeshConverter, etc.)
3. Core Library
– FileManagement, Downloader, INI/JSON, CryptoRandom
– RobloxHelpers, DiscordRPC, WebProxy
– Settings, GlobalPaths, NovetusFuncs
4. URI Handler
– Listens for custom URI → calls Launcher with parameters
5. Asset & Script Repository
– Shareddata (RBX models)
– defaultaddons (Lua scripts for server add-ons)
– scripts/game (versioned Lua scripts for different Roblox-era games)
6. External Services
– Content Providers (download Roblox assets)
– Discord (RPC status updates)
– HTTP update servers (Novetus updates)
B. Relationships & Data Flow
• Bootstrapper → (executes) → Launcher.exe
• Launcher UI ↔ (calls) ↔ Core Library APIs
• Core Library → (HTTP requests) → External Content Servers
• Core Library → (file I/O) → Local FS (Shareddata, config files)
• Launcher → (loads/injects) → Lua scripts from scripts/ and defaultaddons/
• Launcher → (registers/invokes) → URI Handler
C. Architectural Patterns & Principles
– Modularization: clear separation between UI (Launcher), business logic (Core), and install logic (Bootstrapper).
– Plugin-style extensibility: Lua addons (defaultaddons) and SDK tools can be added without altering core.
– Theming: multiple UI skins share a common interface (Shared LauncherFormShared.cs).
– Protocol Handler: custom URI scheme for deep links.
D. Key Technologies & Frameworks
– C#/.NET Framework, WinForms, WPF (for Stylish theme)
– Lua for in-game scripting
– JSON/INI for configs, .resx for resources
– NuGet packages (DiscordRPC?), HTTP/REST for content downloads