MI2-Utilities Java

QOL Mod, powerful assists to vanilla gameplay. For destined Mindustry players.

71k Downloads 81 Stars
Created 2 years agoUpdated 4 days ago

Authors:

1.9.0 | 1.9.0


GUI Enhancements

Mindow2 Improvements

  • Added: Support for creating windows without settings items
  • Added: "Window Configuration Mode" - displays drag handles, close buttons, and settings (where available) on all windows. Accessible via MI2UI
  • Fixed: Snapping issues caused by circular references detection

New Composite Icon

  • Added: Icon composition element combining multiple icons
  • Implemented: New control applied to numerous buttons and labels

Others

  • Migrated to Mindow: AI panel, Wave Info, and Global Scanner with redesigned interfaces
  • Enhanced: Visual effects for Global Finder
  • Relocated: Global Finder now resides within MI2UI
  • Changed: Minimap coordinate display no longer has dark background, no longer captures mouse events
  • Removed: Minimap title bar (use Window Configuration Mode for management)
  • Fixed: Power grid bar height calculation issues

GUI

Mindow2

  • 允许创建不含设置项的窗口了
  • 允许进入"窗口配置模式", 所有窗口将展示拖动, 关闭, 设置项(如果有)等功能按钮. 为MI2UI添加了模式入口
  • 修复了循环吸附检测导致无法正常吸附

新的组合图标控件

  • 将多个图标组合在一起
  • 许多按钮和文本已经应用了这种新控件

其他

  • 将AI, 波次信息, 天眼查移动到Mindow内, 并重新设计了界面
  • 为天眼查添加了视效
  • 天眼查移动到MI2UI内
  • 小地图的坐标不再有暗背景,并且不再捕捉鼠标事件
  • 小地图不再显示标题栏, 请使用"窗口配置模式"
  • 修复了电网条控件高度问题

1.8.5 | 1.8.5


  • Fixed Potential: crash when using auto-completion with empty logic code

  • Added: Visual feedback for window dragging and snapping

  • 修复可能:逻辑代码为空使用自动补全崩溃

  • 添加:窗口拖拽、吸附视效

1.8.4 | 1.8.4


  • Added: Type filter for disabling building/unit rendering
  • Added: Confirmation prompt when deleting AIs
  • Adjusted: All AIs now support custom naming
  • Fixed: Duplicate planning in Build Plan Tracker AI's assist mode
  • Fixed: Block overlay rendering on MindustryX effects layer
  • Removed: View zoom options from mod settings

  • 添加:关闭建筑、单位渲染可以设置类型过滤器
  • 添加:删除AI时的确认提示
  • 调整:所有AI都能设置名字
  • 修复:跟踪建造规划AI的协助建造重复规划
  • 修复:方块叠显层渲染在MindustryX的特效层上
  • 移除:Mod的视角缩放选项

1.8.3 | 1.8.3


  • Added: World Processor AIs can now read/write variables of other World Processor AIs

    And related introduction

  • Added: Action timer visualization for Mining AI
  • Fixed: Mining AI failing to switch ores correctly
  • Fixed: Missile rendering errors on minimap

  • 添加:世界处理器AI可以读写其他世处AI的变量

    及相关介绍文本

  • 添加:挖矿AI可视化动作计时器
  • 修复:挖矿AI不能正确切换矿物
  • 修复:小地图渲染导弹错误

1.8.2 | 1.8.2


AI

  • Added: Three preset AIs based on World Processor AI
    • Map Editor
    • Unit Spawner
    • Team Switcher
  • Added: Movement/Attack control indicators for World Processor AI
  • Fixed: World Processor AI custom UI showing numbers as null
  • Fixed: World Processor AI code saving failure
  • Fixed: Other issues

AI

  • 添加:三个基于世处AI的预置AI
    • 地图编辑器
    • 单位生成器
    • 切换队伍
  • 添加:世处AI 移动、攻击 控制指示器
  • 修复:世处AI自定义UI显示数字为null
  • 修复:世处AI代码不能保存
  • 修复:其他问题

1.8.1 | 1.8.1


fixed World Proc AI invalid save. 修复:世处AI不能保存代码

