Page 1 of 1

[TP Update] Auto-update doesn't work

Posted: 23 Jun 2015, 13:16
by Darkminus
Hi!

I'm going to release an update of my Arena Duel Titlepack. However when I update the pack, it doesn't prompt me to upload it on the cloud.If I upload it on my webserver, clients who already have the titlepack don't download the update.

That's a real problem, I can't make this work....

One thing to know is that I lost all my pack files before the last PGW. So I had to recreate a ManiaPlanetTitle.xml etc... Another thing is that the place where the titlepack was stored changed (In reality, only the domain name changed..)

Any idea? I REALLY want to update my titlepack and creating another titlepack to replace the current one is not a possibility.

Note : I've got no .webm files in my titlepack. It doesn't comes from this in my case (as I read on some other topics ^^)

EDIT: Here's a copy of my ManiaplanetTitle.xml. Hope it will help

Code: Select all

<maniaplanet_title version="2">
	<id>Interface@darkminus</id>
	<name>ArenaDuel</name>
	<desc>$fffShootMania $66fArena Duel $fffby Law.</desc>
	<url>Interface</url>
	<download_url>http://darkminus.net/title/Interface.Title.Pack.Gbx</download_url>
	<title_version></title_version>
	<allowed_client_title_version></allowed_client_title_version>
	<base>SMStorm</base>
	<player_model></player_model>
	<scriptcloud_enabled>false</scriptcloud_enabled>
	<limit_camera_fov>false</limit_camera_fov>
	<unlock_features>0</unlock_features>
	<packaging>
		<image name="darkwood.jpg"/>
		<logos name="logos.png"/>
		<collection></collection>
		<sortindex>100</sortindex>
		<station_manialink url=""/>
		<station_noquickenter>true</station_noquickenter>
		<boxcase_manialink url=""/>
	</packaging>
	<menu>
		<background_img name="darkwood.jpg"/>
		<background_replay name=""/>
		<header name="MenuHeader.png"/>
		<music name=""/>
		<manialink url=""/>
	</menu>
	<menu_style name=""/>
	<solo>
		<mode name=""/>
		<playlist name=""/>
		<campaign folder=""/>
		<medals>-1</medals>
		<datapack name=""/>
	</solo>
	<network>
		<mode name=""/>
		<playlist name=""/>
	</network>
	<splitscreen>
		<mode name=""/>
		<playlist name=""/>
	</splitscreen>
	<editor>
		<maptype name=""/>
		<simple_editor_map name=""/>
		<internalitems/>
	</editor>
	<music folder=""/>
	<mod name=""/>
	<files>
		<file name="Scripts\Modes\ShootMania\ArenaDuel.Script.txt" public="false" internal="false"/>
		<file name="Scripts\Libs\Law\LawST2.Script.txt" public="false" internal="false"/>
		<file name="Scripts\Libs\Law\LawST3.Script.txt" public="false" internal="false"/>
		<file name="Scripts\Libs\Law\LawWarmUp.Script.txt" public="false" internal="false"/>
		<file name="Scripts\Libs\Law\LawSpawnScreen.Script.txt" public="false" internal="false"/>
	</files>
	<folders>
		<folder name="Items\" public="false" internal="false"/>
		<folder name="Media\Interface\" public="false" internal="false"/>
		<folder name="Media\Font\" public="false" internal="false"/>
		<folder name="Script\Libs\Law\" public="false" internal="false"/>
	</folders>
	<use_hmd>false</use_hmd>
</maniaplanet_title>
Thank you in advance for your answer! :thx:

Law.

Re: [TP Update] Auto-update doesn't work

Posted: 23 Jun 2015, 19:15
by spaii
Have you tested to change "Download URL" on player page ?
https://player.maniaplanet.com/titles/

Edit:
perhaps the title version ?

Code: Select all

<title_version></title_version>

Re: [TP Update] Auto-update doesn't work

Posted: 23 Jun 2015, 19:18
by Electron
Darkminus wrote:However when I update the pack, it doesn't prompt me to upload it on the cloud.
Remove your title pack from your station (you as the author doesn't loose your progress/LP's) and add it again from your local drive (using the DVD cover from the game collection). After this you are ask to upload the local title pack file to the Nadeo cloud (unless someone else has already done it).
Darkminus wrote:If I upload it on my webserver, clients who already have the titlepack don't download the update.
Another thing is that the place where the titlepack was stored changed (In reality, only the domain name changed..)
Autoupdate only works, if the download link in the old title pack is valid and points to an updated Title.Pack.Gbx file.
If you host your updated title pack on a different location, all users of the old pack have to download it manually.
The Nadeo cloud doesn't help in this case, because the game client looks only for updates at the URL stored in the title pack.
If an update is available and the same version is also stored in the Nadeo cloud, then the download is taken from the Nadeo cloud (to reduce traffic on your side).
Darkminus wrote:I REALLY want to update my titlepack and creating another titlepack to replace the current one is not a possibility.
Simply host your updated title pack also at your old download URL. After almost all users of your titel pack has received the updated title pack file, you can remove it from that old location.
spaii wrote:Have you tested to change "Download URL" on player page ?
https://player.maniaplanet.com/titles/
I think this entry is only the download URL for the Store.
spaii wrote:perhaps the title version ?

Code: Select all

<title_version></title_version>
This entry is currently without use.

Re: [TP Update] Auto-update doesn't work

Posted: 23 Jun 2015, 21:33
by spaii
Electron wrote:
spaii wrote:perhaps the title version ?

Code: Select all

<title_version></title_version>
This entry is currently without use.
I confirm it used now (post was from 2013 ;) )
If you set a title_version in ManiaPlanetTitle.xml :
- no needs to set #Const Version "XXXX-XX-XX" in your modes scripts
- you can retrieve titleversion via ManiaScript (via CTitle TitleVersion)
- it's not mandatory to set a date as titleversion

I hope this help ;)

Re: [TP Update] Auto-update doesn't work

Posted: 24 Jun 2015, 08:03
by Darkminus
Hello guys,
First of all, thank you for your answers!
Electron wrote: Autoupdate only works, if the download link in the old title pack is valid and points to an updated Title.Pack.Gbx file.
If you host your updated title pack on a different location, all users of the old pack have to download it manually.
The Nadeo cloud doesn't help in this case, because the game client looks only for updates at the URL stored in the title pack.
If an update is available and the same version is also stored in the Nadeo cloud, then the download is taken from the Nadeo cloud (to reduce traffic on your side).
Electron wrote: Simply host your updated title pack also at your old download URL. After almost all users of your titel pack has received the updated title pack file, you can remove it from that old location.
That's a problem. The old download URL is not reachable anymore since I don't own the domain name anymore.
I already changed the Download URL on my Player Page (as the old one doesn't exists anymore)

So that would mean there is no solution for my titlepack. Saad. I thought that changing the titlepack location would work as HTTP Headers (which are used to compare titlepack updates ?) are different.

Thanks for your time, guys :thx:

I won't update until I find another solution then.

Law.