diff --git a/Cargo.lock b/Cargo.lock index 77f6453..4f31d75 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3195,7 +3195,7 @@ dependencies = [ [[package]] name = "rmcl" -version = "0.3.2" +version = "0.3.3" dependencies = [ "async-trait", "chrono", diff --git a/Cargo.toml b/Cargo.toml index fef9510..bbe1bad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rmcl" -version = "0.3.2" +version = "0.3.3" authors = ["objz"] edition = "2024" description = "A fully featured Minecraft TUI launcher" diff --git a/README.md b/README.md index 8a8c86b..3c8f08e 100644 --- a/README.md +++ b/README.md @@ -20,24 +20,27 @@ ## about -we all love TUIs. and we all know the official Minecraft launcher is not exactly a joy to use (performance wise; no hatespeech here). so here's rmcl, a fully featured Minecraft launcher that lives in your terminal. written in Rust because if you're replacing something bloated you might as well go all the way. +we all love TUIs. and we all know the official Minecraft launcher is not exactly a joy to use (performance wise; no hatespeech here). so here's rmcl, a fully featured Minecraft launcher that lives in your terminal. written in Rust. -it does everything you'd expect from a launcher. multiple instances, mod loaders, modpack imports, Microsoft auth, content management, launching. all from a TUI or from the command line. the TUI is the main thing though, the CLI is there for scripting and automation. +it does everything you'd expect from a launcher. -![shocase](assets/showcase.gif) +![showcase](assets/showcase.gif) ## features +| Mod Loader | Supported | +|------------|-----------| +| Vanilla | ✅ | +| Fabric | ✅ | +| Forge | ✅ | +| NeoForge | ✅ | +| Quilt | ✅ | +| LiteLoader | ❌ | +| Rift | ❌ | -| | | -|---|---| -| **instances** | create and manage multiple instances, each with their own version, loader, mods, and settings | -| **mod loaders** | vanilla, Fabric, Quilt, Forge, NeoForge. more might show up later | -| **content** | browse and toggle mods, shaders, resource packs. view worlds, screenshots, and logs | -| **modpack import** | import from Modrinth or MultiMC or GTNH via file, URL, or slug | -| **accounts** | multiple Microsoft accounts and offline players, switch between them | -| **launching** | launch directly from the TUI or generate a desktop shortcut for any instance | -| **CLI** | every feature the TUI has is also available as a subcommand | -| **theming** | 10 built-in themes, custom themes, color overrides | + +### modpacks and accounts + +`Modrinth`, `MultiMC`, and `GTNH` modpacks format is supported. Import it from a file, URL, or just the slug. Able to use multiple Microsoft accounts and offline accounts aswell. --- @@ -49,10 +52,14 @@ Authentication is performed through Microsoft’s official services. ## installation +[![GitHub release](https://img.shields.io/github/v/release/objz/rmcl?style=for-the-badge&logo=github)](https://github.com/objz/rmcl/releases) + ### macOS / Linux prebuilt archives are attached to each GitHub release. +[![Homebrew tap](https://img.shields.io/badge/homebrew-objz%2Ftap-FBB040?style=for-the-badge&logo=homebrew)](https://github.com/objz/homebrew-tap) + ```sh # Homebrew brew install objz/tap/rmcl @@ -63,6 +70,9 @@ brew install objz/tap/rmcl release builds include a `.zip` archive and an `.msi`. WinGet and Chocolatey packages are submitted from release CI and become available after review. +[![WinGet](https://img.shields.io/badge/winget-Objz.Rmcl-0078D4?style=for-the-badge&logo=windows11)](https://winstall.app/apps/Objz.Rmcl) +[![Chocolatey](https://img.shields.io/chocolatey/v/rmcl?style=for-the-badge&logo=chocolatey)](https://community.chocolatey.org/packages/rmcl) + ```powershell # WinGet winget install Objz.Rmcl @@ -73,6 +83,10 @@ choco install rmcl ### Arch Linux +[![AUR rmcl](https://img.shields.io/aur/version/rmcl?style=for-the-badge&logo=archlinux)](https://aur.archlinux.org/packages/rmcl) +[![AUR rmcl-bin](https://img.shields.io/aur/version/rmcl-bin?style=for-the-badge&logo=archlinux)](https://aur.archlinux.org/packages/rmcl-bin) +[![AUR rmcl-git](https://img.shields.io/aur/version/rmcl-git?style=for-the-badge&logo=archlinux)](https://aur.archlinux.org/packages/rmcl-git) + ```sh # from source (release tarball) paru -S rmcl @@ -86,29 +100,11 @@ paru -S rmcl-git ### Cargo +[![crates.io](https://img.shields.io/crates/v/rmcl?style=for-the-badge&logo=rust)](https://crates.io/crates/rmcl) ```sh cargo install rmcl ``` -### package status - -release: - -[![GitHub release](https://img.shields.io/github/v/release/objz/rmcl?style=for-the-badge&logo=github)](https://github.com/objz/rmcl/releases) -[![crates.io](https://img.shields.io/crates/v/rmcl?style=for-the-badge&logo=rust)](https://crates.io/crates/rmcl) - -package managers: - -[![Homebrew tap](https://img.shields.io/badge/homebrew-objz%2Ftap-FBB040?style=for-the-badge&logo=homebrew)](https://github.com/objz/homebrew-tap) -[![WinGet](https://img.shields.io/badge/winget-Objz.Rmcl-0078D4?style=for-the-badge&logo=windows11)](https://winstall.app/apps/Objz.Rmcl) -[![Chocolatey](https://img.shields.io/chocolatey/v/rmcl?style=for-the-badge&logo=chocolatey)](https://community.chocolatey.org/packages/rmcl) - -aur: - -[![AUR rmcl](https://img.shields.io/aur/version/rmcl?style=for-the-badge&logo=archlinux)](https://aur.archlinux.org/packages/rmcl) -[![AUR rmcl-bin](https://img.shields.io/aur/version/rmcl-bin?style=for-the-badge&logo=archlinux)](https://aur.archlinux.org/packages/rmcl-bin) -[![AUR rmcl-git](https://img.shields.io/aur/version/rmcl-git?style=for-the-badge&logo=archlinux)](https://aur.archlinux.org/packages/rmcl-git) - ### from source requires a Rust toolchain and a JDK (`javac` and `jar` on `PATH`). @@ -133,7 +129,7 @@ settings, accounts, instances, and cached game metadata. | instances | `~/.local/share/rmcl/instances/` | `~/Library/Application Support/rmcl/instances/` | `%LOCALAPPDATA%\rmcl\instances\` | | metadata (versions, libraries, assets, loader profiles) | `~/.local/share/rmcl/meta/` | `~/Library/Application Support/rmcl/meta/` | `%LOCALAPPDATA%\rmcl\meta\` | -each instance has an `instance.json` for its config and a `.minecraft/` directory with the actual game files. standard layout, nothing weird. +each instance has an `instance.json` for its config and a `.minecraft/` directory with the actual game files. ### logs @@ -146,9 +142,23 @@ launcher logs are per-session and contain rmcl's own output. instance launch log --- -## configuration +## performance -everything is configured through TOML files. `config.toml` for paths, default memory allocation, and UI behavior. `theme.toml` for theme selection and border style. you can also override individual colors without making a full custom theme. +the following measurements were taken from a release build on a Linux development system. they are intended as a practical reference, since terminal, window size, content count, and hardware all affect the result. + +### idle instance list + +over a `60` second sample, the instance list used `497.81 ms` of CPU time. that is about `0.83%` of one CPU core. resident memory was `15.1 MiB`. + +### idle mods list + +with a populated mods list and its icons loaded, a `60` second sample used `664.77 ms` of CPU time. that is about `1.11%` of one CPU core. resident memory was `67.2 MiB`, with a peak of `69.9 MiB`. + +### scrolling mods list + +continuously scrolling through the populated mods list used `1000.02 ms` of CPU time over 30 seconds. that is about `3.33%` of one CPU core. + +In comparison, the Modrinth AppImage used approximately `14-30%` of a CPU core and about `327 Mib` of memory while browsing the mod list. --- @@ -164,7 +174,7 @@ you can create your own by dropping a TOML file in `~/.config/rmcl/theme/` and r ## contributing -contributions are welcome. fork it, branch it, PR it. see [CONTRIBUTING.md](CONTRIBUTING.md) for code style and project structure. +contributions are welcome. fork it, branch it, PR it. see [CONTRIBUTING.md](CONTRIBUTING.md) ---