Title packs documentation

Discuss everything related to custom data creation.

Moderator: NADEO

User avatar
steeffeen
Translator
Translator
Posts: 2472
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: Title packs

Post by steeffeen » 15 Dec 2013, 13:48

darmaya wrote:how i do include A LOT of objects in a title
without adding manually one by one?
use the folders tag in the xml :)
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks

    User avatar
    spaii
    Posts: 1085
    Joined: 19 Jun 2010, 00:04
    Location: Rémy - France
    Contact:

    Re: Title packs

    Post by spaii » 15 Dec 2013, 15:18

    There is ManiaPlanetTitle.xml from Valley Stunters :

    Code: Select all

    <?xml version="1.0" encoding="utf-8" ?>
    <maniaplanet_title version="2">
    	<id>ValleyStunters@spaii</id>
    	<name>$i$s$360$oValley$fffStunters</name>
    	<desc>$360$o$w$sStunts on TM² Valley</desc>
    	<url>Stunters</url>
    	<base>TMValley</base>
    	<packaging>
    		<image name="PackImage.jpg" />
    		<logos name="Logos.png" />
    		<collection>Stunters</collection>
    		<sortindex>100</sortindex>
    		<station_manialink url="http://manialink.stunters.org/station.php?enviro=TMValley" />
    		<boxcase_manialink url="" />
    	</packaging>
    	<menu>
    		<background_image name="" />
    		<background_replay name="" />
    		<header name="" />
    		<music name="" />
    		<manialink url="file://Media\Manialinks\home.xml" />
    		<color rgba="" />
    	</menu>
    	<music folder="" />
    	<editor>
    		<maptype name="MapTypes\TrackMania\Stunters.Script.txt" />
    		<simple_editor_map name="" />
    	</editor>
    	<solo>
    		<medals>0</medals>
    		<!-- either campaign or playlist-->
    		<mode name="Modes\TrackMania\Stunters_Solo.Script.txt" />
    		<campaign folder="" />
    		<playlist name="" />
    	</solo>
    	<network>
    		<mode name="Modes\TrackMania\Stunters.Script.txt" />
    		<playlist name="" />
    	</network>
    	<splitscreen>
    		<mode name="" />
    		<playlist name="" />
    	</splitscreen>
    	<files>
    		<file name="Media\Manialinks\TMValleyStuntersVersion.xml" public="false" internal="false" />
    		<file name="Media\Manialinks\home.xml" public="false" internal="false" />
    		<file name="Media\Images\Stunters\slash.png" public="false" internal="true" />
    		<file name="Media\Images\Stunters\tab.png" public="false" internal="true" />
    		<file name="Media\Images\Stunters\moins.png" public="false" internal="true" />
    		<file name="Media\Images\Stunters\plus.png" public="false" internal="true" />
    		<file name="Media\Images\Stunters\droite.png" public="false" internal="true" />
    		<file name="Media\Images\Stunters\gauche.png" public="false" internal="true" />
    		<file name="Media\Images\Stunters\bas.png" public="false" internal="true" />
    		<file name="Media\Images\Stunters\haut.png" public="false" internal="true" />
    		<file name="Packs\ValleyStunters@spaii\Menu.Manialink3dStyle.xml" public="false" internal="true" />
    	</files>
    	<folders>
    		<folder name="Items\Valley\10-Signs\" public="false" internal="false" />
    		<folder name="Items\Valley\20-Buildings\" public="false" internal="false" />
    		<folder name="Items\Valley\90-Arena\" public="false" internal="false" />
    	</folders>
    	<mod name="" />
    	<title_version></title_version>
    	<gameplay_features>0</gameplay_features>
    	<menu_style name="Menu.Manialink3dStyle.xml" />
    	<PlayerItemId></PlayerItemId>
    </maniaplanet_title>
    Use <folder> tag.
    Beware with items, they are ordered in descending order ;)
    Then if you want to order your items, simply name your first 90-xxxx, second 80-xxx etc...

    User avatar
    darmaya
    Posts: 206
    Joined: 08 Sep 2011, 14:20

    Re: Title packs

    Post by darmaya » 15 Dec 2013, 15:23

    @steffeen :)
    as soon i edit the xml, and i update the Title page,
    it clear the modified .xml and load a basic version.
    This oblige to re-clear the cache, delete another file,
    and try again.
    When this fail, you should start another title, with inestricable problems of naming,
    and finally you got the same result: nothing.

    This is the bit of code i use for folder inclusion
    (i never found an explicit explanation of this,
    i know by magic, nor i know if i have to do the same with the included \Texture folder)

    Code: Select all

    <file><folder name="\Blocks\Canyon\8-Surfaces" public="false" internal="false" />
    Maybe i miss a backslash? an apice? a stupid double quote?

    I know that this is the OLD structure,
    and now static items goes in \Items,
    but when i started to build this title, things was different,
    and i suppose (maybe there is my "stupidity") that it should work even now.
    It's hard to desume that the app despise the \Blocks instead of \Items,
    but it's possible.

    This apart,
    i re-state all what i said:
    the Title procedure is an esotheric acid trip.
    A BAD one.
    -------
    @hackie :)
    Yes, me too i was frequently saved by good mates,
    but more frequently i have to renounce to original ideas,
    and resign on common workaround.
    Or even pull away the whole disgusting mess i created.
    ----
    Ohhhh 1 Spaii :)
    the problem was that i used
    <Files>
    instead of <folders>...
    But i'm crazy or this is undocumented at all?
    ---
    well, stop complaining,
    this 3 mates gave me the sense of this forum.
    Forget my rant,
    keep going, in some way...
    Peace and love
    :):):)
    Image

    User avatar
    spaii
    Posts: 1085
    Joined: 19 Jun 2010, 00:04
    Location: Rémy - France
    Contact:

    Re: Title packs

    Post by spaii » 15 Dec 2013, 15:57

    darmaya wrote:This is the bit of code i use for folder inclusion
    (i never found an explicit explanation of this,
    i know by magic, nor i know if i have to do the same with the included \Texture folder)

    Code: Select all

    <file><folder name="\Blocks\Canyon\8-Surfaces" public="false" internal="false" />
    Attention !! You include a folder inside a file tag ;)
    You can't do that : <file><folder></folder></file>

    You could look at some precisions here : http://wiki.maniaplanet.com/en/Title_Pack

    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2472
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: Title packs

    Post by steeffeen » 15 Dec 2013, 16:06

    darmaya wrote:as soon i edit the xml, and i update the Title page,
    it clear the modified .xml and load a basic version.
    edit the xml while maniaplanet is closed
    the client caches pretty much everything and won't recognize the changes otherwise

    btw the default xml already has the <folders> tag included
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks

      hackie
      Posts: 1064
      Joined: 19 Jul 2012, 22:43

      Re: Title packs

      Post by hackie » 15 Dec 2013, 16:07

      darmaya wrote:
      well, stop complaining,
      this 3 mates gave me the sense of this forum.
      Forget my rant,
      keep going, in some way...
      Peace and love
      :):):)
      Ye , merry christmas :pil :roflol:
      System Specs:
      OS: Windows 7 Professionnal x64
      CPU: Intel Core i7-6700K / 4 GHz - 8 MB cache
      GPU: MSI GTX 980TI GAMING 6G - OC Edition
      Motherboard: ASUS MAXIMUS VIII RANGER
      RAM : 32Gb Kingston HyperX Savage - DDR4
      DirectX 11

      User avatar
      darmaya
      Posts: 206
      Joined: 08 Sep 2011, 14:20

      Re: Title packs

      Post by darmaya » 15 Dec 2013, 17:47

      Thanks to the Spaii's xml
      and to Steeffen's warning,
      it seems I got the result:

      What i've done:
      1) I copied the whole spaii's xml and i edited, according to my needs (while MP is closed)

      Code: Select all

      <files>
      		<file name="Media\Images\PackImage.jpg" public="false" internal="true" />
      	</files>
      	<folders>
      		<folder name="Blocks\Canyon\Arrows\frecceV\" public="false" internal="false" />
      		<folder name="Blocks\Canyon\8-Surfaces" public="false" internal="false" />
      		<folder name="Blocks\Canyon\Pack_Turbo\" public="false" internal="false" />
      		<folder name="Skins\Models\CanyonCars\" public="false" internal="false" />
      	</folders>
      2) i launched MP and the script was easily read by Title app
      I edited, loaded and resaved (this time he recongnize the xml and loaded correctly, that means that i has a bad-written code)
      3) Exit, delete the original Blocks folders, relaunch and install title:
      Fine.

      Let's see if it works in another account....
      Thanks to all... :D
      Image

      User avatar
      rycardoo
      Translator
      Translator
      Posts: 144
      Joined: 05 Apr 2011, 20:37
      Location: Portugal - Faro
      Contact:

      Re: Title packs

      Post by rycardoo » 11 Jan 2014, 09:52

      There are some examples of menu titlePack?
      A big help would be to observe the files and help build your own menu for your title :thumbsup:
      ImageImage

      User avatar
      darkpuddle1
      Posts: 285
      Joined: 10 Sep 2011, 11:21
      Contact:

      Re: Title packs

      Post by darkpuddle1 » 02 Apr 2014, 19:59

      I've spent like 3 days trying to figure this out.
      I've added custom objects to my .xml file use the <folder> tag but I still get the 'no objects' available message.

      Here is the .xml

      Code: Select all

      <?xml version="1.0" encoding="utf-8" ?>
      <maniaplanet_title version="2">
      	<id>StadiumPlatform@darkpuddle_</id>
      	<name>StadiumPlatform</name>
      	<desc>A new addition to Stadium - over 20 new platform blocks for you to enjoy. Fun ideas and new physics with some of the blocks!</desc>
      	<url></url>
      	<base>TMStadium</base>
      	<packaging>
      		<image name="PackImage.jpg" />
      		<logos name="Logos.png" />
      		<collection></collection>
      		<sortindex>100</sortindex>
      		<station_manialink url="" />
      		<boxcase_manialink url="" />
      	</packaging>
      	<menu>
      		<background_image name="MenuBg.jpg" />
      		<background_replay name="" />
      		<header name="MenuHeader.png" />
      		<music name="" />
      		<manialink url="" />
      		<color rgba="" />
      	</menu>
      	<music folder="" />
      	<editor>
      		<maptype name="" />
      		<simple_editor_map name="" />
      	</editor>
      	<solo>
      		<medals>0</medals>
      		<!-- either campaign or playlist-->
      		<mode name="" />
      		<campaign folder="" />
      		<playlist name="" />
      	</solo>
      	<network>
      		<mode name="" />
      		<playlist name="" />
      	</network>
      	<splitscreen>
      		<mode name="" />
      		<playlist name="" />
      	</splitscreen>
      	<files />
      	<mod name="" />
      	<title_version></title_version>
      	<PlayerItemId></PlayerItemId>
      	<gameplay_features>0</gameplay_features>
      	<menu_style name="" />
      	<folders>
      		<folder name="Items\StadiumExtra\Misc\" public="true" internal="true" />
      		<folder name="Items\StadiumExtra\Ramps\" public="true" internal="true" />
      		<folder name="Items\StadiumExtra\DirtBlocks\" public="true" internal="true" />
      		<folder name="Items\StadiumExtra\GrassBlocks\" public="true" internal="true" />
      	</folders>
      </maniaplanet_title>
      
      As you can see I have added the folders with all my items with their textures.
      what am I doing wrong. I sent the titlepack to some people and they had the same problem

      when the title pack download it comes out to about 150mb, so what is it downloading when apparently no objects are being shown?
      YouTube | Tm-Tube | Facebook
      Trackmania video editor since 2009.

      Image

      User avatar
      OrecaShadow
      Posts: 325
      Joined: 11 Oct 2013, 19:55
      Location: Germany
      Contact:

      Re: Title packs

      Post by OrecaShadow » 02 Apr 2014, 20:08

      Code: Select all

      <?xml version="1.0" encoding="utf-8" ?>
      <maniaplanet_title version="2">
      	<id>StadiumPlatform@darkpuddle_</id>
      	<name>StadiumPlatform</name>
      	<desc>A new addition to Stadium - over 20 new platform blocks for you to enjoy. Fun ideas and new physics with some of the blocks!</desc>
      	<url></url>
      	<base>TMStadium</base>
      	<packaging>
      		<image name="PackImage.jpg" />
      		<logos name="Logos.png" />
      		<collection></collection>
      		<sortindex>100</sortindex>
      		<station_manialink url="" />
      		<boxcase_manialink url="" />
      	</packaging>
      	<menu>
      		<background_image name="MenuBg.jpg" />
      		<background_replay name="" />
      		<header name="MenuHeader.png" />
      		<music name="" />
      		<manialink url="" />
      		<color rgba="" />
      	</menu>
      	<music folder="" />
      	<editor>
      		<maptype name="" />
      		<simple_editor_map name="" />
      	</editor>
      	<solo>
      		<medals>0</medals>
      		<!-- either campaign or playlist-->
      		<mode name="" />
      		<campaign folder="" />
      		<playlist name="" />
      	</solo>
      	<network>
      		<mode name="" />
      		<playlist name="" />
      	</network>
      	<splitscreen>
      		<mode name="" />
      		<playlist name="" />
      	</splitscreen>
      	<files />
      	<mod name="" />
      	<title_version></title_version>
      	<PlayerItemId></PlayerItemId>
      	<gameplay_features>0</gameplay_features>
      	<menu_style name="" />
      	<folders>
      		<folder name="Items\StadiumExtra\Misc" public="true" internal="true" />
      		<folder name="Items\StadiumExtra\Ramps" public="true" internal="true" />
      		<folder name="Items\StadiumExtra\DirtBlocks" public="true" internal="true" />
      		<folder name="Items\StadiumExtra\GrassBlocks" public="true" internal="true" />
      	</folders>
      </maniaplanet_title>
      

      Try this out, simply change in the folder code ending

      Post Reply

      Return to “Title Pack & Custom Data Creation”

      Who is online

      Users browsing this forum: No registered users and 1 guest