Skip to content

MX Dirt Mod 1.7.1

Choose a tag to compare

@kadenball kadenball released this 17 Nov 03:48
· 2 commits to main since this release

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

New in 1.7.1

Stutter while riding: fixed

Thanks to everyone who reported frame drops, including with dirt shading switched off. They came from the simulation plugin, not the look.

Every time a piece of worn track was handed to the game, the mod re-checked the whole track's height data for consistency, several times over. On a full-size track that is tens of megabytes per check, about 30 times a second while riding. It cost roughly 30 % of the game's main thread and caused one long frame per hand-over.

The checks now look at a small, rotating part of the track each time. Every part is still checked within about two seconds, and anything about the pieces being handed over is still checked in full.

In my rides (RTX 4050 Laptop):

Before After
Frames over 20 ms while riding 11 per second 0.1 per second
Median fps while riding 97 115

The two rides were on different tracks, so the fps comparison is rough; the drop in long frames is the main result. mx_dirt.dlo changed. If it still stutters for you, see Troubleshooting and send both log files.

The "box" of different-looking ground around the bike

  • The soft dirt layer changed the look of all ground within about 25 m of the bike, even where nobody had ridden. That showed as a square of different-looking ground following you. Ground nobody rode now keeps the game's own look; only soil the tyres moved looks loose.
  • The dirt shading on worn ground ended at the edge of a square window around the bike over just 8 m. It now fades out over 12 to 25 m, depending on the track.
  • I checked this in offline tests, not yet in long sessions in the game. If you still see a box, please post a screenshot.

Other changes

  • Soft dirt height (new launcher slider, applies live): how high the loose top soil sits above the game's ground. If ruts seem to slide when you look at them up close (fender camera, replays), try lowering it. At 0, ground nobody rode looks exactly as without the mod. The default (100) keeps the 1.7.0 look.
  • Roost clods fade in gradually instead of appearing a few metres ahead.
  • The uninstaller finds MX Bikes in any Steam library (games on another drive), and asks for the folder if it still can't find it.
  • New settings in mx_dirt.ini, section [terrain]: batch_tiles and send_interval_ms. They set how worn track is handed to the game; the defaults match 1.7.0. A new terrain_timing line in plugins\mx_dirt.jsonl shows how long the game spent on it.

Still experimental: online wear (UNTESTED online)

Online wear is unchanged and still off by default. It has never been run on a real server. Every player needs the mod with the same version and settings. Details: Online wear.

Install / update

  1. Close MX Bikes.
  2. Download MX-Dirt-Mod-1.7.1.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, and the launcher files over plugins\mx_dirt_launcher. 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.7.1.sha256.txt.