Advertisement
Guest User

dds creators

a guest
May 3rd, 2010
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. first file for putting in a folder and converting many files
  2. ************************************************************
  3. @echo off
  4. for %%x in (*.jpg) do "C:\Program Files\NVIDIA Corporation\NVIDIA Texture Tools 2\bin\nvcompress.exe" "%%x"
  5. pause
  6. ************************************************************
  7.  
  8. second file for putting anywhere and then dropping a .jpg or .png onto it - can also be placed in C:\Documents and Settings\username\SendTo in windows xp to add to right click send to menu
  9. ************************************************************
  10. @echo off
  11. "C:\Program Files\NVIDIA Corporation\NVIDIA Texture Tools 2\bin\nvcompress.exe" %1
  12. pause
  13. ************************************************************
  14.  
  15.  
  16. third file for taking a whole bunch of .tbn (what xbmc renames its thumbnail/fanart files) from a windows folder (sftp a long list can take a while to rename) turns them first to .jpg to try to to convert them that way, then to .png to try to convert those if any (though few are) were in that format, then deletes all .png files from the folder, leaving you with just your shiny new .dds files
  17. ************************************************************
  18. @echo on
  19. ren *.tbn *.jpg
  20. for %%x in (*.jpg) do "C:\Program Files\NVIDIA Corporation\NVIDIA Texture Tools 2\bin\nvcompress.exe" "%%x"
  21. ren *.jpg *.png
  22. for %%x in (*.png) do "C:\Program Files\NVIDIA Corporation\NVIDIA Texture Tools 2\bin\nvcompress.exe" "%%x"
  23. del *.png
  24. pause
  25. ************************************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement