MI2-Utilities Java

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

69k Downloads 76 Stars
Created 2 years agoUpdated 1 day ago

Authors:

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检查屏幕高度

1.4.2b | 1.4.2b


Fixed: Speed control icon rotation. Fixed probably: Snapped and minimized UI hidden

修复:自动变速图标旋转 可能修复:有吸附的UI最小化时隐藏

1.4.2 | 1.4.2


修复:一些UI缩放问题 添加:一些新图标

Fixed: some ui scaling problems. Added: new icons.

1.4.1 | 1.4.1


Fixed some ui problems

Jitpack bad bad

1.4.0a | 1.4.0a


Added: Mindow scalable from 5% to 400%

添加:独立的窗口缩放选项 5%-400%

1.3.7d | 1.3.7d


1.3.7c | 1.3.7c


1.3.7 | 1.3.7


Fixed: Player cannot build while logic AI is on. Tweaked: UI adjustment Tweaked: The operation of the Sky-Scan is evenly spread to each frame

修复:逻辑AI运行时不能建造 调整:UI调整 调整:天眼查的运算均摊到每帧进行

1.3.6 | 1.3.6


Added: CoreInfo can open line charts for multiple items at the same time Tweaked: The building inventory display now has a gradient background Tweaked: Tweaks the AI's code logic Tweaked: Fixed the Log size of the logic-custom AI Fixed: Center-move AI does not detect switch Fix: Some UI issues

添加:CoreInfo可以同时打开多种物品的折线图 调整:建筑物品显示现在有渐变色的背景 调整:调整了AI的代码逻辑 调整:固定了逻辑自定义AI的Log大小 修复:中心位移AI不检测开关 修复:一些UI问题

1.3.5 | 1.3.5


Added: Logic AI player actions now have a timer, see in-game help. Added: Logic AI help information, next to the edit button. Fixed: Logic AI executing empty code crashes. Fixed: The power bar in the information bars shows incorrect power consumption when the building is not working. Fixed: Wave table does not automatically adjust layout and exceeds screen boundaries.

添加:Logic AI玩家动作现在有计时器,详见游戏内说明。 添加:Logic AI的帮助信息,在编辑按钮旁边。 修复:Logic AI执行空代码崩溃。 修复:建筑不工作时,信息栏的电力条显示电力消耗。 修复:波次面板不自动调整布局、超出屏幕边界。