Pack inside a Titlepack

Discuss everything related to custom data creation.

Moderator: NADEO

ziza
Posts: 65
Joined: 29 Mar 2013, 19:18

Pack inside a Titlepack

Post by ziza » 01 Sep 2014, 17:37

Hello,

i've got a small question here:

Is it (in theory) possible to add a pack(with various content, like items) to a titlepack?

If so, how does the Titlepack deal with it, i'm thinking about the autoupdate-function for example:

The RPG titlepack has a huge header due to the number of items included, would a pack inside the titlepack be dealt as one file with one checksum? This way i could reduce header size and "archive" stuff that wont change anymore(like parts of the items, since they are used in dozens of tracks already - we dont want any compatiblity break)

thx in advance, ZiZa

User avatar
Electron
Posts: 791
Joined: 15 Jun 2010, 18:02
Contact:

Re: Pack inside a Titlepack

Post by Electron » 01 Sep 2014, 19:22

Hello ZiZa
ziza wrote:Is it (in theory) possible to add a pack(with various content, like items) to a titlepack?
Yes, the file format of a Title Pack and a normal Maniacredited Package is the same. And it is common to include car skins, models and items stored as *.Pack.Gbx into a Title Pack.
You can stack many packs into each other. But including a pack in itself will force ManiaPlanet to crash...
ziza wrote:If so, how does the Titlepack deal with it, i'm thinking about the autoupdate-function for example:
I have not yet investigated this in detail. But you can use my tool GbxDump (see signature) to indicate all included packs and it's nesting level. Here is a sample output (of a useless test pack):

Code: Select all

File Name:	Test@electron.Title.Pack.Gbx
File Size:	103 KB
File Type:	NadeoPak
------------------------------------------------------------------
Pack Version:	17
Decrypt Flags:	0000000E
Header Size:	00004000 (small)
Author Login:	electron
Author Nick:	$o$i$fa2=RR= E$ffflec$fa2t$fffron (=RR= Electron)
Author Zone:	World|Europe|Germany|Nordrhein-Westfalen|Dortmund
Manialink:	Electron
Creation Date:	2014-05-12 19:35:54
Title ID:	Test@electron
Pack Type:	TitlePack
Build Info:	date=2014-05-02_17_39 Svn=56327 GameVersion=3.3.0
------------------------------------------------------------------
Included Packs:	5
..................................................................
Pack Name:	Test
Author Login:	electron
Author Nick:	$o$i$fa2=RR= E$ffflec$fa2t$fffron (=RR= Electron)
Author Zone:	World|Europe|Germany|Nordrhein-Westfalen|Dortmund
Manialink:	Electron
Creation Date:	2014-05-12 19:35:53
Pack Name:	Test
Nesting Level:	0
..................................................................
Pack Name:	Raving Rabbids Cart
Author Login:	maniastudio
Author Nick:	maniastudio
Author Zone:	World|France|Ile-de-France|Paris
Manialink:	maniaplanet-shop
Creation Date:	2012-01-26 14:49:33
Pack Name:	Raving Rabbids Cart
Nesting Level:	1
..................................................................
Pack Name:	Test@electron
Author Login:	electron
Author Nick:	$o$i$fa2=RR= E$ffflec$fa2t$fffron (=RR= Electron)
Author Zone:	World|Europe|Germany|Nordrhein-Westfalen|Dortmund
Manialink:	Electron
Creation Date:	2014-05-11 21:59:19
Pack Name:	Test@electron
Nesting Level:	1
..................................................................
Pack Name:	Test
Author Login:	electron
Author Nick:	$o$i$fa2=RR= E$ffflec$fa2t$fffron (=RR= Electron)
Author Zone:	World|Europe|Germany|Nordrhein-Westfalen|Dortmund
Manialink:	Electron
Creation Date:	2014-05-11 21:59:18
Pack Name:	Test
Nesting Level:	2
..................................................................
Pack Name:	Highway Patrol
Author Login:	electron
Author Nick:	$w$o$i$fa2=RR= $mE$ffflec$fa2t$fffron (=RR= Electron)
Author Zone:	World|Germany|Nordrhein-Westfalen|Dortmund
Creation Date:	2011-10-04 06:20:36
Pack Name:	Highway Patrol
Nesting Level:	1
------------------------------------------------------------------
Das ist ein Test
------------------------------------------------------------------
<header type="pack" exever="3.3.0" exebuild="2014-05-02_17_39">
<ident uid="Test@electron" author="electron" authorzone="World|Europe|Germany|Nordrhein-Westfalen|Dortmund" creationdate="2014-05-12-19-35-54"/>
<desc type="TitlePack" manialink="Electron" downloadurl="">Das ist ein Test</desc>
</header>
==================================================================
ziza wrote:The RPG titlepack has a huge header due to the number of items included, would a pack inside the titlepack be dealt as one file with one checksum?
It looks like. I created an empty new Test Title Pack and included the big RPG Title Pack. Here the output of GbxDump:

Code: Select all

