Skip to content

Releases

SRL v0.2.6 — Structural Recomposition Launcher for Minecraft

Choose a tag to compare

@github-actions github-actions released this 18 Nov 11:13

SRL v0.2.6 — 界面系统重构

这次更新主要重做界面与设置体验,并加入启动器更新检查。Rust 后端、下载校验、实例数据和启动流程保持不变。

亮点

  • 更清楚的首页。 当前实例、启动按钮和运行信息集中在一个启动面板;日志与最近活动改为双栏。
  • 更安静的界面。 统一字体、间距、颜色、圆角和图标;去掉多余渐变、发光与卡片嵌套。
  • 更简洁的设置。 设置改为单列分组;“下载与皮肤”“网络与来源”“API 与集成”“数据与存储”按需展开。
  • API 集中管理。 52FRP、CurseForge、DeepSeek 统一收进“API 与集成”,不再逐页堆叠。
  • 经典黑白按钮。 主按钮改为结构重组黑白配色;青绿色只用于状态、徽标和焦点。
  • 实例更好管理。 实例改为列表;复制、地图、材质、模组、光影、导出和删除收进“更多操作”菜单。
  • 导入更直接。 选择实例 ZIP 后自动检查,不再手动填写路径。
  • 修复细节。 账号头像完整显示;路径复制按钮不再溢出。

启动器更新

  • 每次启动自动检查 GitHub 最新 Release。
  • 发现新版本时弹窗询问,显示版本号和更新说明。
  • 支持镜像下载,校验 SHA-256 后按平台安装并重启。
  • 设置 → 游戏与下载可手动检查;已是最新版本时会提示。

下载

平台 文件
macOS(Intel + Apple Silicon) SRL_0.2.6_universal.dmg
Windows 10/11 x64 SRL_0.2.6_windows-x64-portable.zip
Linux x64(Debian / Ubuntu) SRL_0.2.6_amd64.deb
Linux x64(通用) SRL_0.2.6_amd64.AppImage

校验值见 Release 附件中的 SHA256SUMS。

说明

  • macOS 构建未签名、未公证,首次打开可能需要在 Finder 中右键 → 打开。
  • Windows 便携版需要 WebView2 Runtime;解压后运行 Install.cmd。
  • Linux deb 需要 WebKitGTK 4.1 等运行库;AppImage 需要 FUSE 或 --appimage-extract-and-run。
  • 完整设计说明见 docs/design-system-v3.md。

SRL v0.2.5 — Structural Recomposition Launcher for Minecraft

Choose a tag to compare

@github-actions github-actions released this 12 Nov 22:15

SRL v0.2.5 — 稳定性、性能与 Bug 修复

简体中文 · English

工程收尾版本。不新增功能,重点修复日志采集、任务取消、文件事务与 Windows 文件替换中的可靠性问题。

修复

日志与玩家状态

  • 游戏 stdout/stderr 改为按字节读取、按需有界截断,并使用有损 UTF-8 解码。中文 Windows 下 Java 的 GBK 控制台输出不再触发 InvalidData,也不会再让后续日志全部丢失。
  • 玩家检查点改为按实际读取字节推进偏移;定位到多字节字符或半行时跳过残片,避免重复/截断事件。
  • 捕获日志切换到新会话时,上一会话中“推断在线”的玩家会被降级为离线,消除跨会话幽灵玩家。

取消与超时

  • 依赖分析的取消现在会直接中断在途 HTTP 请求;120 秒整体截止时间会终止整个分析,而不只是阻止下一次请求。
  • 下载在等待响应头阶段即可取消,Retry-After 等待同样可取消;新增 60 秒无数据停滞超时,避免连接长时间挂起。

文件安全

  • 通用 ZIP 整合包导入改用与 overrides 相同的事务:完整校验 → 暂存解压 → 备份现有文件 → 提交;失败自动回滚。导入失败不再直接覆盖用户原有文件。
  • Windows 的下载替换、归档导出、模组/材质包/光影导入和 FRPC 释放统一使用 MoveFileExW(MOVEFILE_REPLACE_EXISTING);重命名失败不再先删除旧文件。
  • 整合包事务清单改为临时文件 + fsync + 原子替换;恢复时重新校验相对路径、事务目录名和备份完整性,发现异常保留恢复材料并报错。
  • 解压同时校验实际写出字节与压缩比,限制伪造头部的 ZIP 炸弹。

日志轮转

  • 轮转重命名失败时保留真实字节计数,改为 8 MiB 后重试,不再每行重试,也不会错误归零后让日志无限增长。
  • 单个日志行超过 256 KiB 时有界截断并标记,避免异常输出占用无界内存。

性能与资源

  • FRPC 遗留进程清理移出构造函数,启动时一次性在阻塞线程执行;不再在账户连接路径阻塞异步运行时 800 ms。
  • FRPC 二进制校验改为流式 SHA-256,不再每次创建房间读取完整 20–40 MB 文件。
  • 下载目标锁在最后一个使用者释放后移除,长期运行不再累计路径锁条目。
  • 前端游戏日志按 200 ms 批量刷新并限制 400 条缓冲,避免每条日志触发一次全局 React 更新;模组列表启用 content-visibility 跳过屏外绘制。
  • 基线(Intel i9-9880H / macOS 26.7 / release):50,000 行日志解析 33.4 ms,增量读取 52.9 ms,100 个实例扫描 5.7 ms。

验证

  • Rust:264 项单元测试 + 2 项启动集成测试通过。
  • 前端:50 项测试通过,tsc -b 与 vite build 通过。
  • cargo fmt --all -- --check、cargo clippy --workspace --all-targets -- -D warnings 通过。
  • 新增测试覆盖非 UTF-8 日志、字节偏移、跨会话玩家状态、轮转失败、取消中断在途请求、下载取消、目标锁释放和事务路径校验。

