Page 1 of 1
How do you get manialinks to work in packs?
Posted: 06 Jun 2018, 01:17
by Platysynthesis
This is the most frustrating thing ever. I want to add a manialink I've made for my custom title pack for a custom main menu, and it looks something like this:
I put the .xml of that manialink into the title pack's directory and included it within.
Instead, it looks like this in "Edition Mode":
Trying to update the pack afterwards causes the game to crash mid-sequence.
Re: How do you get manialinks to work in packs?
Posted: 06 Jun 2018, 10:05
by Qlex
Hi,
Here are the steps to including the manialink into your title pack :
- Create another textfile called MainMenu.Script.txt which contains something like :
Code: Select all
#RequireContext CManiaAppTitle
main() {
declare Layer = UILayerCreate();
Layer.ManialinkPage = "file://Media/Manialinks/tm_rivals_main_menu.xml";
while(True) {
yield;
}
}
- Replace the ManiaLink entry in the ManiaLink field by "file://ThePathTo/MainMenu.Script.txt"
And this should normally work.
I hope that helps !
Re: How do you get manialinks to work in packs?
Posted: 06 Jun 2018, 20:26
by adamkooo2
Did you include also the menu files (images, fonts, videos, scripts etc.) in your titlepack folder?
Re: How do you get manialinks to work in packs?
Posted: 07 Jun 2018, 04:01
by Platysynthesis
Qlex wrote: ↑06 Jun 2018, 10:05
Hi,
Here are the steps to including the manialink into your title pack :
- Create another textfile called MainMenu.Script.txt which contains something like :
Code: Select all
#RequireContext CManiaAppTitle
main() {
declare Layer = UILayerCreate();
Layer.ManialinkPage = "file://Media/Manialinks/tm_rivals_main_menu.xml";
while(True) {
yield;
}
}
- Replace the ManiaLink entry in the ManiaLink field by "file://ThePathTo/MainMenu.Script.txt"
And this should normally work.
I hope that helps !
Thank you for the help! But I have no idea why this needs to be so freaking complicated. Nadeo needs to do a better job showing us how these things work-- it's supposed to be a platform of
user-generated content, right? Why is there no documentation about this, and why is the existing one so unfinished and cryptic?? It's so frustrating.
adamkooo2 wrote: ↑06 Jun 2018, 20:26
Did you include also the menu files (images, fonts, videos, scripts etc.) in your titlepack folder?
Ah, that's another problem of its own. I've made the interface in TrackMania Canyon, and when I put the assets I wanted into the ManiaPlanet\Media\Images folder, they couldn't be found within the Interface Designer at all. As a bit of a temporary solution, I uploaded them all to puush.me and used their links to be shown in the game.
Re: How do you get manialinks to work in packs?
Posted: 08 Jun 2018, 10:02
by Alinoa
User-generated content has been a priority and sometimes, the creation UIs are not self-explanatory, which requires the use of online tutorials or forums. All reports in that regard like yours are greatly appreciated.
That being said, we worked on improving accessibility by developing the TM / SM title maker:
https://www.maniaplanet.com/titles/TMCanyonMaker@nadeo
Thanks again for your feedback