1.8.0 | 1.8.0


Mindustry: 149

AI

  • AI Modularization
  • Allows adding multiple World Processor AIs
  • Adjust AI order to determine execution priority
  • AI configurations are storable (persistent)
  • Legacy World Processor AIs remain in saves to facilitate data migration

Other

  • Added: Key bindings
  • Added: Enhanced support for Objectives and Flags in map info @LaoHuaJiOfficial
  • Added: Turret/unit vision range can filter specific unit/building types
  • Adjusted: Only minimap window hides title bar
  • Fixed: Made all existing tooltips mobile-friendly
  • Fixed: Minimap rendering issues (attack indicators, graphic transformations)

AI

  • AI模块化
  • 允许添加多个世处AI
  • AI调整顺序, 决定执行优先级
  • AI配置可存档(持久化)
  • 旧版的世处AI仍保留在存档中, 以方便转移您的数据

其他

  • 添加: 按键绑定
  • 添加: 地图信息对Objectives和Flags的进一步支持 @LaoHuaJiOfficial
  • 添加: 炮台/单位视野范围可以筛选指定单位/建筑类型
  • 调整: 仅小地图窗口隐藏标题栏
  • 修复: 让所有现有提示支持移动端
  • 修复: 小地图绘制问题(攻击指示器, 图形变换)

1.7.0 | 1.7.0


Mindustry: 149

  • Fixed AI movement control malfunction with inputReplace enabled on mobile
  • Title bar now auto-hides after 3 seconds of inactivity
  • Fixed cursor coordinate color rendering

  • 修复移动端启用inputReplace后,AI控制移动不正确
  • 标题栏现在需要等待3秒自动隐藏
  • 修复小地图光标坐标颜色

1.7.0-beta-2 | 1.7.0-beta-2


Mindustry: 149

Changes

  • Mindow title bars now auto-collapse
  • Fixed: Help text, button labels & UI layout issues

Minimap

  • Temporarily removed block monitoring feature
  • Added: Rendering for Objectives & Markers (previously unimplemented)
  • Code logic optimized for improved usability

MI2UI-AI

  • Added: ucontrol-pathfind support (use sparingly!)
  • World Handler AI editor now bypasses no-logic-building rules
  • Fixed crash related to @counter variables

Fixed #23

  • 窗口标题栏现在自动折叠
  • 修复帮助信息、部分按钮的文本、部分UI的布局问题

小地图

  • 暂时移除了监视方块的功能
  • 添加对Objectives和Markers的渲染(以前其实没有实现)
  • 优化了代码逻辑,UI的人性化

MI2UI-AI

  • 添加对ucontrol-pathfind的支持(请不要频繁调用)
  • 允许世处AI的编辑器绕过禁止逻辑建筑的规则
  • 修复与@counter相关的崩溃

修复#23

1.7.0-beta-1 | 1.7.0-beta-1


AI Translated

Supported Game Version: v149

NOTICE TO v146 PLAYERS: DO NOT UPDATE!

Mobile Version Untested - Potential Issues May Exist

Bug reports via any channel are highly appreciated!

Adjustments

  • Window snapping behavior & options interface (@LaoHuaJiOfficial)
  • Refactored core logic for critical features (improved reliability)
  • Streamlined team display in Core Overview

AI Fixes

  • Mining AI:
    • Now using vanilla indexer • Added availability indicators for floor/wall ores
  • Poly AI: Code logic optimized
  • Logic AI: Fixed

支持的游戏版本:v149 请146的玩家不要更新!

移动端未经测试,可能存在bug。不论如何请通过各种渠道反馈,谢谢!

调整

窗口的吸附以及选项界面 @LaoHuaJiOfficial 一些功能的代码逻辑,希望他们可靠!

核心信息窗口的队伍显示,超级简洁!

AIs

已完成修复

挖矿AI采用原版索引,添加了地面矿/墙矿可用性脚标 poly AI调整了代码逻辑 逻辑AI已修复

1.7.0-alpha-2 | 1.7.0-alpha-2


MapInfo Adjustments

Added new map rules
Highlighted special values in team attributes

Rendering Features