仍需实机验证

  • Windows 实机上的 MoveFileExW、优雅退出与事务崩溃恢复。
  • 2,000 条模组在真实 WebView 中的滚动帧率;当前仅实施浏览器级跳过绘制优化。
  • 大型整合包导入需要等量临时磁盘空间,这是事务式导入的已知代价。

SRL v0.2.5 — Stability, Performance & Bug Fixes

简体中文 · English

Engineering wrap-up release. No new features; focused on log capture, cancellation, file transactions and Windows replacement safety.

Fixed

  • Game stdout/stderr is read as bytes with bounded per-line buffering and lossy UTF-8 decoding. GBK console output on Chinese Windows no longer aborts log capture.
  • Player checkpoints advance by bytes actually consumed and skip partial multi-byte/partial-line prefixes, preventing duplicated or truncated events.
  • When capture moves to a new session log, players inferred online from the previous session are downgraded to offline; no ghost online players.
  • Cancelling dependency analysis now aborts in-flight HTTP requests; the 120-second overall deadline terminates the whole analysis instead of only blocking the next request.
  • Downloads can be cancelled while waiting for response headers; Retry-After waits are cancellable; a 60-second no-data stall timeout was added.
  • Generic ZIP modpack imports now use the same validate → stage → backup → commit transaction as overrides, with rollback on failure.
  • Windows replacements use MoveFileExW(MOVEFILE_REPLACE_EXISTING) for downloads, archive export, mod/resource-pack/shader import and FRPC extraction. A failed rename no longer deletes the old file first.
  • Transaction manifests are written atomically; recovery re-validates relative paths, transaction directory names and backup completeness, preserving recovery material and reporting errors.
  • Extraction enforces actual written bytes and compression ratios, not only declared ZIP header sizes.
  • Failed log rotation keeps the true byte counter and retries after 8 MiB instead of every line; individual captured lines are capped at 256 KiB.

Performance & resources

  • FRPC orphan cleanup moved out of the constructor to a one-time blocking-thread task at startup; no more 800 ms async-runtime stall on account connect.
  • FRPC binary verification streams SHA-256 instead of reading the full 20–40 MB binary on every room creation.
  • Download target locks are removed when the last user releases them, so the map no longer grows for the process lifetime.
  • Frontend launch logs flush at 5 Hz with a 400-entry buffer; long mod lists use content-visibility to skip offscreen layout/paint.
  • Baseline (Intel i9-9880H / macOS 26.7 / release): 50,000 log lines parsed in 33.4 ms, incremental read 52.9 ms, 100 instances scanned in 5.7 ms.

Verification

  • Rust: 264 unit tests + 2 launch integration tests pass.
  • Frontend: 50 tests pass; tsc -b and vite build pass.
  • cargo fmt --all -- --check and cargo clippy --workspace --all-targets -- -D warnings pass.
  • New tests cover non-UTF-8 logs, byte offsets, cross-session player state, rotation failure, cancellation of in-flight requests, download cancellation, target-lock release and transaction path validation.

Requires real-device validation

  • Windows MoveFileExW, graceful exit and transaction crash recovery.
  • Frame rate for 2,000 mods in a real WebView; only browser-level paint skipping is implemented.
  • Large modpack imports require temporary disk space equal to the extracted size; this is the cost of transactional import.

SRL v0.2.4 — Structural Recomposition Launcher for Minecraft

Choose a tag to compare

@StructuralRecomposition StructuralRecomposition released this 12 Nov 05:19

SRL v0.2.4 — 可靠性修复

简体中文 · English

稳定性维护版本,重点修复依赖图身份、本地模组状态、玩家检查点、日志轮转、进程身份、联机恢复和整合包崩溃恢复。

亮点

依赖管理

  • 节点 ID 统一为 source:project:version;根节点、依赖节点、边和未解析节点一致。
  • 图生成后强制校验节点 ID 唯一、边端点存在,否则阻止安装。
  • 本地模组区分 enabled_satisfied / disabled / version_mismatch / version_unknown / conflict / not_installed;只有启用且版本匹配才算满足依赖。
  • 前端默认勾选使用后端 selectedByDefault,并显示安装状态。
  • 受控 4 路并发预取、15 秒请求超时、120 秒整体 deadline、真实请求计数、缓存去重、可取消分析。

玩家与日志

  • 持久化 PlayerCheckpoint:日志路径、偏移、事件序号、玩家推断状态;增量读取,重启恢复。
  • 恢复玩家标记“日志推断”,不再受 4 MiB 尾部窗口限制。
  • 跨午夜日志日期递增。
  • Minecraft 日志 32 MiB 分片、最多 5 个历史分片,写入失败产生诊断。

进程与联机

  • 进程身份同时校验 PID 和启动时间,降低 PID 复用误判。
  • 启动时清理本应用私有配置目录对应的遗留 FRPC 进程。
  • 房间增加 lifecycleState:running / paused / cleanup_required。
  • 52FRP 恢复使用绝对 10 秒 deadline;隧道分页共享 20 秒预算。
  • Java SLP / Bedrock RakNet 严格校验;未知节点负载不再按 30% 计算。

文件事务

  • 整合包 overrides 使用持久化事务清单,状态覆盖 created/prepared/committing/committed/rolling_back/recovery_required。
  • SRL 启动时恢复中断事务;回滚失败保留备份并报告路径。

验证

  • Rust:254 项库测试 + 启动集成通过;前端 50 项通过。
  • cargo fmt、cargo clippy -D warnings、cargo check --workspace --all-targets 通过。
  • 新增测试覆盖依赖 ID、安装状态、事务恢复、日志轮转、玩家检查点、PID etime、RakNet、跨午夜、取消。
  • macOS / Windows / Linux 资产本地构建;Windows 交叉编译检查通过。
  • Linux AppImage Xvfb smoke、macOS DMG 启动 smoke 通过。

