Don't save ghosts for Archivist game modes.
Downloads | 1,219 |
---|---|
Updated | 2 years ago |
Released | 2 years ago |
Created | 2 years ago |
Numeric ID | 268 |
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:
Does not work in:
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 (Actually, I think you can; a future version will be refactored to do this.)
If you call DataFileMgr.Replay_Save
from AngelScript.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
Code/issues: https://github.com/XertroV/tm-autosave-ghosts
GL HF
Don't save ghosts for Archivist game modes.
Add support for validation replays
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!)