ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.15k stars 1.06k forks source link

Trackmania Turbo (375900) #6637

Open jolty1 opened 1 year ago

jolty1 commented 1 year ago

Compatibility Report

System Information

I confirm:

Symptoms

The game comes with an old version of Uplay Launcher that can not connect to Ubisoft servers to self update.

Screenshot_20230322_235937

Reproduction

Launch the game on steam.

Workaround

Copy-in the newer Ubisoft Connect Launcher from Trackmania 2020 from its proton prefix.

Install Trackmania 2020 on Steam, Launch it and Sign into Ubisoft connect. Quit both game and launcher.

Copy ~/.steam/root/steamapps/compatdata/2225070/pfx/drive_c/Program Files (x86)/Ubisoft

Paste ~/.steam/root/steamapps/compatdata/375900/pfx/drive_c/Program Files (x86)/Ubisoft

Write into and replace files.

Game will launch as normal.

Screenshot_20230323_002130

jolty1 commented 1 year ago

Better solution.

Download the latest Ubisoft connect launcher setup file. Save to

~/.steam/root/steamapps/common/Trackmania Turbo/InstallerResources/UbisoftConnectInstaller.exe

Verify integrity of game files from Steam. (So the install script resets)

Edit the install script with text edit

~/.steam/root/steamapps/common/Trackmania Turbo/nstall.vdf

Edit the line from

"process 1" "%INSTALLDIR%\\InstallerResources\\UplayInstaller.exe"

To

"process 1" "%INSTALLDIR%\\InstallerResources\\UbisoftConnectInstaller.exe"

Save and Launch the game.

Bubu commented 9 months ago

There's an easier (in the sense that it doesn't require copying files around and editinng install scripts) workaround if you install protontricks via flathub:

  1. Launch protontricks
  2. Select TM Turbo (for some reason it takes 20-30s for me until proton-/winetricks reopens with the correct wine prefix selected)
  3. Select "Install an Application"
  4. Select Ubisoft Connect. Follow the install instructions.

If this pre-packaged ubisoft connect install script should stop working at some point you can also download the latest installer and run it manually inside the TM turbo wineprefix via protontricks.

For step 3. select "Select the default wine prefix" instead. Then

  1. Select "Run Uninstaller" (Yeah, Uninstaller even though it also installs stuff...)
  2. In the top select "Install"
  3. Select the UbisoftConnect installer you just downloaded. Follow the install instructions.

Done. (Whichever way you followed).