Fixed pathfinding route rendering
RTS AI pathfinding: Only renders next node
Survival Mode pathfinding: Fully functional
Implemented new attribute bar rendering library
Removed legacy shield bar style

Input Control

View movement operations no longer depend on inputReplace setting
AI functions except "Move to Screen Center" (primary) remain unfixed
Enabled experimental new code for AI-controlled movement on Android (untested)

Speed Auto Controller

Rename: SpeedCtrl -> Time Scaler Removed base frame rate setting → Now uses max FPS from vanilla settings
Fixed game acceleration issue at high frame rates

Maintenance

Fixed heat attribute bar display on mouse hover
Code cleanup & fixed multiple crash issues

调整了MapInfo

补充新增的地图规则 队伍属性特殊值高亮

渲染功能

修复寻路线渲染 RTS AI寻路只能渲染下一个节点,生存模式寻路正常使用 编写了新的属性条渲染库 移除了护盾条的老样式

输入控制

涉及视角移动的操作不再依赖设置inputReplace AI除“移动到屏幕中心”(第一个)以外,其他功能未做修复 AI控制玩家移动的操作在安卓端启用实验性的新代码(未测试)

自动变速器调整

->时间缩放器 取消了基准帧率设置,现在基于原版设置里的最大帧率 修复了高帧率下导致游戏加速的问题

其他

修复鼠标悬浮显示的热量属性条问题 清理代码、修复一些崩溃问题

1.7.0-alpha | 1.7.0-alpha


感谢各位玩家的耐心等候,MI2U复活赛打赢了 Thanks for your patience, everyone – MI2U has made a comeback and won the rematch!


!!!BugBugBugBugBugBugBugBug!!!

Compatible with game version v149 (some features are temporarily unavailable)

Simplified the Mindow2 class Removed: Duplicate RTS formation feature (already exists in vanilla) Removed: Block-color-based turret vision range rendering (due to minimal visual impact and incompatibility with foo) Removed some experimental or redundant features

支持游戏版本v149,部分功能暂不能正常使用

简化了Mindow2类 移除:与原版重复的RTS编队功能 移除:按方块颜色渲染炮台视野范围的功能(由于效果不显著并且与foo不兼容) 移除了一些实验性或多余功能

1.6.2 | 1.6.2


Added: New optional fill color for turret view area

Highlight the color of the anti-aircraft turrets Coloring by turret type

Added: When you press F to select, the size is displayed (currently only for desktop version, inputReplace needs to be enabled. if i forget mobile later please remind me.) Added: CoreInfo can adjust the unit icon size Added: The minimap can pop up as a full-screen translucent map Adjusted: Optimized the interface of the minimap

Fixed: Further fixed the problem that the layout of settings items in the foo side was confused Fixed: There was an issue with some prompts in the settings

添加:炮台视野范围新的可选填充色

高亮防空炮台的颜色 按炮台类型填色

添加:按F框选时,显示选框尺寸(目前仅限桌面版,需要开启inputReplace) 添加:核心信息可以调节单位图标尺寸 添加:小地图可以弹出为全屏半透明地图 调整:优化了小地图的界面

修复:进一步修复了设置项在foo端里布局混乱的问题 修复:设置项里的部分提示有问题

1.6.1 | 1.6.1


#Mindow窗口

The title bar on the right has been adjusted to be more in line with the user's (my) habits:

Minimize, drag-drop buttons merge into one. No more use of collapser. The title bar appears only when minimized.

Fixed: Minimized window with extra size.

MI2UI

Added: Button to clear ghost buildings. Adjust the UI layout.

Removed the collapser tab frame. The quick settings is now expanded by the yellow button at the top. Other buttons and information are centralized into the main interface.

Core information

Added: Option to set the number of columns of items per row.

Adjust the UI layout.

Adjusted: (possibly) Added support for the foo's client search settings feature.

###Mindow窗口 调整了右侧标题栏, 更加符合用户(本人)使用习惯:

将最小化, 拖拽按钮合二为一. 不再使用折叠按钮. 标题栏仅在最小化时显示.

修复: 最小化具有额外尺寸的问题.

MI2UI

添加: 清除幽灵建筑的按钮. 调整UI布局.