仍需真实验证

  • Windows 实机优雅退出、MoveFileExW、事务崩溃恢复。
  • 真实 52FRP 账户、Bedrock 服务端、跨平台联机。
  • 依赖并发为受控预取;取消在批次之间生效,单请求由 15 秒超时约束。

SRL v0.2.4 — Reliability Update

简体中文 · English

A stability release focused on dependency graph identity, local mod state, player checkpoints, log rotation, process identity, multiplayer recovery and crash-safe modpack transactions.

Highlights

Dependency management

  • Node IDs are unified as source:project:version for roots, dependencies, edges and unresolved nodes.
  • The graph is validated after generation: duplicate IDs or dangling edges block installation.
  • Local mods distinguish enabled_satisfied / disabled / version_mismatch / version_unknown / conflict / not_installed; only an enabled, matching version satisfies a dependency.
  • The frontend defaults to backend selectedByDefault and shows the installed state.
  • Bounded 4-way prefetch, 15-second request timeout, 120-second overall deadline, real request counting, cache de-duplication and cancellable analysis.

Players and logs

  • Persisted PlayerCheckpoint stores log path, offset, event sequence and inferred player state; reads only appended bytes and survives restarts.
  • Restored players are labelled “inferred from log” and are no longer limited by the 4 MiB tail window.
  • Midnight log rollover increments the event date.
  • Minecraft logs rotate at 32 MiB with up to five shards; write failures produce diagnostics without blocking stdout/stderr.

Processes and multiplayer

  • Process identity checks both PID and start time to reduce PID-reuse mistakes.
  • Startup cleans up SRL-owned orphan FRPC processes by matching this app's private config directory.
  • Rooms expose lifecycleState: running / paused / cleanup_required.
  • 52FRP recovery uses an absolute 10-second deadline; tunnel pagination shares a 20-second budget.
  • Strict Java SLP / Bedrock RakNet validation; unknown node load is no longer treated as 30%.

File transactions

  • Modpack overrides use a persistent transaction manifest with created/prepared/committing/committed/rolling_back/recovery_required states.
  • SRL recovers interrupted transactions on startup; failed rollback keeps the backup and reports its path.

Verification

  • Rust: 253 library tests + startup integration passed; frontend 50 passed.
  • cargo fmt, cargo clippy -D warnings, cargo check --workspace --all-targets passed.
  • New tests cover dependency identity, installed states, transaction recovery, log rotation, player checkpoints, PID etime, RakNet, midnight rollover and cancellation.
  • macOS / Windows / Linux assets built locally; Windows cross-check passed.
  • Linux AppImage Xvfb smoke and macOS DMG launch smoke passed.

Still requires real-world verification

  • Windows graceful exit, MoveFileExW and transaction crash recovery on a real device.
  • A real 52FRP account, Bedrock server and cross-platform multiplayer.
  • Dependency concurrency is bounded prefetch; cancellation takes effect between batches and each request is capped at 15 seconds.

SRL v0.2.3 — Structural Recomposition Launcher for Minecraft

Choose a tag to compare

@StructuralRecomposition StructuralRecomposition released this 12 Nov 01:52

SRL v0.2.3 — 稳定性与可靠性修复

简体中文 · English

这是一个稳定性维护版本,保留 v0.2.2 的功能与界面,重点修复实例数据安全、整合包事务、联机状态准确性、依赖解析和发布工程问题。

亮点

安全与数据完整性

  • 实例启动、停止、删除、复制、配置修改与资源导入共用后端生命周期锁;运行中的实例不能删除或复制,并发启动只允许一个进程。
  • 整合包 overrides 改为“校验 → 暂存 → 备份 → 提交”事务;失败时回滚已提交文件,回滚不完整时保留备份并报告路径。
  • 解压前检查目标目录已有符号链接,拒绝写出实例目录;路径校验统一拒绝盘符、UNC、ADS、冒号、尾随点/空格和 Windows 保留名。
  • Windows 原子写入改用 MoveFileExW,替换失败不会先毁掉旧文件。
  • 房间日志并发写入串行化,按 2 MB 字节上限裁剪。

实例与进程

  • Windows 停止游戏先请求优雅关闭并等待 10 秒,超时后由界面询问是否强制结束,并提示未保存进度可能丢失。
  • 前端在实例运行或状态不确定时禁用危险按钮,后端仍执行最终校验。

联机状态

  • 本地服务改用 Java Server List Ping 与 Bedrock RakNet 检测;普通端口占用不再被当成 Minecraft 服务。
  • FRPC 进程、云端隧道在线状态和本地协议健康分别显示;FRPC 存活但隧道离线/未知时不再显示“联机在线”。
  • 52FRP 隧道列表读取全部分页;响应缺少 list 时返回错误而不是空列表。
  • 重启 FRPC 后轮询云端隧道,10 秒内未确认则明确报错。
  • 端口检查区分网络/API 错误与真实占用,并设置整体预算。
  • SRL 日志的 [stdout] / [stderr] 前缀在解析前剥离,玩家事件时间戳恢复;去重集合有界,不再在 5,000 条后停止处理。
  • 房间状态轮询增加单飞保护与指数退避。

依赖与 Java

  • 后端独立校验必需依赖闭包;漏选必需依赖会被拒绝。
  • 同一节点后续以不兼容关系出现时仍产生 blocker。
  • 依赖节点 ID 包含具体版本;不同固定版本不再直接合并。
  • 未选中可选依赖的必需子依赖不再自动勾选。
  • Java 自动选择增加 CPU 架构校验;已知架构不匹配时不会自动选用。

发布工程

  • 发布工作流增加 fmt、test、clippy、前端测试/构建、cargo audit、npm audit 门禁。
  • 校验 tag 与应用版本一致;拒绝覆盖已有 Release;手动发布默认值不再硬编码旧版本。

