Map vault preview

Tournaments announces and results.

Moderators: FtXCommando, Stups

Map vault preview

Postby Combo » 01 Apr 2013, 02:10

This is a follow-up to the recent map-vault fix for custom textures which worked great (viewtopic.php?f=3&t=3466).

I can now upload maps with custom textures and everybody who downloads the map can see it as intended; however, the remaining problem is that they can not see the map's preview.

If the map uses a custom texture, the map vault apparently creates a blank preview image. Obviously it's hard to get people to join the game when they have no idea what the map looks like.

I think the relevant part of the code is here: https://bitbucket.org/thepilot/modular- ... ult#cl-332

So far as I can tell, it checks if a preview already exists with the file name "mapname.dds" and if so skips manually generating one. The problem is that when I provide a "mapname.dds" file it still won't use it.

Help? I don't want to upload maps to the vault which nobody can preview :(

PS - Please delete everything I ever uploaded to the map vault as of today (31 march 2013) because all these texture/preview problems means most of them are broken/incomplete. Thanks.
User avatar
Combo
Avatar-of-War
 
Posts: 92
Joined: 25 Nov 2012, 02:26
Has liked: 0 time
Been liked: 0 time
FAF User Name: theCombo

Re: Map vault preview

Postby Combo » 01 Apr 2013, 02:26

As requested, here is the map folder.

The file "combokothv1.dds" contains the custom texture for the map. The file "preview.dds" is auto-generated by hazard's map editor. The files "preview.jpg" and "comboskingofthehillv2.dds" I created myself in an attempt to provide the map vault with a preview image it could use.
Attachments
comboskingofthehillv12.zip
(1.29 MiB) Downloaded 37 times
User avatar
Combo
Avatar-of-War
 
Posts: 92
Joined: 25 Nov 2012, 02:26
Has liked: 0 time
Been liked: 0 time
FAF User Name: theCombo

Re: Map vault preview

Postby Ze_PilOt » 01 Apr 2013, 11:59

Combo wrote:As requested, here is the map folder.

The file "combokothv1.dds" contains the custom texture for the map. The file "preview.dds" is auto-generated by hazard's map editor. The files "preview.jpg" and "comboskingofthehillv2.dds" I created myself in an attempt to provide the map vault with a preview image it could use.


Try creating comboskingofthehillv12\comboskingofthehillv12.large.png and comboskingofthehillv12\comboskingofthehillv12.small.png by yourself, these are the ones the lobby need to display in the vault & the interface.
If it doesn't work, put them as read-only so the lobby doesn't overwrite them.

For the size, you have the ones generated by the lobby in your zip file.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Map vault preview

Postby Combo » 01 Apr 2013, 20:36

Thanks yes that worked. That basically resolves all my issues with the map vault.

The only thing not working is the in-game lobby preview but I can live with that.

Could you please delete the junk I uploaded to the vault? There are a lot of maps with broken textures and no preview thumbnails -- I reported them broken but they have been there for days now. Thanks.
User avatar
Combo
Avatar-of-War
 
Posts: 92
Joined: 25 Nov 2012, 02:26
Has liked: 0 time
Been liked: 0 time
FAF User Name: theCombo

Re: Map vault preview

Postby Ze_PilOt » 01 Apr 2013, 20:47

You can't do much about FA lobby, it's how FA works.
(and I don't have any broken report).
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt


Return to Tournaments

Who is online

Users browsing this forum: No registered users and 1 guest