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
Pack inside a Titlepack
Moderator: NADEO
Re: Pack inside a Titlepack
Hello ZiZa
You can stack many packs into each other. But including a pack in itself will force ManiaPlanet to crash...
As you can see, the Max Header Size value is only 16 KB (small).
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.ziza wrote:Is it (in theory) possible to add a pack(with various content, like items) to a titlepack?
You can stack many packs into each other. But including a pack in itself will force ManiaPlanet to crash...
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):ziza wrote:If so, how does the Titlepack deal with it, i'm thinking about the autoupdate-function for example:
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>
==================================================================
It looks like. I created an empty new Test Title Pack and included the big RPG Title Pack. Here the output of GbxDump: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?
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>
==================================================================
Re: Pack inside a Titlepack
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
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
-
- Posts: 210
- Joined: 19 Jun 2013, 07:41
Re: Pack inside a Titlepack
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?
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?
Re: Pack inside a Titlepack
What method do you use to create the title pack?emmanuel19 wrote: ↑21 May 2020, 19:15Items do not appear in the editor ... Is there anything to write in the .xml file?
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
-
- Posts: 210
- Joined: 19 Jun 2013, 07:41
Re: Pack inside a Titlepack
Thank you for your reply, I will try soon!
-
- Posts: 210
- Joined: 19 Jun 2013, 07:41
Re: Pack inside a Titlepack
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...
(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...
Re: Pack inside a Titlepack
Please stick to English in this forum, thanks!
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.
Forum moderator, opinions are my own.
Check out openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
-
- Posts: 210
- Joined: 19 Jun 2013, 07:41
Re: Pack inside a Titlepack
Hi !
I don't know if electron and english or french ....
You also post in English on the French forum !
https://forum.maniaplanet.com/viewtopic ... 26&t=46629
What I need is an answer!
I don't know if electron and english or french ....
You also post in English on the French forum !
https://forum.maniaplanet.com/viewtopic ... 26&t=46629
What I need is an answer!
Re: Pack inside a Titlepack
I try not to Touche, though
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.
Forum moderator, opinions are my own.
Check out openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
Who is online
Users browsing this forum: No registered users and 0 guests