验证

  • Rust:库测试与启动集成测试通过(详见仓库测试记录)。
  • 前端:Vitest 通过;tsc -b 与生产构建通过。
  • cargo fmt --check、cargo clippy --workspace --all-targets -D warnings 通过。
  • macOS universal DMG、Windows x64 便携包、Linux deb / AppImage 本地构建。

仍需真实验证

  • Windows 优雅退出与 MoveFileExW 原子替换尚未在真实 Windows 设备复测。
  • 整合包回滚的中途进程崩溃恢复、磁盘满/权限拒绝场景尚未实测。
  • 依赖解析仍以串行请求为主,受控并发与整体取消尚未完成。
  • 玩家在线状态仍从日志尾部重建,尚未实现持久化增量检查点。
  • Minecraft 会话日志尚未实现运行时轮转;PID 复用识别和节点负载不可用标记仍待完善。
  • 真实 52FRP 账户、Bedrock 服务器和跨平台联机仍需实机验证。

SRL v0.2.3 — Stability & Reliability Update

简体中文 · English

A maintenance release that keeps the v0.2.2 features and UI, focused on instance data safety, modpack transactions, multiplayer status accuracy, dependency correctness and release engineering.

Highlights

Security and data integrity

  • Launch, stop, delete, duplicate, reconfiguration and resource import share a backend lifecycle lock. Running instances cannot be deleted or copied, and concurrent launches create only one process.
  • Modpack overrides use validate → stage → backup → commit. A failed commit rolls back already-written files; an incomplete rollback keeps the backup directory and reports its path.
  • Extraction checks existing target-directory symlinks and refuses writes outside the instance; path validation rejects drive prefixes, UNC, ADS, colons, trailing dots/spaces and Windows reserved names.
  • Windows atomic writes use MoveFileExW, so a failed replacement never deletes the old file first.
  • Room journal writes are serialized and trimmed by a strict 2 MB byte limit.

Process lifecycle

  • On Windows, stopping a game first requests a graceful close and waits 10 seconds. The UI then asks before a force stop and warns that unsaved progress may be lost.
  • The UI disables destructive actions while an instance is running or uncertain; the backend still enforces the final check.

Multiplayer accuracy

  • Local services are verified with Java Server List Ping and Bedrock RakNet; an occupied port is no longer treated as a healthy Minecraft server.
  • FRPC process state, cloud tunnel state and local protocol health are shown separately. A live FRPC process with an offline/unknown tunnel is not reported as online.
  • The 52FRP tunnel list reads every page; a missing list field is an error rather than an empty list.
  • After restarting FRPC, the tunnel is polled and an explicit error is returned if it is not confirmed within 10 seconds.
  • Port checks distinguish network/API errors from real occupation and use an overall budget.
  • SRL [stdout] / [stderr] prefixes are stripped before log parsing, restoring player-event timestamps. De-duplication is bounded and no longer stops at 5,000 events.
  • Room status polling has single-flight protection and exponential backoff.

Dependencies and Java

  • The backend independently verifies the required-dependency closure; incomplete selections are rejected.
  • Incompatible relations remain blockers even when the same node was seen earlier.
  • Dependency node IDs include the concrete version; different pinned versions are no longer merged directly.
  • Required children of an unselected optional dependency are no longer auto-selected.
  • Java auto-selection validates CPU architecture and will not silently choose a known-incompatible runtime.

Release engineering

  • Releases are gated by fmt, tests, clippy, frontend test/build, cargo audit and npm audit.
  • The workflow verifies tag/application version consistency and refuses to overwrite an existing Release.

Verification

  • Rust library and startup integration tests pass (see repository test record).
  • Frontend Vitest passes; tsc -b and the production build pass.
  • cargo fmt --check and cargo clippy --workspace --all-targets -D warnings pass.
  • macOS universal DMG, Windows x64 portable ZIP, Linux deb / AppImage were built locally.

Still requires real-world verification

  • Windows graceful exit and MoveFileExW replacement have not been retested on a real Windows device.
  • Modpack crash recovery mid-transaction, disk-full and permission-denied scenarios have not been exercised.
  • Dependency resolution is still mostly serial; controlled concurrency and whole-operation cancellation are not complete.
  • Player presence is still rebuilt from the log tail; a persisted incremental checkpoint is not implemented.
  • Minecraft session logs do not rotate at runtime yet; PID reuse detection and node-load unavailable markers still need work.
  • A real 52FRP account, Bedrock server and cross-platform multiplayer still need real-device verification.

SRL v0.2.2 — Structural Recomposition Launcher for Minecraft

Choose a tag to compare

@StructuralRecomposition StructuralRecomposition released this 11 Nov 23:34

SRL v0.2.2 — 联机管理中心 · 依赖可视化 · Java 自动补全

简体中文 · English

v0.2.1 之后的功能更新。本次重点是把「Minecraft 联机」从创建隧道扩展为可诊断、可观测的联机管理中心,并补齐模组依赖关系与 Java 运行环境。

亮点

