Skip to content
#

binary-patch

Here are 16 public repositories matching this topic...

Q-Dir 的颜色过滤器在程序里写死了一个上限:最多 32 条规则。超过 32 条后,多出来的规则要么存不进去、要么载入时被截断。 这个脚本做的事: 1. 在 PE 文件里追加一个新区段 .qdcol,把原本只有 32×32 字节的颜色规则数组整体搬迁过去(原位置后面紧跟着 Q-Dir 自己的对象管理结构,直接扩展会踩坏它); 2. 把代码中散落的 5 处「上限常量 0x20(32)」改成新上限; 3. 改掉颜色渲染阶段的样式索引守卫(0..31)和启动时的清理循环上限; 4. 把 17 处引用该数组的指令重定位到新地址; 5. 写盘后自动复检一遍,确认所有改动都落到位。

  • Updated Nov 6, 2026
  • Python

Add this topic to your repo

To associate your repository with the binary-patch topic, visit your repo's landing page and select "manage topics."

Learn more