XBMC Community Forum
Compressed textures for FanArt - testing here with XBMC 2009-10-05 (r23431) or newer - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Kodi General Help and Support (/forumdisplay.php?fid=111)
+--- Thread: Compressed textures for FanArt - testing here with XBMC 2009-10-05 (r23431) or newer (/showthread.php?tid=59115)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26


- fidoboy - 2010-01-27 19:52

I totally agree IceNine, having this feature as default and having an option in XBMC GUI to disable the use of DDS images and go back to the previous one. That way, users with limited hard disk space can enable it if they want. I'm sure that this feature will be added in a near future to stable XBMC releases because the performance impact is so big and noticable that almost every user having a nettop should agree with this.


- vdrfan - 2010-01-27 19:52

We already know about the speed up Wink


- fidoboy - 2010-01-27 19:58

@vdrfan: and? it will be added soon? it's planned? can you advance the project status about this feature? what can we expect in next releases?

many thanks for the info!


- vdrfan - 2010-01-27 20:02

Definitely, we (not me) are working on it.


- jmarshall - 2010-01-27 23:11

Why do you think I wrote it in the first place? Ofcourse it'll be added.

As with everything, we don't do things half-arsed. A full solution to image caching is in the works. It'll take a wee while to get it right, however, so be patient.

Cheers,
Jonathan


- IceNine - 2010-01-27 23:23

Take your time! We all know it will be well worth the wait for the full thing. If you were to happen to throw some extra functionality our way before it was final, say .dds for posters or something, I know we would all be appreciative. Smile


- jmarshall - 2010-01-27 23:36

See GUILargeTextureManager.cpp - it's a trivial change to get it working for posters.

Obviously it'll only works for background loaded thumbs though.


- Jezz_X - 2010-01-27 23:57

The problem I would guess with having an option to turn it on and off is. All the fanart you have accumulated with it on would not work if you decided to turn it off again and probably vice versa


- jmarshall - 2010-01-28 00:37

There's not going to be an option to turn it on or off. The fanart that we cache will be compressed using zlib to reduce (losslessly) the size on disk. The benefits are simply far too large to bother having to care about different formats.

Cheers,
Jonathan


- fekker - 2010-01-28 01:49

I'm thinking ahead here, i get it's still a work in progress right now.

If the images are compressed and stored in place (or along side) of the .tbn (.jpg) files with the media, will they be picked up during the library scan.

i.e.
if I add this to UMM, where it runs the conversion and outputs the .dds files

Will it pickup the .dds file or just grab the .tbn file and do the compression and caching on that one.


- Jezz_X - 2010-01-28 02:16

The DDS files are only for internal caching the external stuff will still all be the same


- bleze - 2010-01-28 09:15

jezz_x, Well it would be nice if XBMC would just copy fanart.dss from movie folder to cache folder if needed (and maybe folder.dss). I was thinking of cooking something that created the .dss files on my server, so the XBMC instances should not be bothered with it.


- t00fan - 2010-01-30 04:53

Hi,

I was wondering if someone would be kind enough to write a batch file (for WINDOWS) to convert all the .tbn files in the fanart directory to dds. nvcompress or makedds will work since I have both executables.

Appreciate any help.

Thanks,
t


- IceNine - 2010-02-01 19:50

t00fan Wrote:Hi,

I was wondering if someone would be kind enough to write a batch file (for WINDOWS) to convert all the .tbn files in the fanart directory to dds. nvcompress or makedds will work since I have both executables.

Appreciate any help.

Thanks,
t

Here is a little script I had laying around. It's ugly, but it should at least work until someone writes a better one. I know even less about Windows scripting than I do about Linux scripting. Smile If your XBMC userdata folder or Nvidia Texture Tools (that's what this script uses) is installed in a non-standard location some paths may need to be changed, but it's a start at least.

Code:
cd "C:\Documents and Settings\[color=red]<Put your Username Here>[/color]\Application Data\XBMC\userdata\Thumbnails\Video\Fanart"
ren *.tbn *.jpg
for %%x in (*.jpg) do "C:\Program Files\NVIDIA Corporation\NVIDIA Texture Tools 2\bin\nvcompress.exe" -fast -bc1 %%x
ren *.jpg *.tbn



Oh dear load - help me.. (Converting to dds) - thedalmeny - 2010-02-03 11:44

I could really use some help - i'm almost there with my XBMC setup on my Acer Revo and this is the last thing i need to resolve.. Actually i lie, i need to sort out how to run proper 1080p resolution with 60hz (as i dont have the option), but this problem is more pressing.

I have this version of XBMC Live (IONy one): http://www.xbmc.org/forum/showthread.php?t=66388

I've read here that you can improve background art performance by converting to dds here:

http://forum.xbmc.org/showthread.php?tid=59115&highlight=dds

Plus a guide:

http://devolblog.devolfamily.com/compressed-fanart-for-xbmc-liveubuntu

I tried to understand the thread and guide, but my knowledge really hits a wall after FTP'ing into the XBMC Live onto my Acer Revo and changing the advancedsettings.xml bit.

I would really appreciate just a step by step guide on how to batch convert them all to dds.. The thread on here makes it sound easy, copy a couple of files across into the fanart folder.. Run the batch file to convert.. But the guide on the blog makes it sound allot more taxing..

So a easy step by step would be good for me, plus others im guessing. With what i need to download and do. Because i'm at a bit of a loss, plus on the thread i couldnt see where to get the MakeDDS.exe or convert.bat files