1. Minecraft 联机管理中心

  • 联机页新增房主 / 游客分段模式,保留原 52FRP 账户、节点、创建、停止、重启与临时隧道清理流程。
  • 房主房间卡分开显示:Minecraft 本地服务端口、52FRP 云端隧道在线状态、FRPC 客户端状态、玩家日志确认状态;四者不再混为一个「在线」标签。
  • 通过 52FRP GET /tunnels/{id} 读取 is_online / enabled / cur_conns / status;cur_conns 只表示 TCP 连接数,不推断玩家人数。
  • 游客成员只解析 SRL 捕获日志中真实的 joined the game / left the game / logged in with entity id 事件,只接受房间创建后的事件。
  • 观测 IP 区分 loopback / LAN / public / unknown;127.0.0.1 显示为「本地代理连接」,公网地址默认脱敏,可手动显示。
  • 新增 multiplayer/room-log.jsonl 房间日志(2 MB 上限裁剪,写入前脱敏),支持筛选、时间排序与清理。
  • 游客模式使用 Rust 实现 Minecraft Server List Ping:地址解析、DNS、TCP、VarInt、状态 JSON、MOTD、版本、协议、在线人数、玩家样本、RTT 与分阶段错误。
  • 正版验证探测:状态查询后额外执行一次登录握手(不发送账号凭据、不进入游戏)。服务器返回加密请求 → online-mode=true,离线账号无法加入;直接返回登录成功 → online-mode=false,离线账号可以加入;无法确认时显示未知并说明原因。正版隔离仍显示未知(52FRP API 无该字段)。
  • 游客网络监测每 12 秒采样(10–60 秒可调),可随时停止并取消后台任务;监测卡片只在连接诊断完成后显示,并明确区分「网络监测状态」和「游戏内加入状态(无法确认)」。

2. 模组依赖关系可视化

  • 新增统一依赖模型与 Modrinth / CurseForge 适配器,支持递归解析、已安装检测与安装执行。
  • Modrinth 识别 required / optional / incompatible / embedded;CurseForge 识别 relationType 1–6。
  • 从 JAR 内 fabric.mod.json、quilt.mod.json、META-INF/mods.toml、META-INF/neoforge.mods.toml 读取真实 mod id;CurseForge 使用 Murmur2 指纹,不使用文件名或标题相似度。
  • 资源详情新增「依赖」入口:SVG 关系图 + 列表视图、节点详情、已安装 / 待安装 / 不兼容状态、可选依赖勾选、预计下载大小。
  • 分析结果保存到 cache/dependencies/<id>.json;安装时前端只提交 analysisId + nodeIds,后端重新校验实例、加载器、Minecraft 版本、必需依赖与不兼容关系。
  • 安装复用 mod_install::apply_files:SHA-1 校验、临时文件、同名备份、原子替换、失败回滚、进度与取消。

3. Java 自动运行环境

  • 新增 java::choose_for_launch:实例固定 Java → 精确 major → 用户默认(兼容时)→ 安全范围内最接近版本。
  • 实例显式指定的 Java 不会被静默替换;不兼容时返回明确错误并提供改回自动选择的路径。
  • 新增 java_launch_check:返回 required major、兼容范围、当前选择、是否可安装、是否需要重置实例 Java。
  • 新增 install_java_for_version:缺失时下载安装 Temurin,安装后重新扫描;自动补全不修改全局默认 Java。
  • 首页 / 实例页在启动返回 JAVA_INVALID / JAVA_INCOMPATIBLE 时打开安装提示,安装成功后只继续启动一次。

验证

  • Rust:242 项库测试 + 2 项启动集成通过;真实网络 / 下载测试默认忽略。
  • 前端:50 项测试通过(Vitest + Testing Library),含依赖图分层布局与空图。
  • cargo fmt --check、cargo clippy --workspace --all-targets -D warnings、tsc -b、npm run build 通过。
  • macOS universal DMG、Windows x64 便携包、Linux deb / AppImage 均本地构建成功;macOS DMG 挂载启动 smoke、Linux AppImage Xvfb smoke 通过。
  • 真实网络验证:Modrinth Iris → Sodium required(2 节点 / 2 文件 / 4,264,786 字节);mc.hypixel.net:25565 Server List Ping 返回协议 47、26854/200000、355 ms。

安装包

平台 文件
macOS 10.15+ SRL_0.2.2_universal.dmg(Intel + Apple Silicon,未签名、未公证)
Windows 10/11 x64 SRL_0.2.2_windows-x64-portable.zip
Linux x64(Debian / Ubuntu) SRL_0.2.2_amd64.deb
Linux x64(通用) SRL_0.2.2_amd64.AppImage

校验值见 SHA256SUMS。

已知限制

  • Microsoft 正版登录仍需自行注册 Azure 应用并填写 client id。
  • 玩家 UUID、真实公网 IP、游戏内 OP / 踢出 / 封禁 / 白名单在没有可靠来源时显示未知。
  • 依赖安装与联机管理中心的真实网络 / 真实账户联调仍需实机验证。

SRL v0.2.2 — Multiplayer Management Center · Dependency Visualization · Java Auto-Install

简体中文 · English

A feature update after v0.2.1. It turns Minecraft multiplayer from tunnel creation into a diagnosable management center, and completes mod dependency analysis and Java runtime handling.

Highlights

1. Minecraft multiplayer management center

  • Host and guest modes share one entry; the existing 52FRP account, node, create, stop, restart and temporary-tunnel cleanup flows are preserved.
  • The host room card separates the local Minecraft service port, 52FRP tunnel state, FRPC client state, and confirmed player-log state instead of merging them into one "online" badge.
  • Reads is_online / enabled / cur_conns / status from GET /tunnels/{id}; cur_conns is documented as TCP connections, not a player count.
  • Guest members are derived only from real joined the game / left the game / logged in with entity id events in logs captured by SRL, and only after the room was created.
  • Observed IPs are classified as loopback / LAN / public / unknown; 127.0.0.1 is shown as a local proxy connection, and public addresses are redacted until revealed.
  • Adds multiplayer/room-log.jsonl with a 2 MB cap and redaction before writing; the UI supports filtering, sorting and cleanup.
  • Guest mode implements Minecraft Server List Ping in Rust: address parsing, DNS, TCP, VarInt, status JSON, MOTD, version, protocol, player counts, sample players, RTT and staged errors.
  • Premium authentication probe: after the status query, a login handshake is performed without sending credentials or joining the game. An Encryption Request means online-mode=true (offline accounts cannot join); a Login Success means online-mode=false (offline accounts can join); otherwise the result is unknown with a reason. Premium isolation remains unknown because the 52FRP API does not expose it.
  • The guest monitor samples every 12 seconds (10–60 adjustable), can be stopped and cancels its background task. The monitor card appears only after diagnostics complete and keeps network state separate from the unverifiable in-game join state.

