Autosave Ghosts (Playable Replays; works online)

A plugin by XertroV(Trusted developer)

Autosave Ghosts (Playable Replays; works online)
Downloads 935
Updated 8 months ago
Released 1 year ago
Created 1 year ago
Numeric ID 268
Game Trackmania

Autosave Ghosts

This plugin requires MLHook -- you must install that, too.

This plugin will autosave a playable .Replay.gbx file for all ghosts that you generate, even in online servers. This includes runs that are not PBs, but the run must be completed (it does not save partial runs). To save partial runs (that aren't able to be played against), see Autosave Replays for MediaTracker.

Works in:

  • Ranked
  • COTD Quali and KO
  • Local campaign (note: was previously unreliable, please report any bugs; if you need an alternate solution, see Replay Recorder)

Does not work in:

  • Royal

Save path: Trackmania\Replays\AutosavedGhosts\<MapName>\<Date>-<MapName>-<Nickname>-<RaceTime>.Replay.gbx

How it works: When you complete a run, even in online servers, a ghost is generated in app.Network.ClientManiaAppPlayground.DataFileMgr.Ghosts. Calling app.Network.ClientManiaAppPlayground.DataFileMgr.Replay_Save on these ghosts will generate a valid replay (valid meaning: there is 1 ghost and you can is it via 'Play > Local > Against Replay'). AFAIK, you can't save these ghosts using DataFileMgr.Replay_Save from AngelScript. (Actually, I think you can; a future version will be refactored to do this.) If you call DataFileMgr.Save_Replay from ManiaLink, then it does generate a playable replay. This plugin automatically detects new ghosts, filters out duplicates (like your PB ghost) and external ghosts (e.g., the WR ghost), and saves the remaining ghosts.

Propz to @Orange for asking the question that lead to this plugin: ghost CP times in MLFeed.

License: Public Domain

Authors: XertroV

Suggestions/feedback: @XertroV on Openplanet discord




0.3.5 - 8 months ago

Don't save ghosts for Archivist game modes.

0.3.4 - 11 months ago

Add support for validation replays

0.3.3 - 11 months ago

Add a compact mode for the MenuBar item where it appears on the right (near the clock) and optionally blinks. (Thanks @MisfitMaid for the PR!)

View all changelogs