Thanks. Fixed that by shortening long urls.
But fixed it better by now doing an url check before storing it. So the page needs to actually exist. And if it does, I believe the urls should be short enough in the first place (as per the format google uses).
Thanks for the explanation, but I did know how png works and differs from jpg
Though I did not know that LFS (or I guess directx) will load png just fine if you give it the jpg extension.
We'll see about all this when Scawen makes some time to do the skin download updates.
I like the idea of converting skins to dds on the server and gzipping them. The filesize is about the same as jpg then (even for 2048) but without lossy compression. It also has the added bonus that the LFS client doesn't have to do any conversions, leading to faster skin downloading / processing.
Degats' suggestion to store everything as gzipped dds actually would work very well. Even for 2048 skins. So I'm discussing this with Scawen to see what we can do. Then there wouldn't be any lossy compression at all and you could upload skins even as png for example.
Ah, that's because the thumbnails are now stored with double dimensions. Will fix tonight.
I'm now allowing that character again.
The full set of allowed skin file name characters has been limited though. There were some annoying characters being used previously.
Currently accepted characters are a-z A-Z 0-9 ._-# SPACE
I don't think LFS can make use of png files at the moment, so png uploads (and in particular downloads) will not be possible. Unless I'd convert them to jpg on the server, but then what's the point of uploading in png in the first place
Just make sure you don't use too much compression on your jpg files. Imo the quality is totally acceptable then for this purpose.
Being able to upload and download skins with bigger dimensions has been a recurring topic for a while. We have now begun preparation for this and have made it possible to upload car skins with a maximum dimension of 2048 * 2048 pixels and 1024 * 1024 pixels for helmet skins. So, double the previous maximum size.
At the same time I have renewed the skins upload page. It is now located on this website at www.lfs.net/account/skins . The icon on lfsworld now opens this page as well.
Though skin downloads inside LFS will remain the same for while still, we thought it'd be good to enable people to upload skins with bigger dimensions now, so that when LFS supports it, there will already be skins available for download.
As said, we have doubled the maximum dimension, but that does not mean you have to actually use it. You can still upload skins at 1024px as well. So the higher dimensions are optional.
One thing we have been considering is allowing the upload of even bigger dimensions.
We could allow people to upload 4096px skins although these would not become available in LFS, but they would then already be available in case LFS ever would.
So we'd like to ask you what you think : do you think it should be possible to upload 4096px skins as well (even though LFS will not support downloading them any time soon), or would you be opposed to that, as it will be overkill, at least for a while to come? Because even if you have a 4K monitor, 4096px skins would still be twice as high at your monitor's resolution. The increased quality would only be visible on close close-ups. For racing itself it would be pointless, even on a 4K monitor.
Filesizes increase as well - you'd have to download more, and as JPG skin files will be converted to DDS format, it would take around 7MB per skin, storage wise.
Finally, a bigger skin doesn't necessarily make a better skin.
If you have an opinion on this, vote in the poll and / or leave your opinion behind.
If you experience any trouble with the new skins page, please let me know as well.