Komorebi Launcher 图标

Komorebi Launcher

こもれび ランチャー

基于 Prism Launcher 的开源 Minecraft: Java Edition 启动器。下载镜像、Java 自动配置、OptiFine 支持——为国内网络环境补上的三处ですわ。

「Komorebi」写作「木漏れ日」,是从枝叶之间漏下来的日光ですわ。

木の間より もりくる月の 影見れば 心づくしの 秋は来にけり ——《古今和歌集》秋上・读人不知 看那从树间漏下的月影,便知令人百般思量的秋天,已经来了。
端書き

ごきげんよう,初次见面的各位ですわ。开头请容我先划一条线ね:这是一个非官方的启动器,与 Mojang、Microsoft 都没有隶属关系,也没有得到它们的批准或背书ですの。这一条要是读漏了,我可是会有些为难ですのよ。

下面写的,除了标明「主干」的第参节,都是已发布的 0.2.2 此刻实际在做的事ですわ;将来也许会做的事,我一概不写。だって读史料的人,最怕把「打算做」当成「做过了」——写自己的东西时,也是一样的ですもの。史料是不会自己开口的ですの;所以问句得先备好——这是我做学问的习惯ですわ。

壱

要解的,是哪三件事呢

国内玩家用通用启动器时,最常碰上的是三件事ですわ:Mojang 的下载端点慢,或者干脆连不上;Java 运行库得自己去找;模组与整合包的下载入口又不好用。まあ,三件都叫人头疼呢。

常听人说「换一个国内的启动器就好了」。あら,我倒不讨厌这种说法よ?只是它一句话就把三件事揉成了一件,这就叫人为难了ですの。三件事各有各的缘由,该补的地方也各不相同ですもの。

所以 Komorebi Launcher 起初并不去动上游的功能结构,只在这三处分别补齐;如今那套结构本身也开始翻修了(见第参节)ですわ。不变的是,所有下载都只发生在玩家自己的机器与官方端点(或玩家自己开启的镜像)之间。补得少一些不要紧,补错了地方才要紧——这一点,我是ぜったい不肯让步的ですわよ。

弐

眼下已经做得到的事

参

正在翻修骨架这件事

「普請」原是寺里请众人一同动手修造殿堂的意思ですわ。启动器眼下正在换骨架,でも我不想等完工了才说の。

这一节写的,都已经合进主干,每次推送都由 CI 在各平台上构建ですの;只是还没有发布成正式版本,装着 0.2.2 的玩家暂时还碰不到ね。想先尝鲜的人,可以到仓库的 Actions 页面取开发版构建(需要登录 GitHub;它们没经过发布前的检查,坏了请ぜひ告诉我ね)。

肆

镜子只换主机,不换内容

「镜」这个字,在读神话的人眼里分量很重ですのよ,八咫镜可是要照出神本身的。这里的镜子嘛,不过是一面硝子玻璃镜,朴素得多ですわ。

镜像只做一件事ですの:把下载请求换到另一个主机上的同一份文件。换法按内容类型固定,而且只对 Mojang 自己的主机生效。按下面这张表来就好ね。

内容官方主机镜像上的位置
版本清单、客户端 jar、Java 运行库piston-meta / piston-data / launcher / launchermeta镜像根路径,目录结构不变
资源文件(assets)resources.download.minecraft.net镜像的 /assets 前缀
支持库与加载器库libraries.minecraft.net 等 maven 主机有序的前缀列表,逐条尝试

镜像默认是关着的ですわ。镜像未必更快ですもの,所以我不擅自替你打开;要用,请到设置 → API 里切换。内置的镜像源是 BMCLAPI 与三所教育网镜像的 maven 树。

自动下载 Java 运行库另走一路:先试清华大学开源镜像站的 Adoptium 镜像,文件与官方的 SHA-256 一致ですの;只带版本参数、不带文件名的 api.adoptium.net 入口,暂时仍走官方。

Modrinth、CurseForge 等内容平台的主机不在重写范围内,它们的文件始终从各自的官方端点下载。所有下载都会按元数据里给定的哈希校验;镜像若返回了不对的内容,就当作校验失败,不会默默收下——来路不明的东西,我可不收ですの。

伍

向谁报上名来

报上名来,要对方信得过才算数ですわ。下面三种账户的区别,说到底就在于「向谁报上名来」ね。

陸

会往哪里发请求