移除了折叠选项卡框架. 快捷设置界面改为通过顶部黄色按钮展开. 其他按钮和信息集中到主界面.

核心信息

添加: 设置每行物品列数的选项. 调整UI布局.

调整: (可能)添加了对foo客户端搜索设置项功能的支持.

1.6.0b | 1.6.0b


1.5.6b - 1.6.0b

Settings

Because the previous setting system was too ugly and the data could not be exported, it was completely rewritten.

The new version of the setting interface has the style of the original.

sorted out the different setting categories. Added a lot of help information. I think the interface is much cleaner than before.

The new version of the setting is stored in the player's setting save.

The old setting system has been deprecated, and your setting needs a check out. Considering that the old version has some important settings, such as the code for custom logic AI, the reader of the old version of the option is kept for a period of time in order to export the data manually.

With the update of the setting system, a large number of bugs have been fixed, and the mod loading logic has been significantly optimized.

Miscellaneous

Probably Fixed: Screen edge panning when paused. Fixed: Rendering crash caused by players. Fixed: Optimized the distribution reveal function of the junction.

选项

因为原界面太丑, 并且无法导出数据, 遂进行彻底的重写.

新版选项界面具有原版风格.

整理了不同的选项类别. 添加了大量帮助信息. 我认为比以前清爽得多的界面.

新版选项存储在玩家存档中.

旧版选项系统已废弃, 你的选项需要重新设置. 考虑到旧版有一些重要的选项, 例如自定义逻辑AI的代码, 旧版选项的读取器会保留一段时间, 以便手动导出数据.

伴随选项系统的更新, 修复了大量的Bug, 显著优化Mod加载逻辑.

其他

可能修复: 暂停时触发屏边移动视角. 修复: 渲染玩家导致的崩溃. 修复: 优化了交叉器的物流揭示功能.

1.6.0 | 1.6.0


1.5.6b | 1.5.6b


1.5.6 | 1.5.6


Adjusted: Space Scan data is now lazy loaded as much as possible. Adjusted: Removed options for Space Scan. Added: Mining AI supports wall ore Added: Auto-aim AI support for controlling turrets Added: Added the command "clean" to the Logic AI custom interface Fixed: Cursor is not displayed after entering the turret

调整:天眼查的地图数据现在尽可能地延迟加载。 调整:移除了关于地图数据的选项。 添加:挖矿AI支持墙矿 添加:自动瞄准AI支持控制炮台 添加:逻辑AI自定义界面新增指令:clean清空界面 修复:玩家进入炮台后不显示光标

1.5.5c | 1.5.5c


Fixed: Power graph bar performance improvement

1.5.5b | 1.5.5b


Adjusted: Restored the old RTS formation interface that popped up automatically Fixed: Android device shader issue Fixed: logic-helper locating of variables

调整:恢复了旧版的自动弹出的RTS编队界面 修复:Android设备着色器问题 修复:逻辑辅助查找变量的定位问题

1.5.5 | 1.5.5


Shader

Fixed: Flicker in turret zone rendering. Adjusted: Turret zone and overdrive zone shader. tt53 1

Added: Item Backpack revealed now shows ammo. Adjusted: Heat bar now displays maximum efficiency. Adjusted: Default shield bar style changed to HP multiple text. Adjusted: Logical helper split is now stored in settings.

着色器

修复: 炮台范围渲染的闪烁 调整: 炮台范围和超速范围的着色器

添加: 物品背包揭示现在显示弹药 调整: 热量条现在显示最大倍率 调整: 默认盾量条样式改为血量倍数文本 调整: 逻辑辅助的分隔符现在存储到选项中了

1.5.4 | 1.5.4


AI Assistance

Adjusted: The AI settings interface can collapse the setting bar of each logic. Added: Custom AI can store multiple logics.

Only one logic can be selected each time.

Added: Custom AI can use the Print statement to generate controls associated with logic variables.

Text boxes, buttons, drop-down menus, and information labels can be generated on the control panel. For more information, please refer to the help documentation in the AI settings interface. The control panel can be opened from the button next to Log in the AI settings interface. When using the mod for the first time, an example sandbox map editor logic will be generated.

