In addition I was looking at the 'TM2 United Forever' title by adamkooo, and here are a few things I stumbled upon:
If using url='#campaign=PlatformA1@TM2UF@adamkooo' to start a map, pay attention that the map is searched by name from the campaigns. If the map is duplicated in several campaign folders it may not use the one you expect.
The title displays the maps in a fully custom manialink, with a explicit list of the maps. If this menu list doesn't match the files in the campaign folder (say, the menu displays MapA1, MapA2, .... whereas there's a MapA0 in the campaign folder) when trying to load 'MapA1' it will say that the map is locked: because it's the second map in the series.
the CScoreMgr API is 'not perfect'... The UserId arguemnt to most functions is not the 'LocalUser.Id'. (it's a left over from the TM Turbo console version) Just use NullId...
Pay attention that ScoreMgr is not available when a manialink page is open 'out of context' in the manialinkbrowser. It must be the main menu page or a layer of the CManiaAppTitle.
3080 RTX, Ryzen 3700X, 32GB RAM, Windows 11
Forum moderator, opinions are my own.
Check out openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.