Backdrops make Alaska slow
#16
Quote:Then I changed the image file extentions from . tbn to .jpg

renaming all files to jpg:
Mac.
Code:
terminal>for f in *.tbn; do mv ./"$f" "${f%tbn}jpg";
Win.
Code:
cmd>ren *.tbn *.jpg

BTW. why all i get is
'ef898036.jpg' is not a supported image file.
clearArt Concept
cdArt Concept

*If like, thank user
Reply
#17
what I was missing the
Code:
done;

anyway exactly what i have Win 7 x64, It was fix getting the texture tools 32bit version, restart and everything ok.

BTW how I enable cuda ?
clearArt Concept
cdArt Concept

*If like, thank user
Reply
#18
Any idea if/when XBMC will natively support converting cached images into the DDS format? I had been considering creating a ramdisk and using symbolic links so that my cache was all in ram.
http://memory.dataram.com/products-and-s...re/ramdisk
http://www.pctipsbox.com/create-symbolic...tem-links/
Reply
#19
awesome stuff this is. i hope they add it for all images in XBMC. I had problems with the filemode view in Alaska aswel. (reported in bugs).

I think it has to do with the remote timings, if you repeat keys fast like the keyboard, it will skip. if slow it will load. in between you can get some timing problems.

The dds textures solved the issue for me!
Reply
#20
Avigrace Wrote:Any idea if/when XBMC will natively support converting cached images into the DDS format? I had been considering creating a ramdisk and using symbolic links so that my cache was all in ram.
http://memory.dataram.com/products-and-s...re/ramdisk
http://www.pctipsbox.com/create-symbolic...tem-links/

Your better off asking in the original thread if it hasn't been asked already

Glad its working for you guys Smile
Reply
#21
reaven Wrote:BTW. why all i get is
'ef898036.jpg' is not a supported image file.

How did you fix this? I'm getting this same message on all my files. The code I'm using is DV3B's:

Code:
cd ~/Desktop/Fanart && for f in *.tbn; do mv $f `basename $f .tbn`.jpg; done && for i in *.jpg; do nvcompress -fast -bc1 "${i}" "${i}.dds"; done && ls *.jpg.dds | sed 's/\(.*\)\.jpg\.dds/mv "\1.jpg.dds" "\1.dds"/'|sh && for f in *.jpg; do mv $f `basename $f .jpg`.tbn; done;

Thx
Reply
#22
tuckbodi Wrote:How did you fix this? I'm getting this same message on all my files. The code I'm using is DV3B's:

Code:
cd ~/Desktop/Fanart && for f in *.tbn; do mv $f `basename $f .tbn`.jpg; done && for i in *.jpg; do nvcompress -fast -bc1 "${i}" "${i}.dds"; done && ls *.jpg.dds | sed 's/\(.*\)\.jpg\.dds/mv "\1.jpg.dds" "\1.dds"/'|sh && for f in *.jpg; do mv $f `basename $f .jpg`.tbn; done;

Thx

It was fix getting the texture tools 32bit version, restart and everything ok.
I have Windows 7 that code is for Mac.

anyway the code you type is wrong I think, why do you have in the same line a directory change command along with the rename from tbn to jpg and the nvcompress all in the same line ?
clearArt Concept
cdArt Concept

*If like, thank user
Reply
#23
Yep, reavens right the command is for Mac.(not sure about Linux) I used "&&" which separates the commands so all you have to do is copy and paste and it will change file extensions, create the .dds images then change the file extensions back, all in one go.

tuckbodi you might want to try this http://forum.xbmc.org/showpost.php?p=501...tcount=132. It pretty much does the same thing, only its for windows.
Reply
#24
Quote:*.jpg.dds
this mean that after the compressing you end with files named .jpg.dds ?

if so was happening to me too in windows I just eliminate the part and
use
Code:
nvcompress -fast -bc1 "${i}";
instead of
Code:
nvcompress -fast -bc1 "${i}" "${i}.dds";

Ex. Windows Batch (rename all .tbn to .jpg and compress all to dds, if windows is 32bits the path need to be check cause Program Files(x86) is only on x64 systems)
Code:
ren *.tbn *.jpg && for %f in (*.jpg) do "C:\Program Files (x86)\NVIDIA Corporation\NVIDIA Texture Tools 2\bin\nvcompress.exe" -fast -bc1 %f

if I add %f.dds after %f I end up with files named fanart.jpg.dds
clearArt Concept
cdArt Concept

*If like, thank user
Reply
#25
DV3B Wrote:Yep, reavens right the command is for Mac.(not sure about Linux) I used "&&" which separates the commands so all you have to do is copy and paste and it will change file extensions, create the .dds images then change the file extensions back, all in one go.

tuckbodi you might want to try this http://forum.xbmc.org/showpost.php?p=501...tcount=132. It pretty much does the same thing, only its for windows.

Actually I am on Mac. Got it working though! Just was missing a few port installs (ie JPEG) and once I figured that out your commands worked great! Thx! Big Grin

Can't wait for this to be part of the scraping process. Fanart is now useable with the AppleTV! Suhweet!
Reply
#26
reaven Wrote:this mean that after the compressing you end with files named .jpg.dds ?
Yes, directly after the compressing the file extention is .jpg.dds, but the next command removes .jpg from the file name.
Code:
&& ls *.jpg.dds | sed 's/\(.*\)\.jpg\.dds/mv "\1.jpg.dds" "\1.dds"/'|sh
Then it changes the original images from .jpg to .tbn .

I'm glad to hear it worked for you tuckbodi, I've just started messing around with terminal commands so wasn't sure if what worked for me would work for someone else.Smile
Reply
#27
DV3B Wrote:Yes, directly after the compressing the file extention is .jpg.dds, but the next command removes .jpg from the file name.
Code:
&& ls *.jpg.dds | sed 's/\(.*\)\.jpg\.dds/mv "\1.jpg.dds" "\1.dds"/'|sh
Then it changes the original images from .jpg to .tbn .

thats what am telling you if you cut that part of the code there is no need to end up with .jpg.dds to begin with. you could eliminate like 2 chunk of your code.
clearArt Concept
cdArt Concept

*If like, thank user
Reply
#28
Thanks reaven, I've removed the unnecessary lines.
Reply
#29
hi all, I'm getting stick on the first part of the process, I get the following when trying to get the tools (I'm on mac)

A nvidia-texture-tools-read-only/CMakeLists.txt
Checked out revision 1055.
Error - cmake is not available!

any help would be appreciated.
Reply
#30
Muskyinoz Wrote:hi all, I'm getting stick on the first part of the process, I get the following when trying to get the tools (I'm on mac)

A nvidia-texture-tools-read-only/CMakeLists.txt
Checked out revision 1055.
Error - cmake is not available!

any help would be appreciated.

Its because you dont have "make" installed its part of xcode developer tools, you will also need mac ports installed so you can install libpng and libjpeg. I didn't realise when I posted that there were so many dependencies that were not already on OSX sorry.
http://code.google.com/p/nvidia-texture-...structions
Reply

Logout Mark Read Team Forum Stats Members Help
Backdrops make Alaska slow0