Convert a TrackMania Nations Forever (TMNF) or TrackMania United Forever (TMUF) .Ghost.Gbx file into a MediaTracker .Clip.Gbx you can import into the replay editor in-game.
This is useful for ghosts downloaded from the UnitedLadder leaderboards.
Built with GBX.NET.
- .NET 8 SDK
- A TMNF or TMUF ghost file (
.Ghost.Gbx)
git clone git@github.com:ethan-xd/GbxGhostToClip.git
cd GbxGhostToClip
dotnet restoreRelease build:
dotnet build -c ReleaseThe executable is written to:
bin/Release/net8.0/GbxGhostToClip.exe
Optionally, publish a folder you can copy elsewhere (requires .NET 8 runtime on the target machine):
dotnet publish -c Release -r win-x64 --self-contained false -o publishGbxGhostToClip.exe <path-to-ghost.Ghost.Gbx>Examples:
# From build output
.\bin\Release\net8.0\GbxGhostToClip.exe "C:\path\to\ghost.Ghost.Gbx"
# During development
dotnet run -c Release -- "C:\path\to\ghost.Ghost.Gbx"The clip is saved in the current working directory with a name like:
a1b2c3d4_PlayerLogin_(0'12''34).Clip.Gbx
Where the first UID is the challenge UID.
If that file already exists, a numeric suffix is appended (...1.Clip.Gbx, ...2.Clip.Gbx, etc.).
- Open an existing replay driven on the same challenge in the replay editor.
- Import the generated
.Clip.Gbx. - The ghost block should appear on the track timeline.