Skip to content

Releases

v1.2.2 (Report a problem)

Choose a tag to compare

@jdev-rtual jdev-rtual released this 25 Oct 18:22

Report a problem

  • Report a problem (bottom right, next to the version): send a bug report in a couple of clicks. It takes a picture of the 3D view and of the window, and says which car was open and which tab you were on. You can untick either picture, and you can see everything that's sent before you send it. Nothing is sent until you press Send.
  • Crashes: if the app closes because of an error, it offers to send the crash report the next time it opens. If something goes wrong and the app keeps running, it offers a report straight away.
  • Reports go to the Ritual team on Discord. Add your Discord name if you'd like to be asked about it.

Nothing else changes: your settings and per-car dirt settings carry on as they are.

v1.2.1 (New icon)

Choose a tag to compare

@jdev-rtual jdev-rtual released this 24 Oct 01:19

New icon

Ritual Dirt Generator has a new icon to match the other Ritual apps. It replaces the brown splat on purple on the exe, the window and the taskbar.

Nothing else changes: your settings and per-car dirt settings carry on as they are.

If Windows keeps showing the old icon on a shortcut or pinned taskbar button for a while, that's its icon cache. It catches up on its own, or you can pin the app again.

v1.2.0 (Ritual Dirt Generator)

Choose a tag to compare

@jdev-rtual jdev-rtual released this 22 Oct 21:25

FiveM Dirt Map Generator is now Ritual Dirt Generator, with a new look

It now looks and works like the Ritual studios.

  • Start screen. Open a vehicle, or pick one of your recent vehicles. Click the mark at the top left to get back to it, Esc to leave it.
  • Sections on the left. Look (presets, texture size, every generator setting), Parts, Images and Maps: the right panel shows the one you pick instead of one long scroll.
  • One place to save. The generated maps wait in the bar at the bottom of the right panel with Save, Save as…, Also update model_hi.yft and Keep .bak (Ctrl+S still works). The second save button is gone.
  • Fixed: the "not saved yet" marker now actually shows while maps are waiting to be saved.
  • Export PNG… is in Maps.
  • The 3D view has the improvements made for the Ritual studios since 1.1.1.

Your settings and per-car dirt settings carry on as they are, and updates keep coming from the same place.

v1.1.1 (Fix: saved files crashing FiveM)

Choose a tag to compare

@jdev-rtual jdev-rtual released this 19 Oct 20:44

Fix: files saved by this tool could crash FiveM ("Invalid fixup, address is neither virtual nor physical").

Every model and texture dictionary stores how many memory pages it has, and the game builds its page table from those numbers. Saves that changed the page layout left the old numbers in place: shrinking or replacing textures, adding textures, liveries or dirt maps, and generating LODs. The game then rejected the file. Saves now write the correct counts, and a file is only written when its counts check out.

If a file you saved with an earlier version crashes in FiveM, open it and save it again with this version to repair it.

v1.1.0 (New dirt UVs)

Choose a tag to compare

@jdev-rtual jdev-rtual released this 18 Oct 14:22

New dirt UVs for cars whose dirt layout is broken. Many custom cars have dirt UVs that overlap, are mirrored, or are never unwrapped (a collapsed front bumper or bonnet, for example). Those parts got flat, smeared dirt. The generator can now lay them out properly.

  • New Dirt UVs setting in the Texture section: Auto (the default) unwraps only where the existing layout is badly overlapping, New always does, and Keep never does.
  • Applies to parts that read dirt from UV 1 and nothing else: vehicle_paint1, vehicle_mesh, glass, lights and plates. Their UV 0 (paint, normal and spec mapping) is never touched.
  • Each mesh is split into charts of similarly facing triangles, projected flat and packed into a clean atlas, with no overlap and no mirroring. Every LOD is included, the lower ones at lower texel density.
  • On save, the new UVs are written into the meshes. Vertices are duplicated only along the new seams, and the triangles stay the same.
  • The 3D preview shows the new layout straight away, and Also update model_hi.yft unwraps the sibling model too.
  • The map list says when a map uses a new layout and explains why UV 0 parts (vehicle_paint2–7) can't be re-laid out.

Note: unwrapped meshes get new vertex data and the old data stays in the file unused, so the file's virtual memory grows (a 9 MB car went from 7 to 12 MB). GPU memory isn't affected.

v1.0.0 (First release)

Choose a tag to compare

@jdev-rtual jdev-rtual released this 18 Oct 13:33

First release of FiveM Dirt Map Generator: procedural dirt maps for GTA V / FiveM vehicles.

  • Open a .yft and every part whose shader samples a dirt map is listed with the UV set it reads dirt from. Tyres and nodirt parts start unticked.
  • Dirt is projected onto the car (triplanar, by model-space position and normal) and baked into each part's existing dirt UVs, so it runs seamlessly across UV seams.
  • Layers: grime film, road splash, wheel spray, rain streaks, top dust, crevices (ray-traced occlusion), front and rear grime, plus an optional tileable grunge image. Presets: light dust, daily driver, rainy commute, off-road mud, abandoned.
  • Images in the dirt: project pictures or writing from any side. Dirt mode draws them in dirt as the car gets dirty; Clean mode wipes them out of the dirt ("wash me"). Press Place and click the car to put an image where you click.
  • Live GTA-style 3D preview with a dirt-level slider (the game's 0–15), a wet-roads channel and area dirt colours.
  • Save embeds the maps (BC1 with mipmaps) in the vehicle's own texture dictionary and points each part's DirtSampler at them, with an optional .bak. It can update model_hi.yft with the same dirt. Saving again updates the maps in place.
  • Warns when a car's dirt UVs overlap or are mirrored between the left and right sides.

Not tested in-game yet: the preview approximates the game's dirt shading. Requires the .NET 10 Desktop Runtime (x64).