2. Mod dependency visualization

  • Adds a unified dependency model with Modrinth / CurseForge adapters, recursive resolution, installed detection and installation.
  • Modrinth relations: required / optional / incompatible / embedded; CurseForge: relationType 1–6.
  • Reads real mod ids from fabric.mod.json, quilt.mod.json, META-INF/mods.toml and META-INF/neoforge.mods.toml; CurseForge uses the Murmur2 fingerprint instead of filename or title similarity.
  • The resource detail page gains a Dependencies entry: SVG graph plus list view, node details, installed / pending / incompatible states, optional dependency selection and estimated download size.
  • Analysis is stored in cache/dependencies/<id>.json; installation submits only analysisId + nodeIds, and the backend re-validates the instance, loader, Minecraft version, required dependencies and conflicts.
  • Installation reuses mod_install::apply_files: SHA-1 verification, temporary files, backups, atomic replacement, rollback, progress and cancellation.

3. Automatic Java runtime

  • Adds java::choose_for_launch: pinned instance Java → exact major → compatible user default → closest safe version.
  • An explicitly pinned instance Java is never silently replaced; incompatibility returns a clear error and a path back to automatic selection.
  • Adds java_launch_check with required major, compatible range, current choice, installability and whether the instance Java needs resetting.
  • Adds install_java_for_version: installs Temurin when missing, rescans afterwards, and never changes the global default during auto-completion.
  • Home and instance pages open the install prompt on JAVA_INVALID / JAVA_INCOMPATIBLE, and continue the launch only once after a successful install.

Verification

  • Rust: 242 library tests + 2 startup integration tests passed; real-network/download tests are ignored by default.
  • Frontend: 50 tests passed (Vitest + Testing Library), including dependency graph layout and empty graph.
  • cargo fmt --check, cargo clippy --workspace --all-targets -D warnings, tsc -b and npm run build passed.
  • macOS universal DMG, Windows x64 portable ZIP, Linux deb / AppImage were built locally; macOS DMG launch smoke and Linux AppImage Xvfb smoke passed.
  • Real-network checks: Modrinth Iris → Sodium required (2 nodes / 2 files / 4,264,786 bytes); mc.hypixel.net:25565 status returned protocol 47, 26854/200000, 355 ms.

Installers

Platform File
macOS 10.15+ SRL_0.2.2_universal.dmg (Intel + Apple Silicon, unsigned, not notarized)
Windows 10/11 x64 SRL_0.2.2_windows-x64-portable.zip
Linux x64 (Debian / Ubuntu) SRL_0.2.2_amd64.deb
Linux x64 (universal) SRL_0.2.2_amd64.AppImage

Checksums are in SHA256SUMS.

Known limitations

  • Microsoft sign-in still requires your own Azure application and client id.
  • Player UUIDs, real public IPs, in-game OP / kick / ban / whitelist are shown as unknown when no reliable source exists.
  • Dependency installation and real-account multiplayer flows still need real-world verification.

SRL v0.2.1 — Structural Recomposition Launcher for Minecraft

Choose a tag to compare

@github-actions github-actions released this 09 Nov 07:08

SRL v0.2.1 — 中英双语 · 内置 FRPC · 整合包导出

简体中文 · English

这是 v0.2.0「Minecraft 联机中心」之后的第一个功能更新。下载、启动与联机逻辑保持真实实现;本次重点是把联机客户端的网络依赖去掉,并把实例变成可分享、可复现的整合包。

亮点

1. 中英双语界面

  • 设置 → 界面语言:简体中文 / English,默认简体中文。
  • 切换后立即保存并重新加载窗口;导航、页面、表单、按钮、提示与帮助文案均使用对应语言。
  • 语言偏好保存在本地设置与本地存储中,升级后保留。

2. FRPC 安装包内置

  • 安装包按平台/架构携带 fatedier/frp 官方 frpc 压缩包(当前锁定 0.71.0)。
  • 首次创建房间时校验 SHA-256、解压到应用数据目录并运行,不再访问 GitHub。
  • 仅当安装包缺少当前平台客户端时,才回退官方 Release 下载;仍保留官方 SHA-256 校验和多镜像回退。
  • Windows 便携包的 Install.cmd 会一并安装 frpc/。
  • 修复中国网络下 FRPC 下载慢、超时、校验文件拉取失败导致的建房失败。

3. 整合包导出

实例卡片新增「导出整合包」,支持两种格式:

格式 产物 模组识别
Modrinth .mrpack SHA-1 查询 Modrinth
CurseForge manifest.json ZIP 官方 Murmur2 指纹查询 projectID / fileID
  • 可识别的模组写入索引,由导入方重新下载并校验。
  • 未识别、已禁用、同项目重复版本的模组,连同 config、defaultconfigs、kubejs、scripts、资源包、光影进入 overrides/。
  • 自动解析 Minecraft 版本与 Fabric / Quilt / Forge / NeoForge 加载器依赖。
  • 不包含存档、日志、截图或账号令牌。
  • CurseForge 使用内置公共 API key;限流或断网时自动回退为 overrides 模式并给出警告。

验证

  • Rust 206 个库测试通过;真实网络测试覆盖 Modrinth 导出与 CurseForge 指纹导出(GeckoLib → projectID 388172 / fileID 8945638)。
  • 前端 45 个测试通过,覆盖中英文翻译、插值与后端错误映射。
  • cargo fmt --check、cargo clippy --workspace --all-targets -- -D warnings、tsc -b 通过。
  • macOS DMG 挂载启动 smoke 通过;安装包内确认包含 Resources/frpc;verify-clean-bundle.sh 通过。