Fixed: The minimization of the minimap window causes it to malfunction.

AI辅助

调整: AI设置界面可以折叠各个逻辑的设置栏 添加: 自定义AI可以存储多个逻辑

每次只能选择使用一个逻辑

添加: 自定义AI可以用Print语句生成关联到逻辑变量的控件

可在控件面板生成文本框, 按钮, 下拉选单, 信息标签 详细说明请看AI设置界面的帮助文档 控件面板从AI设置界面Log旁边的按钮打开 首次使用mod时, 会生成一个示例的沙盒地形编辑器AI

修复: 小地图窗口最小化后抽风

1.5.3 | 1.5.3


Logic Helper

Added: Autocomplete overlay

The user experience should be similar to that of IDEA or VSCode Hotkeys: Tab, Up, Down, Enter Beware of bugs

Fixed: Logical Assisted Find scroll position inaccurate Adjusted: Logic Helper UI Adjusted: The initial length of the wave preview table Adjusted: Health bars performance optimization Added: HP bar with drowing bar Adjusted: Emojis UI Fixed: CoreInfo power bar was compressed when showCoreItems was set to no Adjusted: Power Graph Bar performance optimization Fixed: Mindow window still uses snapping animations when it shouldn't.

逻辑辅助

添加:自动补全浮窗

使用体验应该和IDEA或者vscode差不多 快捷键:Tab,上,下,回车 小心bug

修复:逻辑辅助查找功能滚动位置不准确 调整:逻辑辅助界面 调整:波次预览界面初始长度 调整:血量条性能优化 添加:血量条with淹没条 调整:Emojis界面 修复:CoreInfo电量条被压缩当showCoreItems设为否 调整:电网条性能优化 修复:Mindow窗口在不需要吸附动画时仍然使用插值动画

1.5.2b | 1.5.2b


Power net bar

In tiny mode, fold the power bars when there is no battery.

Wave preview

Fixed: specifying preview spawnpoint was invalid.

电网条

简洁模式下,没有电池时收起电网条

波次预览

修复:指定预览出生点无效的问题

1.5.2 | 1.5.2


Core Info核心信息

调整:新的详细电网条

发电耗电的展示与对比 通过特有的流量图快速感知输入输出比例 可以切换为简洁模式(旧版本) 切换按钮在窗口的左侧标题栏

预览: E5L5WVV$FJE@9 AF94QGRWO {K)EEBM(8_B_90P4T49OC E

Wave Preview波次预览

优化了UI和部分代码 增加了能调整尺寸的按钮 KUI W3Y8748ZRPO 1{8U~(1_tmb

修复一些bug

1.5.1b | 1.5.1b


1.5.1 | 1.5.1


Mindow2窗口

调整标题栏

左侧标题栏不再被动剪裁其中内容 修复一些不合理的最小化行为 当光标指向左侧标题栏时,自动收起右侧标题栏

修复了所有已知关于缩放的问题

MindowMap

新增两个选项

单位色差 单位描边

img

调整了左侧标题栏布局

自动收起三个按钮 坐标字号自动调整

仍然不建议设置<140的地图尺寸

1.5.0 | 1.5.0


UI更新

重新构思设计了标题栏和许多UI

标题栏内嵌到窗口界面中,仅一个拖拽按钮,便于未来添加窗口尺寸调整等功能 点击按钮展开标题栏(感人至深的缓动效果和自动挤压布局!) 标题栏所在行可以添加其他元素 tt49 1

MI2UI主界面窗口

将原界面做了功能分组 增加了更多常用设置按钮 tt49 3

小地图窗口

将按钮和坐标显示整合到标题栏 tt49 2

核心信息窗口

将按钮整合到标题栏 悬浮在某一物品上,标题栏将弹出显示该物品具体数目 tt49 4

其他

修复一些UI问题 Mindow的代码优化

1.4.3 | 1.4.3


Probably fixed a problem that made the mod not detected in some mobile devices

1.4.2c | 1.4.2c


Fixed: Logic cutsom AI was not reset when loading map. Tweaked: Force Wave Preview UI to check screen height.

修复:逻辑AI在加载世界时不重置 调整:强制波次预览ui检查屏幕高度