CLIL

项目地址

项目网站

CLI Launcher README

Github stars

Disclaimer

This is not an official project from Mojang Studios or Microsoft.

This project uses aria2 for downloading, and 7zip for file extraction, and nlohmann json for json file reading and anazlying.

Features

Compilation

In the project directory, execute the following commands (ensure MinGW GCC is installed and fully supports C++ 11):

g++ -Ofast -Wl,--stack=16777216 -std=c++17 java_downloader.cpp -o jdr.exe
g++ -Ofast -Wl,--stack=16777216 -std=c++17 launcher_main.cpp -o clil.exe

Usage

Binary Files

jdr.exe: Java Downloader, invoked when the main program fails to detect JDK.

clil.exe: Main program.

Parameters

clil.exe

-cm Sets the download source of Alibaba Dragonwell JDK.Using this parameter means you are in China mainland.

-v [GAME_VERSION] Specifies the version of Minecraft to launch. Must be a valid version present in version_manifest.json.

-dl Disables log output in the console.

-m [MEM_SIZE] Sets the maximum memory allocated to the JVM. Defaults to 512MB if not specified. Unit: MB .

-a [ARGC] Adds additional JVM parameters.

-un [USERNAME] Specifies the in-game username. If not provided, a random name from Player000 to Player999 will be used.

Notes

Official account authentication is not supported at this time. Before version v1.1, only vanilla Minecraft versions are supported for download; modpacks and custom modded versions are not supported.

Example

clil.exe -cm -v 1.12.2 -m 2048 -un lizeesheng -dl

声明

这不是一个来自 Mojang Studios 或 Microsoft 的官方项目。

本项目使用 aria2 下载,

7zip 解压缩,

nlomann json 读取、分析文件。

功能

编译

在项目目录下执行(已安装 MinGW GCC 并完全支持 C++ 11 ):

g++ -Ofast -Wl,--stack=16777216 -std=c++17 java_downloader.cpp -o jdr.exe
g++ -Ofast -Wl,--stack=16777216 -std=c++17 launcher_main.cpp -o clil.exe

用法

二进制文件

jdr.exe Java下载器,在主程序未检测到 JDK 时调用。

clil.exe 主程序。

参数

clil.exe

-cm 设置 Alibaba Dragonwell JDK 下载源。使用此参数意味着您在中国大陆。

-v [GAME_VERSION] 启动游戏的版本,需要真实存在并位于 version_manifest.json 中。

-dl 关闭日志输出。

-m [MEM_SIZE] 设置 JVM 最大内存。不指定默认为 512MB , 单位为 MB

-a [ARGC] 额外 JVM 参数。

-un [USERNAME] 用户名,不指定为 Player000 ~ Player999 之中一个。

注意

暂不支持正版验证,在 v1.1 前只支持原版的下载,不支持模组与整合版的下载。

示例

clil.exe -cm -v 1.12.2 -m 2048 -un lizeesheng -dl

目前正在调试,在正式可用之前没有其他文件可供下载


GNU General Public License v3.0 (GPL-3.0) 许可声明

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

本程序为自由软件:您可以依据自由软件基金会发布的《GNU 通用公共许可证》(GPL)的条款,重新分发本程序或对其进行修改。您可选择遵循该许可证的第 3 版,或(根据您的意愿)遵循任何后续版本。

本程序的分发旨在提供实用价值,但不提供任何形式的担保;既不包含明示的担保(如商业适用性担保),也不包含默示的担保(如针对特定用途的适用性担保)。有关详细条款,请参阅《GNU 通用公共许可证》。

版权声明(Copyright Notice)

Copyright (C) [2025] [Lizeesheng/zcygod1337]
All rights reserved.

本软件基于 GNU General Public License v3.0 许可协议发布,详情参见本文件中的 GPL-3.0 许可声明部分。
This software is released under the GNU General Public License v3.0; see the GPL-3.0 license statement in this file for details.