安装包

平台 文件
macOS 10.15+ SRL_0.2.1_universal.dmg
Windows 10/11 x64 SRL_0.2.1_windows-x64-portable.zip
Linux x64 SRL_0.2.1_amd64.deb
Linux x64 SRL_0.2.1_amd64.AppImage

校验值见 SHA256SUMS。

已知限制

  • Microsoft 正版登录仍需自行注册 Azure 应用并填写 client id。
  • macOS 包未签名、未公证,首次打开可能需要右键 → 打开。
  • 放入 overrides/ 的模组会随整合包分发,分享前请确认模组许可。
  • CurseForge 使用公共 key,频繁导出可能触发限流;此时会回退为 overrides 并提示。

完整变更:见 CHANGELOG.md。


SRL v0.2.1 — Bilingual UI · Bundled FRPC · Modpack Export

简体中文 · English

The first feature update after v0.2.0 “Minecraft Multiplayer Center”. Downloads, launching and tunneling remain real implementations; this release removes FRPC's runtime network dependency and turns instances into shareable, reproducible modpacks.

Highlights

1. Bilingual UI

  • Settings → Interface language: Simplified Chinese / English, Chinese by default.
  • Switching saves immediately and reloads the window; navigation, pages, forms, buttons, notices and help text all use the selected language.
  • The preference is stored in local settings and local storage, and survives upgrades.

2. Bundled FRPC

  • Each installer ships the official fatedier/frp frpc archive for its platform/architecture (currently pinned to 0.71.0).
  • On first room creation SRL verifies the SHA-256, extracts it into the app data directory and runs it — no GitHub request.
  • Only when the installer lacks the current platform client does SRL fall back to the official release download, still with official SHA-256 verification and mirror fallback.
  • The Windows portable Install.cmd now installs frpc/ alongside the executable.
  • Fixes room-creation failures caused by slow or timed-out FRPC downloads and checksum fetches on Chinese networks.

3. Modpack export

The instance card now has “Export modpack” with two formats:

Format Output Mod matching
Modrinth .mrpack SHA-1 lookup on Modrinth
CurseForge manifest.json ZIP Official Murmur2 fingerprint → projectID / fileID
  • Recognized mods are written to the index and re-downloaded and verified by the importing launcher.
  • Unknown, disabled or duplicate-project mods, plus config, defaultconfigs, kubejs, scripts, resource packs and shaders go into overrides/.
  • Minecraft version and Fabric / Quilt / Forge / NeoForge loader dependencies are resolved automatically.
  • Worlds, logs, screenshots and account tokens are excluded.
  • CurseForge uses the built-in public API key; on rate limits or offline it falls back to overrides mode with a warning.

Verification

  • 206 Rust library tests pass; real-network tests cover Modrinth export and CurseForge fingerprint export (GeckoLib → projectID 388172 / fileID 8945638).
  • 45 frontend tests pass, covering Chinese/English translation, interpolation and backend error mapping.
  • cargo fmt --check, cargo clippy --workspace --all-targets -- -D warnings and tsc -b pass.
  • The macOS DMG mounts and launches; Resources/frpc is present; verify-clean-bundle.sh passes.

Downloads

Platform File
macOS 10.15+ SRL_0.2.1_universal.dmg
Windows 10/11 x64 SRL_0.2.1_windows-x64-portable.zip
Linux x64 SRL_0.2.1_amd64.deb
Linux x64 SRL_0.2.1_amd64.AppImage

See SHA256SUMS in the release assets.

Known limitations

  • Microsoft login still requires your own Azure application client id.
  • The macOS build is unsigned and not notarized; use right-click → Open on first launch if needed.
  • Mods placed in overrides/ are redistributed with the pack; verify their licenses before sharing.
  • CurseForge uses a public key; frequent exports may be rate-limited, in which case SRL falls back to overrides and warns.

Full changelog: CHANGELOG.md.

SRL v0.2.0 — Minecraft 联机中心

Choose a tag to compare

@github-actions github-actions released this 07 Nov 17:54

SRL v0.2.0 — Minecraft 联机中心

SRL 现在可以直接创建 Minecraft 联机房间,不要求公网 IP、路由器端口映射或 FRP 知识。朋友不用开穿透,直接连接房主复制出来的公网地址即可。

主要更新

  • 新增「Minecraft 联机」页面:账户、实例、版本类型、本地服务、节点、房间与 FRPC 状态集中在一页。
  • 使用 52FRP 开放 API v1:账户、节点、节点负载、名称/端口检查、已占用端口、隧道创建/查询/删除、完整 FRPC TOML。
  • Java Edition 使用 TCP,自动识别局域网动态端口;Bedrock Edition 使用 UDP,支持 19132 与手动端口。
  • 创建过程展示真实检查结果;失败自动回滚隧道与 FRPC;停止联机与删除临时隧道分离。
  • API 令牌只保存在系统凭据库;FRPC 配置使用 0600 临时文件,停止时删除。
  • FRPC 使用 fatedier/frp 官方 Release,按 SHA-256 校验;缓存优先、国内镜像优先、连接后后台预下载,界面显示下载进度。
  • 联机页重新整理为「账户 / 创建房间 / 当前状态」三块,减少说明文字;字段解释收进 ?,提示浮层固定在顶层,不会被卡片或弹窗遮挡。
  • 「当前状态」旁新增「帮助」:从 52FRP 注册、实名认证、套餐商城、头像 → API 访问、创建令牌权限,到房主开世界、朋友直连、离线联机模组和常见错误。
  • 设置与账号管理页压缩冗余说明;账号卡只保留名称、类型、状态与操作。
  • 鸦鸭导航与页面标题增加「测试」标签。

Microsoft 正版登录