File Name:	Test.Title.Pack.Gbx
File Size:	203 MB
File Type:	NadeoPak
------------------------------------------------------------------
Pack Version:	17
Decrypt Flags:	00000006
Header Size:	00004000 (small)
Author Login:	electron
Author Nick:	$o$i$fa2=RR= E$ffflec$fa2t$fffron (=RR= Electron)
Author Zone:	World|Europe|Germany|Nordrhein-Westfalen|Dortmund
Manialink:	Electron
Creation Date:	2014-09-01 18:17:20
Title ID:	Test@electron
Pack Type:	TitlePack
Build Info:	date=2014-07-25_19_33 Svn=57716 GameVersion=3.3.0
------------------------------------------------------------------
Included Packs:	1
..................................................................
Pack Name:	RPG
Author Login:	tmrpg
Author Nick:	tmrpg
Author Zone:	World|Europe|Other Countries
Manialink:	TrackmaniaRPG
Creation Date:	2014-05-06 19:56:45
Pack Name:	RPG
Nesting Level:	0
------------------------------------------------------------------
Test Title Pack.
------------------------------------------------------------------
<header type="pack" exever="3.3.0" exebuild="2014-07-25_19_33">
<ident uid="Test@electron" author="electron" authorzone="World|Europe|Germany|Nordrhein-Westfalen|Dortmund" creationdate="2014-09-01-18-17-20"/>
<desc type="TitlePack" manialink="Electron" downloadurl="">Test Title Pack.</desc>
</header>
==================================================================
As you can see, the Max Header Size value is only 16 KB (small).
Image
TM²: TrackMania Telemetry Monitor version 1.2.2

ziza
Posts: 65
Joined: 29 Mar 2013, 19:18

Re: Pack inside a Titlepack

Post by ziza » 01 Sep 2014, 21:14

Hey!

WOW, that's what i call an answer! Thank you so much for that detailed analysis.

So i will probably create "sub-packs" in the future to cut down on header size, making incremental updates faster. This will also help keeping compatibility when i do major updates to the items, i'll just keep the old ones as "backup"
Thanks again for the help :)

ZiZa

emmanuel19
Posts: 206
Joined: 19 Jun 2013, 07:41

Re: Pack inside a Titlepack

Post by emmanuel19 » 21 May 2020, 19:15

Hello !
The titlepack is included, but how can I access it ? Items do not appear in the editor ... Is there anything to write in the .xml file?

User avatar
Electron
Posts: 791
Joined: 15 Jun 2010, 18:02
Contact:

Re: Pack inside a Titlepack

Post by Electron » 25 May 2020, 20:53

emmanuel19 wrote:
21 May 2020, 19:15
Items do not appear in the editor ... Is there anything to write in the .xml file?
What method do you use to create the title pack?

With the old legacy method (Left pop-up menu -> Options -> Edit Packs) it should work.

If you are using a Title Maker, here is the explanation why it does not work:
https://forum.maniaplanet.com/viewtopic ... 59&t=45665

emmanuel19
Posts: 206
Joined: 19 Jun 2013, 07:41

Re: Pack inside a Titlepack

Post by emmanuel19 » 26 May 2020, 09:37

Thank you for your reply, I will try soon! :thumbsup:

emmanuel19
Posts: 206
Joined: 19 Jun 2013, 07:41

Re: Pack inside a Titlepack

Post by emmanuel19 » 29 May 2020, 15:25

Hi !
(Left pop-up menu -> Options -> Edit Packs) That's what I did but I don't see the RPG maps locally and when I want to open them with the editor the game tells me that Items are missing ...

C'est ce que j'ai fait mais je ne vois pas les maps RPG en local et quand je veux les ouvrir avec l'éditeur le jeu m'indique qu'il manque tout les items...

User avatar
Miss
Posts: 2110
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: Pack inside a Titlepack

Post by Miss » 30 May 2020, 12:07

Please stick to English in this forum, thanks! :thumbsup:
1070 GTX, Ryzen 3700X, 16GB RAM, Windows 10
Forum moderator, opinions are my own. :thx:
Check out Image openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream on Twitch and tweet on Twitter.

emmanuel19
Posts: 206
Joined: 19 Jun 2013, 07:41

Re: Pack inside a Titlepack

Post by emmanuel19 » 30 May 2020, 12:42

Hi ! :D :D :D
I don't know if electron and english or french ....
You also post in English on the French forum ! :clap:
https://forum.maniaplanet.com/viewtopic ... 26&t=46629
What I need is an answer! :thumbsup:

User avatar
Miss
Posts: 2110
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: Pack inside a Titlepack

Post by Miss » 30 May 2020, 12:55

emmanuel19 wrote:
30 May 2020, 12:42
You also post in English on the French forum ! :clap:
I try not to :P Touche, though :P
1070 GTX, Ryzen 3700X, 16GB RAM, Windows 10
Forum moderator, opinions are my own. :thx:
Check out Image openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream on Twitch and tweet on Twitter.

Post Reply

Return to “Title Pack & Custom Data Creation”

Who is online

Users browsing this forum: No registered users and 2 guests