百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

CodeWalker

> 编程语言
开源

要求: - GTA:V 的 PC 版本; - 4GB RAM (建议 8GB 以上); - Windows 7 及以上版本, x64 处理器; - .NET 框架 4.5 或更高版本 (可从 Microsoft 网站下载)。

729 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

要求: - GTA:V 的 PC 版本; - 4GB RAM (建议 8GB 以上); - Windows 7 及以上版本, x64 处理器; - .NET 框架 4.5 或更高版本 (可从 Microsoft 网站下载)。

Requirements:

  • PC version of GTA:V;
  • 4GB RAM (8+ recommended);
  • Windows 7 and above, x64 processor;
  • .NET framework 4.5 or newer from Microsoft;
  • DirectX 11 and Shader Model 4.0 capable graphics.

App Usage:

On first startup, the app will prompt to browse for the GTA:V game folder. If you have the Steam version installed in the default location (C:\Program Files (x86)\Steam\SteamApps\common\Grand Theft Auto V), then this step will be skipped automatically.

The World View will load by default. It will take a while to load. Use the WASD keys to move the camera. Hold shift to move faster. Drag the left mouse button to rotate the view. Use the mouse wheel to zoom in/out, and change the base movement speed. (Zoom in = slower motion) Xbox controller input is also supported. The Toolbox can be shown by clicking the ``RpfFileEntryin the selection info property grid). Replace the editedYMAP` into a copy of the correct archive in the /mods folder. Newly created YMAPs can be added to DLC archives in the same manner.

Train Tracks Editing:

[TODO - write this!]

(YND) Traffic Paths Editing:

[TODO - write this!]

(YMT) Scenario Regions Editing:

[TODO: write this!]

See https://youtu.be/U0nrVL44Fb4 - Scenario Editing Tutorial

Regarding game files: (FYI)

The PC GTAV world is stored in the RPF archives in many different file formats. As expected, some formats are used for storing rendering-related content, for example the textures and 3d models, while other formats are used for storing game and engine related data.

The main formats when it comes to rendering GTAV content are: .ytd - Texture Dictionary - Stores texture data in a DirectX format convenient for loading to the GPU. .ydr - Drawable - Contains a single asset's 3d model. Can contain a Texture Dictionary, and up to 4 LODs of a model. .ydd - Drawable Dictionary - A collection of Drawables packed into a single file. .yft - Fragment - Contains a Drawable, along with other metadata for example physics data.

The content Assets are pieced together to create the GTAV world via MapTypes (Archetypes) and MapData (Entity placements). At a high level, Archetypes define objects that are placeable, and Entities define where those objects are placed to make up the world. The collision mesh data for the world is stored in Bounds files.

The formats for these are:

.ytyp - MapTypes - Contains a group of MapTypes (Archetypes), each defining an object that could be placed. .ymap - MapData - Contains placements of Archetypes, each defining an Entity in the world. .ybn - Bounds - Contains collision mesh / bounding data for pieces of the world.

The EntityData contained within the MapData (.ymap) files forms the LOD hierarchy. This hierarchy is arranged such that the lowest detail version of the world, at the root of the hierarchy, is represented by a small number of large models that can all be rendered simultaneously to draw the world at a great distance. The next branch in the hierarchy splits each of these large models into a group of smaller objects, each represented in a higher detail than the previous level. This pattern is continued for up to 6 levels of detail. When rendering the world, the correct level of detail for each branch in the hierarchy needs to be determined, as obviously the highest detail objects cannot all be rendered at once due to limited computing resources.

In CodeWalker, This is done by recursing the LOD tree from the roots, checking how far away from the camera the node's Entity is. If it is below a certain value, then the current level is used, otherwise it moves to the next higher level, depending on the LOD distance setting. (In the Ymap view, the highest LOD, ORPHANHD, is not rendered by default. The ORPHANHD entities can often be manually rendered by specifying the correct strm ymap file for the area in question in the ymap text box. The strm ymap name can often be found by mouse-selecting a high detail object in the area and noting what ymap the entity is contained in, in the selection details panel.)

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言