很抱歉,受当前开发条件限制,SRL 还不能做到开箱即用的 Microsoft 正版登录。目前需要自行注册 Azure 应用、获取 client id 并在设置中填写;未配置时登录入口会明确禁用。后续版本会继续修复,感谢理解。

安装包

  • macOS:SRL_0.2.0_universal.dmg
  • Windows x64:SRL_0.2.0_windows-x64-portable.zip
  • Linux x64:SRL_0.2.0_amd64.deb、SRL_0.2.0_amd64.AppImage
  • 校验:SHA256SUMS

安装包不包含账号、实例、皮肤库、日志或缓存。首次启动会创建干净的应用数据目录。

连接 52FRP

  1. 登录 https://www.52frp.com/user/#/user-center,完成注册与实名认证。
  2. 在套餐商城选择节点并购买套餐(常见价格约 4.5 元/月,以商城为准)。
  3. 点右上角头像 → API 访问 → 创建令牌,权限勾选「创建和修改隧道与客户端」,复制 hz_ 开头的令牌。
  4. 打开 SRL →「Minecraft 联机」,粘贴令牌并连接。

已知限制

  • 需要真实 52FRP 账户与令牌完成在线联调;没有令牌无法伪造测试成功。
  • 账户必须实名,且套餐覆盖目标节点。
  • Bedrock 需要本机已有 UDP 服务监听。
  • Microsoft 登录仍需自行配置 Azure client id;这是当前版本的主要体验缺口。

SRL v0.1.0 — 首个公开发布

Choose a tag to compare

@github-actions github-actions released this 03 Nov 11:11

SRL v0.1.0 — 首个公开发布

SRL(Structural Recomposition Launcher) 是一个独立实现的、本地优先的 Minecraft Java Edition 启动器。它使用 Rust + Tauri 2 构建后端,React + TypeScript 构建界面,不依赖自建服务端,不上报遥测。

本项目与 Mojang、Microsoft、PCL2、HMCL 均无隶属关系。“Minecraft”是 Mojang Studios 的商标。

下载

平台 文件 SHA-256
macOS 10.15+(Intel + Apple Silicon) SRL_0.1.0_universal.dmg 2a59983e892a6690bdfc69c249a46917e97d51f2110af2a9b48aac2c4d92e57c
Windows 10/11 x64 SRL_0.1.0_windows-x64-portable.zip b43d09a327efa9d5039aa620b1b19e31a51ea5200b76443dd27cce6ecbf32244
Linux x64(Debian / Ubuntu) SRL_0.1.0_amd64.deb e79d1276f6de68ab6043fdaeee744ec42a50915ad1004f68ab1ca52f399a7548
源码快照 SRL-0.1.0-source.tar.gz 见 SHA256SUMS

完整的 SHA256SUMS 随发布包提供。

安装

macOS

应用未经过 Apple 公证,首次打开可能被 Gatekeeper 拦截:

xattr -dr com.apple.quarantine /Applications/SRL.app

或在 Finder 中右键 → 打开 → 仍要打开。

Windows

  • 完整解压 ZIP 后再运行,不要在压缩包预览中直接启动。
  • 运行 Install.cmd:会按需安装 WebView2、复制程序并创建快捷方式。
  • 未签名,SmartScreen 可能提示;请先核对 SHA-256,再选择“更多信息 → 仍要运行”。
  • 仅提供 x64;ARM64 Windows 未构建。

Linux

sudo apt install ./SRL_0.1.0_amd64.deb

需要 WebKitGTK 4.1、GTK 3 等运行库。当前未提供 AppImage。

主要能力

  • 官方版本清单、分类浏览、一键安装、文件完整性检查。
  • Fabric / Quilt / Forge / NeoForge 加载器安装与版本推荐。
  • 多实例、独立账号与窗口配置;实例 ZIP 导出 / 导入。
  • 模组、材质包、光影包、地图存档管理。
  • Modrinth / CurseForge 资源搜索与安装;.mrpack、CurseForge manifest.zip、普通整合 ZIP 导入。
  • 离线账号、Microsoft 设备码登录(需自备 Azure client id)、皮肤库与本地皮肤。
  • 崩溃报告分析、日志查看、环境诊断。
  • 鸦鸭 AI 助手(可选 DeepSeek key):本地证据分析、只读工具、安全修复计划、带依赖的模组安装与回滚。
  • 下载任务持久化、SHA-1 校验、安全断点续传、国内镜像回退。

版本说明

v0.1.0 是 SRL 的首个公开发布。发布包为此前构建的 0.1.0 产物;仓库源码快照包含发布前完成的内部修复(内部版本号 0.1.1 / 0.1.2),因此源码中的 Cargo.toml / package.json 版本号仍为 0.1.2。如果你需要与源码完全一致的构建,请从本 tag 自行构建。

已知限制

  1. Microsoft 登录需要在设置中填写自己的 Azure 应用 client id;未配置时明确禁用。
  2. Forge / NeoForge 在后端执行官方安装流程,不显示官方安装器窗口。
  3. 应用重启后,未完成任务会标记为“中断”,不会自动续传。
  4. 断点续传仅在服务器提供 ETag / Last-Modified 时生效。
  5. 光影包需要 Iris 或 OptiFine;启动器只管理 shaderpacks/ 并安装对应模组。
  6. Java 自动安装仅支持 Eclipse Temurin。
  7. 大型整合包可能触及 Windows 命令行长度限制。
  8. 整合包完整导出、应用自动更新、鸦鸭的整合包级操作尚未实现。
  9. 主要在 macOS x86_64 上验证;Windows / Linux 构建与运行验证有限。

源码与许可

  • 源码:本仓库 v0.1.0 tag,或 SRL-0.1.0-source.tar.gz。
  • 许可证:MIT,见 LICENSE。
  • 第三方依赖与许可证:见 THIRD_PARTY_NOTICES.md。
  • 本项目不包含任何 Minecraft 游戏文件或 Mojang 素材。