[免费且开源] [独立] 资源/地图冲突工具

FiveM 的游戏内地图冲突扫描与解决工具。它会扫描每个已启动的资源,查找冲突的 .ymap、.ytyp、.ybn、.ydr、.ydd、.ytd 和 .yft 文件,在游戏世界中显示每个冲突,并通过保留、移动、移除或编辑等操作来解决冲突。独立运行,无需框架。

功能特性 (截至 01/09/2026 [日/月/年])

Full Server Scan

列出所有已启动的资源,读取其文件夹,并对每个地图文件进行哈希处理和解析。ymap、ytyp 和 ybn 的 RSC7 解析在服务器端运行。

Conflict types

跨资源的重复文件、不同 ymap 版本间被移除、移动或重新建模的道具、同一道具的重复放置、重叠的遮挡盒(box occluders)、重复的碰撞文件,以及在多个 ytyp 文件中重复定义的原型(archetypes)。重复文件会带有标签,标明是否覆盖了原版文件、LOD 距离不一致以及 LOD 数据过期。

Auto resolve

一键将安全的修复操作加入队列,例如完全相同的重复副本和重复放置的道具。

image

Manual resolve

保留、移动或移除每个冲突项,并在游戏世界中预览冲突双方。

Occluder tools

缩小其中一个遮挡盒直到重叠消除,移除单个遮挡盒,或将整个群组合并为一个体积。合并操作会检查结果会吞没多少空白空间,如果会隐藏不该隐藏的几何体,则会拒绝合并。

In-game occluder editor

使用变换工具(gizmo)移动、旋转和调整遮挡盒大小,或右键点击某个面以单独拉伸该侧。线框会实时跟随变换工具,且编辑内容会直接写入 ymap 文件。

In-game collision editor

使用变换工具移动和旋转碰撞边界(collision bound),或将整个 .ybn 作为一个整体移动,红色网格会实时跟随拖动。复合边界支持移动和旋转,而没有复合包装的单个边界仅支持移动。

Collision surfaces

读取边界中的每个材质槽,并从完整的 GTA V 列表中设置其表面,外加 16 种碰撞标志,如透视、可穿透射击、可行走路径和无导航网格(no navmesh)。

In-place file edits

无法在运行时移除的道具会被隐藏在 ymap 内部,遮挡盒的更改仅重写已更改的字段,因此资源仍会从其原始文件中加载。

World markers

每个冲突都由彩色光束标记,遮挡盒群组中的每个盒子都有独立光束,在列表中选中某个冲突会使镜头直接飞至该处。

透视模式开启:

X-Ray Off:

World action menu

右键点击标记或遮挡盒即可执行适用于该对象的操作,无需返回列表。

Filters

按资源、文件类型或资产类型筛选列表,以便在处理地图时可以隐藏车辆、行人和武器包。

In-game editing

使用原生变换工具移动和旋转对象,支持本地或全局坐标轴、网格吸附、贴地吸附以及数值变换输入。

X-ray

透过墙壁和地形绘制标记、网格和盒子。

关闭:

On:

Streaming weight

按资源排列的地图资产大小排名,并对可能无法正常流式加载的超 16 MB 文件发出警告。

Undo and restore

可以使用 Ctrl+Z 撤销操作,应用时会将所有修改过的文件复制到带有时间戳的备份包中,可通过 sha1 校验进行恢复。

Remappable keys

每个按键绑定都是 FiveM 的原生按键映射,可以自行更改。

Github 仓库: GitHub – kkMihai/fivem_conflicttool: In-game map conflict scanner and resolver for FiveM · GitHub

下载: Releases · kkMihai/fivem_conflicttool · GitHub

  • 发布版本中为普通用户精简了大部分不重要的文件,前端已预编译,且不包含前端源码,因为无需使用。

许可证: fivem_conflicttool/LICENSE at main · kkMihai/fivem_conflicttool · GitHub

查看英文原文 (Original)

In-game map conflict scanner and resolver for FiveM. It scans every started resource for conflicting .ymap, .ytyp, .ybn, .ydr, .ydd, .ytd and .yft files, shows each conflict in the world, and resolves them with keep, move, remove or edit decisions. Standalone, no framework required.

Features (As of 01/09/2026 [dd/mm/yyyy])

Full Server Scan

Lists all started resources, reads their folders, and hashes and parses every map file. RSC7 parsing of ymap, ytyp and ybn runs on the server.

Conflict types

Duplicate files across resources, props removed, moved or re-modelled between versions of a ymap, double placements of the same prop, overlapping box occluders, duplicate collision files, and archetypes defined more than once across ytyp files. Duplicate files carry badges for vanilla overrides, LOD distance disagreements and stale LOD data.

Auto resolve

Queues the safe fixes in one click, such as identical duplicate copies and double-placed props.

image

Manual resolve

Keep, move or remove each conflict, with in-world preview of both sides.

Occluder tools

Shrink one box until the overlap clears, remove a single box, or merge a whole cluster into one volume. The merge checks how much empty space the result would swallow and refuses when it would hide geometry it should not.

In-game occluder editor

Move, rotate and resize a box occluder with the gizmo, or right click one face to extrude just that side. The wireframe follows the gizmo live and the edit is written straight into the ymap.

In-game collision editor

Move and rotate a collision bound with the gizmo, or move a whole .ybn as one, with the red mesh following the drag live. Composite bounds get move and rotate, a single bound with no composite wrapper gets move.

Collision surfaces

Read every material slot in a bound and set its surface from the full GTA V list, plus the sixteen collision flags such as see through, shoot through, walkable path and no navmesh.

In-place file edits

Props that can’t be removed while in runtime are buried inside the ymap, and occluder changes rewrite only the fields that changed, so the resource keeps loading from its original file.

World markers

Every conflict is marked with a color-coded beam, occluder clusters get one beam per box, and selecting one in the list flies the camera to it.

X-Ray On:

X-Ray Off:

World action menu

Right click a marker or an occluder box for the actions that apply to it, without going back to the list.

Filters

Narrow the list by resource, by file type, or by asset kind, so vehicle, ped and weapon packs can be hidden while working on the map.

In-game editing

Move and rotate objects with the native gizmo, with local or global axes, grid snap, snap to ground and numeric transform inputs.

X-ray

Draws markers, meshes and boxes through walls and terrain.

Off:

On:

Streaming weight

Per-resource map asset size ranking, with a warning for files over 16 MB that may fail to stream.

Undo and restore

Decisions can be undone with Ctrl+Z, and Apply copies every touched file into timestamped backup bundles that can be restored with sha1 verification.

Remappable keys

Every bind is a FiveM key mapping and can be changed.

Github Repo: GitHub – kkMihai/fivem_conflicttool: In-game map conflict scanner and resolver for FiveM · GitHub

Download: Releases · kkMihai/fivem_conflicttool · GitHub

  • Releases have most of the non important files for the average user stripped and frontend is already build and doesn’t include the frontend src since there is no need.

License: fivem_conflicttool/LICENSE at main · kkMihai/fivem_conflicttool · GitHub

本文资源搬运自 CFX.re FiveM 官方论坛,原作者:kkmihai。原帖地址:https://forum.cfx.re/t/free-open-source-standalone-assets-map-conflict-tool/5426720

原帖标签:script, free

THE END
喜欢就支持一下吧
点赞13 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容