This is a Rust CLI launcher for the Lunar Client, a popular modpack for Minecraft that enhances gameplay and provides various features like FPS boost, mods, and more. This launcher allows you to quickly launch the Lunar Client from the command line.
Before using this Rust CLI launcher, make sure you have the following:
- Rust programming language installed on your system. You can install it from the official Rust website.
- Lunar Client installed on your system. You can download it from the official Lunar Client website.
To use this Rust CLI launcher, follow these steps:
- Clone this repository to your local machine using the following command:
git clone https://github.com/Moose1301/LunarCli.git
- Navigate to the cloned directory using the following command:
cd LunarCli
- Build the Rust executable using the following command:
cargo build --release
Or for testing:
cargo run -- --version <VERSION>
- Run the executable using the following command:
.\target\release\LunarCli.exe --version <VERSION>
This will launch the Lunar Client on your system.
This Rust CLI launcher provides the following options:
Argument | Short | Default | Description |
---|---|---|---|
--version |
-v |
N/A | The Minecraft Version to use. This argument is required. |
--module |
-m |
lunar |
The client module to use. This argument is optional. |
--branch |
-b |
master |
The branch of Lunar you want to use. This argument is optional. |
--hide_hwid |
-h |
false |
If this flag is present, the client will hide your HWID that is sent to Lunar's services. This argument is optional. |
--working_directory |
-w |
.lunarclient\offline\multiver |
The working directory to use. This argument is optional. |
--cache_folder |
-c |
.lunarclient\offline\multiver |
The cache folder to use, this is where all the jars and ichor cache will be. This argument is optional. |
--dont_update |
-d |
false |
If this flag is present, the client will not auto-update. This argument is optional. |
--ram |
-r |
3072 |
The amount of memory to allocate in MB. This argument is optional. |