MTGhosts for Motor Town
=======================

Lap ghosts for the Jeju race tracks (not the drag strip). Drive a lap and your best lap per track and car uploads
to ghosts.rewuschel.de. Then race the ghosts of other players: they drive their lap as see-through cars next to you,
and the gap to each shows at the top right.

Leaderboards and downloads: https://ghosts.rewuschel.de


INSTALL
-------
1. In Steam, right-click Motor Town > Manage > Browse local files.
2. Open MotorTown\Binaries\Win64 (the folder with MotorTown-Win64-Shipping.exe).
3. Open the zip, select everything inside, and copy it into that Win64 folder.
   Careful with "Extract All": Windows then makes an extra folder named after the zip and the mod does nothing.
   With the full zip, dwmapi.dll must sit right next to MotorTown-Win64-Shipping.exe.
4. Start the game.

Already run UE4SS mods? Take the small zip (or copy only Mods\MTGhosts out of the full one): the full zip
replaces your UE4SS files. Your Mods\mods.txt is never touched: Mods\MTGhosts\enabled.txt switches the mod on.
MTMods users: put "MTGhosts = 1" in Mods\MTMods\plugins.ini to rebind the key in the F1 window. The standalone copy
then stays off by itself, so it never runs twice.

On Linux with Proton the same steps apply. If the mod does not load, set the Steam launch options to:
  WINEDLLOVERRIDES="dwmapi=n,b" %command%


USE
---
- Drive a lap on a Jeju race track (time attack, or a time attack event on a server).
  Your best lap uploads, and your own ghost races you from the next lap.
- Ctrl+G opens the ghost window: top times by car. Pick up to 5 ghosts to race and give each a head start of up to
  +-2 s. "Full board" shows every track.
- The play button on a row watches a ghost: a camera follows it, with a timeline to play, pause, scrub and change speed.
- Ghost opacity, name tags and tag size are set at the bottom of the window.
- Passengers see the ghosts their driver races.


UPDATES
-------
When a new version is out, the ghost window shows it with an Install button. It downloads the new files from
ghosts.rewuschel.de, and the new version runs from the next game start. Or download the zip again and copy it over:
Mods\MTGhosts\data keeps your laps, picks and upload key.


PRIVACY
-------
Uploads carry your Steam name and Steam ID. Mods\MTGhosts\data\token.txt is your upload key: never share it.


IF SOMETHING GOES WRONG
-----------------------
Send Mods\MTGhosts\out.txt and UE4SS.log (next to the exe). A game update can stop UE4SS or the mod from working.
To remove the mod, delete Mods\MTGhosts. The full zip also added dwmapi.dll, UE4SS.dll, UE4SS-settings.ini,
UE4SS_Signatures and UE4SS-LICENSE.txt.


CREDITS
-------
Tested and co-developed by [FSR]omnihil and Midna. Thanks!
UE4SS (github.com/UE4SS-RE/RE-UE4SS), MIT licence, see UE4SS-LICENSE.txt. Build 3.0.1-1188-gf885e8d2.
