Skip to content

MX Dirt Mod 1.6.0

Choose a tag to compare

@kadenball kadenball released this 13 Nov 05:51
· 4 commits to main since this release

Realistic track wear for MX Bikes (Steam build 23566986).

New in 1.6.0

The dirt is drawn about twice as far

  • Tyre trenches of the soft dirt layer now show to about 30 m ahead of the bike. Before, they faded in only about 12 m ahead, close enough to watch them appear as you rode.
  • Dirt shading (ruts, packed lines, loose and damp soil) now reaches about 95 m ahead and 65 m to the sides. Before it was about 47 m and 34 m.
  • The launcher's Dirt look distance now goes up to 100 m, which is the new default. A settings file that still has the old default (45 / 60) is read as the new default, so you do not need to change anything.
  • This part is new and was checked with offline tests and benchmarks, not yet with long sessions in the game. If something looks wrong far away, lower Dirt look distance in the launcher and please tell me.

Lower frame cost

Measured on an RTX 4050 Laptop; other hardware will differ.

  • Hidden ground is no longer shaded. Ground behind a jump, a bike or a building is rejected before the dirt shader runs. In my benchmark the dirt pass is 20 to 30 % cheaper on jump sections at 1080p.
  • Untouched soft layer costs nothing. Where nobody has ridden, the soft layer's samples are skipped.
  • Less work on the CPU. The look plugin reads the game's height data in place instead of copying it (about 0.45 ms down to 0.2 ms per frame in my rides), and the simulation only converts the heights that changed (0.13 ms down to 0.03 ms).
  • The longer distance is nearly free. The dirt window now scrolls with the camera and only sends what changed, so drawing twice as far adds about 0.05 to 0.2 ms per frame in my benchmark.

Fixes

  • MSAA: the dirt look now works with the game's anti-aliasing switched on. Before, the dirt pass was skipped on a multisampled picture.
  • Finish line: recorded laps are written in the background instead of on the game's thread when you cross the line.
  • The log (plugins\mx_dirt_render.log) now records stutters, the GPU time of the dirt pass and the camera position, which helps when reporting a performance problem.

Both mx_dirt.dlo and mx_dirt_render.dlo changed.

Still experimental: online wear (UNTESTED online)

Online wear from 1.5.0 is unchanged. It has never been run on a real server, it is off by default, and every player needs the mod with the same version and settings. Details: Online wear. If you try it, please send the online_riders line from plugins\mx_dirt.jsonl.

Install / update

  1. Close MX Bikes.
  2. Download MX-Dirt-Mod-1.6.0.zip below and extract it.
  3. Double-click Install.cmd. Your settings are kept on an update.

Manual update: close MX Bikes and copy both .dlo files from the zip's plugins folder into MX Bikes\plugins. Full guide: Manual install.

To remove the mod, close MX Bikes and double-click Uninstall.cmd. Nothing is ever deleted: replaced files go to Documents\PiBoSo\MX Bikes\mx_dirt_mod_backups.

Full guide: see the README. SHA-256 of the plugins is in MX-Dirt-Mod-1.6.0.sha256.txt.