「秘め事」是藏起来的事ですわ。启动器要往哪里发请求,我想全都摆在明处ですの——藏着掖着,可不是九条家的作风ですわ。

漆

系谱与许可

读古代史的人ね,总习惯先把系谱摊开来看ですの。

本程序以 GPL-3.0-only 发布,源码全部公开ですわ。它是 Prism Launcher 的派生作品,Prism Launcher 又是 PolyMC 与 MultiMC 的派生作品。上游的版权声明与许可证,在程序内“关于 → 许可证”页以及仓库的 COPYING.md 中完整保留——谱上的名字,我一个也没有抹去ですの。先人的名字,怎么好随便抹掉呢ねえ。

本项目不托管、也不再分发任何 Minecraft 客户端文件、资源或模组内容;这些内容始终由玩家自己的机器,从 Mojang 或对应内容平台的官方端点下载。Minecraft 是 Mojang Studios 与 Microsoft Corporation 的商标。

捌

条款、免责声明与联系方式

约定的事,就得一板一眼地写ですわ。这一节,请容我暂且收起玩笑ね。

書簡

For the Minecraft / Mojang app review team

写给 Mojang 应用审核的英文书信ですわ,请点开阅读ね

What this is. Komorebi Launcher is a free, open-source Minecraft: Java Edition launcher for players in mainland China, a GPL-3.0 derivative of Prism Launcher. Everything is published in the repository linked above; there is no closed or obfuscated component, and no binaries are hosted anywhere else.

Current status. Our own application (client) ID was approved by Mojang Enforcement on 2026-11-06, confirmed by completing the full chain against the live services rather than by reading the notification, which is a batch email that names no application. The approved ID is compiled into the launcher, so a player installs the program and signs in: nothing has to be registered or typed in. An override exists only for derivative builds that hold an application of their own. This section documents the design that approval applies to.

The authentication chain we implement. Authorization code with PKCE, or the device code flow, against the Microsoft identity platform. The launcher requests Xbox access, obtains the Xbox Live and XSTS tokens, exchanges them at login_with_xbox, and checks the player's Java profile and Minecraft license. A Microsoft account counts toward launching or downloading only when that check passes. The tokens it is issued are kept in the launcher's local account file so the player does not sign in on every launch, and are sent only to the official Microsoft, Xbox Live and Minecraft Services endpoints. It does not use those endpoints to obtain game content for redistribution.

Why our own ID rather than an existing one. Upstream Prism Launcher's source states that a derivative work must ship its own credentials. Using another project's application ID would attribute our traffic to them and leave them unable to revoke it; we hold our own.

Load on your servers and CDN. API calls happen only when a player opens an account, browses, or launches. One game file download per version per player, from Mojang's own endpoints. No crawling, no bulk indexing, no background polling, and no redistribution of downloaded files from our side — the mirrors we ship rewrite Mojang-hosted file URLs only, and are used solely by the individual player who enables them. (Separately, the Java runtime downloader prefers a university mirror of Eclipse Adoptium, whose files match Adoptium's published SHA-256.)

Local profiles, stated plainly. Offline profiles are explicitly local identities for singleplayer worlds and for servers that allow offline players. They do not authenticate to Microsoft, Realms, or servers that require online accounts, and they receive no Microsoft or Minecraft token. One can be created only after an account that owns Minecraft has been added, and a failed or expired Microsoft sign-in never falls back to an offline profile. Separately, a player may point the launcher at a server operator's own authentication service; that service is added by the player, never contacts Microsoft, and is not part of the Microsoft sign-in path.

Links. Source: github.com/KomorebiLauncher/KomorebiLauncher · Releases: /releases · Contact: open an issue in the repository, or use the email given on the application form.

木漏れ日的光,并不是树自己的ですわ;树只是没有把它挡住而已。遊戯游戏、模组、账户,都是别人的东西ですもの,所以我希望这个启动器也只做那棵树:替你遮一遮风,然后让光照下来——连洋燈油灯都不必点ね。树从不对光说什么;所以我们带着问句,到树下去ですの。

哪里坏掉了,请到書庫仓库里开 issue 告诉我ですわ——那里嘛,就当作我们的倶楽部クラブ好了。だって我自己也是看见坏掉的东西就忍不住要去报告的性子ですもの,收到报告,只会高兴呢うふふ♪

令和八年 霜月 九条 詩織 記